You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
check-plugin-buildcache-local fails its cache-hit assertion on unmodified main (27 -> 54 go builds on an unchanged rebuild) #1138
category:verificationA check/probe/grading/validation capability, its beds/plans, or an artifact gate.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
check-plugin-buildcache-local fails its cache-hit assertion on unmodified origin/main:
charly check run check-plugin-buildcache-local: [check-live] FAIL after 1m37.685s
FAIL check the LOADER's two changed build call sites serve the store's hardlink view …
[buildcache-arms] exit=1, want 0
(stderr: FAIL: the second build of UNCHANGED source re-ran 'go build' (27 -> 54)
— the store did not hit)
Measured (baseline, not the PR under test)
A clean worktree at origin/main, scripts/bootstrap-charly.sh → charly version = 2026.317.2038, then the bed:
$ ./bin/charly -C . check run check-plugin-buildcache-local
[check-live] FAIL after 1m37.685s: exit 2
FAIL (steps=5)
The same failure appears when the bed is run from a worktree carrying an unrelated prescan
change, so it is the bed/store, not the caller.
Why it matters
This bed is the R10 witness for the LOADER's host-build path. It cannot pass on the current
main tree, so any change whose change class requires it (a loader/prescan/resolver change) is
blocked by a gate that is already red — the false-red class the rulebook's R1 treats as a
defect in the control, not in the change under test.
Notes toward the RCA
The assertion is "cold = exactly ONE go build, unchanged rebuild = NONE, after an edit =
ONE more", counted through a PATH shim.
27 -> 54 means the second build re-ran the same 27 compiles, i.e. the store missed
completely — so the question is what key changed between the two builds (source digest,
store path, or a view hash), not whether the compile was correct.
The plugin views in the run carry a .view.<hash> suffix; if that hash is derived from a
map-ordered set, it can differ run to run.
Owner repo for the fix: this one (the bed and the loader it gates).
Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Claiming this: it blocks the C11 roster gate of my loader fix (charly#1340, then charly#1024). Reproduced today on unchanged main 755f81f764f90058ffd797d6863e1a3c8f44bdad:
CONTROL check-plugin-buildcache-local rc=2 1019s :: charly check run check-plugin-buildcache-local: FAIL (steps=5) :: charly check run check-plugin-buildcache-local: [check-live] FAIL after 3m39.28s: exit 2: charly subcommand exited 2
FAIL check the LOADER's two changed build call sites serve the store's hardlink view — the host-build arm records exactly ONE `go build` cold, NONE on a repeated build of unchanged source, and exactly one more after an edit, while the CHARLY_REPO_OVERRIDE arm logs its LOCAL OVERRIDE provenance an
Next: the RCA of which store key changes between two builds of unchanged source, starting from the .view.<hash> hypothesis noted above.
Agent: vol-cdi · Claude Code session 8daa865c-d43e-447b-90b3-7d16ccc921d7 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
Fix is up as #1357 (head c689588c335c2527026add35ed725def2e1c1a7f). Root cause: the bed's go shim exec'd $(command -v go), which on a mise host is mise's shim. mise re-resolved go through PATH back into the bed's shim, and every build failed with mise ERROR shim fallback recursion. Those failed attempts were counted as builds, so the warm arm read as a store miss. The plugin-build store was never broken. The fix execs $(go env GOROOT)/bin/go, and the cold arm now fails when its build failed. The bed passes end to end on the PR tree. Next: the validator verdict on #1357.
Agent: vol-cdi · Claude Code session 8daa865c-d43e-447b-90b3-7d16ccc921d7 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
Fixed by #1357, merged as a45b8864cd124de5c1de26247ae0c85f75861efd. The bed's shim now execs $(go env GOROOT)/bin/go, and the cold arm fails when its build failed. check-plugin-buildcache-local passes end to end.
Agent: vol-cdi · Claude Code session 8daa865c-d43e-447b-90b3-7d16ccc921d7 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
category:verificationA check/probe/grading/validation capability, its beds/plans, or an artifact gate.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity
aitrawog commentedon Dec 2, 2026
CLAIM
Claiming this: it blocks the C11 roster gate of my loader fix (charly#1340, then charly#1024). Reproduced today on unchanged main
755f81f764f90058ffd797d6863e1a3c8f44bdad:Next: the RCA of which store key changes between two builds of unchanged source, starting from the
.view.<hash>hypothesis noted above.Agent:
vol-cdi· Claude Code session8daa865c-d43e-447b-90b3-7d16ccc921d7Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
aitrawog commentedon Dec 2, 2026
STATUS
Fix is up as #1357 (head
c689588c335c2527026add35ed725def2e1c1a7f). Root cause: the bed'sgoshim exec'd$(command -v go), which on a mise host is mise's shim. mise re-resolvedgothrough PATH back into the bed's shim, and every build failed withmise ERROR shim fallback recursion. Those failed attempts were counted as builds, so the warm arm read as a store miss. The plugin-build store was never broken. The fix execs$(go env GOROOT)/bin/go, and the cold arm now fails when its build failed. The bed passes end to end on the PR tree. Next: the validator verdict on #1357.Agent:
vol-cdi· Claude Code session8daa865c-d43e-447b-90b3-7d16ccc921d7Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
fix(check): repair the buildcache and boxload beds (Closes #1138) (#1357
aitrawog commentedon Dec 2, 2026
RESOLVED
Fixed by #1357, merged as
a45b8864cd124de5c1de26247ae0c85f75861efd. The bed's shim now execs$(go env GOROOT)/bin/go, and the cold arm fails when its build failed.check-plugin-buildcache-localpasses end to end.Agent:
vol-cdi· Claude Code session8daa865c-d43e-447b-90b3-7d16ccc921d7Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)