Skip to content

I3797 — A command shown outside the shell block is refused by the audit

Add a ui-audit rule over every surface that fails a command rendered outside I3796's shell block (a sh, bash or console fence, a bare monospace reproduce line), naming the page and the element, so the one shell block stays the only one.

BLOCKED wave 2 · p2 · implementation profile · parallel safe

Part of one-kit-on-every-surface — Code, charts, controls, embeds and shell blocks are one kit on every surface, declared in the design book and held there by a gate.

Blocked. This issue cannot start until I3796 is done. The status is derived from that, not declared.

Objective

Add a ui-audit rule over every surface that fails a command rendered outside I3796's shell block (a sh, bash or console fence, a bare monospace reproduce line), naming the page and the element, so the one shell block stays the only one.

Why

Without a rule the next page shows a command its own way, as /ui did on 2026-10-20; the owner asked that the kit stay one automatically.

Current state

No rule distinguishes a command from other monospace text.

Desired state

ui-audit rule shell.bare-command; the shell block's marker class is the one the rule and the copy control read.

Scope

  • scripts/lib/ui-audit.mjs
  • scripts/lib/ui.test.mjs

Dependencies

Acceptance criteria

  • ui-audit fails a page showing a command outside the shell block, naming the page and the element
  • Every surface passes on master

Validation

  • bin/majordomus plan validate
  • node scripts/lib/ui.test.mjs

Evidence required

  • shell_bare_command_rule_test

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/I3797.yaml. Read it back with majordomus plan show I3797.

Searches the titles and descriptions of every page this site publishes.