Skip to content

chore(pins): advance charly to v2026.316.1207 - #995

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/pin-charly-1122
Nov 12, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/pin-charly-1122

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

charly's umbrella pin moves from the commit origin/main records to the tag-on-merge
CHANGELOG commit one above the tagged squash. The served tip:

$ git ls-remote https://github.com/opencharly/charly refs/heads/main | cut -f1
c3f4769462318e4226ef7494b9d119bb05ab9581

The pin target is that commit, not the squash v2026.316.1207 points at:

$ git -C charly rev-parse 'v2026.316.1207^{commit}'
76b3842f04faa21ccf3060ac530e22cc32dab08d
$ git -C charly rev-parse 'c3f4769462318e4226ef7494b9d119bb05ab9581^'
76b3842f04faa21ccf3060ac530e22cc32dab08d

A pin at the squash would read behind by one: cur is judged against the remote. The old
pin, the new pin, and the index entry that must equal the served tip:

$ git rev-parse origin/main:charly
152dc845f0e5a0d24892d93b5ae6be0747c0629d
$ git rev-parse HEAD:charly
c3f4769462318e4226ef7494b9d119bb05ab9581
$ git ls-tree HEAD charly | cut -d' ' -f3 | cut -f1
c3f4769462318e4226ef7494b9d119bb05ab9581
$ git ls-remote https://github.com/opencharly/charly refs/heads/main | cut -f1
c3f4769462318e4226ef7494b9d119bb05ab9581

What the pin carries

opencharly/charly#1122 (tag v2026.316.1207) makes charly's kind-value gate read the
composed schema unit (pluginSchemas.unified) instead of a base-only schema, so a
plugin-declared kind body is visible to the gate that validates it, and the host-value fold
follows the shape the provider declares. It is unit 0 of TODO.md 2.1's 13-unit chain
(opencharly/spec#304), and eleven kind moves are unblocked by it. It is behaviour-preserving
today — no plugin declares a kind body yet — which the producer measured on the real corpus
at the very pin this PR moves to:

$ git -C charly show HEAD:CHANGELOG/2026.316.1207.md | grep -E 'judged 2004|^diff rc=|^117afcac|of 11 gated defs'
11 of 11 gated defs, compared with `cue.Value.Equals` in a process where `TestMain` registered
    kind_value_corpus_sweep_test.go:202: gate=base: judged 2004 entity bodies (1646 files unparsable) -> /tmp/kv-base.txt
    kind_value_corpus_sweep_test.go:202: gate=composed: judged 2004 entity bodies (1646 files unparsable) -> /tmp/kv-composed.txt
diff rc=0
117afcac27674e333147f86ea91b97c4209ebda545960b2d236ec01baa52029c  /tmp/kv-base.txt
117afcac27674e333147f86ea91b97c4209ebda545960b2d236ec01baa52029c  /tmp/kv-composed.txt

11 gated defs, 2004 authored bodies, and the two verdict lists byte-identical
(sha256 117afcac…, diff rc=0).

The mechanism — the wave, and why it was the narrow move this time

charly task pins --param MODE=currency measured exactly ONE pin not current, so
charly task sync — this repo's declared verb for its own pins — advanced exactly that one
pin, as its own report counts:

$ ./charly/bin/charly task sync
task sync: 2 step(s), 0 failed, 0 skipped
  [pass] run — advance EVERY submodule pin this repo declares (charly rolls first, then distro-* from its new gitlinks)
      pinned 6 pin_map entr(y|ies) (distro-arch, distro-cachyos, distro-debian, distro-fedora, distro-omarchy, distro-ubuntu; 0 moved) after rolling 7 leaf submodule(s) to their default-branch HEAD (1 moved) and advancing 396 leaf pin(s) in the index (0 moved); 1 pin(s) moved

1 pin(s) moved, and the six pin_map edges moved 0. The sibling advance #994 used the
narrow roll-and-git add because the wave would have moved every pin; here the wave
moved one, so the wave is the mechanism this round used, and it staged the gitlink itself.
The edges do not move because charly's new commit carries its box/* gitlinks at exactly the
SHAs this tree already records:

$ for p in arch cachyos debian fedora omarchy ubuntu; do a=$(git -C charly rev-parse "HEAD:box/$p"); b=$(git rev-parse "HEAD:distro-$p"); [ "$a" = "$b" ] && echo "$p same" || echo "$p DIFFERS"; done
arch same
cachyos same
debian same
fedora same
omarchy same
ubuntu same

The wave's second step re-derives the harness skill bindings from the corpus it advanced; it
exited 0 and produced no diff, and after the wave git status --short names one path only,
charly.

Currency — before, after materialization, after the advance

charly IS in the derived working set, so the first reading had a checkout to judge ancestry
with and read behind — not the differs (no checkout to judge ancestry) form a pin with no
checkout reports. Before:

$ ./charly/bin/charly task pins --param MODE=currency
      currency: 1 of 409 pin(s) NOT current [1 behind, 408 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); NOT CURRENT: charly: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 152dc845f0; served c3f4769462 (branch); producer-first legs: charly (152dc845f0 -> c3f4769462)

CHARLY_INIT_PATHS=charly ./charly/bin/charly task init then passed with the checkout already
at the recorded gitlink, and the same reading came back byte-identical:

$ CHARLY_INIT_PATHS=charly ./charly/bin/charly task init
task init: 1 step(s), 0 failed, 0 skipped
  [pass] run — materialize the umbrella's submodules
      exit=0
$ ./charly/bin/charly task pins --param MODE=currency
      currency: 1 of 409 pin(s) NOT current [1 behind, 408 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); NOT CURRENT: charly: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 152dc845f0; served c3f4769462 (branch); producer-first legs: charly (152dc845f0 -> c3f4769462)

After the advance, the verify currency step (pasted in full under How tested):

      currency: 0 of 409 pin(s) NOT current [409 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names

The census — 0 rows, as expected

The pin moves Go, not CUE: not one .cue file is in the range. Re-emitted at the new pin and
diffed against the committed census, nothing added and nothing removed:

$ git -C charly diff --name-only 152dc845f0e5a0d24892d93b5ae6be0747c0629d HEAD | grep -c '\.cue$'
0
$ bash scripts/design-dpat.sh --emit-census > /tmp/after.tsv
$ diff design/dpat-baseline.tsv /tmp/after.tsv > /tmp/after.diff; echo "diff rc=$?"
diff rc=0
$ grep -c '^<' /tmp/after.diff; grep -c '^>' /tmp/after.diff
0
0

So design/dpat-baseline.tsv is not in this diff, and the control agrees at the committed
head:

$ bash scripts/design-dpat.sh
design-dpat: 121 pinned modules, 204 CUE files in scope, 1 under a vendor/ tree (foreign mirrors, out of scope)
design-dpat: 357 known violations (close 54, absence 86, open 68, opaque 0, dup 7, union 142) — tracked by opencharly/opencharly#945
design-dpat: no new violation, and the census matches the tree

Citations — 0 caught, and why

$ bash scripts/design-cite.sh .
design-cite: 3 citation(s) of a repository this tree does not pin are unchecked (not findings)
design-cite: every citation resolves at its pin; 158 line citation(s) still hold the construct and the bytes they were affirmed against

The four line citations into this pin name three files, and the advance touches none of them:

$ grep -P '\tcharly/' design/cite-baseline.tsv | cut -f2 | sort -u | tr '\n' ' '
charly/charly/commands.go charly/charly/no_kind_switch_in_kernel_test.go charly/charly.yml
$ git -C charly diff --name-only 152dc845f0e5a0d24892d93b5ae6be0747c0629d HEAD | grep -cE 'commands\.go|no_kind_switch|charly\.yml'
0

So design/cite-baseline.tsv is not regenerated: with no row changed, a regenerate is
exactly how a false row gets blessed.

Pintag — changelog-tip, no census row

$ bash scripts/design-pintag.sh -v . | awk '$2=="charly"{print $1, $2, $5}'
changelog-tip charly refs/tags/v2026.316.1207
$ grep -c '^charly	' design/pintag-baseline.tsv
0

No stale-tag-map false red arose. A linked worktree keeps its own module store, and this
worktree's store was cloned today, so its tag map already carries v2026.316.1207 — the tag
that points at the pin's parent — and the control's untagged bucket is still the one
recorded row (pi-asciinema), not charly.

charly version is one minute above the tag, by design

$ ./charly/bin/charly version
2026.316.1208
$ cd charly && bash scripts/calver.sh
2026.316.1208
$ git -C charly log -1 --format=%cI
2026-11-12T12:08:26Z

The binary's CalVer stamp is the HEAD commit's UTC date; the tag marks the 12:07 merge and the
CHANGELOG commit is one minute later. Binary and pin agree — bin/charly was rebuilt from
charly at this pin — and the release tag's own number is v2026.316.1207.

The one anomaly this round met, and its RCA

The first design-dpat run on this tree could not read the schema it judges:

$ bash scripts/design-dpat.sh --emit-census
design-dpat: plugin-pipeline is pinned at 2f435c7f277142d1e8332fb2cec10be5825b36d3 and its repository does not have that commit — fetch it; the gate cannot read the schema it judges
design-dpat: the pins could not be read (above)

Mechanism: #994 advanced plugin-pipeline's pin at 10:45Z and this clone's module store
still held the previous commit, so the pinned commit was absent from it. Missed control:
none — the gate fails CLOSED and names its own remedy. Blast radius: local sessions in
this clone until a fetch; CI clones fresh, so main's committed gate was never red.
Root fix: the remedy the gate names, applied here, after which the emission is clean:

$ git --git-dir .git/modules/plugin-pipeline fetch --tags origin
 * [new tag]         v2026.316.0909 -> v2026.316.0909
$ bash scripts/design-dpat.sh --emit-census | diff design/dpat-baseline.tsv -; echo "diff rc=$?"
diff rc=0

No tree change and nothing filed: this is local store state that the gate's own message owns,
not a defect of the tree.

file what it carries
charly the gitlink 152dc845f0 → c3f4769462, the CHANGELOG commit one above the tagged squash v2026.316.1207

How tested

The change class is a pin/gitlink advance, so the gate that owns it is this repo's pin gate,
./charly/bin/charly task verify, run on the committed tree, plus the seven design controls.
The binary was rebuilt from the NEW pin before either run (R9), and both ran on the exact head
this body describes.

$ git rev-parse HEAD
30e1d3bd58efe621bbfcd79f3658ce209d44ee74

$ git diff --stat origin/main...HEAD
 charly | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

charly task verify, 48 steps — the summary line and the two decisive steps verbatim (the
only abbreviation is the first step's 396-name list of unmaterialized paths, which the line
names one by one):

$ ./charly/bin/charly task verify
task verify: 48 step(s), 0 failed, 0 skipped
  [pass] check — the pin contract holds — every distro-* gitlink equals charly's own box/* gitlink (the EDGE), and every submodule is clean and checked out at its recorded gitlink (the CHECKOUT AUDIT), composed ONCE through `pins`
      verify: 6 policy pin(s) hold across 409 submodule(s); 13 checkout(s) clean at their gitlink; 396 uninitialized (pin audited, no checkout): charly-alpine, charly-arch, … (396 names)
  [pass] check — each pin's CURRENCY — the pin is at the ref its intent names (the question the consistency half above does not answer)
      currency: 0 of 409 pin(s) NOT current [409 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names

The other 46 steps are the umbrella's own gates and their self-tests (pin-verb scope, guidance
pathspecs, validator rule map, coordination verb set, root refs, harness config, the commit
gate, README measurements, the cited plugin-task version, the retired-claim scan, and the
fixture arms that prove each of them discriminates); all 48 report [pass], 0 failed, 0
skipped.

The seven design controls, on the same head:

$ bash scripts/design-check.sh
== 1/7 toolchain
cue version v0.18.0-rc.1

== 2/7 DESIGN.md ↔ DESIGN.cue
consistency: tables, table shape, word lists, rule tags, ids and § references, vocabulary, grammar — all agree

== 3/7 examples and negative cases
examples: 14 validated
negatives: 109 checked

== 4/7 the capability ledger
design-ledger: 264 rows vs 264 parity capabilities; citations resolve and name their subject; enums hold

== 5/7 every citation into a pinned module, at the pin
design-cite: 3 citation(s) of a repository this tree does not pin are unchecked (not findings)
design-cite: every citation resolves at its pin; 158 line citation(s) still hold the construct and the bytes they were affirmed against

== 6/7 the schema patterns of every pinned plugin module
design-dpat: 121 pinned modules, 204 CUE files in scope, 1 under a vendor/ tree (foreign mirrors, out of scope)
design-dpat: 357 known violations (close 54, absence 86, open 68, opaque 0, dup 7, union 142) — tracked by opencharly/opencharly#945
design-dpat: no new violation, and the census matches the tree

== 7/7 every pin's relation to a release tag
design-pintag: 409 pinned module(s) in the index, 409 judged, 0 skipped (no module store)
design-pintag: 409 pin(s): tagged 379, changelog-tip 22, changelog-chain 0, pre-release-process 2, not-applicable 5, untagged 1
design-pintag: 1 recorded in design/pintag-baseline.tsv (tracked by opencharly/opencharly#793 — the gap the live instances were filed under (the mechanism is opencharly/.github#286))
design-pintag: tags read from each pin's own module store as GIT resolves it (/home/atrawog/Sync/Atrapub/lo/dsh/opencharly/.git/modules, a linked worktree keeps its own under worktrees/); a tag that was never fetched into a store is invisible to this reading (run --remote to cross-check the untagged pins)
design-pintag: every pin is at a tag, one CHANGELOG commit above one, or explained

design-check: all controls pass

The binary is the worktree-local build from the current charly pin, not a shared install,
and the session's own evidence:

$ ./charly/bin/charly version
2026.316.1208
$ dsh --version
0.2.1-rc.2
$ uname -srm
Linux 7.2.11-arch1-1 x86_64
$ git rev-parse --abbrev-ref HEAD
feat/pin-charly-1122
$ echo "$DSH_SESSION_ID / $DSH_PROFILE"
372faaec-688d-494b-a48b-8698fdf6b558 / web

The bootstrap's check-generated-clean prints its documented NOTICE — charly/plugins_refs_generated.go differs because it was indexed from a source this checkout does not pin (the same line appears verbatim in charly/CHANGELOG/2026.315.2219.md, the release before this pin); it restores the tracked file, and git -C charly status --short is empty afterwards. It is not a warning and not a finding — recorded so the notice in the run is not mistaken for one.

Rulebook compliance

  • R0 — skills first. HOW: /charly-internals:git-workflow and
    /charly-internals:strict-policy were loaded before the first repository action, and the
    umbrella AGENTS.md (Part I, Part II fix: escape backticks in umbrella-gates.ts template literal #3, "Commit, push, land") was read. No submodule
    checkout was edited: the wave rolled charly and staged the gitlink, and git -C charly status --short is empty.
  • R1 — RCA every anomaly, then fix it or file it. HOW: the one anomaly — design-dpat
    unable to read plugin-pipeline's pinned commit — is RCA'd above (mechanism, missed
    control, blast radius, root fix), and the fix is the remedy the gate itself names: a fetch
    of the module store. The differs vs behind reading was measured rather than assumed
    (charly is materialized, so the row reads behind at both readings), and the census's
    0 added / 0 removed was diffed, not eyeballed. Zero warnings on the final gates; nothing
    separable, so nothing filed (see ## Filed issues).
  • R2 — no duplication. HOW: one owner per fact. The currency question is the pin verb's
    own MODE=currency; the advance is the repo's declared wave, not a second copy of it; the
    census is the single --emit-census emission; the tag question is design-pintag. This PR
    adds no implementation and no second list.
  • R3 — no workarounds. HOW: no sleep, retry, suppression, fallback or hand-rolled poll.
    The store fetch is the remedy the failing gate prints, not a bypass of it — the gate is
    re-run AFTER it and is green on the same command that was red. The pin moved through
    charly task sync (the umbrella's own verb), then charly task verify judged it.
  • R4 — product before prose. HOW: no prose is changed by this diff, and no documented
    command is routed around. Every command pasted above is git, bash, grep or the
    charly binary from the pin, runnable in this repo.
  • R5 — delete legacy completely. N/A, reasoned: this PR removes and renames nothing, so
    there is no retired identifier to sweep. The only removed thing is the previous gitlink
    value, which the diff replaces in place.
  • R6 — preserve user work and Git safety. HOW: git status --short was read before the
    wave (status-lines=0), before the commit (M charly only) and after it (status-lines=0);
    the work is a session worktree branched off fresh origin/main; one path was staged, by the
    wave itself; no reset, no force-push, no rebase, no hook bypass, no direct push to main;
    no other session's file, branch or PR was touched, and the look-before-you-start check found
    no open PR on this scope (re-checked immediately before opening this one).
  • R7 — prove behavior, not compilation. HOW: the changed artifact is the pin, and the pin
    contract's own control fails when it is wrong — verify names behind with the leg and the
    two SHAs (pasted above), and design-pintag names untagged when the pin is not one
    CHANGELOG commit above a tag. Both were run on the committed tree, not a dirty one, and the
    pins were read from the INDEX (git ls-files --stage), the tree a commit ships.
  • R8 — live or skip, never fake a live service. N/A, reasoned: a gitlink move crosses no
    service boundary. The three design-cite citations of repositories this tree does not pin
    skip visibly ("unchecked (not findings)"), which is this rule's shape rather than a fake
    pass, and an unmaterialized pin is reported as uninitialized (pin audited, no checkout)
    rather than as green.
  • R9 — binary equals source. HOW: the binary was rebuilt from the NEW pin with
    charly/scripts/bootstrap-charly.sh before the final gate run; ./charly/bin/charly version
    is 2026.316.1208, which is bash charly/scripts/calver.sh at the pinned HEAD (the
    tag-on-merge CHANGELOG commit's UTC date, one minute above the 12:07 tag). No new runtime OS
    dependency is introduced, so packaging: is unchanged.
  • R10 — fresh disposable proof. HOW: the gate this repo declares for a pin diff is its own
    pin gate, ./charly/bin/charly task verify — run on the committed head, pasted above (48
    steps, 0 failed, 0 skipped), with bash scripts/design-check.sh green (all seven controls).
    A pin move realizes no disposable: true target in this repo, so no bed is claimed; the
    pinned commit's own runtime behaviour was proven in its producer PR against this corpus. The
    attribution tier is fully tested and validated.

Change classification

The diff moves one gitlink and nothing else: no authored config, CLI, schema, script, ledger
or runtime surface changes in this repo, and git diff --stat origin/main...HEAD names one
file. charly task verify reports the pin contract and currency green and the seven design
controls pass. Breaking change + rollback: none — the pointer moves to a commit the org has
already merged and tagged (v2026.316.1207), and the pinned code is behaviour-preserving
today: the gate reads the composed schema unit, which the producer measured equal to the base
for all 11 gated kinds over 2004 authored bodies (pasted above), so no consumer's input
changes. Rolling back is git revert of this one commit: the gitlink returns to 152dc845f0,
the currency reading returns to 1 of 409 NOT current [1 behind], and no data or migration is
involved.

Filed issues

None. The one anomaly this round met is local module-store staleness that the gate itself
detects and whose remedy it prints (the fetch, applied above); it is not a defect in any
committed tree, and charly's producer chain is tracked where it belongs — #945 (the D-PAT
census this round re-emits unchanged), #950 (the schema-composition chain charly#1122 is
unit 0 of, spec#304 its table). Nothing was separable from this change, and a finding raised
on this PR is fixed or rebutted on its thread rather than filed.

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

The `charly` pin moves from 152dc845f0 to c3f4769462, the tag-on-merge CHANGELOG
commit one above the tagged squash `v2026.316.1207` (76b3842f04), so the pin is a
`changelog-tip` rather than a `behind`. charly#1122 makes the kind-value gate read
the composed schema unit (`pluginSchemas.unified`) instead of a base-only schema, so
a plugin-declared kind body is visible to the gate that validates it: unit 0 of
TODO.md 2.1's 13-unit chain (opencharly/spec#304).

The wave moved exactly this one pin. `charly task pins --param MODE=currency` read
`1 of 409 pin(s) NOT current [1 behind, 408 cur]`, and `charly task sync` reported
"1 pin(s) moved" (6 pin_map edge(s), 0 moved; 396 index-only leaf pin(s), 0 moved).
The six `distro-*` edges stay at their SHAs because charly's new commit carries its
`box/*` gitlinks at exactly the SHAs the umbrella already records.

The census re-emits unchanged (0 rows added, 0 removed) and no citation moves: the
pin advance changes Go, not CUE. `design-pintag` reads the pin as `changelog-tip`
with no census row.

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

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 30e1d3bd58efe621bbfcd79f3658ce209d44ee74 (branch: feat/pin-charly-1122)

Change class: pin/gitlink advance (one file, charly 152dc845f0 → c3f4769462).
Security screen: PASS — single gitlink line, no secrets/egress/guardrail edits, no embedded directives.
Checklist: All applicable rules PASS or NA (A1–A3, R1–R10, CONC/HC, DISP, ARCH=placement CORRECT, COORD, QUAL-NA no Go). Comment thread empty — nothing to disposition.

Verdict: PASS


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

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — merged (6b40119, tag-on-merge CHANGELOG 139898d, umbrella tag v2026.316.1425), and the ## Filed issues line in the body needs this one correction: there is one finding after all, raised by the arming step rather than by the diff.

Agent: charly (pin-charly-1122)

validate / arm waited its full 3900 s budget on validate / lint and then failed the head as IN-FLIGHT, although the lint JOB had finished (conclusion=success, completed_at=2026-11-12T13:16:17Z, its final step Complete job completed/success). The check-run record kept status=in_progress beside conclusion=success — the settle loop counts pending on .status != "completed" alone, so a settled-but-unflipped record is indistinguishable from a running one, and the class's own remedy ("re-run ONLY this job") re-reads the same stale record.

Repair that worked, with no new head and no second review: gh api -X POST repos/opencharly/opencharly/actions/jobs/131208051632/rerun (the stale lint job — re-running a job also re-runs its dependents), which minted completed/success attempts for lint, validate and arm; auto-merge armed at 14:25:22Z and the PR merged at 14:25:44Z.

Filed with the full RCA, the measured records and a proposed fix (a check with a non-null conclusion or a set completed_at is SETTLED, and the head-settle self-test gains that mutation): opencharly/.github#305. Nothing about the pin advance itself changed.

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

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.

1 participant