Skip to content

Commit 3ffb7e6

Browse files
committed
fix(repo): untrack the retired Go file that reached dev, and guard it mechanically
go/internal/cli/config_parity.go was committed by a broad `git add` three times during the #820 campaign. Two of those were caught and reverted (2101d50, 58e8718); the third rode a86ee03 into the #892 merge, so 682 lines of the retired Go experiment are now tracked on dev — the one and only tracked file under go/, absent from main, preview, and v2.10.0. Nothing in src/, the build, the typecheck, or the test path reads from go/, so this is dead weight in every clone rather than a functional regression. The commit that introduced it says "untrack ... again" in its own message, which is how it passed review: the intent was right and the index was not. .gitignore alone cannot prevent the repeat, because an already-tracked path stops honoring the ignore rule — so the guard lives in tests/repo-hygiene.test.ts next to the .codexclaw/gitlink invariants, driven red once by re-adding the file.
1 parent a4ff77c commit 3ffb7e6

3 files changed

Lines changed: 29 additions & 682 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,10 @@ devlog/**/security-advisory-draft*
3939
# Test-generated artifacts
4040
tests/.tmp-*/
4141
.claude/
42+
43+
# Retired Go native-runtime experiment. `go/` is not part of the build, the
44+
# typecheck, or the test path, and nothing in `src/` imports it. A single file
45+
# from it (go/internal/cli/config_parity.go) has now been committed by a broad
46+
# `git add` three separate times and reached `dev` once — see
47+
# tests/repo-hygiene.test.ts, which fails if any path here becomes tracked again.
48+
go/

0 commit comments

Comments
 (0)