Skip to content

chore(pins): advance plugin-pipeline to v2026.316.0909 and re-emit the D-PAT census - #994

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/plugin-pipeline-v316-census
Nov 12, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/plugin-pipeline-v316-census

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

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

$ git ls-remote https://github.com/opencharly/plugin-pipeline refs/heads/main | cut -f1
2f435c7f277142d1e8332fb2cec10be5825b36d3

and the pin target is that commit, not the squash beneath it:

$ git -C plugin-pipeline rev-parse 'v2026.316.0909^{commit}'
ed8e09920791f4d067462f42e94bc1a379bb87fc
$ git -C plugin-pipeline rev-parse '2f435c7f277142d1e8332fb2cec10be5825b36d3^'
ed8e09920791f4d067462f42e94bc1a379bb87fc

A pin at the squash would read behind by one; cur is judged against the remote. The
previous and the new pin:

$ git rev-parse origin/main:plugin-pipeline
6ff0d060c03fa88e557a282b9de9cbf4c87c4a3b
$ git rev-parse HEAD:plugin-pipeline
2f435c7f277142d1e8332fb2cec10be5825b36d3

The mechanism is the narrow one, not the wave: the checkout was rolled to the target
and the gitlink staged (git -C plugin-pipeline checkout --detach 2f435c7 && git add plugin-pipeline). charly task sync would have moved every one of the repo's pins; this
round moves exactly one, so the wave was not used.

The census — the point of the round

