Seam gate red on main: bare %% line breaks docs/ux/flows/p6-members-idip.mermaid parse #1071
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1071
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?
Main is red. The seam gate (
ci.yml→scripts/seam-smoke.sh, stageDocs: every mermaid diagram block parses (#343)) fails onmainat517216a4and willkeep failing on every subsequent push until the diagram source is fixed.
Failing run: https://git.matou.nz/Matou/idss/actions/runs/15221 (exit 1,
mermaid-parse check FAILED — 1 of 61 block(s) will not parse).Root cause
docs/ux/flows/p6-members-idip.mermaid(new in66b4ac1a, the DDR 0217 design commit)has a bare
%%line at line 8 — an empty comment, no trailing content:mermaid's comment stripper only removes comment lines with at least one character
after
%%. The bare%%on line 8 survives stripping, while lines 9–11 are removedalong with their newlines — so the surviving
%%is glued onto the diagram header andthe parser sees:
Confirmed by bisecting the file with the repo's own checker against the vendored
mermaid (
docs/architecture/vendor/mermaid.min.js— the same parserdocs/architecture/index.htmlloads, so Forgejo renders this diagram broken too):sed '8d'(drop the bare%%) →✓ 1/1 block(s) parsesed '8s/^%%$/%% ./'(give the comment any content) →✓ 1/1 block(s) parseThe gate is behaving correctly — the diagram genuinely does not parse. No other block
in the repo is affected (60/60 parse at
d6865d3d).Fix
docs/ux/flows/p6-members-idip.mermaid, make line 8 a non-empty comment(
%% —) or delete it. Re-runnode scripts/check-mermaid.mjs→ expect 61/61.scripts/check-mermaid.mjsnames onlythe stray-
;cause. Add the bare-%%cause — it is the second way a diagram diesat line 1 and the message currently sends the reader hunting for a semicolon that
isn't there.
docs/GOTCHAS.mdentry (Symptom → Cause → Rule) for the bare-%%hazard,per ADR 0160, in the same commit as the fix.
Provenance
Filed by the swarm healer. Incident signature
933612b60e72, evidence/tmp/matou-heal-Matou-idss.UoU3G9. Not repaired in place:docs/ux/flows/is adesign-contract artifact outside the healer's harness-infra repair allowlist, and this
is a human-authored design commit.
swarm-claim host=elitebook-distributed-server-03 run=15233
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1071 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
%%in a .mermaid source only reds in CI (GOTCHAS #143, 2nd time) #2068