Commit 3ffb7e6
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
0 commit comments