Skip to content

chore(pins): advance spec to its §10.1 vocabulary tables and re-emit the census - #971

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/design-pin14
Nov 10, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/design-pin14

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

One umbrella change: the spec pin advances to the merged refs/heads/main tip spec#302 produced, and the three ledgers that read the pinned CUE are re-emitted at it — the largest single census drop of the campaign.

repo PR squash (tagged v0.2026314.1717) pin advanced to the tagged squash's parent
spec opencharly/spec#302 c3ba5bcd1288f3d9ab7f58a3cdf51dec5e6a0b6f 70528371bf06c226ba689eee2ee34e35af0fdc5f c3ba5bcd… is HEAD^, carrying the tag

The pin is upstream:main — a leaf, judged against the REMOTE — so the value that reads cur is the remote tip, which is the tag-on-merge CHANGELOG commit one above the tagged squash. spec#302 converted 137 word-list unions to §10.1 S3 vocabulary tables across 30 schema files (+1406/−140); this change records the pointer to it and lowers the census and the citation record that read it.

file what changed
spec gitlink fa0080737a333ff509f05dc62101a49204bb6042 → 70528371bf06c226ba689eee2ee34e35af0fdc5f
design/dpat-baseline.tsv re-emitted by --emit-census: 137 rows removed, 0 added — the spec union census reads 187 → 50
design/dulling.tsv nine citations the citation control caught as falsified by the advance, re-anchored to <path>:#<Definition>, each naming EVERY definition its old range covered
design/cite-baseline.tsv regenerated by --emit-baseline: exactly those nine rows lowered, 0 added

git rev-parse HEAD:

$ git rev-parse HEAD
6a1fb1b733e53a289f367a57682b8a79700b9a60

The advance, and why not the wave

charly task sync is ORG-WIDE: this tree carries ~380 pins behind from the .github#192 reconcile sweep, so the wave would carry all of them in a PR whose subject names one repo. This change therefore uses the narrow mechanism the rulebook states for a gitlink that is not a wave — roll the checkout to the ref the remote serves, and git add the gitlink — and never hand-edits a gitlink. Everything below was measured in a session worktree off fresh origin/main (edac2709c152289a8c6615fe1f636b991481695c), with the worktree-local binary ./charly/bin/charly (charly version = 2026.313.1024) built by charly/scripts/bootstrap-charly.sh.

The measured baseline. Before anything is materialized, spec has no checkout, so it cannot be ancestry-judged:

$ ./charly/bin/charly task pins --param MODE=currency > /tmp/pin14-currency-before.log 2>&1; echo "rc=$?"
rc=0
$ grep -oE 'currency: [0-9]+ of [0-9]+ pin\(s\) NOT current \[[^]]*\]' /tmp/pin14-currency-before.log
currency: 387 of 409 pin(s) NOT current [6 behind, 1 blocked-by charly:box/arch (behind), 1 blocked-by charly:box/cachyos (behind), 1 blocked-by charly:box/debian (behind), 1 blocked-by charly:box/fedora (behind), 1 blocked-by charly:box/omarchy (behind), 1 blocked-by charly:box/ubuntu (behind), 22 cur, 375 differs (no checkout to judge ancestry)]
$ grep -o 'spec: differs[^;]*; intent upstream:main[^;]*; recorded fa0080737a; served 70528371bf (branch)' /tmp/pin14-currency-before.log
spec: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded fa0080737a; served 70528371bf (branch)

After materializing spec and rolling it to the served tip, and re-asking the same question (the index now records the advanced pin):

$ CHARLY_INIT_PATHS=spec ./charly/bin/charly task init > /tmp/pin14-init-spec.log 2>&1; echo "rc=$?"
rc=0
$ ./charly/bin/charly task pins --param MODE=currency > /tmp/pin14-currency-after.log 2>&1; echo "rc=$?"
rc=0
$ grep -oE 'currency: [0-9]+ of [0-9]+ pin\(s\) NOT current \[[^]]*\]' /tmp/pin14-currency-after.log
currency: 386 of 409 pin(s) NOT current [6 behind, 1 blocked-by charly:box/arch (behind), 1 blocked-by charly:box/cachyos (behind), 1 blocked-by charly:box/debian (behind), 1 blocked-by charly:box/fedora (behind), 1 blocked-by charly:box/omarchy (behind), 1 blocked-by charly:box/ubuntu (behind), 23 cur, 374 differs (no checkout to judge ancestry)]
$ grep -c 'spec' /tmp/pin14-currency-after.log
0

The headline moved 387 → 386, and the arithmetic is exact: cur 22 → 23 and differs 375 → 374, with behind (6) and blocked-by (6) unchanged. The one pin that moved buckets is spec itself, and the cause is the ADVANCE, not the materialization: I did not stop at the recorded pin, so spec left the NOT-current set entirely (differs → cur) instead of moving differs → behind as a materialize-only reading would. That intermediate state — checkout at fa0080737a, index still at fa0080737a — was not measured here; the advance subsumes it, and the prediction it comes from (a no-checkout pin reports differs either way, so materializing alone moves buckets and not the headline) is consistent with what the two readings show. spec's absence from the NOT-current enumeration is calibrated, not assumed: the same predicate matched spec: differs … in the BEFORE log, and matched no spec row after, while still naming all 374 differs entries.

The pin moved, and to what

$ git -C spec fetch origin main; git -C spec checkout --detach 70528371bf06c226ba689eee2ee34e35af0fdc5f
HEAD is now at 7052837 docs: add CHANGELOG 0.2026314.1717 for PR #302
$ git add -- ':(literal)spec'
$ git ls-files -s -- ':(literal)spec'
160000 70528371bf06c226ba689eee2ee34e35af0fdc5f 0	spec
$ git ls-remote https://github.com/opencharly/spec refs/heads/main
70528371bf06c226ba689eee2ee34e35af0fdc5f	refs/heads/main
$ git ls-tree HEAD -- ':(literal)spec'
160000 commit 70528371bf06c226ba689eee2ee34e35af0fdc5f	spec
$ git -C spec log --oneline -2
7052837 docs: add CHANGELOG 0.2026314.1717 for PR #302
c3ba5bc refactor(schema): derive every word-list enum from a vocabulary table (S3) (#302)
$ git -C spec describe --tags --exact-match HEAD^
v0.2026314.1717

git ls-tree HEAD equals git ls-remote … refs/heads/main on the 40-character id, and the checkout is clean (git -C spec status --short empty).

No sdk lockstep — measured, not assumed

$ OLD=fa0080737a333ff509f05dc62101a49204bb6042; NEW=70528371bf06c226ba689eee2ee34e35af0fdc5f
$ for f in spec/cue_types_gen.go spec/vocab_gen.go; do echo "$f OLD=$(git -C spec rev-parse "$OLD:$f") NEW=$(git -C spec rev-parse "$NEW:$f")"; done
spec/cue_types_gen.go OLD=073d1419ea5b072d7a89a7b915bb7eee0389654d NEW=073d1419ea5b072d7a89a7b915bb7eee0389654d
spec/vocab_gen.go OLD=b4f1382129f836ffa6f77c30b0bd8f4491abd0ba NEW=b4f1382129f836ffa6f77c30b0bd8f4491abd0ba
$ git -C spec diff --name-only "$OLD" "$NEW" | grep '\.go$'
schema/vocab_s3_test.go
$ git -C spec diff --name-only "$OLD" "$NEW" | wc -l
31

Both generated files are the same blob at both pins, so no exported Go identifier and no vocabulary slice moved — TestGenReproducible reproduces them, which is why no sdk bump belongs in this change. The advance's only .go file is a new test (schema/vocab_s3_test.go), which moves no type.

How tested

The gate the diff requires is this repo's own pin gate plus the DESIGN gate it feeds. Both ran on the committed tree, at 6a1fb1b733e53a289f367a57682b8a79700b9a60, with git status --short empty.

1. ./charly/bin/charly task verify — 48 steps, 0 failed, 0 skipped (exit 0). Its currency step is the pin contract's own reading of every pin against the ref its intent names; it REPORTS a behind pin rather than failing on it, and it passes here.

$ { git rev-parse HEAD; git status --short; } > /tmp/pin14-head-at-gate.txt
$ cat /tmp/pin14-head-at-gate.txt
6a1fb1b733e53a289f367a57682b8a79700b9a60
$ ./charly/bin/charly task verify > /tmp/pin14-verify-final.log 2>&1; echo "VERIFY_FINAL_RC=$?" >> /tmp/pin14-verify-final.log
$ grep -E 'task verify:|VERIFY_FINAL_RC' /tmp/pin14-verify-final.log
task verify: 48 step(s), 0 failed, 0 skipped
VERIFY_FINAL_RC=0

2. bash scripts/design-check.sh — all seven controls pass (exit 0). Controls 5 (citations), 6 (schema patterns) and 7 (pin tags) are exactly the ones this diff moves:

$ bash scripts/design-check.sh > /tmp/pin14-designcheck-final.log 2>&1; echo "DESIGNCHECK_FINAL_RC=$?" >> /tmp/pin14-designcheck-final.log
$ grep -E 'DESIGNCHECK_FINAL_RC|all controls pass' /tmp/pin14-designcheck-final.log
design-check: all controls pass
DESIGNCHECK_FINAL_RC=0
$ grep -E '^== ' /tmp/pin14-designcheck-final.log
== 1/7 toolchain
== 2/7 DESIGN.md ↔ DESIGN.cue
== 3/7 examples and negative cases
== 4/7 the capability ledger
== 5/7 every citation into a pinned module, at the pin
== 6/7 the schema patterns of every pinned plugin module
== 7/7 every pin's relation to a release tag

3. The census is the EMITTER'S output, not a transcription of it. Emitted from the advanced pin, diffed against the committed file in both directions, then cmp-matched:

$ bash scripts/design-dpat.sh --emit-census > /tmp/pin14-census-head.tsv 2>/dev/null; echo "rc=$?"
rc=0
$ diff design/dpat-baseline.tsv /tmp/pin14-census-head.tsv | grep -c '^<'
0
$ diff design/dpat-baseline.tsv /tmp/pin14-census-head.tsv | grep -c '^>'
0
$ cmp /tmp/pin14-census-head.tsv design/dpat-baseline.tsv && echo "emit == committed"
emit == committed

The direction check that matters is the one taken before the emission was applied — the before side is the file exactly as origin/main carries it, which is what the worktree held when the first diff was taken — and there the delta is exactly the predicted signature (137 removals, 0 additions, every one a union row in spec/schema/*.cue), so the drop is the pin's and not an emission artefact:

$ git show origin/main:design/dpat-baseline.tsv > /tmp/pin14-base-census.tsv
$ diff <(sort /tmp/pin14-base-census.tsv) <(sort /tmp/pin14-census-new.tsv) > /tmp/pin14-census2.diff
$ echo "removed=$(grep -c '^<' /tmp/pin14-census2.diff) added=$(grep -c '^>' /tmp/pin14-census2.diff)"
removed=137 added=0
$ grep '^<' /tmp/pin14-census2.diff | sed 's/^< //' | awk -F'\t' '{print $2}' | sort | uniq -c
    137 union
$ echo "spec union before=$(grep -v '^#' /tmp/pin14-base-census.tsv | awk -F'\t' '$1 ~ /^spec\// && $2=="union"' | wc -l) after=$(grep -v '^#' /tmp/pin14-census-new.tsv | awk -F'\t' '$1 ~ /^spec\// && $2=="union"' | wc -l)"
spec union before=187 after=50
$ diff <(grep -v '^#' /tmp/pin14-base-census.tsv | awk -F'\t' '$1 !~ /^spec\//' | sort) <(grep -v '^#' /tmp/pin14-census-new.tsv | awk -F'\t' '$1 !~ /^spec\//' | sort) > /dev/null && echo "non-spec rows identical"
non-spec rows identical

4. The census gate in its own check mode — no new violation, and the census matches the tree. 383 known violations survive (520 less the 137 this pin retired):

$ bash scripts/design-dpat.sh . ; echo "rc=$?"
design-dpat: 121 pinned modules, 204 CUE files in scope, 1 under a vendor/ tree (foreign mirrors, out of scope)
design-dpat: 383 known violations (close 62, absence 86, open 68, opaque 0, dup 19, union 148) — tracked by opencharly/opencharly#945
design-dpat: no new violation, and the census matches the tree
rc=0

5. The citation control FIRED, and the re-anchor is named in full. spec#302 moved definitions across 30 files, so every spec/schema/*.cue line citation is a claim about bytes somebody else's commit moved. The control (#966) caught nine — more than the 1–4 every previous advance caught:

$ bash scripts/design-cite.sh . > /tmp/pin14-cite-check.log 2>&1; echo "rc=$?"
rc=1
$ grep -E '^  FAIL' /tmp/pin14-cite-check.log
FAIL dulling.tsv:kind:init: spec/schema/init.cue:12-45 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:kind:kindcluster: spec/schema/kindcluster.cue:20-58 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:kind:kubernetes: spec/schema/kubernetes.cue:13-45 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:kind:kubevirt: spec/schema/kubevirt.cue:18-77 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:kind:marketplace: spec/schema/marketplace.cue:9-30 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:kind:pipeline: spec/schema/pipeline.cue:36-200 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:kind:vm: spec/schema/vm.cue:56-126 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:krun VM backend (OCI image boot): spec/schema/vm.cue:19-58 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
FAIL dulling.tsv:skill and agent bodies under .agents/: spec/schema/skill.cue:1-52 no longer holds the bytes this row was affirmed against (pin 70528371bf06) — re-read it, re-anchor the row, then --emit-baseline
design-cite: FAILED (9 finding(s))

Each row was re-anchored to the drift-proof <path>:#<Definition> form, naming the FULL definition set its old range covered — read out of the OLD pin's tree by listing every top-level header inside the range, and verified present as a top-level header at the NEW pin:

capability old citation definitions that range covered (line of each header at the old pin) new citations
kind:init init.cue:12-45 #Init (:8; next def :74) spec/schema/init.cue:#Init
kind:kindcluster kindcluster.cue:20-58 #Kindcluster (:22) spec/schema/kindcluster.cue:#Kindcluster
kind:kubernetes kubernetes.cue:13-45 #Kubernetes (:12) + #KubernetesKubeVirt (:43) both names
kind:kubevirt kubevirt.cue:18-77 #KubeVirt (:20) spec/schema/kubevirt.cue:#KubeVirt
kind:marketplace marketplace.cue:9-30 #Marketplace (:12) + #MarketplaceFamily (:24) both names
kind:pipeline pipeline.cue:36-200 #PipelineRetry (:39), #PipelineApproval (:48), #PipelineFlow (:57), #PipelineArms (:77), #PipelineInput (:110), #PipelineSubStep (:119), #PipelineParallel (:133), #PipelineStepBase (:140), #PipelineStep (:151), #PipelineSchedule (:163), #PipelineTrigger (:173), #Pipeline (:185) all twelve names
kind:vm vm.cue:56-126 #Vm (:57) spec/schema/vm.cue:#Vm
krun VM backend (OCI image boot) vm.cue:19-58 #VmBackendName (:21), #VmBackend (:28), #VmKrun (:38), #Vm (:57) all four names
skill and agent bodies under .agents/ skill.cue:1-52 #Skill (:39), #SkillReference (:52) both names

The krun row was the one row citing its range in two columns (today and evidence); both were re-anchored, because the control reads every column. git -C spec show <new pin>:schema/<file> confirms that all 25 named definitions are top-level headers at 70528371bf06 — 25 checks, 0 missing:

$ NEW=70528371bf06c226ba689eee2ee34e35af0fdc5f
$ check() { f=$1; shift; for d in "$@"; do git -C spec show "$NEW:schema/$f" | grep -qE "^${d}:" && echo "OK   schema/$f:$d" || echo "MISS schema/$f:$d"; done; }
$ { check init.cue '#Init'; check kindcluster.cue '#Kindcluster'; check kubernetes.cue '#Kubernetes' '#KubernetesKubeVirt'; check kubevirt.cue '#KubeVirt'; check marketplace.cue '#Marketplace' '#MarketplaceFamily'; check pipeline.cue '#PipelineRetry' '#PipelineApproval' '#PipelineFlow' '#PipelineArms' '#PipelineInput' '#PipelineSubStep' '#PipelineParallel' '#PipelineStepBase' '#PipelineStep' '#PipelineSchedule' '#PipelineTrigger' '#Pipeline'; check vm.cue '#Vm' '#VmBackendName' '#VmBackend' '#VmKrun'; check skill.cue '#Skill' '#SkillReference'; } | wc -l
25
$ { check init.cue '#Init'; check kindcluster.cue '#Kindcluster'; check kubernetes.cue '#Kubernetes' '#KubernetesKubeVirt'; check kubevirt.cue '#KubeVirt'; check marketplace.cue '#Marketplace' '#MarketplaceFamily'; check pipeline.cue '#PipelineRetry' '#PipelineApproval' '#PipelineFlow' '#PipelineArms' '#PipelineInput' '#PipelineSubStep' '#PipelineParallel' '#PipelineStepBase' '#PipelineStep' '#PipelineSchedule' '#PipelineTrigger' '#Pipeline'; check vm.cue '#Vm' '#VmBackendName' '#VmBackend' '#VmKrun'; check skill.cue '#Skill' '#SkillReference'; } | grep -c '^MISS'
0

After the re-anchor the control turns red the OTHER way, which is the ratchet working — the record now overstates the ledger — and its own emitter lowers it:

$ bash scripts/design-cite.sh . ; echo "rc=$?"
  FAIL design/cite-baseline.tsv: records spec/schema/init.cue:12-45 for kind:init and the ledger no longer cites it — lower the census in the change that re-anchored the row
  … (nine such rows)
design-cite: FAILED (9 finding(s))
rc=1
$ bash scripts/design-cite.sh --emit-baseline > /tmp/pin14-citebase-head.tsv; echo "rc=$?"
rc=0
$ diff design/cite-baseline.tsv /tmp/pin14-citebase-head.tsv | grep -c '^<'
0
$ diff design/cite-baseline.tsv /tmp/pin14-citebase-head.tsv | grep -c '^>'
0
$ cmp /tmp/pin14-citebase-head.tsv design/cite-baseline.tsv && echo "emit == committed"
emit == committed
$ bash scripts/design-cite.sh . ; echo "rc=$?"
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; 159 line citation(s) still hold the construct and the bytes they were affirmed against
rc=0

The applied baseline delta was nine rows removed, 0 added (198 → 189 lines, header unchanged), i.e. the nine re-anchored citations and nothing else; the three note lines are citations into repositories this tree does not pin, which the control classifies as unchecked rather than as findings.

6. The pin-tag control — spec is a changelog-tip, and no census row appears for it. 409 of 409 pins judged, 0 skipped (no module store), so no store fetch was needed this round:

$ bash scripts/design-pintag.sh . ; echo "rc=$?"
design-pintag: 409 pinned module(s) in the index, 409 judged, 0 skipped (no module store)
design-pintag: 409 pin(s): tagged 5, changelog-tip 389, changelog-chain 2, pre-release-process 3, not-applicable 5, untagged 5
design-pintag: 5 recorded in design/pintag-baseline.tsv (tracked by opencharly/opencharly#793 …)
design-pintag: every pin is at a tag, one CHANGELOG commit above one, or explained
rc=0
$ grep -c 'spec' design/pintag-baseline.tsv
0

The classification is the structural fact measured directly, not an inference from silence: spec's HEAD is docs: add CHANGELOG 0.2026314.1717 for PR #302 and its HEAD^ is c3ba5bcd…, which carries v0.2026314.1717 — one CHANGELOG commit above a tag, which is what changelog-tip names. The recorded census holds five rows, all untagged and all other modules, so spec is not among them.

7. Attribution evidence — the harness's own session descriptor, read by key, plus the CLI version:

$ python3 -c 'import json; d=json.load(open("/home/atrawog/.dsh/storages/session_projcache/sessions/8a3e68b3-10f4-4b1d-bf72-b8e4dd92d5bf.json")); ms=d["record"]["rows"]["modelSelection"]["val"]; print(ms["lastUsed"]["provider"], ms["lastUsed"]["model"])'
ollama-cloud deepseek-v4.1-flash
$ dsh --version
0.2.1-rc.2

The tier names the runtime's own names: the session RECORD carries provider ollama-cloud and model deepseek-v4.1-flash, read out of the descriptor by key rather than out of any config file.

Rulebook compliance

Rule How this change satisfies it
R0 — skills first /charly-internals:git-workflow, /charly-internals:strict-policy and /charly-internals:cutover-policy were loaded before the first tool action — the dispatcher's pinning row names git-workflow (the pin contract, charly task sync, charly task verify), and the design-ledger work names strict-policy. The umbrella AGENTS.md (Part I R0–R10, Part II #2/#3) was read with them.
R1 — RCA every anomaly, then fix it or file it Three anomalies, each analysed before remediation. (a) The predicted environment failure did NOT occur. The brief pre-empted design-dpat.sh / design-cite.sh failing on plugin-desktop-kind, plugin-herdr and plugin-spice because their pinned commits are absent from this clone's stores; measured here, design-pintag.sh judged 409 of 409 with 0 skipped, and design-dpat.sh read 121 pinned modules at their pins — so the stores the resolver found held every pinned commit and no --git-dir .git/modules/<path> fetch origin was needed. That is a fact about this clone's stores, not a defect in the control: the control's own message still names fetch it as the remedy for a store that lacks one. (b) The currency headline moved 387 → 386, where the brief predicted it would not move for materialization. RCA: the prediction is about a MATERIALIZE-ONLY run (a no-checkout pin reports differs either way, so only buckets shift), and this change did not stop there — it rolled spec to the served tip in the same step, so spec left the NOT-current set (differs → cur) instead of differs → behind. The buckets confirm it exactly (cur 22 → 23, differs 375 → 374, behind and blocked-by unchanged), and the intermediate materialize-only state was not measured and is reported as not measured rather than back-filled. (c) The citation control caught nine rows, and after the re-anchor turned red in the opposite direction. Mechanism: a <path>:<line> citation is a claim about a pinned commit's bytes, and spec#302 moved the definitions those ranges sat in; the second, expected finding is the census ratchet — the baseline recorded nine line citations the ledger no longer carries — and it was lowered by its own emitter in this change. Missed control: none; both directions are the control working. Nothing filed: no finding here is separable from this change or left on the tree.
R2 — no duplication The census is the ONE emitter's output (--emit-census) and the citation record the ONE emitter's (--emit-baseline), cmp-matched to the committed files; no second ledger, table, resolver or rule copy is added. The nine re-anchored rows reuse the <path>:#<Definition> form the ledger already carries instead of inventing a second citation style, and the gitlink moved through the narrow mechanism the rulebook names rather than a second pin path.
R3 — no workarounds No sleep, retry, suppression, magic fixture or hand-edited gitlink. The wave was neither run nor simulated: the checkout was rolled to the ref the remote serves (git ls-remote equality pasted) and the gitlink staged with the literal pathspec form. Every pin points at a MERGED tip, never an unmerged branch; no tag was moved, and no tag was needed. The store remedy was not applied because no store was unreadable — a measurement, not a shortcut: the controls' own "0 skipped" line is the proof they read every pin.
R4 — product before prose No prose was edited to route around a defect. The only prose touched is the nine citation cells this change had to re-anchor, and the definitions they name were read out of the pinned tree rather than derived from the prose. Every command pasted here ran with the worktree's own charly binary and the repo's own scripts.
R5 — delete legacy completely The 137 census rows for the retired inline unions are deleted in the same commit as the pin that retired them, and the sweep is calibrated in BOTH directions (137 removals, 0 additions, every removal a union row under spec/schema/, and the 173 non-spec rows byte-identical) rather than merely empty at the new pin. The nine line citations leave design/cite-baseline.tsv in the same commit that moves them to the name form, so no stale citation row survives: grep -c 'spec/schema/init.cue:12-45|spec/schema/vm.cue:19-58' design/dulling.tsv is 0, and the two emitters reproduce the committed files byte-for-byte (cmp clean).
R6 — preserve user work and Git safety git status --short was read before staging (a clean tree apart from this change), after committing (empty) and again before the gates. The work is ONE commit on feat/design-pin14 off fresh origin/main in a session worktree; the ROOT checkout was never modified — only its module store was read, and no write landed there. No force-push, no amend after push, no hook bypass, no direct push to main, and no other session's file, branch or worktree was touched; the existing .worktrees/dsh-design-ledger/* trees were left alone.
R7 — prove behaviour, not compilation Every changed surface was executed live on the committed tree: the currency question twice, both emitters with their output cmp-matched to what is tracked and diffed against the pre-change file in both directions, the citation control before the re-anchor (nine findings), after it (nine ratchet findings) and after the baseline was lowered (green, 159 line citations still holding), the pin-tag control (409/409 judged, 0 skipped), design-check.sh's 7 controls and charly task verify's 48 steps. Both emitted artifacts are validated at their own boundary by the controls that consume them (design-dpat.sh and design-cite.sh in check mode), and the pin claim is validated at ITS boundary by comparing the index to the remote (git ls-tree == git ls-remote). The self-test arms are the mutation halves that prove these controls can fail: bash scripts/design-dpat.sh --self-test and bash scripts/design-cite.sh --self-test exit 0 on this tree, and they are run SEPARATELY here because design-check.sh composes the controls, not their self-tests.
R8 — live or skip, never fake a live service N/A, with reason: no boundary in this change crosses a live service. The one network-facing operation — ref resolution against the org's remotes — ran live, and its output is the served column, the tip-equality block and the pinned SHA.
R9 — binary equals source Every charly verb above ran the worktree-local build (./charly/bin/charly, charly version = 2026.313.1024) produced by charly/scripts/bootstrap-charly.sh in THIS worktree, never a shared install. No Go source and no runtime OS dependency changed, so packaging: is untouched.
R10 — fresh disposable proof N/A, with reason: this is a pin-and-ledger change class, not a runtime change. It adds no code, schema, image layer, service or config of this repo — the schema bytes these pins point at were built, gated, merged and TAGGED by spec#302 — and this repo records the pointer and re-emits the ledgers that read it. The gate R10 selects for a pin/gitlink diff is this repo's own pin gate, which ran on the committed tree (48 steps, pasted above) together with the DESIGN gate the diff's class feeds (7 controls, pasted above). No disposable: true target is affected, so no bed is owed and none is claimed.

Change classification

Change class: pin advance (one gitlink) plus re-emitted design ledgers — no runtime surface of this repo. Verification gate: this repo's own pin gate, ./charly/bin/charly task verify (48 steps, 0 failed, 0 skipped) and bash scripts/design-check.sh (7 controls, the gate the pre-push hook selects for a pinned-module gitlink); both on commit 6a1fb1b733e53a289f367a57682b8a79700b9a60, both exit 0. Attribution tier: fully tested and validated — both change-class gates passed on the final tree, and every changed path executed live.

Breaking change + rollback: nothing breaks for this repo's consumers, and the reason is measured rather than asserted. spec#302 changed the CUE TEXT — 137 word-list unions became S3 vocabulary tables — so the consumer question is whether any generated or exported Go surface moved, and the answer is no: spec/spec/cue_types_gen.go and spec/spec/vocab_gen.go are the SAME blob at fa0080737a and 70528371bf06 (073d1419ea5b… and b4f1382129f8…), and the advance's only .go file is a new test. That is why no sdk bump rides here, and it is what the producer measured before this landing: both schema load paths resolve the same vocabulary, and the corpus sweep moved no verdict. Rollback is a revert of this one squash: it restores the spec gitlink to fa0080737a333ff509f05dc62101a49204bb6042, and the two ledger deltas are then regenerated at that pin by their own emitters (bash scripts/design-dpat.sh --emit-census, bash scripts/design-cite.sh --emit-baseline) rather than reversed by hand — nothing downstream needs touching, because no consumer reads a pin at a commit that stops existing.

Filed issues

None filed by this change. Every finding it surfaced is fixed in it (the 137 census rows, the nine citations and the nine baseline rows) or already recorded:

No new issue is filed for the store boundary the brief pre-empted, because it did not occur: the controls judged 409 of 409 pins with 0 skipped, so there is no unreadable store to record and no census row to add for one.

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

…the census

The `spec` pin moves to the merged `refs/heads/main` tip
70528371bf06c226ba689eee2ee34e35af0fdc5f — opencharly/spec#302, squash
c3ba5bcd1288f3d9ab7f58a3cdf51dec5e6a0b6f (byte-for-byte the head's tree), tag
v0.2026314.1717, with the tag-on-merge CHANGELOG commit one above it, which is
the ref the pin's `upstream:main` intent names.

The advance is 137 word-list unions converted to §10.1 S3 vocabulary tables
across 30 schema files, and the three ledgers that read the pinned CUE move with
it in the same commit:

  * `design/dpat-baseline.tsv` — re-emitted by its own emitter, 137 rows removed
    (every one a `union` row in `spec/schema/*.cue`), 0 added; the spec `union`
    census reads 187 → 50.
  * `design/dulling.tsv` — nine citations the citation control caught as
    falsified by the advance, re-anchored from the drifting `<path>:<line>` form to
    the drift-proof `<path>:#<Definition>` form, each naming EVERY definition its
    old range covered.
  * `design/cite-baseline.tsv` — regenerated by `--emit-baseline`, exactly those
    nine rows lowered.

`git ls-remote https://github.com/opencharly/spec refs/heads/main` and
`git ls-tree HEAD spec` agree on the recorded pin. No `sdk` lockstep applies:
`spec/spec/cue_types_gen.go` and `spec/spec/vocab_gen.go` carry the SAME blob
hash at both pins, so no exported identifier and no vocabulary slice moved.

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

Copy link
Copy Markdown
Contributor Author

STATUS

Head 6a1fb1b733e53a289f367a57682b8a79700b9a60 on feat/design-pin14, off fresh origin/main (edac2709c1). PR opened: this is the umbrella's spec pin advance to 70528371bf06c226ba689eee2ee34e35af0fdc5f (opencharly/spec#302, squash c3ba5bcd1288f3d9ab7f58a3cdf51dec5e6a0b6f, tag v0.2026314.1717).

Done, measured on this head: the pin advanced by checkout-roll-plus-git add (git ls-tree HEAD spec == git ls-remote … refs/heads/main); the §25 census re-emitted by its own emitter — 137 rows removed, 0 added, the spec union census 187 → 50, every removal a union row under spec/schema/ and the 173 non-spec rows byte-identical; the citation control (#966) caught nine falsified spec/schema/*.cue line citations, each re-anchored to <path>:#<Definition> naming EVERY definition its old range covered, with design/cite-baseline.tsv lowered by --emit-baseline (nine rows, 0 added); the pin-tag control judged 409 of 409 pins with 0 skipped and spec reads changelog-tip, no census row. Both change-class gates pass on the committed tree: ./charly/bin/charly task verify (48 steps, 0 failed, 0 skipped) and bash scripts/design-check.sh (7 controls).

Next: the fresh charly/pr-validator run on this head; no self-merge, no re-push unless a finding lands. Next update due when the validator completes, or sooner if it blocks.

Agent: charly (session 8a3e68b3-10f4-4b1d-bf72-b8e4dd92d5bf)
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: 6a1fb1b733e53a289f367a57682b8a79700b9a60 (branch: feat/design-pin14)

Security screen: PASS — pin/ledger data change; no secrets, no exfiltration, no weakened guardrails, gitlink advanced to the merged/tagged spec tip (ls-tree == ls-remote pasted).
Checklist: All applicable rules PASS or NA. The 137-row census drop and the nine citation re-anchors are internally consistent with the diff (all removed census rows are spec/schema/*.cue union; the nine dulling.tsv rows and nine cite-baseline.tsv rows pair exactly; 187 − 137 = 50; 520 − 137 = 383; 9 = the control's nine findings). R10 is N/A with a substantive reason (no runtime surface; the pin/design gates that DO apply ran and are pasted).

Comments: 1 considered — STATUS by @aitrawog: verified-non-blocking (coordination metadata, and its head SHA / 137-removed / 9-citation / 409/409 claims re-derive cleanly against the current body+diff).

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 10, 2026 18:38
@github-actions
github-actions Bot merged commit bf40f09 into main Nov 10, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 10, 2026
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

Landed. Squash bf40f0950d0c2d9db022afae2baa7a350cca25fe on main (head was 6a1fb1b733e53a289f367a57682b8a79700b9a60), tagged v2026.314.1839 at merge, with the tag-on-merge CHANGELOG commit one above it (ef932ac).

Verified on the landed tree, not on the branch:

$ git ls-tree origin/main -- ':(literal)spec'
160000 commit 70528371bf06c226ba689eee2ee34e35af0fdc5f	spec
$ git ls-remote https://github.com/opencharly/spec refs/heads/main
70528371bf06c226ba689eee2ee34e35af0fdc5f	refs/heads/main
$ git show --stat bf40f0950d0c2d9db022afae2baa7a350cca25fe | tail -5
 design/cite-baseline.tsv |   9 ----
 design/dpat-baseline.tsv | 137 -----------------------------------------------
 design/dulling.tsv       |  18 +++----
 spec                     |   2 +-
 4 files changed, 10 insertions(+), 156 deletions(-)
$ git show origin/main:design/dpat-baseline.tsv | grep -vc '^#'
327

The census on main reads 327 rows (from 464), the spec union census 50 (from 187), and design/cite-baseline.tsv 160 (from 169). Nothing is left open on this change: no issue was opened against it, and the three findings it surfaced are all fixed in it. #945 and #950 stay open as the campaign's trackers.

Agent: charly (session 8a3e68b3-10f4-4b1d-bf72-b8e4dd92d5bf)
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