v0 plan: move given files to _files/ so go vet ./... ignores them; note the first-attempt finding

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 02:03:00 -07:00
co-authored by Claude Fable 5.1
parent 89e47d83f8
commit c524ff943d
22 changed files with 27 additions and 18 deletions
+5 -5
View File
@@ -103,10 +103,10 @@ Rules the tests check:
```sh
git switch -c v0
mkdir -p scripts internal/config/testdata
cp docs/plans/v0/files/Makefile docs/plans/v0/files/go.sum .
cp docs/plans/v0/files/scripts/check-lines.sh scripts/
cp docs/plans/v0/files/internal/config/config_test.go internal/config/
cp docs/plans/v0/files/internal/config/testdata/*.toml internal/config/testdata/
cp docs/plans/v0/_files/Makefile docs/plans/v0/_files/go.sum .
cp docs/plans/v0/_files/scripts/check-lines.sh scripts/
cp docs/plans/v0/_files/internal/config/config_test.go internal/config/
cp docs/plans/v0/_files/internal/config/testdata/*.toml internal/config/testdata/
```
Read `Makefile` and `internal/config/config_test.go`. The test names every rule above.
@@ -139,7 +139,7 @@ git commit
## Done when
- `go test ./internal/config/` is `ok`; `make gate` prints `gate: ok`.
- `cmp internal/config/config_test.go docs/plans/v0/files/internal/config/config_test.go` prints nothing.
- `cmp internal/config/config_test.go docs/plans/v0/_files/internal/config/config_test.go` prints nothing.
## Stop and report if