Repository navigation
chore(pins): advance plugin-jetkvm to its §10.1 vocabulary tables - #962
Conversation
`opencharly/plugin-jetkvm#15` merged as `1f5c6360cd7edca896cc817bd9edcf4bba8469d6`, tagged `v2026.314.0015`. It converted the plugin's seven inline `|` word unions (`_button`, `_mediaMode`, `_usbDevice`, `_bootOrderAction`, `_installAction`, `_action`, `_method`) to §10.1 S3 vocabulary tables, each with a derived `_…Word` list and an `or()` enum tagged `@vocab(jetkvm)`. The umbrella still pinned the pre-merge `7e0dea3350`, so `charly task sync` advanced the gitlink to the CHANGELOG tip the tag-on-merge workflow wrote above the merge, `4f1e403ec45224328f81c386ff517f95da47a0ea`. One pin moved; the wave reports `1 pin(s) moved` and nothing else in the 409-pin set was behind. Because the pin's CUE now derives its unions from vocab tables, the `union` rows the census recorded for the seven old 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` and applied verbatim. The emission is 92 deletions and zero additions — the seven disjunctions' rows — so `design/dpat-baseline.tsv` goes from 649 rows to 557 and the tree's known-violation count from 709 to 617 (union 474 -> 382). The gate then agrees with the tree in both directions. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
Review — BLOCKHead SHA: Change class: pin advance (submodule gitlink Blocks
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS — round 2 on head RCA for the A3 BLOCKMechanism. The body's attribution bullet cited a CONFIG FILE ( Missed control. My pre-push A3 self-audit checked the rule text and the configuration, and never asked "what artefact did the RUNTIME itself write that names this?" The control that would have caught it is a pasted artefact produced BY the authoring runtime — the session descriptor the harness writes at startup — and a footer whose provider slot is filled from that same record rather than from habit. Blast radius. Body only. The tree is untouched — no pin, census, code or doc byte changed — so both gates' results still stand for this head. Root fix. Paste the harness-written session record and the review engine's own run-metadata footer, and carry the provider-qualified name in the footer: The authoring runtime is DeepSeek Harness What did not change, and why. The pushed commit's own trailer is immutable on this head — amending a pushed branch would need a force-push, which this repo forbids — and A3 reads the body's footer, which is the surface the changelog is written from. The tree is identical either way, so no gate result is carried across a change. Both body gates were re-run locally before this body was published: Agent: design-ledger-pin8 |
Review — PASSHead SHA: Security screen: PASS Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…our rows (#966) * feat(design): gate pinned-module citations at the pin and re-anchor four rows `design/dulling.tsv` cites the pinned source it reasons about by `path:line` — a claim about somebody else's commit — and nothing in this tree resolved one. `scripts/design-ledger.sh` checks a citation into `DESIGN.md`/`DESIGN.cue` (a requirement, a section, a definition) and deliberately refuses a LINE there, because a line drifts on every edit of this document; a citation into a pinned submodule was accepted in the line form and never opened. So the one citation form that rots on a schedule this repository does not control was the one form no gate read, and a pin advance that moved a construct out from under a row left `bash scripts/design-check.sh` green (#963). `scripts/design-cite.sh` is that control, and `bash scripts/design-check.sh` runs it as 5/7. It reads the pins from the tree's INDEX and each module from its object store at the pinned commit (`scripts/design-module-store.sh`'s answer, sourced, never a second resolver), so a stale checkout cannot move a judgement. Three citation forms are judged on what each one's own text decides: a path must exist in the pinned tree; `<path>:#<Definition>` must be declared there (the drift-proof form, which A.8 now offers beside the line form); and a line range must be inside the file, must still sit inside the construct it sat inside when the row was affirmed, and must still hold the bytes it then held. That last pair is recorded in `design/cite-baseline.tsv`, and the check fails in both directions — a citation nobody recorded is new, and a row the ledger no longer carries overstates the record — so the file can only shrink toward the rows that cite a name. A citation of a repository this tree does not pin is reported as unchecked, never as a finding: a commit id cannot drift and this tree cannot read it. The rows that pointed at the wrong construct are re-anchored: `kind:jetkvm` and `verb:jetkvm` were falsified by #962 (`437-473` ended two lines short of `#JetkvmDeviceInput`, `481-578` spanned `_method` instead of the enum) and now cite `#JetkvmDeviceInput` and `#JetkvmMethod`; `spec/schema/_common.cue:374-389` had been renamed `00_common.cue` upstream and its range had slid off `#VmSnapshotPolicy`; `charly/commands.go` is `charly/charly/commands.go` inside that module, which every other charly citation in the ledger already says. `scripts/design-ledger.sh` learns the split the new form needs (a name a row cites as `<pinned path>:#<Name>` is that file's construct, so it need not be a `DESIGN.cue` definition), and its self-test gains the arm it was missing: a mutation must CHANGE the fixture. The `a stale shape quote` case had been matching a literal the row no longer carries, so it applied nothing and died for free — a self-test case that could not fail, found by running it. Closes #963. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix(design): state the gate's composition accurately, and execute the sweep's calibration The validator's first round found the replacement prose overclaiming in four places and one paragraph of the PR body refuted by the evidence pasted beside it. Both are the class this change exists to remove, so they are fixed where they live, not in the body alone. `hooks/pre-push` (five statements), `charly.yml`, `hooks/pre-commit` and `scripts/check-design-gate.mjs` said the gate is seven controls "each with a self-test that mutates its own rules". It is not: four controls carry `--self-test` mutations (the ledger, the citation control, the schema-pattern gate, the pin-tag control), the examples are proven by their 109 COMMITTED negative cases (A.5), and the toolchain control only resolves the pinned `cue`. DESIGN.md A.2 — changed in this same PR — says exactly that, so the four files now say it too. `hooks/pre-push` also still carried the pre-change count in four places ("the six controls", "79 self-test cases", the 2026-11-09 timing quoted as if it were current). Its own sweep is the point: `git grep -n 'six controls' origin/main -- DESIGN.md README.md charly.yml hooks scripts` matched nine lines on the pre-fix tree, and the same predicate matches nothing on this one. The earlier sweep had covered `DESIGN.md README.md charly.yml scripts/` and missed `hooks/` — an absence claim made with an unstated scope, which is the instrument failure the campaign keeps paying for. `scripts/design-gate-inputs.sh`'s dated measurement now says what it measured ("before the citation control landed") instead of counting a gate that has since grown. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix(design): drop the citation control's unreachable state, and quote CUE strings as CUE does Round 2's three findings are fixed in the control itself. `file_at` and `constructs` are invoked in COMMAND SUBSTITUTIONS, so state they wrote — a `FETCH_FINDINGS` accumulator and a file cache each — lived in a subshell and was gone by the next call: the accumulator could never print, and the caches never hit. Both are deleted. The caller already prints the finding that names the module and the remedy when `file_at` fails, so nothing that was promised is lost, and the run stays at ~13 seconds over 177 citations. The CUE arm of the construct walk stripped `\\"…\\"` — a BACKSLASH-quote — where CUE writes `"…"`. A definition whose body carries a `{` inside a string therefore counted a brace, ran past its own closing brace, and the walk's `i = end` skip recorded none of the definitions after it, so `anchor_of` reported the wrong anchor and a citation could pass the very check this control exists for. The CUE arm now uses the Go arm's pattern, and the self-test asserts the walk directly: a fixture definition with an unbalanced brace in a string must not swallow the definition after it. Regressing the pattern turns that case red (measured). Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix(design): a declaration ends where its depth returns to zero, and the anchor is what a range shows Round 3's three findings are fixed in the control. The span rule ended a declaration only once something had OPENED (`opened && depth <= 0`), so a top-level declaration with no bracket at all — CUE `#Name: string`, Go `type X int` or `var x = 1` — ran to the end of the file, was recorded as spanning the rest of it, and the walk's `i = end` skip then recorded none of the definitions after it. `anchor_of` answered with that declaration for every later line: a construct fact that was never computed. A declaration now ends where its bracket depth returns to zero, whether or not it ever had a bracket, and the self-test asserts both spans and the anchor of a line inside the definition after a brace-less one. Regressing the rule turns that case red (measured). `FETCH_FINDINGS=""` and `file_at`'s unused `root` parameter are gone — the round-2 fix removed the accumulator's only reader and left the assignment behind. The census's reverse check now marks a citation as CITED the moment it is read out of the ledger, before any judgement can fail. It used to mark it after the pin's checks, so a pin advance that renamed the cited path reported the row as "the ledger no longer cites it" — a false finding telling the author to delete a baseline row that was still true. The anchor is now the construct a range MOSTLY shows, not the innermost one containing its first line: a row cites a construct WITH its doc comment (`26-58` over a function declared at `:29`), and an anchor keyed to the first line read `-` for a citation that is entirely about one construct. `design/cite-baseline.tsv` is re-recorded with the corrected walk — 44 anchors change and **not one digest does**, so no row's cited bytes moved; what changed is the name of the construct each row points at, which the broken rules had recorded as an artefact of their own bug. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix(design): read both languages lexically, and make --emit-baseline reproduce the artifact Round 4's four findings are fixed in the control and its census. The construct walk now blanks comments and string literals in BOTH languages before it counts a bracket, with the state of the constructs that span lines carried from line to line: the CUE arm handles `//` and `"""`, and the Go arm handles `//`, `/* … */`, `"…"`, `` `…` `` raw strings and rune literals. A brace in any of those is text, not structure — counted as structure it runs a declaration past its closing brace, the walk's skip then drops every declaration after it, and the anchor is reported for a construct that was never computed. That is the same false pass the CUE string bug was fixed for, in the other language, and the self-test now asserts the walk itself in BOTH: a CUE definition carrying a brace in a string, and a Go declaration carrying one in a raw string and in a block comment, each followed by a declaration whose span and anchor must come out right. Regressing either arm turns its case red (measured). The census's key is now marked as CITED before EVERY judgement, including the pin's own readability: it was marked after `commit_readable`, so a pin whose store lacked the commit reported every baseline row of that module as "the ledger no longer carries it" — a false finding telling the author to delete rows that are still true. The self-test asserts the unreadable-pin case prints the pin failure and NO census line. The unreadable-pin remedy is one that resolves it: `git --git-dir <store> fetch origin`, or `git submodule update --init -- <module>`. It said `git submodule update --remote`, which advances the submodule to the remote-tracking tip — it can move the pin and still leave the pinned commit absent — and the self-test now asserts the remedy it prints. `--emit-baseline` emits the file's whole header, not just the column line, so `bash scripts/design-cite.sh --emit-baseline > design/cite-baseline.tsv` reproduces the committed artifact byte for byte (verified with `diff`). The check holds the committed header to the one the control emits, and the self-test plants a header-less census that must fail. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) --------- Co-authored-by: aitrawog <[email protected]>
Summary
opencharly/plugin-jetkvm#15merged as1f5c6360cd7edca896cc817bd9edcf4bba8469d6and was taggedv2026.314.0015. It converted the plugin's seven inline|word unions to §10.1 S3 vocabulary tables —_button,_mediaMode,_usbDevice,_bootOrderAction,_installAction,_action,_method— each with a derived_…Wordlist and anor()enum, tagged@vocab(jetkvm). The umbrella still pinned the pre-merge7e0dea3350.This change is the consumer half of that producer-first leg: it advances the
plugin-jetkvmgitlink throughcharly task syncand, in the SAME commit, lowers the schema-pattern census to the tree the new pointer serves. The census is the mechanism #945 tracks and #950 sequenced; both halves must land together because the ratchet fails in both directions — a pin that advances without the census going red onunionrows the tree no longer carries, and a census lowered without the pin going red on rows the old pin still carries.The pin advance
charly task syncmoved one pin out of the 409 the umbrella declares:The advanced gitlink is the remote's own
refs/heads/main, which is the CHANGELOG tip the tag-on-merge workflow wrote one commit above the merge:The old pin is a strict ancestor of the new one, so this is a fast-forward and not a divergence:
The census moved by exactly the predicted 92 — and the emission is what decided it
The brief predicted 92 rows. Unlike the last two units of this campaign, the prediction held here, and it held for a reason this run could state rather than assume: the seven disjunctions decompose as 5 + 17 + 70. Five unions were written on ONE line each and produce one row apiece regardless of word count (
button,media_mode,usb_device,boot_order_action, and thekey/type/key-combounion that is now_installAction), while the two multi-line tables produce one row per alternative line that carries a|— 18 alternatives minus the last for#JetkvmAction, 71 minus the last for#JetkvmMethod.The census was emitted and diffed, never hand-edited:
All 92 removals are
plugin-jetkvmrows and nothing else in the 121 pinned modules changed. The emission was applied verbatim, sodesign/dpat-baseline.tsvis the emitter's own output rather than a transcription of it.How tested
Final head — the head this body describes, and the tree both gates ran on:
The currency question, before and after materializing the pin. This is the under-report the brief warned about, reproduced and then removed. A pin with no checkout cannot be judged, and the producer-first list came back empty while an advance existed:
Exactly one pin was behind, so the wave could only advance one — the
if more than a handful move, stopcondition never came up.The schema-pattern gate on the final head —
bash scripts/design-dpat.sh, exit 0:The known-violation total fell from 709 to 617 and the
unioncount from 474 to 382 — both exactly the 92 rows, which is the arithmetic check that the census and the pin agree.The DESIGN controls on the final head —
bash scripts/design-check.sh, exit 0, all six:The pin gate for this change class —
./charly/bin/charly task verify, exit 0, all 48 steps:The vocabulary is unchanged in value, measured rather than assumed. The whole point of an S3 conversion is that the accepted words survive it, so the word sets were compared across the two pins instead of trusted from the producer's subject line. Every set is identical:
That identity is also what makes the 92 rows arithmetic instead of guesswork: the two multi-line unions carried
|on 17 of 18 lines and 70 of 71 lines in the pre-merge text, and the five unions written on a single line carried one row each.On
plugin-jetkvm#14's pre-existing bed defect. That issue records that this repo's only device-free R10 bed can never pass, because a skip verdict leaves itsstdoutmatcher unevaluated, and it was proven on a cleanorigin/main. Neithertask verifynor the DESIGN controls surfaced anything resembling it in this run — the two paths this change touches (a gitlink and a census file) are judged by the pin contract and the schema-pattern gate, and both were green — so there is nothing here to attribute either way. It is named because the brief asked for it to be, not because a gate raised it.Rulebook compliance
R0 — the dispatcher's rows for this work (
git-workflow,strict-policy) were loaded before the first repository command,git-workflowbefore the first git action, and this umbrella'sAGENTS.mdPart II ci: adopt org-wide validation chain — pr-validator + tag-on-merge, drop custom auto-merge #2/fix: escape backticks in umbrella-gates.ts template literal #3 governed the wave and the pin.R1 — every anomaly in this run is named and dispositioned. The currency report's no-checkout reading is the documented under-report, measured above and removed by materializing the path; the
check-generated-clean: NOTICEaboutcharly/plugins_refs_generated.goduring bootstrap is the generator's own indexed-source notice, it restored the tracked file and exited 0, and no gate in this change reads that file. Neithertask verify(48/48) nor the six DESIGN controls produced a failure or a warning, so no finding is left unfixed and none is filed.R2 — one mechanism per job and no second implementation: the pin moved through
charly task syncand the census came from--emit-census. There is no hand-written gitlink and no hand-written row; the census file is byte-for-byte the emitter's output.R3 — no sleep, retry, magic fixture or ad-hoc
podman/systemctl; every reading pasted above is a verb's own output, and no command was re-run against a root-caused defect.R4 — no documented command changes and no prose is routed around a defect. A gitlink advance and a census reconciliation alter no product surface, so no doc needed to move with them.
R5 — nothing is left behind in this phase: the gitlink is replaced in place, and the 92 rows are deleted in the same commit that lowers them, so the census never overstates the debt the tree actually carries.
R6 —
git status --shortwas empty before the first stage and after the commit; the work is onfeat/design-pin8in the session worktree.worktrees/dsh-design-ledger/opencharly-pin8, cut from freshorigin/main(27353da); no force-push, no history rewrite, no hook bypass, and no other session's branch or worktree was touched. The 206-commit-stale root checkout was never used as a source of numbers.R7 — the changed paths were exercised live, and the emitted artifact was judged at its own boundary: the census is checked against the tree by re-emitting it and diffing (92 removals, 0 additions), and the gitlink is checked against the remote's served head rather than against a checkout. The gate fails in both directions, so a stale census or a stale pin would have gone red — that is what makes the pair load-bearing rather than decorative.
R8 — the only boundary crossed is a git remote, read live over HTTPS with
git ls-remote, plus the module object stores the DESIGN controls read at the pinned commits. No service is mocked.R9 — the binary is this worktree's own build,
./charly/bin/charly2026.313.1024, produced by./charly/scripts/bootstrap-charly.shfrom this tree'scharlypin afterbash scripts/init-submodules.sh --root <worktree>; no shared install was used and no new runtime OS dependency exists.R10 — the change-class gate for a pin/gitlink diff is the umbrella's
charly task verify, and it passed on the exact committed head499e90c937905c4dc0bb3a26ed95dc30ce7ec245with 48/48 steps and the currency question at0 of 409 NOT current. Nodisposable: truetarget is involved in a gitlink advance, and the schema surface this pointer serves is judged by the DESIGN controls, which also passed on that head.A3 (attribution tier and the runtime's name) — the tier is justified by proof, not asserted: the change-class gate
charly task verify(48/48 steps) and the six DESIGN controls both ran on the exact head499e90c…above, which is whatfully tested and validatedrequires for this change class. The runtime NAME is taken from the authoring session's OWN record, not from a config file I read, because the review round that blocked this PR was right that a config-read name is not evidence:That record is written by the harness itself as it starts the session that authored this change: harness
DeepSeek Harness(dsh 0.2.1-rc.2), providerollama-cloud, modeldeepseek-v4.1-flash. The provider-qualified full model name is thereforeollama-cloud/deepseek-v4.1-flash, and it is the reviewing runtime's own name as well — run42734838975prints it verbatim in its run-metadata footer on this PR:The footer below carries that qualified name. Nothing is renamed and neither slot is guessed: the model id inside the qualified name is the one the session record declares, and the provider prefix is the one the same record declares.
Change classification
Pin advance + census reconciliation — one submodule gitlink and the census row set that follows it, landed together because the ratchet is two-sided. One squash commit on
main; no shim, no dual path and no deferred cleanup. Attribution tierfully tested and validated, because both gates the change class requires ran to green on the final head.Files in this diff (2):
design/dpat-baseline.tsv--emit-censusand applied verbatim; 649 rows → 557plugin-jetkvm7e0dea3350→4f1e403ec4, the served tip one CHANGELOG commit above merge1f5c6360…/ tagv2026.314.0015Breaking change + rollback: nothing breaks for a consumer of this repository — the pointer moves to a commit the org has already merged and tagged (
v2026.314.0015), the plugin's word lists are unchanged in value (the new tables derive word sets identical to the inline unions they replace — 18 actions, 71 methods, 6 USB devices, measured above), and every census row removed describes a|disjunction that commit deleted from the CUE text. The way back is one commit that restores the pre-merge pointer7e0dea3350and the 92 census rows together; restoring only one of the two would leave the gate red, which is the point of landing them as one change.Filed issues
None — this change files no issue and closes none. It completes the consumer side of #950, lowers the census #945 tracks, and uses the caller #959 installed. It consumes the producer leg opencharly/plugin-jetkvm#15 (merged,
v2026.314.0015). opencharly/plugin-jetkvm#14 is a pre-existing bed defect filed in the producer repo and is unrelated to this diff; it is named in How tested only because the brief asked for that disclosure, and it remains open on its own terms.Agent: design-ledger-pin8
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)