Skip to content

docs: record TODO 2.1 unit 1 (the pipeline kind) and keep the item open - #997

Merged
github-actions[bot] merged 1 commit into
mainfrom
docs/todo-2.1-unit1
Nov 12, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
docs/todo-2.1-unit1

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

TODO.md 2.1 asks for each kind body to move out of spec/schema into the plugin's CUE module.
Unit 1 of eleven — the pipeline kind — is complete, and the item stays open for the other ten;
opencharly/spec#304 is the tracker and its order is unchanged. This change records that unit in
TODO.md's ## Status and in the three places that quote the item's state (§2's row, §12.1's
measured anchor, §12.5's Wave 0 step).

What landed (seven PRs in four repos, then one umbrella pin wave; every merge is tagged):

# repo PR squash merge tag
1 sdk #501 e91e784332ae4e33b375891deae6b2d5cc84e565 v0.2026316.1524
1.5 charly #1124 b8de0f93d5bbf607c9ad24698eaa3097b20170bd v2026.316.1711
2 plugin-pipeline #63 75e5fc903afdbe6a32f382ea9eac4db6122aa457 v2026.316.1740
2.5 plugin-pipeline #64 fc2cec31b813b2c5a5d079167c24e488ce5eba3a v2026.316.1819
3 sdk #502 ca36ca576b39a9ad9cff2767d010725948ba69bf v0.2026316.1848
4 spec #305 984ca6aa1b9aa03b7a10c3ee03035764744550a2 v0.2026316.1928
4c charly #1126 6ee41d87acdb6b65d98367567814a24c42f9737b v2026.316.2018
pin umbrella #996 14bee67c50addad260fd1f9934fa4b6ff6f025a0 v2026.316.2127

Measured at the pins the wave set (spec 9301181, sdk 4aabb80, charly 36c2dc4a,
plugin-pipeline b32a25e, plugin-task 8faff1f):

  • KindValueDefs 11 → 10 and the #<Word>Value defs 12 → 11; spec/schema keeps 13 kind
    bodies
    and exactly one #Pipeline* def (#PipelineClassRoutes); plugin-pipeline's schema
    goes 7 → 20 #Pipeline* defs (the 13 moved in).
  • The 8 lowering goldens are byte-identical across the move (equal blob ids), and the 34-case
    (29 + 5) #PipelineValue closedness corpus moved with the defs instead of being deleted.
  • The D-PAT census relocated, it did not grow: #945 still reads 357 known violations with
    every per-rule count identical (close 54, absence 86, open 68, opaque 0, dup 7, union 142), and the
    four changed rows are four RE-HOMED keys (env?, charly?, approval?, entities?). It is the
    first pin-advance emission in the record to add rows; #959's census reconciliation added
    three dup rows earlier, so "the first emission ever" would be false.
  • 17 citations re-anchored (12 + 3 + 2), and currency reads
    0 of 409 pin(s) NOT current [409 cur].

The row also carries the two traps this chain proved, because every remaining kind must respect
them: the InputDef contract (a moved kind must declare InputDef: "#<Word>Value" on its kind
capability; plugin-task declares none today, so unit 2 must add InputDef: "#TaskValue" in the
same change) and the corpus-sweep trap (charly/kind_value_corpus_sweep_test.go selected bodies
with spec.KindValueDefs; the base-source arm judges 418 bodies and 0 pipeline while the taught
selection judges 431 and 13, both PASSING).

#950's dependency still holds (its census cannot retire a dup row until the schemas compose by
import), and 2.1 also gates 4.1, 2.3 and 2.16. Ten units remain: task (with the InputDef),
pod, local, kubernetes+kindcluster, kubevirt, firecracker (its plugin is not a pinned
umbrella submodule, so a pin comes first), vm+#LibvirtDomain, candy+#Box, android (no
owning plugin yet), deploy (#Deploy/#DeployValue, last).

Files

file change
TODO.md ## Status gains the unit-1 record and its evidence; §2's 2.1 row, §12.1's anchor and §12.5's Wave 0 step now say unit 1 is done and the item is open.

How tested

The change class is documentation. TODO.md is a declared DESIGN-gate input
(scripts/design-gate-inputs.sh lists it in DESIGN_GATE_ROOT_FILES), so the gate that owns this
change is the umbrella's pre-push DESIGN gate, and it ran — the "changes none of its inputs"
skip does not apply to a TODO.md change since the input set was widened. Run on the committed tree
(head cac7ef60509ea144045dc5fb1d10993228c1ed69):

$ 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
  note dulling.tsv:command:generate-podcast: candy/desk-plugin-consumer/charly.yml is in the repository plugin-generate-podcast, cited at a commit — this tree does not pin plugin-generate-podcast, so a commit id cannot drift and the control cannot read it
  note dulling.tsv:kind:group: candy/plugin-group/schema/group.cue is in the repository plugin-group, cited at a commit — this tree does not pin plugin-group, so a commit id cannot drift and the control cannot read it
  note dulling.tsv:verb:firecracker: candy/plugin-firecracker/schema/firecracker.cue is in the repository plugin-firecracker, cited at a commit — this tree does not pin plugin-firecracker, so a commit id cannot drift and the control cannot read it
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; 157 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: 1 recorded in design/pintag-baseline.tsv (tracked by opencharly/opencharly#793 — the gap the live instances were filed under (the mechanism is opencharly/.github#286))
design-pintag: tags read from each pin's own module store as GIT resolves it (/home/atrawog/Sync/Atrapub/lo/dsh/opencharly/.git/modules, a linked worktree keeps its own under worktrees/); a tag that was never fetched into a store is invisible to this reading (run --remote to cross-check the untagged pins)
design-pintag: every pin is at a tag, one CHANGELOG commit above one, or explained

design-check: all controls pass

The same gate includes the DESIGN.md↔DESIGN.cue consistency control, which reads TODO.md's §
references, D- references and table-row shapes; it passed on this tree.

The row's numbers, each with the command that produced it (all at the pinned refs):

$ git -C spec show origin/main:spec/vocab_gen.go | sed -n '/^var KindValueDefs = map\[string\]string{/,/^}/p' | grep -c '^\s*"'
10
$ git -C spec show 984ca6aa1b9aa03b7a10c3ee03035764744550a2^:spec/vocab_gen.go | sed -n '/^var KindValueDefs = map\[string\]string{/,/^}/p' | grep -c '^\s*"'
11
$ git -C spec grep -c -E '^#[A-Za-z]+Value:' origin/main -- 'schema/*.cue' | awk -F: '{s+=$NF} END{print s+0}'
11
$ git -C spec grep -c -E '^#[A-Za-z]+Value:' 984ca6aa1b9aa03b7a10c3ee03035764744550a2^ -- 'schema/*.cue' | awk -F: '{s+=$NF} END{print s+0}'
12
$ git -C spec grep -c -E '^#(Candy|Box|Deploy|Vm|Pod|Local|Kubernetes|Android|Kindcluster|KubeVirt|Firecracker|Task|LibvirtDomain):' origin/main -- 'schema/*.cue' | awk -F: '{s+=$NF} END{print s+0}'
13
$ git -C spec grep -c -E '^#Pipeline' origin/main -- schema/pipeline.cue | awk -F: '{print $NF}'
1
$ git -C plugin-pipeline grep -c -E '^#Pipeline' 75e5fc903afdbe6a32f382ea9eac4db6122aa457^ -- candy/plugin-pipeline/schema/pipeline.cue | awk -F: '{print $NF}'
7
$ git -C plugin-pipeline grep -c -E '^#Pipeline' 75e5fc903afdbe6a32f382ea9eac4db6122aa457 -- candy/plugin-pipeline/schema/pipeline.cue | awk -F: '{print $NF}'
20
$ for f in charly-step.charly.yml.golden charly-step.workflow.lobster.golden e2e.charly.yml.golden e2e.workflow.lobster.golden nested.charly.yml.golden nested.workflow.lobster.golden redo.charly.yml.golden redo.workflow.lobster.golden; do a=$(git -C sdk rev-parse ca36ca576b39a9ad9cff2767d010725948ba69bf^:workflowkit/testdata/$f); b=$(git -C plugin-pipeline rev-parse 75e5fc903afdbe6a32f382ea9eac4db6122aa457:candy/plugin-pipeline/workflowkit/testdata/$f); [ "$a" = "$b" ] && echo "same $a $f" || echo "DIFF $f"; done
same ee563ab8b3340a0f136a202f1848e9f5ab37390c charly-step.charly.yml.golden
same 3cf3e28caa015d5f7d17a0d107502aac08270a6a charly-step.workflow.lobster.golden
same f86d27b9081cfd1e7ed673bd0113dc4aaa88758c e2e.charly.yml.golden
same 007e60d22db921ce876eeb0c509497cef0087362 e2e.workflow.lobster.golden
same 3fe1c87bbd453630b46ecf388c65dc7c29a9e567 nested.charly.yml.golden
same 1c769ddcd3b463f4f685dcd95731a41d615f3ad2 nested.workflow.lobster.golden
same 034e9fefb72be42fa9f4dcc0435ded2583ffb07a redo.charly.yml.golden
same bcaee148a93bfda1099c230311ebb33588d6cc28 redo.workflow.lobster.golden

The census and its relocation (bash scripts/design-dpat.sh, and the pin wave's diff of the
baseline):

$ bash scripts/design-dpat.sh
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
$ git show 14bee67c --format='' --unified=0 -- design/dpat-baseline.tsv | grep '^-' | grep -c 'schema/pipeline.cue'
4
$ git show 14bee67c --format='' --unified=0 -- design/dpat-baseline.tsv | grep '^+' | grep -c 'schema/pipeline.cue'
4
$ for c in $(git log --format=%h -6 origin/main -- design/dpat-baseline.tsv); do printf '%s ' "$c"; git show --numstat --format='' "$c" -- design/dpat-baseline.tsv | awk '{print "added="$1, "deleted="$2}'; done
14bee67 added=4 deleted=4
11ca116 added=0 deleted=25
ee3f3ea added=0 deleted=1
bf40f09 added=0 deleted=137
5c30f26 added=0 deleted=6
86ac72f added=0 deleted=13

The 17 re-anchored citations (12 + 3 + 2):

$ git show 14bee67c^:design/dulling.tsv | sed -n '118p' | grep -o 'spec/schema/pipeline\.cue:#[A-Za-z]*' | wc -l
12
$ git show 14bee67c --format='' -- design/cite-baseline.tsv | grep '^-' | grep -c 'cli\.go'
3
$ git show 14bee67c^:design/dulling.tsv | sed -n '270p' | awk -F'\t' '{print $(NF-1)}' | grep -oE '(spec/schema/pipeline\.cue:89-97|sdk/workflowkit/graph_test\.go:63-78)' | wc -l
2

The corpus-sweep trap, on one corpus root (a fresh umbrella worktree), both arms PASSING:

$ CHARLY_CORPUS_ROOT=<fresh umbrella worktree> CHARLY_KIND_VALUE_GATE=composed go test ./charly -run TestKindValueCorpusSweep -v -count=1
gate=composed: judged 431 entity bodies (101 files unparsable, 0 bodies the base arm cannot judge)
  pipeline     13
--- PASS: TestKindValueCorpusSweep (46.51s)
$ CHARLY_CORPUS_ROOT=<fresh umbrella worktree> CHARLY_KIND_VALUE_GATE=base go test ./charly -run TestKindValueCorpusSweep -v -count=1
gate=base: judged 418 entity bodies (101 files unparsable, 13 bodies the base arm cannot judge)
--- PASS: TestKindValueCorpusSweep (48.82s)
$ grep -c '|pipeline|' /tmp/kv-composed.txt
13
$ grep -c '|pipeline|' /tmp/kv-base.txt
0

The guard that keeps the loss from being silent, and the currency reading:

$ cd charly && go test ./charly -run 'TestSweepLoopJudgesAPluginDeclaredGateDef|TestSweepSelectionResolvesAPluginDeclaredGateDef' -v -count=1
--- PASS: TestSweepSelectionResolvesAPluginDeclaredGateDef (0.02s)
--- PASS: TestSweepLoopJudgesAPluginDeclaredGateDef (0.00s)
$ cd <umbrella checkout at the pin wave> && ./charly/bin/charly task pins --param MODE=currency | tail -3
task pins: 1 step(s), 0 failed, 0 skipped
  [pass] run — run git-submodules in the selected mode
      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

The input-def contract, with a live-word control (the kind capability line is the claim; the
eight verb InputDefs are the control that the grep can find an InputDef when one exists):

$ git -C plugin-task grep -n 'Class: "kind"' origin/main -- candy/plugin-task/plugin.go
origin/main:candy/plugin-task/plugin.go:49:		{Class: "kind", Word: "task", Validates: true},
$ git -C plugin-task grep -c 'InputDef' origin/main -- candy/plugin-task/plugin.go
8
$ git -C plugin-pipeline grep -n 'Class: "kind"' origin/main -- candy/plugin-pipeline/plugin.go
origin/main:candy/plugin-pipeline/plugin.go:34:		{Class: "kind", Word: "pipeline", InputDef: "#PipelineValue"},

check-readme-measurements.mjs, the umbrella's measured-figure control, on this tree:

$ node scripts/check-readme-measurements.mjs --root .
check-readme-measurements: the umbrella's measured figures, read against each other
  baseline: 9.5–9.5 G, coarse
  light: 77–77 M, 14–15 s
  all: 1.9–2.2 G, 344–403 s
OK — the table, the prose and the samples agree.
$ git rev-parse HEAD
cac7ef60509ea144045dc5fb1d10993228c1ed69

Rulebook compliance

  • R0 — skills first. HOW: /charly-internals:git-workflow was loaded before the first git
    action (it is the dispatcher row for branch/commit/push/PR); the change is prose, so no code skill
    applies.
  • R1 — RCA every anomaly, then fix it or file it. HOW: two claims in the campaign's record
    measured FALSE and were corrected instead of repeated — (a) "every prior census emission read
    added=0" is false by git show --numstat (feat(design)!: give the DESIGN gate its caller, and reconcile its census #959 added 3 rows on 2026-11-09), so the row says
    "first PIN-ADVANCE emission"; (b) the brief's "exported walkScalarValues" is false —
    walkScalarValues stayed unexported and only PlanRefs/RewritePlanRefs were exported, and the
    row says so. No gate warns; both corrections are history, not this diff, so nothing is filed.
  • R2 — no duplication. HOW: one row of record per fact. The ## Status entry points at §2's
    2.1 row for the target and at spec#304 for the order instead of restating either; the re-sum
    is the table's own command, not a typed total.
  • R3 — no workarounds. N/A — no code path is touched, so there is no sleep, retry, suppression
    or hand-rolled substitute in the diff.
  • R4 — product before prose. N/A — the change asserts no product behavior and documents no new
    command; every command in the evidence is an existing test, hook or gate invocation.
  • R5 — delete legacy completely. N/A — nothing is renamed or deleted by this diff; the row
    records deletions that landed in spec, sdk and plugin-pipeline.
  • R6 — preserve user work and Git safety. HOW: a session worktree off fresh origin/main
    (18f55ee), git status read first and empty after the commit, no submodule edited (every
    measurement is git -C <subrepo> show/grep at origin/main), and no force-push, reset or hook
    bypass.
  • R7 — prove behavior, not compilation. HOW: the diff changes no behavior; its proof obligation
    is that every number is reproducible, so each carries its command in the body and in the row, and
    the two-arm sweep (431/13 vs 418/0, both PASSING) and its guard test are pasted above.
  • R8 — live or skip, never fake a live service. N/A — no service boundary is touched.
  • R9 — binary equals source. N/A — no runtime change; the one binary used (the umbrella's
    charly task pins) produced a measurement, not the change, and no R9 claim is made.
  • R10 — fresh disposable proof. HOW: the change class is documentation. The gate that owns it is
    the umbrella's pre-push DESIGN gate, selected because TODO.md is one of its declared inputs; its
    run on the committed tree is pasted under ## How tested. No R10 bed is claimed, and the
    attribution tier is documentation reviewed because prose-only work cannot claim a runtime tier.

Change classification

  • Change class: documentation — TODO.md only, no code, pin, gitlink or design/*.tsv.
  • Breaking change + rollback: none — the diff is one prose file; rollback is reverting this one
    commit, and nothing outside TODO.md reads its state.
  • Scope: TODO.md.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)

TODO.md 2.1 asks for EACH kind body to move into its plugin's CUE module; the
pipeline kind is one of eleven, and this row records it as unit 1 of 11 — DONE —
while the item stays open for the other ten (opencharly/spec#304).

What the row records, measured at the pins the umbrella pin wave #996 set:

  sdk#501             e91e784332ae4e33b375891deae6b2d5cc84e565  v0.2026316.1524
  charly#1124         b8de0f93d5bbf607c9ad24698eaa3097b20170bd  v2026.316.1711
  plugin-pipeline#63  75e5fc903afdbe6a32f382ea9eac4db6122aa457  v2026.316.1740
  plugin-pipeline#64  fc2cec31b813b2c5a5d079167c24e488ce5eba3a  v2026.316.1819
  sdk#502             ca36ca576b39a9ad9cff2767d010725948ba69bf  v0.2026316.1848
  spec#305            984ca6aa1b9aa03b7a10c3ee03035764744550a2  v0.2026316.1928
  charly#1126         6ee41d87acdb6b65d98367567814a24c42f9737b  v2026.316.2018
  umbrella#996        14bee67  v2026.316.2127

Measured effects: KindValueDefs 11 -> 10, #<Word>Value defs 12 -> 11, spec keeps
13 kind bodies and one #Pipeline* def (#PipelineClassRoutes); plugin-pipeline's
schema goes 7 -> 20 #Pipeline* defs; 8/8 lowering goldens byte-identical (equal
blob ids); 34 cases (29 + 5) moved with the defs. The D-PAT census re-emits at
357 known violations with every per-rule count unchanged; its four changed rows
are four RE-HOMED keys, and it is the first PIN-ADVANCE emission in the record to
add rows (#959's census reconciliation added 3 dup rows earlier, so "first ever"
would be false). 17 citations re-anchored: 12 + 3 + 2.

The row carries the two traps the chain proved: the InputDef contract
(plugin-task declares none, so unit 2 must add InputDef: "#TaskValue" in the same
change) and the corpus-sweep trap (base arm 418 / 0 pipeline vs the composed arm
431 / 13 on ONE tree, both PASSING, guarded by
TestSweepLoopJudgesAPluginDeclaredGateDef). It re-sums the Status table from its
own rows (unchanged: items 107 done 10 open 82 moved 15) and names the remaining
ten units in spec#304's order, with firecracker still needing a pin first.

No code, pin, gitlink or design/*.tsv changes; TODO.md only.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: cac7ef60509ea144045dc5fb1d10993228c1ed69 (branch: docs/todo-2.1-unit1)

Security screen: PASS — docs-only (TODO.md), no code/secrets/network/guardrail changes; no embedded directives; scope matches the description.
Checklist: All applicable rules PASS or NA (A1–A3 docs body + Assisted-by footer present; R0/R1/R2/R6/R7/R10 answered with pasted evidence; R3/R4/R5/R8/R9 N/A for a prose-only change; PIL/ADE/SDD/DISP/QUAL/COORD/HC NA — no candy, schema, runtime, or coordination surface touched; placement: CORRECT, nothing placed or moved).
Evidence cross-checks internally: D-PAT 54+86+68+0+7+142 = 357; composed 431 = 1+104+24+19+3+98+13+27+40+102; 431+101 = 532, 418+101 = 519; citations 12+3+2 = 17; pintag 379+22+0+2+5+1 = 409; value-defs 12→11, #Pipeline* 7→20; design gate ends all controls pass at zero warnings. Empty comment thread — nothing to disposition.

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 22:30
@github-actions
github-actions Bot merged commit 099d460 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