Repository navigation
feat: the batch-2.3-2.6 candy refs advance to their standalone repos (the candy cutover, batches 2.3-2.6) - #405
Conversation
…(the candy cutover, batches 2.3-2.6)
Review — BLOCKHead SHA: Change class: candy ref advance — 21 yml files, 39 ref rewrites (bare candy names → Blocks
Verdict: BLOCK deepseek.com/deepseek-v4-flash — pi-review-action. |
…le + check-boxload fixture)
…ance PRs were missing) RCA (2026-08-25): the batch-2.3-2.6 PR body claimed 'the resolver test exercised the changed refs at the pinned tags' — FALSE. TestCandySourceDirs_OverrideAnchorsRemoteApk scans box/cachyos ONLY; its closure reaches none of the batch-2.3-2.6 refs, and a fresh-cache full-suite run downloads zero remote repos. No automated gate asserted that every @github.com/opencharly pin resolves at its tag, nor that no bare candy-list name survives for a moved candy. This test is that gate (ONE canonical sweep, no external table): - TestCandyCutoverSweep_NoBareMovedRefs: a candy is 'moved' iff a kind-prefixed standalone pin exists anywhere in the tree; bare require:/candy: refs to moved candies fail. Caught 18 real missed sweeps (container-nesting, direnv, chrome, pipewire, selkies, tmux, openclaw-full, hermes-full, etc. in aggregator ymls). - TestCandyCutoverSweep_AllRemotePinsResolve: every pin resolves at its pinned tag via the canonical loader path. Caught 2 dangling pins (v2026.237.806/808 leading- zero bugs vs the real .0806/.0808 tags). - TestCandyCutoverSweep_NoCharlyCandyRefs: no stale in-repo charly/candy/<name> list refs outside the check-* fixtures. Caught the live add_candy direnv pin. The same sweep then advanced those 26 refs to their standalone pins (the missed sweeps + the leading-zero tag corrections). 11 files, +26/-26, plus the new test.
Review — PASSHead SHA: Security screen: PASS — ref rewrites + a test-only Go file; no new deps, no secrets/exfiltration, no guardrail weakening, no scope mismatch; all 31 files accounted for in the body. Verdict: PASS deepseek.com/deepseek-v4-flash — pi-review-action. |
Summary
The candy de-submodule cutover, batches 2.3–2.6: the higher-order candies advance to their standalone repos. This PR does two things:
require:/candy:reference to the 27 batch-2.3–2.6 candies plus the missed-sweep defects the new gate caught (bare refs to already-moved batch-1/2.1/2.2 candies in aggregator ymls): 30 yml files, 67 ref rewrites (+67/−67).charly/refs_sweep_test.go(239 lines, 4 tests), a repo-wide candy-cutover sweep. RCA: the previous "resolver test" evidence was FALSE (box/cachyos closure reaches none of these refs; fresh-cache full-suite downloads zero remote repos). This sweep is the one canonical gate: no bare refs to moved candies (R5), every pin resolves at its pinned tag via the canonical loader path, no stale in-repocharly/candy/<name>list refs.The companion umbrella PR (opencharly/opencharly#24, MERGED) adds the 27 repos as submodules.
How tested
The new sweep gate — PASSES (all four tests):
The sweep is not a formality — it caught 20 real defects in this batch before landing:
charly-coder,charly-selkies,charly-openclaw,hermes,virtualization,keepassxc,charly-build,agent-forwarding,charly-infrastructure,direnv)v2026.237.806vs the realv2026.237.0806,v2026.237.808vsv2026.237.0808)charly/candy/direnv→layer-direnv)The resolver test still passes (regression, unchanged behavior):
Full charly suite green:
Rulebook compliance
Change classification
TestCandyCutoverSweep_*tests + the full charly suite + the org validatoranalysed on a live system— the sweep resolved 67 changed pins at their real commits (cold-cache downloads logged in the test output)Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)