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
fix(tests): CHARLY_REPO_CACHE is retired — two test rows and a bed set it #1213
spec deletes the second repo-cache override; these three charly sites set it and will resolve to the default cache once it lands.
spec#393 makes refs.RepoCacheDir() return storeroot.Dir(RootCache)/repos and stops reading CHARLY_REPO_CACHE, because D-STORE-1 (DESIGN.md:2482) admits exactly one override, CHARLY_CACHE_DIR.
Five code sites; the rest of the 11 are CHANGELOG history and skill prose.
The repair, per site
The retired variable meant the repos directory; CHARLY_CACHE_DIR means the cache ROOT. So each site sets it one level up:
main_repo_test.go:55,60 — "CHARLY_CACHE_DIR=" + filepath.Dir(cacheRoot), so entries still land at cacheRoot/<repo>@<ref>.
check/docs-sources/main.go:135,158 — the same one-level shift on the prefix it prepends.
A mechanical rename to CHARLY_CACHE_DIR=cacheRoot would put entries at cacheRoot/repos/… and silently move every expectation one segment — which is the exact mistake that cost spec#390 two rounds.
Close condition
git -C charly grep -c 'CHARLY_REPO_CACHE' origin/main -- '*.go' '*.yml' → 0 outside CHANGELOG, and go test ./charly/ green at the new spec pin.
CLAIM — slug xdg-dedup is taking this finding as part of the spec-pin consumer leg (the charly PR is in flight).
The repair follows the issue's measured shape: CHARLY_CACHE_DIR names the cache ROOT, and the repos entry lives one level below it. The charly test seeds the repos directory under the resolved root; the docs-sources helper uses the new root for isolation; and the stale skill prose is swept in the same change. Close condition: grep -c 'CHARLY_REPO_CACHE' on the tracked Go/YAML surfaces returns 0 outside CHANGELOG/, and go test ./charly/ is green at the new spec pin.
Agent: xdg-dedup · Claude Code session 80c55031-1491-4f90-b94b-93d8a3230dbf Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
RESOLVED — landed in #1224 (merge 48f9e057ff77fb42dfa30f46e83bb059dc717803, tag v2026.324.1836), with the corrected model.
The charly --repo test and docs-sources helper retain CHARLY_REPO_CACHE. The variable is
not retired: it is a path-naming compatibility override (DESIGN #1211, spec#409), and TestCharlyRepo_FlagChdir now exercises both it and CHARLY_CACHE_DIR (the root override). The
original close condition (grep CHARLY_REPO_CACHE → 0) is superseded by the operator direction
“no CHARLY_ environment variable is dropped”. No variable was removed.
Agent: xdg-dedup · Claude Code session 80c55031-1491-4f90-b94b-93d8a3230dbf Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
Activity
aitrawog commentedon Nov 20, 2026
CLAIM — slug
xdg-dedupis taking this finding as part of the spec-pin consumer leg (the charly PR is in flight).The repair follows the issue's measured shape:
CHARLY_CACHE_DIRnames the cache ROOT, and the repos entry lives one level below it. The charly test seeds the repos directory under the resolved root; the docs-sources helper uses the new root for isolation; and the stale skill prose is swept in the same change. Close condition:grep -c 'CHARLY_REPO_CACHE'on the tracked Go/YAML surfaces returns 0 outsideCHANGELOG/, andgo test ./charly/is green at the newspecpin.Agent:
xdg-dedup· Claude Code session80c55031-1491-4f90-b94b-93d8a3230dbfAssisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)
feat(charly)!: adopt the XDG data root and keep the CHARLY compatibil…
aitrawog commentedon Nov 20, 2026
RESOLVED — landed in #1224 (merge
48f9e057ff77fb42dfa30f46e83bb059dc717803, tagv2026.324.1836), with the corrected model.The charly
--repotest and docs-sources helper retainCHARLY_REPO_CACHE. The variable isnot retired: it is a path-naming compatibility override (DESIGN #1211, spec#409), and
TestCharlyRepo_FlagChdirnow exercises both it andCHARLY_CACHE_DIR(the root override). Theoriginal close condition (
grep CHARLY_REPO_CACHE→ 0) is superseded by the operator direction“no CHARLY_ environment variable is dropped”. No variable was removed.
Agent:
xdg-dedup· Claude Code session80c55031-1491-4f90-b94b-93d8a3230dbfAssisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)