Skip to content

chore(pins): advance box/cachyos to distro-cachyos main (distro-cachyos#153) - #1022

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/box-cachyos-advance
Oct 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/box-cachyos-advance

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Head 2c6b7244b3dd16ff1a82ddf2b183f16b9191e833, ONE gitlink: box/cachyos bd5cf4214e → 541398c061, written by charly task sync (verb:git-submodules, MODE=bump) — never a hand-pin, never a branch checkout.

Why this repository and not the umbrella. The umbrella's six distro-* pins are EDGES (derived-from:charly), and the edge's value is pinned_from's twin gitlink, read by submoduleGitlink(projDir, in.PinnedFrom, cpath) in the plugin-task plugin's verbs.go. So a distro-* pin cannot advance until the box/<distro> gitlink it copies advances here, and a charly advance that leaves box/* alone moves no edge at all. Measured: box/cachyos is bd5cf4214e at both the charly main the umbrella recorded (c837b661) and the one it now serves (3dfd594d). opencharly/opencharly#568 states this order — "a charly leg that advances charly's own box/* pins, after which charly task sync re-derives all six edges here. Producer-first, no shortcut."

Currency on this repo, before the bump — five of the six were already at their distro's default-branch HEAD, so the verb moved exactly one:

$ ./bin/charly task pins --param MODE=currency
      currency: 1 of 6 pin(s) NOT current [1 behind, 5 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); NOT CURRENT: box/cachyos: behind; intent upstream:main (implicit: .gitmodules branch=); recorded bd5cf4214e; served 541398c061 (branch); producer-first legs: box/cachyos (bd5cf4214e -> 541398c061)
rc=0
submodule recorded at the base 3dfd594d recorded at this head producer leg
box/cachyos bd5cf4214eaf 541398c061dc distro-cachyos#153 — feat(bed): prove a containerd v4 config through egress validation, squash cf807b760f, tag v2026.295.1047, plus the CHANGELOG its tag-on-merge wrote

It is a clean advance and not a divergence — judged against the REMOTE, the old pin is the merge-base and the base, and the two commits between are exactly PR #153's squash and its CHANGELOG:

$ gh api repos/opencharly/distro-cachyos/compare/bd5cf4214eaf599141a30b17e79c2e715b3f57a8...541398c061dc --jq '{status,ahead_by,behind_by,base:.base_commit.sha[0:10],merge_base:.merge_base_commit.sha[0:10]}'
{"ahead_by":2,"behind_by":0,"base":"bd5cf4214e","merge_base":"bd5cf4214e","status":"ahead"}
rc=0
$ gh api repos/opencharly/distro-cachyos/compare/bd5cf4214eaf599141a30b17e79c2e715b3f57a8...541398c061dc --jq '.commits[] | "\(.sha[0:10]) \(.commit.message | split("\n")[0])"'
cf807b760f feat(bed): prove a containerd v4 config through egress validation (opencharly/charly#929) (#153)
541398c061 docs: add CHANGELOG 2026.295.1047 for PR #153
rc=0

The whole diff, from git's own numstat — one gitlink line, one insertion, one deletion, no file content:

$ git diff --numstat origin/main HEAD
1	1	box/cachyos
rc=0

The gitlink actually moved — read from the committed tree and from the index, with the checkout agreeing, not asserted from the verb's exit status:

$ git ls-tree HEAD box/cachyos
160000 commit 541398c061dc8c604cdc208f8518462020efed44	box/cachyos
rc=0
$ git ls-files -s box/cachyos
160000 541398c061dc8c604cdc208f8518462020efed44 0	box/cachyos
rc=0
$ git -C box/cachyos rev-parse HEAD
541398c061dc8c604cdc208f8518462020efed44
rc=0

How tested

The change class is config (one gitlink, no file content), so the gate is this repo's own pin gate — charly task pins — run on the committed tree, plus the direct MODE=currency reading. No Go source changed, so go test ./... / go vet ./... cannot discriminate this change; the instrument that can is the pin verb, and it is the one used.

The instrument — a worktree-local build of this branch's own source, per R9:

$ ./bin/charly version 2>/dev/null
2026.295.0755
rc=0
$ go version -m ./bin/charly 2>/dev/null | grep -E 'opencharly/(sdk|plugin-box)'
	dep	github.com/opencharly/plugin-box/candy/plugin-box	v0.2026294.21	h1:mAn3DQ3s3RjK1N3TX41OTRegE95qboZIF3ZJUFtt1ic=
	dep	github.com/opencharly/sdk	v0.2026294.1520	h1:43EGZK2h1a5udbvgvToZ7EDZZubADN6IFZk1mf1L6Fo=
rc=0

Before and after, in the index AND the checkout — the advance is real on both sides, which is the pair verify asserts:

=== BEFORE index
160000 bd5cf4214eaf599141a30b17e79c2e715b3f57a8 0	box/cachyos
=== BEFORE checkout
bd5cf4214e
=== AFTER index
160000 541398c061dc8c604cdc208f8518462020efed44 0	box/cachyos
=== AFTER checkout
541398c061

The bump, and what its exit status does and does not say. charly task sync succeeded, but it is a task: wrapper around verb:git-submodules and the wrapper discards the wrapped verb's Message (opencharly/plugin-task#33), so its output carries no pinned/rolled counts:

$ ./bin/charly task sync; echo sync_rc=$?
task sync: 1 step(s), 0 failed
  [pass] run — advance the box/* pins to the refs their intent names
      ran 1 task(s), 0 step(s) failed
sync_rc=0

That is why the pin verb is also run DIRECTLY — both for its counts and for the gate:

$ ./bin/charly task pins --param MODE=verify; echo verify_rc=$?
task pins: 1 step(s), 0 failed
  [pass] run — run git-submodules in the selected mode
verify: 0 policy pin(s) hold across 6 submodule(s); 6 checkout(s) clean at their gitlink
verify_rc=0

0 policy pin(s) is correct here rather than missing: policy pins are the EDGE assertions, and this repository declares no pin_map — all six box/* are implicit upstream:main leaves. The six clean checkouts are the half of verify that this change is about.

$ ./bin/charly task pins --param MODE=currency
      currency: 0 of 6 pin(s) NOT current [6 cur]; intents: 6 upstream leaf/leaves (6 implicit), 0 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
rc=0

Nothing was rolled out of scope, and that is measured rather than assumed. charly task sync rolls every submodule this repo carries, and this repo carries exactly six — all six box/*, all in scope. Five re-derived to the values the index already recorded (no hunk); the sixth is this commit.

$ git config -f .gitmodules --get-regexp 'submodule\..*\.path$' | awk '{print $2}'
box/arch
box/cachyos
box/debian
box/fedora
box/ubuntu
box/omarchy
rc=0
$ git diff --cached --stat
 box/cachyos | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rc=0

The negative control — the index moved back while the checkout stayed advanced, so the signal cannot come from the checkout. Every gate invocation below is redirected, never piped, and its rc is the gate's own:

=== index BEFORE arm
160000 541398c061dc8c604cdc208f8518462020efed44 0	box/cachyos
idx_rc=0
mutate_rc=0
=== index AFTER mutate
160000 bd5cf4214eaf599141a30b17e79c2e715b3f57a8 0	box/cachyos
ARM_GATE_RC=1
task pins: 1 step(s), 1 failed
  [fail] run — run git-submodules in the selected mode
verify: 1 failure(s) (1 unstaged advance): box/cachyos: unstaged advance (HEAD 541398c061dc8c604cdc208f8518462020efed44, index gitlink bd5cf4214eaf599141a30b17e79c2e715b3f57a8) — the checkout is AHEAD of the pin the index records — `git add box/cachyos` records the advance `charly task sync` materialised, or `git submodule update box/cachyos` discards it
restore_rc=0
=== index AFTER restore
160000 541398c061dc8c604cdc208f8518462020efed44 0	box/cachyos
=== checkout
541398c061dc8c604cdc208f8518462020efed44

The gate goes RED on exactly the pair this commit sets and names both sides and both remedies. The arm is restored, and git status --porcelain afterwards shows only the staged M box/cachyos that IS this commit.

Anomaly of my own, with its RCA, disclosed rather than buried. The first commit of this branch carried a garbled sentence in its message ("cannot advance here's twin until the twin itself advances"). It was amended BEFORE the first push — a legal authoring action, since amending a pushed branch would need a force-push — so the record reads correctly. Missed control: I composed the message with a sed that assumed a line wrap it did not have, and git commit reports success regardless of whether the prose is intelligible; nothing in my sequence read the message back. Root fix: the commit message is read back (git log -1 --format=%B) before the push, which is where the garble was caught and where a future one will be.

One non-blocking product finding, filed rather than parked. The umbrella's simultaneous currency reading prints this very pin's twin as blocked-by charly:box/cachyos (not-on-the-served-line), while this checkout — which holds the served object — prints the identical pin and the identical two commits as behind. An un-fetched object (git merge-base --is-ancestor → fatal: Not a valid object name, exit 128) is collapsed into a judged class, and a squash explanation is attached that the commit graph contradicts (merge_base == recorded). It is opencharly/plugin-task#32, evidence added there; it is separable from this diff and does not change its remedy, which is the advance this commit makes.

Rulebook compliance

  • R0: loaded before the first action — /charly-internals:git-workflow (the pin contract, umbrella mechanics, the pre-validator self-audit), which is the dispatcher's Pinning/gitlink row, and this repo's own AGENTS.md first (Part II refactor(charly): P1 lint/dead/dup rewrite + concurrency & correctness fixes #4). /charly-internals:go is not dispatched because no Go source is touched.
  • R1: one finding, classified rather than parked: the currency twin's exit-128 collapse, filed to currency mode: an unrun ancestry test is printed as a judged class, with a causal mechanism attached (exit 128 collapsed into exit 1) plugin-task#32 with a same-pin A/B. Non-blocking — the state is non-structural, the remedy is unchanged, and this diff is correct and complete without the fix. The wrapper's Message discard is verb:task returns a one-line summary, so a task: wrapper discards the wrapped verb's Message (and its coverage) plugin-task#33, and the remedy used here is to run the verb directly rather than to infer counts from a success line. My own commit-message garble is disclosed above with its RCA and the control that now catches it.
  • R2: no duplication — one pin operation, selected through task sync → task pins, which is a thin wrapper over the ONE verb:git-submodules definition; no second pin table and no copied gitlink list.
  • R3: no workaround — no hand-pin, no git update-index in the change itself, no checkout-and-commit. The only index mutation in this leg is the negative control, restored and proven restored above.
  • R4: product before prose — every value came from the product's own verb, and this body records what those commands said rather than describing a hand-rolled equivalent.
  • R5: a gitlink advance deprecates and deletes nothing and no identifier leaves the tree; the claim-keyed sweep for this diff is the numstat above — one line moved, and that is the whole diff.
  • R6: git status read clean before the commit and after every restore; one feat/ branch, one authored commit, one push; no force-push, no push to main, no hook bypass. The one amend was pre-push, before the branch was ever published.
  • R7: the emitted artifact is the recorded gitlink set, validated at its boundary by the verb that reads it, and by a control that goes RED on exactly the invariant this commit sets — the index/checkout pair named, index printed on both sides of the arm.
  • R8: N/A — there is no live service boundary here; every clause reads git state and a remote, and nothing is mocked or skipped.
  • R9: the worktree-local CalVer build is pasted above with charly version and go version -m; no shared install was used and no runtime OS dependency is added.
  • R10: the change class is config (one gitlink), so the gate is this repo's pin gate on the committed tree — verify: 0 policy pin(s) hold across 6 submodule(s); 6 checkout(s) clean at their gitlink and currency: 0 of 6 — with a discriminating control beside it. No disposable bed applies, and this body says so rather than implying one.

Change classification

Config — one gitlink value. No file content, no code, no schema, no candy or box manifest, no emitted image artifact.

Filed issues

A3 — attribution evidence

The delivered system message in this session reads, verbatim:

You are a coding agent powered by the deepseek-v4.1-flash model.

The footer below uses those exact names — DeepSeek Harness is the harness (@deepseek-ai/dsh) and deepseek-v4.1-flash is the model id — and the runtime context names that id and the provider:

$ grep -A3 -m1 "deepseek-v4.1-flash" ~/.dsh/cordis.patch.yml
          - id: deepseek-v4.1-flash
            name: "DeepSeek V4.1 Flash"
            contextWindow: 1048576
            maxTokens: 384000
rc=0
$ grep -m1 "provider:" ~/.dsh/cordis.patch.yml
    provider: ollama-cloud
rc=0

opencharly/opencharly#538 is the record of why this needs pasting rather than asserting: the validator's model allowlist rejected this real runtime once, and the answer is evidence, never an edited footer.

Agent: charly

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

…os#153)

The umbrella's six `distro-*` pins are EDGES derived from this repo's own
`box/*` gitlinks (`pinned_from: charly`), so a `distro-*` pin cannot advance
until the twin gitlink it copies advances here. Measured with the pin verb's
currency mode on this tree: `1 of 6` not current — five of the six were
already at their distro's default-branch HEAD, and `box/cachyos` was one
squash-merge behind (`bd5cf4214e` -> `541398c061`), so every consumer of this
pin recorded a pre-move tree.

`charly task sync` (`verb:git-submodules`, `MODE=bump`) advanced it to
distro-cachyos `main` = `541398c061dc8c604cdc208f8518462020efed44`, the squash
of distro-cachyos#153 (`feat(bed): prove a containerd v4 config through egress
validation`, tag `v2026.295.1047`) plus its CHANGELOG. One gitlink line, no
file content.

This is the producer half of the umbrella's `blocked-by charly:box/cachyos`
leg; the consumer half is `charly task sync` in opencharly/opencharly, which
re-derives `distro-cachyos` from this gitlink.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Scope and diff. The PR changes exactly one path, box/cachyos, from gitlink bd5cf4214eaf599141a30b17e79c2e715b3f57a8 to 541398c061dc8c604cdc208f8518462020efed44. The unified diff is one line, one insertion and one deletion, with no file content — a pure submodule gitlink advance. This matches the body's git diff --numstat output (1 1 box/cachyos), its "ONE gitlink" claim, its "1 changed files" framing, and the single commit 2c6b7244b3dd ("chore(pins): advance box/cachyos …"). The commit list and branch (feat/box-cachyos-advance) are consistent with the stated producer-first leg.

Correctness. The old and new hashes in the diff agree with every hash the body cites: the "BEFORE" index/checkout (bd5cf4214e), the "AFTER" index/checkout (541398c061…), the git ls-tree/git ls-files -s readings, and the remote compare output (base/merge_base = bd5cf4214e, ahead_by: 2, the two commits being PR #153's squash cf807b760f and its CHANGELOG 541398c061). The claim that this is a clean fast-forward rather than a divergence is supported by the compare output showing merge_base == base == recorded, behind_by: 0, status: ahead. The advance is internally consistent and nothing in the diff contradicts the narrative.

Honesty. The body's file count, numstat, before/after index and checkout readings, and the commit hashes all reproduce against the current state. The disclosed anomaly (a garbled pre-push commit message, amended before first publish) is not observable in the current commit subject, which reads cleanly — so the disclosure is consistent with the tree. The claim that five of six submodules were already current and only box/cachyos moved is supported by the stated currency reading and by the numstat showing a single-file change; no second hunk appears in the diff to contradict it.

Tests. No Go source is touched, so go test/go vet genuinely cannot discriminate this change; the body says so explicitly rather than implying coverage it lacks. The appropriate instrument is the repo's pin gate, and the body runs it both MODE=verify and MODE=currency on the committed tree, plus a negative control that mutates the index back and shows the gate going RED (rc=1) with a precise "unstaged advance" message naming both hashes and both remedies, then restores and re-verifies. That control demonstrates the gate is sensitive to exactly the invariant this commit sets. This is adequate for a config-class change.

Security. No secrets, no injection surface, no dependency additions, no privilege changes — a single gitlink value. No concern.

Scope and cleanliness. One coherent operation, no leftover legacy path, no duplication, no dead code. The body's rulebook narrative is verbose but each clause maps to an observable command output already reflected in the diff/commit state.

Comments. There are zero comment threads, so no sign-off or finding to disposition. With no designated maintainer comment, the change stands on its own evidence, which it does.

All findings are non-blocking; nothing in the current state requires a fix before merge.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 22, 2026 12:43
@github-actions
github-actions Bot merged commit 0678853 into main Oct 22, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 22, 2026
github-actions Bot pushed a commit to opencharly/opencharly that referenced this pull request Oct 22, 2026
…s (currency -> 0 of 431) (#590)

`charly task sync` over this worktree's 20 checkouts (14 rolled, the six
`distro-*` edges re-derived), with all six `distro-*` checkouts initialised so
the `pin_map` edges re-derive from charly's own `box/*` gitlinks instead of
pinning 0 entries — the trap that left the previous leg's edges untouched.

Producer-first order, as the pin contract and #568 require:
`charly` first (it is the `pinned_from` the six edges derive from), then the
leaves, then the edges.

  charly                  c837b66157 -> 2f15487aa7  #1020 plugin-migrate weld + #1022 box/cachyos + CHANGELOGs
  marketplace             fa7648a6f5 -> ae8317d85d  #531/#533 pr_body_lint + #536 repo-setup guidance + CHANGELOGs
  plugin-check            a2d1c38afb -> 5a81cad275  #128 nested child deploy key from its root + CHANGELOG
  plugin-egress           a41a5877f7 -> b0609cb9de  #14 containerd config v4 + CHANGELOG
  plugin-pipeline         0c40348319 -> 51160a1d40  #57 sdk v0.2026294.1520, ${env.} in a when: + CHANGELOG
  plugin-nerdctl          4f5374e5a2 -> a0051aec96  #13 serve engine:containerd after the spec cutover + CHANGELOG
  plugin-settings         d78a7940e2 -> 0f7a1521d6  #11 engine.run=containerd, retire the nerdctl word + CHANGELOG
  dotgithub               5103558c75 -> 8e0bf3c3d8  .github#224 ruleset exclusion is not a landing ban + CHANGELOG
  layer-charly-internals  0d8cfdc759 -> 66f376a159  #131/#132 repo-setup enforcement scope + CHANGELOGs
  spec                    5840fa7666 -> bf03f96573  #266 engine word containerd + krun VM backend + CHANGELOG
  sdk                     35eff3efd4 -> 2d504634b8  #448 deploykit selects the workload user by launch mode + CHANGELOG
  distro-cachyos          bd5cf4214e -> 541398c061  EDGE re-derived from charly's box/cachyos (distro-cachyos#153)

`charly` could not be advanced without its own `box/cachyos` gitlink moving
first: that gitlink is bd5cf4214e at both the previously recorded charly
c837b661 and the served 3dfd594d, so a plain charly advance moved no edge at
all. opencharly/charly#1022 (squash 0678853c, tag v2026.295.1246) moved it to
541398c061, which is what makes the umbrella's distro-cachyos edge current.

Twelve gitlinks, twelve insertions and twelve deletions, no file content.

`task sync` returned rc=1 on all four passes after advancing — the documented
no-checkout guard (opencharly/charly#864, opencharly/charly#917), since this
worktree initialises 20 of 431 and 411 pins have no checkout; the pins it wrote
are the ones verified. The extra passes are drift inside the session window,
not pins it failed to advance: a leaf whose remote squash-advances past it reads
`not-on-the-served-line`, and a pin whose remote merges between two readings
reads `differs (no checkout to judge ancestry)` until its checkout is
initialised. Both were made judgeable and advanced here.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

Co-authored-by: Andreas Trawoeger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants