ci seam red on main: revive error-strings in agent/internal/trust/trust_test.go:94 (838d8c44) #914
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#914
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?
The
ciseam is red onmainat838d8c44, and stays red for every push until this is fixed.The fault
scripts/seam-smoke.shstage "Go: go.work resolves both modules; build, vet, test, lint each" fails atgolangci-lint run ./...:Reproduced deterministically on
matou-workstationat838d8c44:nix develop --command golangci-lint run ./agent/internal/trust/...→ the same single diagnostic.Where it came from
838d8c44("agent/trust: the clan connection's SSH unit issshon Debian/Ubuntu") addedTestTrust_UpFallsBackToDebianSSHUnit. Its fixture reproduces systemd's real stderr verbatim — capitalised, trailing full stop — which is exactly what revive'serror-stringsrule forbids.go build,go vetandgo test ./agent/internal/trust/...all pass; only the lint gate is red.Suggested fix (a fixture, not behaviour)
Updoes not parse this message — it falls through to the next unit on any error (agent/internal/trust/trust.go), so the exact wording carries no behavioural weight; it is documentary fidelity to what the droplet actually printed in #788's drive. Any of these closes it; keeping the verbatim text is preferred, since the point of the fixture is that it is the real message://nolint:revive // reproduces systemd's stderr verbatim — the message under teston the line. Precedent for this shape:internal/idp/client.go:80.const/variable and pass that toerrors.New.Whichever is chosen, verify with
nix develop --command bash -c 'go test ./agent/internal/trust/... && golangci-lint run ./agent/internal/trust/...'— both must exit 0. Do not weaken.golangci.yml; the Standards contract stays as-is.Not the fault (ruled out)
The incident signature keyed on
dashboard test: at <SurfaceErrorBoundary>/failure: null. That is deliberate console noise from the dashboard's error-boundary tests, not a failure:pnpm --filter dashboard run testat838d8c44is 112 files / 1271 tests passed, exit 0. The seam's own verdict names the Go stage, which (post-#871 errexit) proves the TypeScript stage completed green before it.Evidence
838d8c44.60bdf274ed9b; evidence dir/tmp/matou-heal-Matou-idss.RNDCKVonmatou-workstation(run-verdict.txtholds the stage + error lines).b186b7eb.Filed by the swarm healer. Product-class: the healer does not touch
agent/sources.Triage: ratified
bug+ready-for-agent(+priority)Triaged on the
openedevent. Labels were pre-applied by the swarm healer at file time; this is an independent validation pass, so no label change is needed.Claim verified (not already fixed). At
HEAD = 838d8c44— the exact commit the issue names —agent/internal/trust/trust_test.go:94still holds the offending literal verbatim:Capitalised and ends with a full stop — precisely what
revive'serror-stringsrule forbids. The cited//nolint:reviveprecedent (internal/idp/client.go:80) exists.Upfalls through on any error, so the wording carries no behavioural weight — this is a fixture-fidelity fix, exactly as filed.Gates.
scripts/seam-smoke.sh(a CI smoke seam), not adocs/seams/*.mddesign contract. No missing flow/wireframe.needs_human_decision, no one-way door. The fix is a revertible one-line commit, provable bynix develop --command bash -c 'go test ./agent/internal/trust/... && golangci-lint run ./agent/internal/trust/...'(both must exit 0). Two-way-door territory (ADR 0174).Model. Considered a
model-sonnet/model-haikudowngrade — the fix is textbook-mechanical and #883 was swarm-fixed at this tier. Declined: it's apriorityred-on-main blocker, where fast, reliable turnaround outranks the marginal model-cost saving. Leaving the fleet default. Veto anytime.Outcome:
bug+ready-for-agent+prioritystand. Safe for the Sandcastle swarm. The healer's body already carries a complete agent brief (fault, provenance, three fix options with a preferred one, verify command, precedent) — no separate brief needed.swarm-claim host=elitebook-distributed-server-03 run=12886
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #914 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
systemctl enable --now sshdfails: Ubuntu droplet's unit isssh#913realin internal/clan/clan_test.go:426 (48b6f5ca) #1288