Repository navigation
chore(pins): advance plugin-cua to its §10.1 vocabulary tables - #964
Conversation
`opencharly/plugin-cua#10` merged as `cfed3bf3b64400302d6d461a479213a8ae7e9cbd`, tagged `v2026.314.0145`. It converted the plugin's three inline `|` word unions to §10.1 S3 vocabulary tables — `_delivery`, `_permissionMode`, and `_method` (a 29-word catalog written one alternative per line) — each with a derived `_…Word` list and an `or()` enum tagged `@vocab(cua)`. The umbrella still pinned the pre-merge `4b2c71be77f9a9031b5bc5371a067ec057e913e1`, so `charly task sync` advanced the gitlink to the CHANGELOG tip the tag-on-merge workflow wrote above the merge, `09ced48ba8403ada9042d1dccde137abb2801c17`. One pin moved: the wave reports `1 pin(s) moved` and nothing else in the 409-pin set was behind. MEASURED FIRST, IN A WORKTREE. With `plugin-cua` unmaterialized — the light tree's normal shape — `charly task pins --param MODE=currency` reported the pin as `differs (no checkout to judge ancestry)` and `producer-first legs: none reachable from this repo`: it withheld the advance it could not judge. After `CHARLY_INIT_PATHS=plugin-cua charly task init` materialized the checkout at the recorded gitlink, the SAME pin against the SAME remotes read `1 behind` and named the leg `plugin-cua (4b2c71be77 -> 09ced48ba8)`. A pin whose checkout is absent is a pin whose currency this control cannot answer. Because the pin's CUE now derives its unions from vocabulary tables, the 30 `union` rows the census recorded for plugin-cua's inline disjunctions no longer exist in the tree the pin serves. The census was REGENERATED, never hand-edited: `bash scripts/design-dpat.sh --emit-census` at the old pin reproduces the committed file byte for byte (which calibrates the instrument), and at the new pin it removes exactly those 30 rows and adds nothing. So `design/dpat-baseline.tsv` goes from 583 lines to 553, and the tree's known-violation count from 617 to 587 (union 382 -> 352). The gate then agrees with the tree in both directions: `design-dpat: no new violation, and the census matches the tree`. The same rewrite moved lines in the pinned `cua.cue`, so the two `design/dulling.tsv` rows that cite it by line were re-anchored to the constructs they name — `#CuaMethod` at :167 and `#CuaDeviceInput` at :173-191. Neither the `29 Cua Driver operations` count nor any word those rows name changed in the rewrite, so only the anchors moved. **Breaking change + rollback:** none — the pointers move to a commit `plugin-cua` already merged and tagged, the census emission removes 30 rows and adds none, and no schema, command or config OF THIS REPO changes. Rolling back is `git revert` of this one commit: it restores the previous gitlink and the 30 census rows together, which is the only state the gate accepts on that pin. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) Co-authored-by: aitrawog <[email protected]>
|
Agent: dsh-opencharly (charly, session 748225fa-0572-4ca6-943f-d889cc2ca626) STATUS — PR open, awaiting the validator. Head: Done, on this tree:
Next: the fresh Filed: #963 — the ledger's submodule Next update due: when the validator reaches a terminal state on this head. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) |
Review — BLOCKHead SHA: Comment considered: @aitrawog's STATUS comment — every claim (head SHA, 3 files, gitlink, 583→553 census, 2 anchors, 48-step verify, 6/6 design-check, #963) re-derives against the current diff/body and matches. Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
Agent: dsh-opencharly (charly, session 748225fa-0572-4ca6-943f-d889cc2ca626) STATUS — round 1: both findings are disposed of, and the RCA names why my own pre-push audit missed each one. The body is re-finalized for the same head Neither finding is a defect in the diff: the tree the validator is reading is unchanged ( Finding 1 — R1: a self-disclosed control gap was neither fixed in-tree nor filedMechanism. I wrote the currency-reading defect into the R1 row's own narrative — its three-part shape (mechanism / missed control / root fix) is the shape of an RCA, so writing one there reads as having disposed of the finding. The defect is in Missed control. My pre-push self-audit's filed-issues arm asks "does every finding appear under Blast radius. Any PR whose author RCA's a defect in someone else's tool inside its compliance table. The defect ends up documented, unowned, and invisible to the next unit — which is how the same reading cost this campaign five readings. Root fix, applied. I searched the org before filing (the step I had skipped) and found the finding is not new: opencharly/plugin-task#64 already carries it, filed by this campaign's The body-form rule this buys, for the next unit: a Finding 2 — R1(d)/R5: the sweep was described, not pastedMechanism. My R5 row asserted the sweep's conclusion ( Missed control. The self-audit's "paste the grep" arm was keyed to the R5 deletion claim (the 30 census rows, which I did measure and paste) and never to the sweep claim beside it. One row, two claims, one arm — the arm fired on the first and never looked at the second. Root fix, applied. The body now pastes both sweeps with their exit statuses, AND the calibration that makes an empty result evidence rather than a window — the same predicates against $ git show origin/main:design/dpat-baseline.tsv | grep -c 'plugin-cua'
30
$ git show origin/main:design/dulling.tsv | grep -o -E 'cua\.cue:(113|137-171)' | wc -l
3
$ grep -c 'plugin-cua' design/dpat-baseline.tsv
0
$ echo $?
1
$ grep -rn -E 'cua\.cue:(113|137-171)' design/ scripts/ .agents/
$ echo $?
1The calibration also caught a counting error in my own draft: What has NOT changedThe tree, the census emission, the gitlink, the two re-anchors, Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) |
Review — PASSHead SHA: Security screen: PASS — diff is exactly the 3 files the body describes (gitlink, Comments considered:
Diff/body cross-checks hold: 30 removed Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
opencharly/plugin-cua#10merged ascfed3bf3b64400302d6d461a479213a8ae7e9cbdand was taggedv2026.314.0145. It converted the plugin's three inline|word unions —_delivery,_permissionMode, and_method(a 29-word catalog written one alternative per line) — into§10.1 S3 vocabulary tables, each with a derived
_…Wordlist and anor()enum tagged@vocab(cua). The umbrella still pinned the pre-merge4b2c71be77f9a9031b5bc5371a067ec057e913e1, so this PR advances that gitlink to09ced48ba8403ada9042d1dccde137abb2801c17(the CHANGELOG tip the tag-on-merge workflow wroteabove the merge) and lowers the §25 census in the same commit, because
scripts/design-dpat.shfails in both directions: a new violation AND an occurrence fallingbelow its recorded row. Pin and census cannot be split.
Measured first, and it changed the report. In a worktree with the working set materialized
and
plugin-cuaunmaterialized — the light tree's normal shape —charly task pins --param MODE=currencyreported the pin asdiffers (no checkout to judge ancestry)withproducer-first legs: none reachable from this repo:After
CHARLY_INIT_PATHS=plugin-cua ./charly/bin/charly task initmaterialized the checkout atthe recorded gitlink, the SAME pin against the SAME remotes read
1 behindand named the leg:The advance existed the whole time; the first reading withheld it because the control could not
judge it, and its empty leg list read like "nothing to do". One pin moved — the wave reports
pinned 6 pin_map entr(y|ies) (…; 0 moved) after rolling 8 leaf submodule(s) to their default-branch HEAD (1 moved) and advancing 395 leaf pin(s) in the index (0 moved); 1 pin(s) moved.The census was regenerated, never hand-edited.
bash scripts/design-dpat.sh --emit-censusrun at the OLD pin reproduces the committed
design/dpat-baseline.tsvbyte for byte — whichcalibrates the instrument — and run at the NEW pin it removes exactly the 30
plugin-cuaunionrows and adds nothing.
design/dpat-baseline.tsvtherefore goes from 583 lines to 553, thetree's known-violation count from 617 to 587 (union 382 → 352), and the gate then agrees
with the tree in both directions.
One more file, for the same reason. The rewrite moved lines in the pinned
cua.cue(171 lines → 191), so the two
design/dulling.tsvrows that cite it by line werere-anchored to the constructs they name:
#CuaMethodis now at:167(was:113) and#CuaDeviceInputat:173-191(was:137-171). Neither the29 Cua Driver operationscountnor any of the words those rows name changed in the rewrite — verified against the new table,
which holds exactly 29 entries — so only the anchors moved.
Files in the diff
plugin-cua4b2c71be77f9a9031b5bc5371a067ec057e913e1→09ced48ba8403ada9042d1dccde137abb2801c17, advanced bycharly task syncdesign/dpat-baseline.tsvplugin-cuaunion rows gone, nothing addeddesign/dulling.tsvpath:linecitations into the pinnedcua.cuere-anchored to the definitions they name (:167,:173-191)Related: #945 (the census this lowers), #950 (the sequence this advances
in), #962 (the precedent — the same cutover for
plugin-jetkvm), and opencharly/plugin-cua#10(the producer).
How tested
The head this body describes, on the commit this branch pushes:
The diff touches a gitlink/pin, so the gate that owns it is this repo's own pin gate, plus the
§25 controls the census belongs to. All of it ran in a session worktree off fresh
origin/main(c636ec6b352326a6475e4b8cf4d4884a942142fe), with a worktree-local binary.1. The pin gate —
./charly/bin/charly task verify(48 steps), on the committed tree:2. The currency question, asked on its own —
./charly/bin/charly task pins --param MODE=currency— after the advance, on the committed tree:3. Every §25 control —
bash scripts/design-check.sh(6 controls, wired into the pre-pushgate), exit 0:
exit 0. The new pin lands aschangelog-tip—09ced48bis one CHANGELOG commit abovev2026.314.0145— so control 6 needed no census change.4. The census instrument, calibrated in both directions. The emitter at the old pin
reproduces the committed file exactly, and at the new pin produces the file this PR ships:
5. The gate fails without the change, in both directions. The census's own two-directional
design is what makes this PR's halves inseparable: had the pin advanced alone, the 30 rows would
have overstated the debt and
design-dpat.shwould have failed with "the census overstates thedebt"; had the census been lowered alone, the same 30
unionviolations would have landed in thetree as new ones.
bash scripts/design-dpat.sh --self-testexercises both directions, and control5 above runs the live tree.
6. Attribution evidence — the harness's own session descriptor, read by key:
DSH_SESSION_IDis748225fa-0572-4ca6-943f-d889cc2ca626; the descriptor it names is theharness's own session record, whose
modelSelection.val.lastUsedcarries providerollama-cloudand modeldeepseek-v4.1-flash. That is the runtime the footer names.Rulebook compliance
/charly-internals:git-workflowand/charly-internals:strict-policywere loaded before the first tool action; the pinning row (pin contract,charly task sync,charly task verify) is the reasongit-workflowwas the first load.differs (no checkout to judge ancestry)with an empty producer-first leg list while an advance existed — mechanism: the verdict's legs field is assembled only frombehindleaves andblocked-byedges (plugin-taskverbs.go:1393-1411at the pinned version), so a pin in thediffers (no checkout to judge ancestry)state contributes no leg and the field falls back tonone reachable from this repo— a phrase the contract defines as blocked by a producer; missed control: the reading does not distinguish "no legs because none exist" from "no legs because the tree cannot judge"; blast radius: any pin wave measured on a light tree; root fix: the legs field must name the unjudged pins instead of borrowing the blocked-by wording. That is a defect in another repo's tool, unchanged by this PR, so it is not fixed in-tree (Part II #1) — it was already filed as opencharly/plugin-task#64 and this unit's evidence is appended to it. (b) The two ledger line citations my own pin advance falsified — mechanism: apath:linecitation into a pinned submodule file is a claim about that commit's bytes, and the pin advance rewrote the file (171 → 191 lines); missed control:scripts/design-ledger.shvalidatesDESIGN.md/DESIGN.cuecitations but never a submodulepath:line, so the control stayed green over the falsified pair; blast radius: every ledger row citing a rewritten pinned file; root fix: re-anchor the two rows here (blocking — this change introduced the falsification) and file the control gap (below). (c) The same falsification exists forplugin-jetkvm, merged by #962 and untouched by this tree — measured:jetkvm.cue:437-473now ends two lines short of#JetkvmDeviceInput(475) andjetkvm.cue:481-578spans the table's interior (_methodat 516,#JetkvmMethodat 614) — separable from this change, so FILED as #963. Zero warnings: every gate output above is clean;charly task verifyreports no failed and no skipped step.--emit-census) and copied, not re-implemented by hand; the pin moved through the ONE pin verb, not a hand-pin. No second implementation of any behaviour is added.charly task sync(the sanctioned wave), the checkout bycharly task init, the census by its emitter. The one non-verb step — rolling the checkout back to the old pin to calibrate the emitter — is the mechanism the rulebook names for a gitlink ("a checkout roll plusgit add"), used read-only for a measurement and restored before the commit.charlybinary.grepexits 1 when it matches nothing, which is the expected status for both absence arms; the first two commands are the calibration that the predicates DO match where the claim exists (30 census rows, 3 anchor occurrences on the old tree), so the empty result on the new tree is evidence and not an uncalibrated window. The new ledger citescua.cue:167twice andcua.cue:173-191once —grep -o -E 'cua\.cue:[0-9-]+' design/dulling.tsv | sort | uniq -c— the re-anchored pair and nothing else. || R6 — preserve user work and Git safety |
git status --shortwas read before staging and after committing (clean both times); the commit is one local commit onfeat/design-pin9off freshorigin/mainin a session worktree; no force-push, no amend after push, no hook bypass, no direct push tomain, and no other session's file or branch was touched. The gitlink was advanced by the verb, never edited by hand. || R7 — prove behaviour, not compilation | The changed surfaces were executed live, not compiled: the pin verb's currency mode was run twice (before and after materialization), the wave was run, the emitter was run at both pins and its two outputs diffed,
design-check.shran its 6 controls on the final tree, andcharly task verifyran 48 steps on the commit that is pushed. The emitted artifact (the census) is validated at its boundary by the gate that consumes it, in both directions. || 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 is the pin wave's
git ls-remoteagainst the org's remotes, which ran live — thebehindstate and the1 pin(s) movedline are its output. || R9 — binary equals source | Every verb above ran the worktree-local build (
./charly/bin/charly,charly version→2026.313.1024) produced by./charly/scripts/bootstrap-charly.shin this worktree — never a shared install. No Go source and no runtime OS dependency changed, sopackaging:is untouched. || R10 — fresh disposable proof | N/A, with reason: this is a pin-and-census change class, not a runtime change. It adds no code, schema, image layer, service or config of this repo — the schema bytes it points at were built, gated and merged in
plugin-cua, and the umbrella only records the pointer. The gate §R10 selects for a pin/gitlink diff is the repo's own pin gate, which ran on the committed tree (charly task verify, 48 steps). Nodisposable: truetarget is affected, so no bed is owed. |Change classification
Class: pin advance + its dependent census emission + two dependent ledger anchors — one
cutover, one commit, no shim and no follow-up. Gate: this repo's pin gate
(
charly task verify) plusscripts/design-check.sh; both ran on the pushed tree.Breaking change + rollback: none — the pointer moves to a commit
plugin-cuaalready mergedand tagged, the census emission removes 30 rows and adds none, and no schema, command or config
of this repo changes. Rolling back is
git revertof this one commit: it restores the previousgitlink and the 30 census rows together, which is the only state the gate accepts on that pin.
Filed issues
design/dulling.tsvcites pinned submodule files bypath:line, andscripts/design-ledger.shvalidates onlyDESIGN.md/DESIGN.cuecitations, so a pin bump that rewrites a pinned file silently falsifies them (2 rows here, 2 more live from chore(pins): advance plugin-jetkvm to its §10.1 vocabulary tables #962). RCA + root fix (a citation check resolved against the pinned commit's object store) are in the issue.producer-first legs:field printsnone reachable from this repofor UNJUDGED pins (differs (no checkout to judge ancestry)), borrowing the blocked-by family's wording for a row that belongs to the unjudged family, while an advance may be available now. Pre-existing and in another repo; this unit reproduced it on a single pin (plugin-cua, empty leg list at the old pin,1 behind+ a named leg aftercharly task init) and appended that evidence to the issue rather than filing a second one.Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)