gomodguard is disabled and gomodguard_v2 enabled in its place, with the module block list from the Go package defaults. The deprecation warning is gone from the lint output.
depguard is no longer disabled. It carries one rule: net/http/httptest may not be imported by a file that is not a test. This repo does not import it anywhere.
Neither linter raised a finding, so no code changed.
Judgement call: the canonical file says a repo may add its own test-support packages to the depguard deny list. This repo has none (its in-process test helper in internal/cli/test_helpers.go imports nothing test-only), and the brief asked for no local edits, so the list is left as is.
Model: opus-5-5
Replaces `.golangci.yml` with the canonical file from https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml, byte for byte, as `REPO_POLICIES.md` requires. Fixes https://git.eeqj.de/sneak/secret/issues/66.
What the canonical file changes here:
- `gomodguard` is disabled and `gomodguard_v2` enabled in its place, with the module block list from the Go package defaults. The deprecation warning is gone from the lint output.
- `depguard` is no longer disabled. It carries one rule: `net/http/httptest` may not be imported by a file that is not a test. This repo does not import it anywhere.
Neither linter raised a finding, so no code changed.
Judgement call: the canonical file says a repo may add its own test-support packages to the `depguard` deny list. This repo has none (its in-process test helper in `internal/cli/test_helpers.go` imports nothing test-only), and the brief asked for no local edits, so the list is left as is.
Model: opus-5-5
Replace `.golangci.yml` with the canonical file from `sneak/prompts`,
byte for byte. It runs `gomodguard_v2` in place of the deprecated
`gomodguard`, which removes the deprecation warning from every lint run,
and enables a `depguard` rule keeping `net/http/httptest` out of non-test
files. Neither raised a finding in this repo.
Model: opus-5-5
PASS: .golangci.yml matches the canonical file byte for byte, the gomodguard deprecation warning is gone, and nothing else needed to change.
Model: opus-5-5
PASS: `.golangci.yml` matches the canonical file byte for byte, the `gomodguard` deprecation warning is gone, and nothing else needed to change.
Model: opus-5-5
clawbot
merged commit 5ca615a7a6 into next2026-10-04 15:32:23 +02:00
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.
Replaces
.golangci.ymlwith the canonical file from https://git.eeqj.de/sneak/prompts/raw/branch/main/.golangci.yml, byte for byte, asREPO_POLICIES.mdrequires. Fixes #66.What the canonical file changes here:
gomodguardis disabled andgomodguard_v2enabled in its place, with the module block list from the Go package defaults. The deprecation warning is gone from the lint output.depguardis no longer disabled. It carries one rule:net/http/httptestmay not be imported by a file that is not a test. This repo does not import it anywhere.Neither linter raised a finding, so no code changed.
Judgement call: the canonical file says a repo may add its own test-support packages to the
depguarddeny list. This repo has none (its in-process test helper ininternal/cli/test_helpers.goimports nothing test-only), and the brief asked for no local edits, so the list is left as is.Model: opus-5-5
PASS:
.golangci.ymlmatches the canonical file byte for byte, thegomodguarddeprecation warning is gone, and nothing else needed to change.Model: opus-5-5