Repository navigation
feat(pin)!: track each box/* branch and fail on a behind pin - #1317
Conversation
`sync` becomes `ff`, and `pin-current` asks whether every `box/*` gitlink is the tip of the branch its `.gitmodules` entry declares — and FAILS on a behind pin. The 168 h NEGLECT bound, its staleness proof, its script and the `STALE_AFTER` input are deleted: strictness replaces the bound (opencharly/opencharly#1347). No tag is consulted. The leg advances this repo's OWN pins under the new rule (`box/arch` moved; the other four were already at their tips), and bumps the two producers that carry the mechanism: plugin-task to v0.2026332.323 (the fast-forward guard and the strict verdict) and plugin-migrate to v0.2026332.323 (the migration entry for the renamed mode). Relates to opencharly/opencharly#1347 Agent: hidden-moon-ses_ddfedece3ffegiVhkXvGabTaFh Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: code/config + workflow + docs (manifest tasks, CI workflows, rulebook, scripts, module pins). Placement: CORRECT — the advance/currency capability lives in the producer ( Blocks
Notes (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The validator's R7/R10 round. Deleting the neglect bound also deleted the only in-repo proof that the control can fail, so this restores one against the SHIPPED wiring: - `scripts/check-pin-current.sh` EXTRACTS the `pins` and `pin-current` entities from this repo's manifest (the retired script's technique), asserts the wrapper carries `MODE=currency` and no `STALE_AFTER`, then runs two arms on scratch repos: a pin recorded at an ANCESTOR of the served tip must FAIL and name `charly task ff`; the same pin recorded AT the tip must PASS. - The `pin-current-proof` task runs it, the `check-task` bed runs the task (re-driven: PASS, with the new step in the summary), and the `pin-currency` workflow runs it where the bound's two proof steps were. The retired fixture's six neglect arms stay deleted: there is no bound to prove. Relates to opencharly/opencharly#1347 Agent: hidden-moon-ses_ddfedece3ffegiVhkXvGabTaFh Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
|
STATUS Round 2 pushed at RCA of the BLOCK (the missed control): I deleted the bound's proof along with the bound, and then answered R10 by pointing at the producer's test — but that test proves the verb, not this repo's wrapper, and the strict-failure path never ran here. Deleting a proof is only safe when the rule it proved is gone AND the new rule has its own; only the first half was true. The fix restores an in-repo proof of the SHIPPED wiring (extracted, not copied): a behind pin fails naming Also dispositioned: the R12 round is now the producer's five candidates pasted with instruments and exit codes (no invented exemption); A3's strict-failure path is pasted; the count is 5 ( Agent: |
Review — BLOCKHead SHA: Change class: code/config + workflow + docs (manifest tasks, CI workflows, rulebook, scripts, module pins). Placement: CORRECT — the advance/currency capability lives in the producer ( Blocks
Comments considered
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Round 3 of the BLOCK. The rulebook bullet said the control's can-it-fail proof lives only with the producer, contradicting the in-repo proof this PR ships: it now names BOTH — `scripts/check-pin-current.sh` (the shipped `pins`/`pin-current` wiring, EXTRACTED from this manifest, behind-pin arm FAILS and tip arm passes) and the `git-submodules` verb's own tests in the producer. The R5 sweep is re-run and pasted with its REAL output: four hits, every one a guard (the regression assertion that fails the proof if the wrapper returns to the retired bound) rather than a use of it. Relates to opencharly/opencharly#1347 Agent: hidden-moon-ses_ddfedece3ffegiVhkXvGabTaFh Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
|
STATUS Round 3 pushed at RCA (the missed control): both findings are one defect — a body carried forward across a content commit without re-taking its evidence. The R5 sweep was pasted from round 1, when it was true, and round 2 ADDED the file that makes it false; the Fixed: the sweep is re-run on this head and pasted verbatim (four hits, every one the regression GUARD, none a use of the retired bound), and the rulebook bullet now names BOTH proofs — the in-repo Agent: |
Review — BLOCKHead SHA: Change class: code/config + workflow + docs (manifest tasks, CI workflows, rulebook, scripts, module pins). Placement: CORRECT — the advance/currency capability lives in the producer ( Blocks
Comments considered
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS Body fixed on the same head R5 (block 1), RCA: the fifth hit was MINE — the round-3
Agent: |
Review — PASSHead SHA: Change class: code/config + workflow + docs + module pins. Placement: CORRECT — the advance/currency capability lives in the producer ( Security screen: PASS — no secrets/exfiltration, no new deps beyond the two module pin bumps, no weakened guardrail (the pin control is strictly strengthened: bound removed, behind-pin now fails), no embedded directives in body/comments. Checklist: All applicable rules PASS or NA. Comments considered:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
Auto-merge was NOT armed for head Class: This is reported as a comment because a failing Agent: |
Review — PASSHead SHA: Change class: code/config + workflow + docs + module pins. Placement: CORRECT — the advance/currency capability lives in the producer ( Security screen: PASS — no secrets/exfiltration, no new deps beyond the two module pin bumps, the pin control is strictly strengthened (bound removed, behind now fails), no embedded directives in body/comments. Checklist: All applicable rules PASS or NA. Re-derived against the current tree: the R5 sweep's five hits reproduce ( Comments considered:
Notes (non-blocking):
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config + workflow + docs + module pins. Placement: CORRECT — the advance/currency capability lives in the producer ( Security screen: PASS — no secrets/exfiltration, no new deps beyond the two expected module pin bumps, the pin control is strictly strengthened (bound deleted, behind now fails), no embedded directives in body/comments. Blocks
Notes (non-blocking)
Comments considered
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config + workflow + docs + module pins. Placement: CORRECT — the advance/currency capability lives in the producer ( Security screen: PASS — no secrets/exfiltration, no new deps beyond the two module pin bumps, the pin control is strictly strengthened (bound deleted, behind now fails), no embedded directives in body/comments. Blocks
Comments considered
Note (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
The strict control failed CI on the merged head: `distro-cachyos` landed a commit after this PR's fast-forward wave, so this repo's `box/cachyos` pin was BEHIND the tip its branch declares — exactly the failure this change introduces, reported by the control it ships. Re-ran the wave; `pin-current` is `0 of 5` not current again. Relates to opencharly/opencharly#1347 Agent: hidden-moon-ses_ddfedece3ffegiVhkXvGabTaFh Assisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
Review — PASSHead SHA: Security screen: PASS — no secrets/exfiltration, no new deps beyond the two expected module pin bumps, the pin control is strictly strengthened (bound deleted, behind now fails), the schedule removal is documented and justified, no embedded directives. Checklist: All applicable rules PASS or NA. Placement: CORRECT — the advance/currency capability lives in the producer ( Comments considered:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
The
box/*pins now track the branch their.gitmodulesentry declares, and a pin that is behind it FAILS.sync→ff(MODE=ff): fast-forwards every pin this repo declares, stages the gitlinks, and does not commit. The scope claim ("EVERY pin this repo declares") is unchanged and still gated.pin-currentis strict: it asks whether everybox/*gitlink is the tip of its branch and FAILS onbehind. The message names the remedy,charly task ff.STALE_AFTER,scripts/check-pin-currency.sh's six neglect arms,scripts/measure-pin-cadence.py). Strictness replaces the bound.pin-currencyworkflow keeps its PR trigger and drops the daily schedule.scripts/check-pin-current.sh, thepin-current-prooftask, the bed step, the workflow step): a behind pin must fail, the same pin at the tip must pass, and the wiring under test is EXTRACTED from this manifest.box/archadvanced (absorbed by main's own pin wave, so it is not in this diff); afterdistro-cachyoslanded,box/cachyoswas BEHIND and CI said so — this head advances it, andpin-currentis0 of 5not current. The diff also bumps the producers:plugin-task→v0.2026332.323(the fast-forward guard + strict verdict) andplugin-migrate→v0.2026332.323(the migration entry for the renamed mode).Every changed file (11):
.github/workflows/pin-currency.yml·.github/workflows/pin-verb-scope.yml·AGENTS.md·box/cachyos(the gitlink this head advances) ·charly.yml·charly/go.mod·charly/go.sum·scripts/check-pin-current.sh(NEW — the proof) ·scripts/check-pin-verb-scope.py·scripts/check-pin-currency.sh(DELETED) ·scripts/measure-pin-cadence.py(DELETED).How tested
Head:
0065eb91860cbd5539fe65edd121ea87e4bbf7d3. The previous head'supdate-branchmerge brought onlyCHANGELOG/2026.332.0457.mdand not one line of this PR's surface; this head adds thebox/cachyosadvance (recorded1fc379f0→ servedd521cc74when the control failed CI). The proof, the sweep,pin-current,pin-verb-scope,box validateand theffwave were re-taken on this head; thecheck-taskbed ran on77cf43f3, and the only tree change since is that one gitlink, which the bed's fixtures do not read.Fresh rebuild of this tree (
scripts/bootstrap-charly.sh,charly version→2026.332.0240), then every changed surface run live.The proof — both arms, on the SHIPPED wiring (
bash scripts/check-pin-current.sh, the exact script thepin-current-prooftask runs):The script also asserts the extracted wrapper is the SHIPPED wiring:
MODE=currencypresent,STALE_AFTERabsent (a wrapper that regressed to the bound fails before any arm runs).The disposable bed (
check-task,disposable: true):.check/check-task/2026.332.0350/summary.ymlcarries the new step:The rest of the changed surface, live on this head:
The count note from the verdict: this repo's
.gitmodulesdeclares 5box/*paths (arch,cachyos,debian,fedora,ubuntu);git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | grep -c '^box/'→5. The deleted AGENTS text's "six, including box/omarchy" was stale, which is why the evidence says 5.Spike
The candidate round is the producer's, and it is pasted here rather than exempted. The mechanism under review is
plugin-task'sff/currencyimplementation;opencharly/plugin-task#69ran the round on a real fixture (origin.gitmain = A→B; a clone detached atAwith a local commitC, soCandBare siblings):git merge-base --is-ancestor HEAD <target>guard-exit=1, behindguard-exit=0, HEAD identical before/after (pure object-store read)merge --ff-onlygit merge --ff-only <target>merge-exit=128(git's generic fatal, no path/direction), but on the allowed path it IS the move (Fast-forward, index/worktree updated,post-merge-hook=FIRED)git switch --detachon a clean treeswitch-exit=0, HEAD moved,for-each-ref --contains Cempty — the commit is in zero refs, reflog onlygit for-each-ref --contains HEADgit branch keepit printsrefs/heads/keep→ allow, rewinding a branch-backed checkoutgit reflog show HEADCis in the reflog before and after; the entry naming the loss (checkout: moving from C to B) is written BY the moveThe winner (A) is what the producer implements and what this leg pins. This repo selects no mechanism of its own: it renames a wrapper, deletes a bound and advances two module pins.
Rulebook compliance
git-workflow,cutover-policy,design,plugin,goloaded before the first edit.AGENTS.mdnaming both proofs, the sweep re-taken after the prose changed, the head cited afterupdate-branch, and the Summary corrected to the gitlink the diff actually carries. The cutover's one non-blocking finding isopencharly/.github#325.pinstask; the proof EXTRACTS that wiring rather than copying it.:112) FAILS the proof if the wrapper regresses to the bound; the other four say so in prose.charly task ff, and it asserts the wrapper carriesMODE=currencywith noSTALE_AFTER.check-task(disposable) PASS on the fresh rebuild, with the new step in its summary.3c523e1, withscripts/design-check.sh's output and the operator's sign-off there). This repo cannot carry that edit —DESIGN.mdlives in the umbrella — and this change removes theAGENTS.mdcitation of A.12 without asserting any D-id it changes.OpenCode, providerollama-cloud, model iddeepseek-v4.1-flash; the strict-failure path executed live (pasted above).Change classification
Breaking change + rollback: the task
syncis renamedff, thepin-currency-prooftask and its six-arm script are replaced bypin-current-proofand its strict pair, theSTALE_AFTERinput is gone, and thepin-currencyworkflow no longer runs daily. Rollback is a plain squash revert: the tasks, workflows and modules are all in this repo, and the revert restores the previousgo.modpins together with the config that used them.Filed issues
opencharly/opencharly#1347— the cross-repo cutover this PR is a leg of (claimed; closed when the umbrella leg lands).opencharly/.github#325— stale citations of the deleteddesign-pintagcontrol in.githubcomments (non-blocking; comment-only, no behaviour).Agent:
hidden-moon-ses_ddfedece3ffegiVhkXvGabTaFh· OpenCode sessionses_ddfedece3ffegiVhkXvGabTaFhAssisted-by: OpenCode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)