I3004 — No raw markdown reaches a /ui page
Add a ui-audit rule text.raw-markdown that fails any /ui page whose rendered text carries ```, ** or a backticked span, and a case 3220 step reading a rendered criterion's code span.
READY wave 0 · p1 · implementation profile · runs alone
Part of idd-reads-at-a-glance — The intent workspace reads at a glance and leads everywhere it names.
Ready. Every dependency is done, so majordomus plan start I3004 will be accepted.
Objective
Add a ui-audit rule text.raw-markdown that fails any /ui page whose rendered text carries ```, ** or a backticked span, and a case 3220 step reading a rendered criterion's code span.
Why
The owner asked for markdown rendering to be enforced for the future, not fixed once.
Current state
Nothing stops raw markdown.
Desired state
A rule on every audited page.
Scope
- scripts/lib/ui-audit.mjs
- scripts/lib/ui.test.mjs
- test/cases/3220_the_idd_loop_is_walked_in_a_browser.sh
- .ai/repo/project
- docs
- site
Dependencies
None. This issue is a root of the graph.
Acceptance criteria
- A page with raw markdown fails the audit
- Case 3220 reads a rendered code span
Validation
- majordomus plan validate
- scripts/ui test
- scripts/ui audit --only /ui/idd
Evidence
None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.
Timeline
- started
- —
- verified
- —
- completed
- —
Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.
Canonical record: .ai/repo/project/issues/I3004.yaml. Read it back with majordomus plan show I3004.