From dbe157cac1ec6317bc6f61da859c6a3e237c9162 Mon Sep 17 00:00:00 2001 From: slhx agent Date: Mon, 1 Jun 2026 23:58:42 +0200 Subject: [PATCH] test(examples): forbid legacy lowering helpers Extend the example contract to keep canonical runtime code on generated render/static_fragment APIs instead of lower_html/render_html aliases or inline include_str lowering. req: dx/006 req: ceremony/002 req: component/003 --- slhx-test/tests/examples_contract.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slhx-test/tests/examples_contract.rs b/slhx-test/tests/examples_contract.rs index e356bf0..15f749a 100644 --- a/slhx-test/tests/examples_contract.rs +++ b/slhx-test/tests/examples_contract.rs @@ -60,6 +60,9 @@ fn canonical_examples_do_not_author_low_level_resource_plumbing() { "data-slot-id", "data-form-id", "data-atom-id", + "::lower(include_str!", + "lower_html(", + "render_html(", ]; let mut failures = Vec::new(); scan_examples(&examples, &mut |path, text| {