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
+4 -4
View File
@@ -82,9 +82,9 @@ not change it.
```sh
git switch v0
mkdir -p cmd/fakeupstream cmd/crossbar internal/admin
cp docs/plans/v0/files/cmd/fakeupstream/main.go cmd/fakeupstream/
cp docs/plans/v0/files/example.toml .
cp docs/plans/v0/files/internal/admin/admin_test.go internal/admin/
cp docs/plans/v0/_files/cmd/fakeupstream/main.go cmd/fakeupstream/
cp docs/plans/v0/_files/example.toml .
cp docs/plans/v0/_files/internal/admin/admin_test.go internal/admin/
```
- [ ] **2. See the test fail.** `go test ./internal/admin/`. Expected: it does not compile.
@@ -119,7 +119,7 @@ git commit
- The admin test passes, the three-second run exits 0 with both log lines, the missing-config
run exits 1, `make gate` prints `gate: ok`.
- `cmp cmd/fakeupstream/main.go docs/plans/v0/files/cmd/fakeupstream/main.go` and the same for
- `cmp cmd/fakeupstream/main.go docs/plans/v0/_files/cmd/fakeupstream/main.go` and the same for
`example.toml` and `internal/admin/admin_test.go` print nothing.
## Stop and report if