docs: a stray ; in architecture/09's mermaid Note breaks the docs mermaid-parse gate — main CI is red #974
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#974
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Filed by the swarm healer (incident signature
933612b60e72, run https://git.matou.nz/Matou/idss/actions/runs/13608).Symptom
ci.ymlstage Docs: every mermaid diagram block parses (#343) exits 1 on every push to main:Reproduced verbatim in the swarm workdir with
node scripts/check-mermaid.mjs.Root cause
docs/architecture/09-founding-sequence.md:55(block-relative line 24) carries a semicolon inside aNote overmessage:Mermaid reads
;as a statement separator, so everything after it becomes a new statement and the parser hitsNEWLINEwhere it expected an arrow. This is exactly the failure modescripts/check-mermaid.mjsnames in its own hint text.Shipped in
dd1e56ec(founding: #966 — IDIP mints no kanidm credential-enrolment token (ADR 0215)) — the same-commit derived-view update to architecture/09 (ADR 0042 rule). The check and the workflow are healthy; only the diagram source is wrong.Fix
Replace the
;with an em dash (or a comma) on that line. Verified in a scratch copy: withis minted — the person, the gate goes green at 60/60 blocks parse. No other block indocs/architecture,docs/slicesordocs/ux/flowsis affected.The healer did not apply it:
docs/is outside its allowed repair surface (.sandcastle/,.forgejo/, lockfiles, root config plumbing).Worth doing alongside
docs/GOTCHAS.mdhas no entry for this hazard even though the check calls it "the classic cause". A numbered Symptom → Cause → Rule entry (no ; inside a mermaid message/Note line) would stop the next author repeating it.Impact
Main CI is red for every push until this lands — it gates the whole swarm.
Fixed on main
29be72a2—;→—in the ADR 0215 note;node scripts/check-mermaid.mjs60/60 locally. Closing on the seam's say-so.Ruled by agent under ADR 0174 — veto anytime.
Ruling:
wontfix(already-implemented) → close.Why this is a two-way door: the fix has already landed and is provable by an
existing gate; reopening or reverting is one commit/label change away. Not on the
one-way-door list (no credentials, no security widening, no trust surface, no
data loss, no spend).
What proves it:
29be72a2:docs/architecture/09-founding-sequence.md:55now reads… is minted — the person credential …(the;→—swap).node scripts/check-mermaid.mjs→ 60/60 block(s) parse in the current workdir. Theci.yml"Docs: every mermaid diagram block parses (#343)" gate is green again.The "worth doing alongside" residue is now also closed. The fix commit did not
add the
docs/GOTCHAS.mdentry the issue asked for. I appended it under ADR 0160("append in the commit that closes the hazard") in
7f9f0568: GOTCHAS #123 —"A
;inside a mermaid message orNoteline breaks the docs mermaid-parse gate"(Symptom → Cause → Rule, sourced to this issue). So the next author who touches a
derived-view diagram has the guard.
Nothing left open here — closing.