From d40c53778bd856d1d1043861d2514e4508df64f8 Mon Sep 17 00:00:00 2001 From: bdeshi Date: Thu, 30 Jul 2026 10:31:01 +0600 Subject: [PATCH] gate the raw-HTML default instead of remembering it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Arc 1 the latent list has carried "raw HTML is omitted only because goldmark's default omits it". Shortcodes were the trigger, and they came and went without needing unsafe mode — a call renders a theme template (ADR-0036). So the right close is not a note saying we got away with it, but a gate: verify.sh now fails on WithUnsafe in any non-comment line under cmd/ or internal/. Proved both directions before keeping it. The first version also failed on the comment in render.go that explains the rule — a gate that fires on its own documentation is one nobody keeps, so it now skips comment lines. That is the seventh gate defect found by running against real code rather than reasoning about it. The latent row is gone rather than reworded, and the untrusted-boundary row says which half is now mechanism and which half still isn't. --- HARNESS.md | 6 ++++++ docs/state.md | 5 ++--- scripts/verify.sh | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/HARNESS.md b/HARNESS.md index 181c9ea..ab32611 100644 --- a/HARNESS.md +++ b/HARNESS.md @@ -52,6 +52,12 @@ must do — not the theme. `verify.sh` fails if the embedded reference theme cha changing, because in practice those two drift together — and it fails on a `