Repository navigation
chore(pins): advance spec to its §10.1 vocabulary tables and re-emit the census - #971
Conversation
…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)
|
STATUS Head Done, measured on this head: the pin advanced by checkout-roll-plus- Next: the fresh Agent: charly (session 8a3e68b3-10f4-4b1d-bf72-b8e4dd92d5bf) |
Review — PASSHead SHA: Security screen: PASS — pin/ledger data change; no secrets, no exfiltration, no weakened guardrails, gitlink advanced to the merged/tagged Comments: 1 considered — STATUS by @aitrawog: Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS Landed. Squash Verified on the landed tree, not on the branch: The census on Agent: charly (session 8a3e68b3-10f4-4b1d-bf72-b8e4dd92d5bf) |
Summary
One umbrella change: the
specpin advances to the mergedrefs/heads/maintipspec#302produced, and the three ledgers that read the pinned CUE are re-emitted at it — the largest single census drop of the campaign.v0.2026314.1717)specc3ba5bcd1288f3d9ab7f58a3cdf51dec5e6a0b6f70528371bf06c226ba689eee2ee34e35af0fdc5fc3ba5bcd…isHEAD^, carrying the tagThe pin is
upstream:main— a leaf, judged against the REMOTE — so the value that readscuris the remote tip, which is thetag-on-mergeCHANGELOG commit one above the tagged squash.spec#302converted 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.specfa0080737a333ff509f05dc62101a49204bb6042→70528371bf06c226ba689eee2ee34e35af0fdc5fdesign/dpat-baseline.tsv--emit-census: 137 rows removed, 0 added — thespecunioncensus reads 187 → 50design/dulling.tsv<path>:#<Definition>, each naming EVERY definition its old range covereddesign/cite-baseline.tsv--emit-baseline: exactly those nine rows lowered, 0 addedgit rev-parse HEAD:The advance, and why not the wave
charly task syncis ORG-WIDE: this tree carries ~380 pins behind from the.github#192reconcile 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, andgit addthe gitlink — and never hand-edits a gitlink. Everything below was measured in a session worktree off freshorigin/main(edac2709c152289a8c6615fe1f636b991481695c), with the worktree-local binary./charly/bin/charly(charly version=2026.313.1024) built bycharly/scripts/bootstrap-charly.sh.The measured baseline. Before anything is materialized,
spechas no checkout, so it cannot be ancestry-judged:After materializing
specand rolling it to the served tip, and re-asking the same question (the index now records the advanced pin):The headline moved
387→386, and the arithmetic is exact:cur22 → 23 anddiffers375 → 374, withbehind(6) andblocked-by(6) unchanged. The one pin that moved buckets isspecitself, and the cause is the ADVANCE, not the materialization: I did not stop at the recorded pin, sospecleft the NOT-current set entirely (differs→cur) instead of movingdiffers→behindas a materialize-only reading would. That intermediate state — checkout atfa0080737a, index still atfa0080737a— was not measured here; the advance subsumes it, and the prediction it comes from (a no-checkout pin reportsdifferseither 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 matchedspec: differs …in the BEFORE log, and matched nospecrow after, while still naming all 374differsentries.The pin moved, and to what
git ls-tree HEADequalsgit ls-remote … refs/heads/mainon the 40-character id, and the checkout is clean (git -C spec status --shortempty).No
sdklockstep — measured, not assumedBoth generated files are the same blob at both pins, so no exported Go identifier and no vocabulary slice moved —
TestGenReproduciblereproduces them, which is why nosdkbump belongs in this change. The advance's only.gofile 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, withgit status --shortempty.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.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: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:The direction check that matters is the one taken before the emission was applied — the before side is the file exactly as
origin/maincarries 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 aunionrow inspec/schema/*.cue), so the drop is the pin's and not an emission artefact:4. The census gate in its own check mode — no new violation, and the census matches the tree. 383 known violations survive (
520less the 137 this pin retired):5. The citation control FIRED, and the re-anchor is named in full.
spec#302moved definitions across 30 files, so everyspec/schema/*.cueline 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: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:kind:initinit.cue:12-45#Init(:8; next def :74)spec/schema/init.cue:#Initkind:kindclusterkindcluster.cue:20-58#Kindcluster(:22)spec/schema/kindcluster.cue:#Kindclusterkind:kuberneteskubernetes.cue:13-45#Kubernetes(:12) +#KubernetesKubeVirt(:43)kind:kubevirtkubevirt.cue:18-77#KubeVirt(:20)spec/schema/kubevirt.cue:#KubeVirtkind:marketplacemarketplace.cue:9-30#Marketplace(:12) +#MarketplaceFamily(:24)kind:pipelinepipeline.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)kind:vmvm.cue:56-126#Vm(:57)spec/schema/vm.cue:#Vmkrun VM backend (OCI image boot)vm.cue:19-58#VmBackendName(:21),#VmBackend(:28),#VmKrun(:38),#Vm(:57)skill and agent bodies under .agents/skill.cue:1-52#Skill(:39),#SkillReference(:52)The
krunrow was the one row citing its range in two columns (todayandevidence); 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 at70528371bf06— 25 checks, 0 missing: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:
The applied baseline delta was nine rows removed, 0 added (
198→189lines, header unchanged), i.e. the nine re-anchored citations and nothing else; the threenotelines are citations into repositories this tree does not pin, which the control classifies as unchecked rather than as findings.6. The pin-tag control —
specis achangelog-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:The classification is the structural fact measured directly, not an inference from silence:
spec'sHEADisdocs: add CHANGELOG 0.2026314.1717 for PR #302and itsHEAD^isc3ba5bcd…, which carriesv0.2026314.1717— one CHANGELOG commit above a tag, which is whatchangelog-tipnames. The recorded census holds five rows, alluntaggedand all other modules, sospecis not among them.7. Attribution evidence — the harness's own session descriptor, read by key, plus the CLI version:
The tier names the runtime's own names: the session RECORD carries provider
ollama-cloudand modeldeepseek-v4.1-flash, read out of the descriptor by key rather than out of any config file.Rulebook compliance
/charly-internals:git-workflow,/charly-internals:strict-policyand/charly-internals:cutover-policywere loaded before the first tool action — the dispatcher's pinning row namesgit-workflow(the pin contract,charly task sync,charly task verify), and the design-ledger work namesstrict-policy. The umbrellaAGENTS.md(Part I R0–R10, Part II #2/#3) was read with them.design-dpat.sh/design-cite.shfailing onplugin-desktop-kind,plugin-herdrandplugin-spicebecause their pinned commits are absent from this clone's stores; measured here,design-pintag.shjudged 409 of 409 with 0 skipped, anddesign-dpat.shread 121 pinned modules at their pins — so the stores the resolver found held every pinned commit and no--git-dir .git/modules/<path> fetch originwas needed. That is a fact about this clone's stores, not a defect in the control: the control's own message still namesfetch itas 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 reportsdifferseither way, so only buckets shift), and this change did not stop there — it rolledspecto the served tip in the same step, sospecleft the NOT-current set (differs→cur) instead ofdiffers→behind. The buckets confirm it exactly (cur22 → 23,differs375 → 374,behindandblocked-byunchanged), 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, andspec#302moved 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.--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.git ls-remoteequality 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.charlybinary and the repo's own scripts.unionrow underspec/schema/, and the 173 non-specrows byte-identical) rather than merely empty at the new pin. The nine line citations leavedesign/cite-baseline.tsvin 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.tsvis 0, and the two emitters reproduce the committed files byte-for-byte (cmpclean).git status --shortwas read before staging (a clean tree apart from this change), after committing (empty) and again before the gates. The work is ONE commit onfeat/design-pin14off freshorigin/mainin 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 tomain, and no other session's file, branch or worktree was touched; the existing.worktrees/dsh-design-ledger/*trees were left alone.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 andcharly task verify's 48 steps. Both emitted artifacts are validated at their own boundary by the controls that consume them (design-dpat.shanddesign-cite.shin 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-testandbash scripts/design-cite.sh --self-testexit 0 on this tree, and they are run SEPARATELY here becausedesign-check.shcomposes the controls, not their self-tests.servedcolumn, the tip-equality block and the pinned SHA.charlyverb above ran the worktree-local build (./charly/bin/charly,charly version=2026.313.1024) produced bycharly/scripts/bootstrap-charly.shin THIS worktree, never a shared install. No Go source and no runtime OS dependency changed, sopackaging:is untouched.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). Nodisposable: truetarget 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) andbash scripts/design-check.sh(7 controls, the gate the pre-push hook selects for a pinned-module gitlink); both on commit6a1fb1b733e53a289f367a57682b8a79700b9a60, 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#302changed 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.goandspec/spec/vocab_gen.goare the SAME blob atfa0080737aand70528371bf06(073d1419ea5b…andb4f1382129f8…), and the advance's only.gofile is a new test. That is why nosdkbump 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 thespecgitlink tofa0080737a333ff509f05dc62101a49204bb6042, 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:
specunion187 → 50); it is not closed, because 383 rows remain across the other pinned modules.duphalf of D-PAT-2 is untouched here.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)