plugin-pipeline#60 deleted the six #LLM* definitions the plugin restated from the
contract module and made the served schema import github.com/opencharly/spec/schema
(the chain tracked by opencharly/opencharly#950). Re-emitting the census at the new pin
lowers it in one direction only: 25 rows removed, 0 added.

The design-dpat line before, on origin/main's pin:

design-dpat: 382 known violations (close 62, absence 86, open 68, opaque 0, dup 19, union 147) — tracked by opencharly/opencharly#945

and after, on the committed tree:

design-dpat: 357 known violations (close 54, absence 86, open 68, opaque 0, dup 7, union 142) — tracked by opencharly/opencharly#945

The removal, from the emission itself:

$ git show origin/main:design/dpat-baseline.tsv > /tmp/before.tsv
$ bash scripts/design-dpat.sh --emit-census > /tmp/after.tsv
$ diff /tmp/before.tsv /tmp/after.tsv | grep -c '^<'
25
$ diff /tmp/before.tsv /tmp/after.tsv | grep -c '^>'
0
$ diff /tmp/before.tsv /tmp/after.tsv | grep '^<' | awk -F'\t' '{print $2}' | sort | uniq -c
      8 close
     12 dup
      5 union

The 12 dup rows are the six deleted definitions, each restated in both
spec/schema/llm.cue and the plugin's pipeline.cue (6 names × 2 homes), and the count
of names tells the same story:

$ git show origin/main:design/dpat-baseline.tsv | grep -P '\tdup\t' | awk -F'\t' '{print $3}' | sort -u | wc -l
9
$ grep -P '\tdup\t' design/dpat-baseline.tsv | awk -F'\t' '{print $3}' | sort -u | wc -l
3
$ git show origin/main:design/dpat-baseline.tsv | grep -cP '\tdup\t'
19
$ grep -cP '\tdup\t' design/dpat-baseline.tsv
7

The other 13 rows are 8 close and 5 union constructs that lived inside those six
definitions
: #LLMSpec/#LLMParams/#LLMResponseFormat/#LLMReasoning/
#LLMStreamOptions/#LLMNamedToolChoice, plus json_schema?: close({ and
function: close({name: string}). Deleting the definitions deletes their bodies, so the
census goes 382 → 357, not 382 → 370. That is a reconciliation of the same deletion,
not a new violation: 0 rows were added, and the rule that would have caught one
(design-dpat reports MORE occurrences as a new violation) is green.

The definitions at the two pins:

$ git -C plugin-pipeline show 6ff0d06:candy/plugin-pipeline/schema/pipeline.cue | grep -c '^#LLM'
6
$ git -C plugin-pipeline show 2f435c7:candy/plugin-pipeline/schema/pipeline.cue | grep -c '^#LLM'
0

Citation control — 0 caught, and why that is the right answer

design-cite.sh ran on the new pin and reported no finding:

design-cite: every citation resolves at its pin; 158 line citation(s) still hold the construct and the bytes they were affirmed against

The reason is measured, not assumed: the eight design/dulling.tsv rows that name
plugin-pipeline/candy/plugin-pipeline/schema/pipeline.cue cite it as a path (or a
#Definition), forms a pin advance cannot falsify; the tree's only pipeline.cue line
citation is into spec/schema/pipeline.cue:89-97 (the pooled fan-out (lanes) row), and
spec did not move in this round:

$ grep -c 'pipeline.cue:[0-9]' design/dulling.tsv
1
$ grep -c 'plugin-pipeline/candy/plugin-pipeline/schema/pipeline.cue:[0-9]' design/dulling.tsv
0

So design/cite-baseline.tsv is not regenerated: with no finding behind it, a
regenerate is exactly how a false row got blessed once before. It will move only when a
row actually changes.

Pintag — changelog-tip, no census row

$ bash scripts/design-pintag.sh -v . | awk '$2=="plugin-pipeline"{print $1}'
changelog-tip
$ grep -c '^plugin-pipeline' design/pintag-baseline.tsv
0

Currency — before, after materialization, after the advance

The brief's no checkout behaviour reproduced exactly. Before materialization the pin
could not be judged by ancestry and named no producer leg:

      currency: 1 of 409 pin(s) NOT current [408 cur, 1 differs (no checkout to judge ancestry)]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); NOT CURRENT: plugin-pipeline: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 6ff0d060c0; served 2f435c7f27 (branch); producer-first legs: none reachable from this repo

CHARLY_INIT_PATHS=plugin-pipeline charly task init materialized the checkout at the
recorded gitlink, and the same row became behind with the leg named:

      currency: 1 of 409 pin(s) NOT current [1 behind, 408 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); NOT CURRENT: plugin-pipeline: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 6ff0d060c0; served 2f435c7f27 (branch); producer-first legs: plugin-pipeline (6ff0d060c0 -> 2f435c7f27)

After the advance, on the committed tree:

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

TODO.md — the measured correction, as a note

TODO.md item 2.1 and section 12.5 now carry the correction this round measured:
the D-PAT census (opencharly/opencharly#945) is the whole census, and 2.1 unblocks
only its dup rows (19 over 9 definition names before this advance, 7 over 3 after), not
382. They also record that 2.1's chain is 13 units, not the four legs the schedule's
table summarizes — unit 0 is a charly host-gate change (validateKindValueCUE reads
spec.KindValueDefs plus a base-only schema while a plugin definition lands in
pluginSchemas.unified), and the full table is opencharly/spec#304. The arithmetic of
the schedule — status buckets, totals, the chain table — is untouched; this is a note,
not a status change. No follow-up is needed for 2.1's schedule.

The two pre-existing reds this change had to fix

origin/main's design-check and charly task verify are both red before this change,
and the RCA names one missed control for both.

(a) design-consistency is red on origin/main. Its 12 FAIL … §12.x names no section of DESIGN.md lines and one table-shape finding are TODO-local references
(§12.0, §12.5, §12.6) that #992/#993 wrote into a control that resolves every
§ in TODO.md against DESIGN.md, which has sections 12.1–12.4 only, plus the DONE 9.1
row's proof cell appended with a fourth | in a three-column table. Mechanism: the design
gate's input class named DESIGN.md, DESIGN.cue, design/ and scripts/design-* but
not TODO.md, although design-consistency.sh reads it (refs_in and shape).
Missed control: a TODO.md-only push took the pre-push zero-design-inputs skip, so the
control that reads TODO.md never ran on the rounds that broke it. Blast radius: main's
design gate is red, and every later TODO.md-only change could re-break it unseen. Root
fix: scripts/design-gate-inputs.sh now includes TODO.md in DESIGN_GATE_ROOT_FILES;
scripts/check-design-gate.mjs asserts it and its fired fixtures now require a TODO.md
change to run the gate; the pre-push skip notice names it. The prose is repaired to match
(non-§ self-references and the merged cell).

(b) check-pin-verb-scope is red on origin/main. TODO.md names the pin verb
(charly task pins --param MODE=currency) in a Done proof and in the compliance record,
and the gate's coverage arm requires every file naming the verb to be classified. The
mentions are the currency mode — a question about whether pins are current, not a
presentation of the advance operation — so the file is classified as a non-claim mention
with that reason. That is the gate's own designed extension point, not a suppression: the
gate still requires the scope claim on every claim-maker surface, and its self-test
exercises the classification.

Both repairs are in this diff, and the final gates below are green on the committed tree.

file what it carries
plugin-pipeline the gitlink 6ff0d06 → 2f435c7, the CHANGELOG commit one above the tagged squash v2026.316.0909
design/dpat-baseline.tsv the re-emitted census: 25 rows removed (12 dup + 8 close + 5 union), 0 added
TODO.md 2.1/section 12.5's measured correction, its TODO-local §12.x references, and the DONE 9.1 row's fourth cell
scripts/design-gate-inputs.sh TODO.md added to the design gate's commit-carried inputs, with the reason
scripts/check-design-gate.mjs the TODO.md input assertion, a fired fixture that requires it to run the gate, and a guard fixture
hooks/pre-push the class's skip notice and working-tree notes name TODO.md
scripts/check-pin-verb-scope.mjs TODO.md classified as a non-claim mention (currency mode only), with the reason

How tested

The change class is a pin/gitlink advance plus design-ledger and gate-control edits, so
the gate that owns it is this repo's pin gate, charly task verify, run on the committed
tree, plus the seven design controls. Both were run on the exact head this body describes.

$ git rev-parse HEAD
90dc0ca04564e57237af1a7b3e2cb203b534d245

$ git diff --stat origin/main...HEAD
 TODO.md                          | 35 ++++++++++++++++++++---------------
 design/dpat-baseline.tsv         | 25 -------------------------
 hooks/pre-push                   |  6 +++---
 plugin-pipeline                  |  2 +-
 scripts/check-design-gate.mjs    |  6 ++++--
 scripts/check-pin-verb-scope.mjs |  4 ++++
 scripts/design-gate-inputs.sh    | 10 ++++++++--
 7 files changed, 40 insertions(+), 48 deletions(-)

charly task verify, on that head:

$ ./charly/bin/charly task verify
task verify: 48 step(s), 0 failed, 0 skipped
  [pass] check — the pin contract holds — every distro-* gitlink equals charly's own box/* gitlink (the EDGE), and every submodule is clean and checked out at its recorded gitlink
      verify: 6 policy pin(s) hold across 409 submodule(s); 14 checkout(s) clean at their gitlink; 395 uninitialized (pin audited, no checkout)
      currency: 0 of 409 pin(s) NOT current [409 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
  [pass] check — the pin-verb-scope gate discriminates — dropping any surface's scope turns it RED, a moved surface turns it RED, a new file naming the verb turns it RED, a truthful rewording that keeps the scope stays GREEN, and a clause that NARROWS the verb to a SUBSET of the declared paths turns it RED while a UNIVERSAL scope clause stays GREEN (fixtures)

The design controls, on the same head:

$ bash scripts/design-check.sh
== 1/7 toolchain
cue version v0.18.0-rc.1
== 2/7 DESIGN.md ↔ DESIGN.cue
consistency: tables, table shape, word lists, rule tags, ids and § references, vocabulary, grammar — all agree
== 3/7 examples and negative cases
examples: 14 validated
negatives: 109 checked
== 4/7 the capability ledger
design-ledger: 264 rows vs 264 parity capabilities; citations resolve and name their subject; enums hold
== 5/7 every citation into a pinned module, at the pin
design-cite: 3 citation(s) of a repository this tree does not pin are unchecked (not findings)
design-cite: every citation resolves at its pin; 158 line citation(s) still hold the construct and the bytes they were affirmed against
== 6/7 the schema patterns of every pinned plugin module
design-dpat: 121 pinned modules, 204 CUE files in scope, 1 under a vendor/ tree (foreign mirrors, out of scope)
design-dpat: 357 known violations (close 54, absence 86, open 68, opaque 0, dup 7, union 142) — tracked by opencharly/opencharly#945
design-dpat: no new violation, and the census matches the tree
== 7/7 every pin's relation to a release tag
design-pintag: 409 pinned module(s) in the index, 409 judged, 0 skipped (no module store)
design-pintag: 409 pin(s): tagged 379, changelog-tip 22, changelog-chain 0, pre-release-process 2, not-applicable 5, untagged 1
design-pintag: every pin is at a tag, one CHANGELOG commit above one, or explained

design-check: all controls pass

The two pre-existing reds, reproduced at origin/main (a throwaway worktree; remove it
with git worktree remove /tmp/origin-main-check):

$ git worktree add --detach /tmp/origin-main-check origin/main
$ (cd /tmp/origin-main-check && bash scripts/design-consistency.sh . | grep -c '^FAIL')
13
$ (cd /tmp/origin-main-check && node scripts/check-pin-verb-scope.mjs; echo "rc=$?")
  FAIL  TODO.md: TODO.md names the pin-advance verb and is not classified: it is neither a claim-maker file (whose surfaces are listed in this gate), nor a non-claim mention (with a reason), nor an exempt control. A new surface cannot slip in unclassified
check-pin-verb-scope: 1 finding(s)
rc=1

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

$ ./charly/bin/charly version
2026.315.2219
$ dsh --version
0.2.1-rc.2
$ uname -srm
Linux 7.2.11-arch1-1 x86_64
$ git rev-parse --abbrev-ref HEAD
feat/plugin-pipeline-v316-census

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

Rulebook compliance

  • R0 — skills first. HOW: /charly-internals:git-workflow, /charly-internals:strict-policy,
    /charly-internals:cutover-policy and /charly-internals:root-cause-analyzer were loaded
    before the first repository action and before any edit; the umbrella AGENTS.md (Part I,
    Part II fix: escape backticks in umbrella-gates.ts template literal #3 and "Commit, push, land") was read. No submodule checkout was edited: the pin
    was advanced by rolling the checkout and staging the gitlink, and git -C charly status
    and git -C plugin-pipeline status are clean.
  • R1 — RCA every anomaly, then fix it or file it. HOW: five findings, each RCA'd before
    remediation and each fixed in this diff — the two pre-existing gate reds and the missed
    control above (mechanism, missed control, blast radius and root fix stated there), the
    census's 25-vs-12 row count (the six deleted definitions carried 8 close + 5 union
    constructs; the emission is authoritative and adds 0), the differs (no checkout) state
    (materialized, then behind, then cur), and the bootstrap NOTICE (documented at the
    charly pin and tree-neutral). Zero warnings on the final gates; nothing was separable, so
    nothing is filed (see ## Filed issues).
  • R2 — no duplication. HOW: one owner per fact. The census is the single
    --emit-census emission; the pin is moved by the repo's narrow mechanism, not by a second
    copy of the wave; the design gate's class is one array in scripts/design-gate-inputs.sh
    and the hook's guard derives from it (the control asserts the derivation and refuses a
    restated literal); the pin-verb scope has its one classifier. No sibling implementation
    was added.
  • R3 — no workarounds. HOW: no sleep, retry, suppression, fallback or hand-rolled poll.
    The currency/pin operations are the charly task verbs and git; the pin was moved by the
    narrow checkout+git add path because the wave would move every pin. The bootstrap NOTICE
    is the script's documented behaviour, not a suppressed error.
  • R4 — product before prose; docs never route around a defect. HOW: the product side was
    fixed first — the design gate's input class now includes the surface its control reads —
    and only then was the TODO.md prose corrected to match. No documented command needs more
    than the repo's own scripts; the repro commands above are plain git, bash and node.
  • R5 — delete legacy completely. HOW: no identifier is removed in this repo. The six
    restated #LLM* definitions' copies are gone from the pin, proven at both commits
    (grep -c '^#LLM' → 6 at the old pin, 0 at the new), and the census rows those copies
    carried are swept by the emission. The umbrella's remaining #LLM* census rows are
    spec/schema/llm.cue's own definitions — the one home, not a legacy copy.
  • R6 — preserve user work and Git safety. HOW: git status --short was read before the
    first edit and before the commit; the work is a session worktree branched off fresh
    origin/main; only this change's files were staged; no reset, no force-push, no rebase,
    no hook bypass, no direct push to main; no other session's file, branch or PR was
    touched, and the look-before-you-start check found no open PR on this scope.
  • R7 — prove behavior, not compilation. HOW: the changed artifact is the census, and its
    control fails in both directions — a removed row is a FAIL until the census is lowered
    (which is why the emission is applied) and an added row is a FAIL (the run adds 0). The
    pin's own bytes were read at both commits, and design-cite/design-pintag read the new
    pin's object store live. The gates ran on the committed tree, not a dirty one.
  • R8 — live or skip, never fake a live service. N/A, reasoned: no service boundary is
    crossed by a gitlink move plus ledger/gate edits. The three design-cite citations of
    repositories this tree does not pin skip visibly ("unchecked (not findings)"), which
    is this rule's shape rather than a fake pass.
  • R9 — binary equals source. HOW: the binary was rebuilt from the current charly pin
    with charly/scripts/bootstrap-charly.sh before the final gate run; ./charly/bin/charly version is 2026.315.2219; no new runtime OS dependency is introduced, so packaging:
    is unchanged.
  • R10 — fresh disposable proof. HOW: this is a pin/gitlink + design-ledger + gate-control
    change, and the gate the umbrella declares for a pin diff is its own pin gate,
    charly task verify — run on the committed head and pasted above (48 steps, 0 failed),
    with bash scripts/design-check.sh green (all seven controls). A pin move realizes no
    disposable: true target in this repo, so no bed is claimed; the plugin's own runtime was
    proven in its producer PR. Attribution tier: fully tested and validated.

Change classification

The diff moves one gitlink, lowers one design census, and repairs two pre-existing gate
reds (including the control gap that let them land). It changes no authored config, CLI,
schema or runtime surface in this repo; charly task verify reports the pin contract
and currency green, and the design controls pass. Breaking change + rollback: none —
the gitlink moves to a commit the org has already merged and tagged (v2026.316.0909), and
the census only lowers rows the deleted definitions used to carry; nothing here changes a
consumer's input. Rolling back is git revert of this one commit: the gitlink returns to
6ff0d06, the census to 382/19, and the two controls to their pre-existing red state; no
data or migration is involved.

Filed issues

None. Every finding was blocking for this change's gate and is fixed in this diff: the
TODO-local section references and the table cell, the TODO.md design-gate input gap, the
pin-verb-scope classification, and the census reconciliation. Nothing was separable, and a
finding raised on the PR is fixed or rebutted on its thread rather than filed.

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

…e D-PAT census

The pin moves from 6ff0d060c03fa88e557a282b9de9cbf4c87c4a3b to
2f435c7f277142d1e8332fb2cec10be5825b36d3, the CHANGELOG commit one above the tagged
squash ed8e09920791f4d067462f42e94bc1a379bb87fc (v2026.316.0909). plugin-pipeline#60
deleted the six restated #LLM* definitions, so the D-PAT census re-emits lower:
382 -> 357 known violations, dup 19 -> 7, with 0 added.

TODO.md carries the measured correction to item 2.1 and section 12.5: the census is the
whole set and 2.1 unblocks only its dup rows; 2.1's chain is 13 units, full table at
opencharly/spec#304. The file's TODO-local section references and the DONE 9.1 row's
extra table cell are repaired in the same diff so scripts/design-check.sh passes (it was
red on origin/main). scripts/check-pin-verb-scope.mjs classifies TODO.md as a non-claim
mention — its only mentions are the pin verb's currency mode — so `charly task verify`
passes; that gate was red on origin/main too.

The root control behind the design-check red is fixed as well: design-consistency reads
TODO.md, but the design gate's input class omitted it, so a TODO.md-only change skipped
the control that checks it. scripts/design-gate-inputs.sh now includes TODO.md, with
scripts/check-design-gate.mjs (whose fixtures now require a TODO.md change to run the
gate) and the pre-push skip notice updated.

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: 90dc0ca04564e57237af1a7b3e2cb203b534d245 (branch: feat/plugin-pipeline-v316-census)

Security screen: PASS — no secrets/egress, no instruction injection, no guardrail weakening. The hooks/pre-push edit is comment/echo-only and preserves behavior; design-gate-inputs.sh/check-design-gate.mjs strengthen the design gate; check-pin-verb-scope.mjs adds a reasoned non-claim classification (the gate's designed extension point), not a suppression. Authored by maintainer @aitrawog.
Checklist: All applicable rules PASS or NA. Census reconciliation is internally consistent (382→357 = 8 close + 5 union + 12 dup; per-category and total arithmetic all check out), the §12.x repair de-§'s only the sections DESIGN.md lacks (12.0/12.5/12.6) while leaving valid 12.3/12.4/§1, the git diff --stat matches the per-file diffs exactly, and both pre-existing reds are fixed in-tree (not filed away). Single atomic cutover; R10 gate named and pasted.
Placement: CORRECT — gate controls in scripts/, census in design/, work list at root, one submodule gitlink; no core/sdk/candy misplacement, no alias/core-import growth.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 12, 2026 10:44
@github-actions
github-actions Bot merged commit 11ca116 into main Nov 12, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 12, 2026
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