test(examples): guard generated command docs

Prevent canonical example docs from regressing to lower-level generated handle/EffectBatch wording after moving README copy to the generated-resource command path.

req: dx/006

req: examples/003
This commit is contained in:
slhx agent
2026-06-02 03:30:40 +02:00
parent 417bc45d1f
commit 5d85a32c3c
+2
View File
@@ -112,8 +112,10 @@ fn canonical_example_docs_do_not_teach_low_level_plumbing() {
let root = Path::new(env!("CARGO_MANIFEST_DIR")).parent().unwrap();
let examples = root.join("examples");
let forbidden = [
"generated handles and slots",
"generated handle ids",
"numeric handle ids",
"EffectBatch responses",
"manual registry",
"HandlerRegistry",
"InteractionForm",