feat(workout): hide registry conversion from golden path

Let the Workout generated interaction builder satisfy DispatchRegistry directly and guard canonical sources/docs against .into_registry() so the beginner path does not teach manual registry conversion.

req: examples/001

req: examples/006

req: public_api/002
This commit is contained in:
slhx agent
2026-06-12 13:08:46 +02:00
parent f13e21868c
commit a4a4dcf74f
4 changed files with 4 additions and 3 deletions
+2
View File
@@ -64,6 +64,7 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() {
"lower_html(",
"render_html(",
"HandlerRegistry",
".into_registry()",
"InteractionForm",
"register_handle(",
"SafeHtml",
@@ -180,6 +181,7 @@ fn canonical_example_docs_do_not_teach_low_level_plumbing() {
"EffectBatch",
"manual registry",
"HandlerRegistry",
".into_registry()",
"InteractionForm",
"register_handle(",
"lower_html(",