Summary
Custom lint scan on 2026-07-26 found 3 targeted findings outside the shared function-length backlog that cluster around small, local API and resource-lifecycle fixes.
Findings
pkg/cli/mcp_inspect_inspector.go:65 — defer inside a loop delays cleanup until function return
pkg/cli/docker_images.go:245 — CheckAndPrepareDockerImages has 9 parameters (limit: 8); use an options struct or equivalent narrow API shaping
pkg/cli/grant.go:152 — hard-coded file path "/tmp/gh-aw-grant-policy.yaml"; extract to a named constant
Expected outcome
Apply minimal, targeted edits so these three diagnostics are removed without taking on unrelated cleanup.
Remediation checklist
Fused guidance for the assignee
- Keep remediation scoped to findings in this assigned lint group.
- Prefer minimal, targeted code edits.
- Validate with
make golint-custom before handoff.
Generated by 🧌 LintMonster · gpt54 · 19.2 AIC · ⌖ 4.72 AIC · ⊞ 4.6K · ◷
Summary
Custom lint scan on 2026-07-26 found 3 targeted findings outside the shared function-length backlog that cluster around small, local API and resource-lifecycle fixes.
Findings
pkg/cli/mcp_inspect_inspector.go:65—deferinside a loop delays cleanup until function returnpkg/cli/docker_images.go:245—CheckAndPrepareDockerImageshas 9 parameters (limit: 8); use an options struct or equivalent narrow API shapingpkg/cli/grant.go:152— hard-coded file path"/tmp/gh-aw-grant-policy.yaml"; extract to a named constantExpected outcome
Apply minimal, targeted edits so these three diagnostics are removed without taking on unrelated cleanup.
Remediation checklist
make golint-customFused guidance for the assignee
make golint-custombefore handoff.