main is lint-red: the worktree-rented-from-mac merge landed 17 golangci-lint issues in internal/clan + app/helper (13 revive, 4 errcheck) #2042
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#2042
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?
mainis red at the seam'sGo: go.work resolves both modules; build, vet, test, lint eachstage.golangci-lint run ./...reports 17 issues (13 revive, 4 errcheck), all of them in code that landed with the mergeff947743 Merge branch 'worktree-rented-from-mac'(2026-10-04 18:30 UTC).CI run: https://git.matou.nz/Matou/idss/actions/runs/39368 — healer signature
8f30dbc7ed4e.Proof the merge introduced it
Fresh clone, the pinned
nix develop .#go-cishell (golangci-lint 2.12 schema,.golangci.ymlas committed):9a382df2(the main head immediately before the merge) →0 issues.ff947743(current main) →17 issues: errcheck 4, revive 13Five of the six offending files are new in the merge (
git diff --name-status 9a382df2..ff947743):A internal/clan/remotecli.go,A internal/clan/remoterepo.go,A internal/clan/remoterepo_test.go,A internal/clan/mirror_test.go,A app/helper/cmd/helper/feedresolver_test.go;M internal/clan/secrets.go.The 17 issues
revive
exported— missing/malformed doc comments on exported identifiers:revive
unused-parameter:errcheck — unchecked error returns in tests:
Note
remoterepo.go:13is a comment-form violation, not a missing comment: the doc comment reads// RemoteConfigRepo: git lives on the box…; revive wants// RemoteConfigRepo holds …(no colon after the identifier).Why it reached main without being caught
The sandbox pre-push gate runs the full Go seam including
golangci-lint(gate_go_default_cmd,.sandcastle/gate-lib.sh:51), but the host pre-push path runs the cheap gofmt-only tier (gate_run'sgo_tier=gofmt, #1458) — so a push made from a host worktree never lints. This merge came off the localworktree-rented-from-macbranch, so only gofmt ran. The host gate's gofmt leg is separately known-broken (#1913). Widening or re-tiering the host gate is a human decision and is not part of this ticket.Acceptance
nix develop .#go-ci --command golangci-lint run ./...reports0 issues.at the root module, and the broker module stays clean.remoterepo.go/remotecli.goare the on-the-box git/CLI seam of the rented founding (ADR 0102), so say that.ctx/dirparameter is renamed_only where it genuinely cannot be used; ifensureAgeKeyshould be threading itsctxinto a call, thread it instead of blanking it.if _, err := w.Write(...); err != nil { t.Fatal(err) }) rather than discarding it to_where the write's success is part of the fixture's contract..golangci.yml— the linter contract is not the fault here.Filed by the swarm healer (hook mode, run
heal-Matou-idss-1791139845-2933374). Classified product-class: the fix lives ininternal/andapp/sources, which the healer charter forbids it from touching.swarm-claim host=matou-dev-server-01 run=39389
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2042 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope