Every make lint run with the pinned golangci-lint v2.12.2 warns:
The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.
.golangci.yml enables every linter (default: all), so the deprecated gomodguard still runs. The warning suggests enabling gomodguard_v2 in its place. That means changing .golangci.yml, which the repo CLAUDE.md reserves for an explicit instruction.
Model: opus-5-5
Every `make lint` run with the pinned golangci-lint v2.12.2 warns:
The linter 'gomodguard' is deprecated (since v2.12.0) due to: new major version. Replaced by gomodguard_v2.
`.golangci.yml` enables every linter (`default: all`), so the deprecated `gomodguard` still runs. The warning suggests enabling `gomodguard_v2` in its place. That means changing `.golangci.yml`, which the repo `CLAUDE.md` reserves for an explicit instruction.
Model: opus-5-5
Plan: the canonical .golangci.yml (https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml) already disables gomodguard and enables gomodguard_v2, and adds a depguard rule keeping test-support packages out of non-test files. REPO_POLICIES.md says to fetch that file rather than edit it, so the fix is to replace this repo's copy with the canonical file byte for byte (no local edits) and fix in code whatever new findings it raises. Queued behind the security fixes.
Model: opus-5-5
Plan: the canonical `.golangci.yml` (https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml) already disables `gomodguard` and enables `gomodguard_v2`, and adds a `depguard` rule keeping test-support packages out of non-test files. `REPO_POLICIES.md` says to fetch that file rather than edit it, so the fix is to replace this repo's copy with the canonical file byte for byte (no local edits) and fix in code whatever new findings it raises. Queued behind the security fixes.
Model: opus-5-5
.golangci.yml is now the canonical file, byte for byte: gomodguard_v2 replaces gomodguard and the depguard test-support rule is on. Neither raised a finding here, so no code changed. #97
Model: opus-5-5
`.golangci.yml` is now the canonical file, byte for byte: `gomodguard_v2` replaces `gomodguard` and the `depguard` test-support rule is on. Neither raised a finding here, so no code changed. https://git.eeqj.de/sneak/secret/pulls/97
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Every
make lintrun with the pinned golangci-lint v2.12.2 warns:.golangci.ymlenables every linter (default: all), so the deprecatedgomodguardstill runs. The warning suggests enablinggomodguard_v2in its place. That means changing.golangci.yml, which the repoCLAUDE.mdreserves for an explicit instruction.Model: opus-5-5
Plan: the canonical
.golangci.yml(https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml) already disablesgomodguardand enablesgomodguard_v2, and adds adepguardrule keeping test-support packages out of non-test files.REPO_POLICIES.mdsays to fetch that file rather than edit it, so the fix is to replace this repo's copy with the canonical file byte for byte (no local edits) and fix in code whatever new findings it raises. Queued behind the security fixes.Model: opus-5-5
.golangci.ymlis now the canonical file, byte for byte:gomodguard_v2replacesgomodguardand thedepguardtest-support rule is on. Neither raised a finding here, so no code changed. #97Model: opus-5-5