The nested tools module cannot build read-only. Verified 2026-09-12 at go1.27.0:
GOFLAGS=-mod=readonly go -C tools test ./...
go: updates to go.mod needed, disabled by -mod=readonly; to update it:
go mod tidy
Without -mod=readonly the same command silently rewrites tools/go.mod and tools/go.sum: go 1.26.5 -> 1.27.0, ai-sdk v0.1.25 -> v0.1.32, modernc.org/libc v1.74.4 -> v1.75.7, modernc.org/memory v1.11.0 -> v1.12.1, modernc.org/sqlite v1.56.0 -> v1.58.0.
Cause: tools/go.mod has 'replace github.com/samcharles93/archie-core => ../', so its build list must satisfy the root module's requirements, which have moved on. This is a working-tree trap as well as a defect: the archie-build-and-env skill documents 'go -C tools test ./... -count=1' as a verification step, and that command edits the tree, so an agent following it leaves an unrelated dirty diff.
Fix: go -C tools mod tidy, committed on its own. Consider adding -mod=readonly to the documented tools commands so the drift fails loudly instead of self-healing.
Close reason
Closed
Imported from beads archie-core-2r0h · GitHub #809 · type bug · priority P2 · created 2026-09-11 · closed 2026-09-13
The nested tools module cannot build read-only. Verified 2026-09-12 at go1.27.0:
GOFLAGS=-mod=readonly go -C tools test ./...
go: updates to go.mod needed, disabled by -mod=readonly; to update it:
go mod tidy
Without -mod=readonly the same command silently rewrites tools/go.mod and tools/go.sum: go 1.26.5 -> 1.27.0, ai-sdk v0.1.25 -> v0.1.32, modernc.org/libc v1.74.4 -> v1.75.7, modernc.org/memory v1.11.0 -> v1.12.1, modernc.org/sqlite v1.56.0 -> v1.58.0.
Cause: tools/go.mod has 'replace github.com/samcharles93/archie-core => ../', so its build list must satisfy the root module's requirements, which have moved on. This is a working-tree trap as well as a defect: the archie-build-and-env skill documents 'go -C tools test ./... -count=1' as a verification step, and that command edits the tree, so an agent following it leaves an unrelated dirty diff.
Fix: go -C tools mod tidy, committed on its own. Consider adding -mod=readonly to the documented tools commands so the drift fails loudly instead of self-healing.
### Close reason
Closed
---
_Imported from beads `archie-core-2r0h` · GitHub #809 · type bug · priority P2 · created 2026-09-11 · closed 2026-09-13_
sam
added the mediumbug labels 2026-10-27 13:38:42 +00: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.
The nested tools module cannot build read-only. Verified 2026-09-12 at go1.27.0:
GOFLAGS=-mod=readonly go -C tools test ./...
go: updates to go.mod needed, disabled by -mod=readonly; to update it:
go mod tidy
Without -mod=readonly the same command silently rewrites tools/go.mod and tools/go.sum: go 1.26.5 -> 1.27.0, ai-sdk v0.1.25 -> v0.1.32, modernc.org/libc v1.74.4 -> v1.75.7, modernc.org/memory v1.11.0 -> v1.12.1, modernc.org/sqlite v1.56.0 -> v1.58.0.
Cause: tools/go.mod has 'replace github.com/samcharles93/archie-core => ../', so its build list must satisfy the root module's requirements, which have moved on. This is a working-tree trap as well as a defect: the archie-build-and-env skill documents 'go -C tools test ./... -count=1' as a verification step, and that command edits the tree, so an agent following it leaves an unrelated dirty diff.
Fix: go -C tools mod tidy, committed on its own. Consider adding -mod=readonly to the documented tools commands so the drift fails loudly instead of self-healing.
Close reason
Closed
Imported from beads
archie-core-2r0h· GitHub #809 · type bug · priority P2 · created 2026-09-11 · closed 2026-09-13