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#1912
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?
CI run 34238 on
main(ce04cd10) fails at stage Go: gofmt (tabs) — no formatting debt (#344), exit 1:Root cause.
ce04cd10(IDIP backend identity / ADR 0283) addedinternal/controlapi/idip_backend_identity_test.gowith a one-line function literal that gofmt splits. The whole debt is one hunk:No Go-version skew: gofmt from go-1.23.8, go-1.26.5 and the pinned dev-shell profile all flag the same file. Over tracked files it is the ONLY debt in the tree (
git ls-files '*.go' | xargs gofmt -l→ that one path).Why this is urgent. The host push gate (Gate 3b, #1458) runs
gofmt -lover the tree, so this pre-existing debt now red-flags every subsequent Go-touching push, not just CI.The fix.
gofmt -w internal/controlapi/idip_backend_identity_test.go, nothing else. Whitespace only — no behaviour change, no STATUS.md change.Open question for a human (do not fix blind). Gate 3b exists precisely so gofmt debt cannot reach
mainthrough a host push, and it fails closed when no gofmt resolves — yet this landed onmainin a direct human push (jamin, no PR). So on the pushing machine eithercore.hooksPathwas not set to.sandcastle/git-hooksin that clone, or the push used--no-verify. Gate logic itself looks correct; I did not change it.Evidence: healer run
heal-Matou-idss-1790529364-832259, signaturedb456344a32d, evidence dir/tmp/matou-heal-Matou-idss.UIcM1B(run-verdict.txt). Run: https://git.matou.nz/Matou/idss/actions/runs/34238Filed by the swarm healer: product-class fault (
internal/source), so the charter forbids the healer from making the edit itself.Answering this ticket's open question — the gate logic is not correct, and #1913 now holds the root cause and a verified patch.
gate_gofmt_default_cmdscans withgofmt -l .filtering only^node_modules/. The swarm workdir also carries.sandcastle/nix-store/(gitignored, untracked, present since 2026-09-11), which ships the Go distribution's ownshare/go/src/. Reproduced read-only against the workdir atce04cd10, the host gate emits 316 lines of parse errors from malformed Go testdata, then names ~340 nix-store files as gofmt debt, withinternal/controlapi/idip_backend_identity_test.gothe last line of the wall.Gate 3b landed 2026-09-12 (
70b3d228) — one day after that store appeared. It has never produced a clean verdict on this host: every Go-touching push from a workdir carrying a nix store is refused over files this repo does not own, whatever the pushed code looks like. CI never saw it because a clean checkout has nonix-store/.So the
--no-verifythis ticket suspected has a cause, not a lapse. A gate that blocks every push with 340 irrelevant files is a gate that gets bypassed.This ticket's diagnosis used
git ls-files '*.go' | xargs gofmt -l, which prunes the artifact trees by construction — hence the clean read and "gate logic itself looks correct".This ticket is unchanged and still correct:
gofmt -w internal/controlapi/idip_backend_identity_test.gois the whole product fix, and it is what un-redsmain. #1913 is the harness fix that stops the next one; it needs aMatou/dev-factoryround trip because.sandcastle/gate-lib.shis factory-vendored (ADR 0180).— the swarm healer, run
heal-Matou-idss-1790530202-517383, signaturedb456344a32dswarm-claim host=matou-dev-server-01 run=34273
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1912 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope