Skip to content

chore(pins): advance spec and plugin-candy to the in-process generator - #956

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/design-pin5
Nov 9, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/design-pin5

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Advances the umbrella's pins to the commits the two producers' main branches serve after the in-process params generator landed: spec #299 replaces the CUE-shelling generation leg with an in-process Generate(schemaDir, pkg), and plugin-candy #13 is that API's one consumer. Every number below was taken from a session worktree branched off fresh origin/main (24bec5ebdb), never from the root checkout, which sits 196 commits behind.

file the gitlink it now records
spec fa0080737a333ff509f05dc62101a49204bb6042 (was 20f14cf5e383ed284b3d579fb47f7f09b9209eb9; equals the remote's refs/heads/main)
plugin-candy b7ee0c98af7ac5cd428e3ffc17ecc1fe902f689c (was 34ea56bfdf59ab5375adf1d3fe71f987b360ecb9; equals the remote's refs/heads/main)

sdk has no gitlink in this diff, and that is a measurement rather than an omission: the umbrella already records 693e01b66b67cc669c4f1eaaef52e91db3e7b5cf, which is exactly what refs/heads/main serves there. What the chain DID move for sdk is the module version its consumer requires — the lockstep constraint below. The branch carries a second, empty commit (611d1a8 is the one that moves the two gitlinks; the head is a re-freeze whose subject names the two pins this wave actually advances, per round 1's note).

Each pin sits on the branch tip, one CHANGELOG/ commit above the tagged squash

The tag names the merged squash, not the tip a pin resolves to, so the accurate description of each new gitlink is "the producer's branch tip, exactly one CHANGELOG/ commit above its tag":

git ls-remote --tags … | grep -F <served-sha> finds no tag at either pinned tip — the measurement is pasted below, and it is posted on #793, the open record that the currency report cannot itself say whether a tag points at the commit it names.

The lockstep: a consumer moves spec and sdk together

Measured in plugin-candy#13's own go.mod hunk, both requires moved in the one commit:

$ git -C plugin-candy show e46e9796ca51a75532d16a4fc1c49269b57f39f8 -- candy/plugin-candy/go.mod | grep -E '^[-+].*opencharly/(spec|sdk)'
-	github.com/opencharly/sdk v0.2026280.2246
+	github.com/opencharly/sdk v0.2026309.2334
-	github.com/opencharly/spec v0.2026281.933
+	github.com/opencharly/spec v0.2026313.1428

The reason is a real coupling, not hygiene: the older SDK's vmshared/spec_aliases.go re-exports spec types the newer spec dropped, and the SDK helper package that imports those aliases fails to build — so a spec-only bump in a consumer does not compile. Any future consumer of spec's generation surface moves its spec and sdk requires in the same commit.

The no-checkout trap: what the currency report gets right, and the one field it gets wrong

A fresh session worktree carries a derived working set only, and a pin with no checkout cannot have its ancestry judged. The first reading of this wave printed, for both advancing pins, differs (no checkout to judge ancestry); the second, with the two checkouts materialized, printed behind and named both legs. The label was right in the first reading, the recorded and served commits were right, and the 2 of 409 count was right — an unjudged pin is reported, never folded into a verdict.

What the first reading got wrong is its last field. With nothing but unjudged rows it printed producer-first legs: none reachable from this repo, and the pin contract defines that phrase as "this repo HAS stale pins, but every one of them is blocked by a producer it cannot reach" — while instructing the reader to "read the legs as the work list, not as decoration". Nothing was blocked in this tree: both remotes were read successfully and both advances were available the moment their checkouts existed. A reader who takes the legs as the work list concludes "waiting on another repo" and skips the wave.

That is a defect in the pin verb's report, not in this repo's pins, and it is filed rather than fixed here (R1's file-it path): opencharly/plugin-task#64 carries the mechanism, both readings, the blast radius and the fix direction. This body states it instead of dismissing it, which is what round 1 asked for.

How tested

The gate this diff requires is the umbrella's own pin gate, run on the committed tree that is pushed (Head cd0aab0f57240ca506897e58ce246d7b69d69593): pin consistency, the checkout audit over every materialized path, the remote branch audit, and the currency question.

$ ./charly/bin/charly task pins --param MODE=currency # (1) before the two checkouts existed
currency: 2 of 409 pin(s) NOT current [407 cur, 2 differs (no checkout to judge ancestry)]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s);
 NOT CURRENT: plugin-candy: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 34ea56bfdf; served b7ee0c98af (br
anch); spec: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 20f14cf5e3; served fa0080737a (branch); producer
-first legs: none reachable from this repo

$ CHARLY_INIT_PATHS=plugin-candy,spec ./charly/bin/charly task init
$ ./charly/bin/charly task pins --param MODE=currency # (2) after materialization — ancestry is the verb's answer
currency: 2 of 409 pin(s) NOT current [2 behind, 407 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); NOT CURRENT: plugin-candy: behin
d; intent upstream:main (implicit: .gitmodules branch=); recorded 34ea56bfdf; served b7ee0c98af (branch); spec: behind; intent upstream:main (implicit: .gitmodules b
ranch=); recorded 20f14cf5e3; served fa0080737a (branch); producer-first legs: plugin-candy (34ea56bfdf -> b7ee0c98af) -> spec (20f14cf5e3 -> fa0080737a)

$ ./charly/bin/charly task sync
pinned 6 pin_map entr(y|ies) (distro-arch, distro-cachyos, distro-debian, distro-fedora, distro-omarchy, distro-ubuntu; 0 moved) after rolling 9 leaf submodule(s) to
 their default-branch HEAD (2 moved) and advancing 394 leaf pin(s) in the index (0 moved); 2 pin(s) moved

$ git rev-parse HEAD
cd0aab0f57240ca506897e58ce246d7b69d69593

$ git ls-files -s -- ':(literal)spec' ':(literal)sdk' ':(literal)plugin-candy'
160000 b7ee0c98af7ac5cd428e3ffc17ecc1fe902f689c 0	plugin-candy
160000 693e01b66b67cc669c4f1eaaef52e91db3e7b5cf 0	sdk
160000 fa0080737a333ff509f05dc62101a49204bb6042 0	spec

$ for r in spec sdk plugin-candy; do git ls-remote https://github.com/opencharly/$r refs/heads/main; done
fa0080737a333ff509f05dc62101a49204bb6042	refs/heads/main
693e01b66b67cc669c4f1eaaef52e91db3e7b5cf	refs/heads/main
b7ee0c98af7ac5cd428e3ffc17ecc1fe902f689c	refs/heads/main

$ git ls-remote --tags https://github.com/opencharly/spec | grep -F fa0080737a333ff509f05dc62101a49204bb6042
(no output; grep exited 1 — no tag points at the pinned tip)

$ git ls-remote --tags https://github.com/opencharly/plugin-candy | grep -F b7ee0c98af7ac5cd428e3ffc17ecc1fe902f689c
(no output; grep exited 1 — no tag points at the pinned tip)

$ git ls-remote --tags https://github.com/opencharly/spec | grep -E 'v0\.2026313\.1428'
9428017f5b182ccfd3f87efd92a3456b7158a797	refs/tags/v0.2026313.1428

$ git ls-remote --tags https://github.com/opencharly/plugin-candy | grep -E '313\.1445'
e46e9796ca51a75532d16a4fc1c49269b57f39f8	refs/tags/candy/plugin-candy/v0.2026313.1445
e46e9796ca51a75532d16a4fc1c49269b57f39f8	refs/tags/v2026.313.1445

$ git -C spec log --oneline -2
fa00807 docs: add CHANGELOG 0.2026313.1428 for PR #299
9428017 feat(schemaparams): generate params in-process over the offline compose (#299)

$ git -C plugin-candy log --oneline -2
b7ee0c9 docs: add CHANGELOG 2026.313.1445 for PR #13
e46e979 fix(candy): call the in-process schemaparams.Generate; cue leaves the generation leg (#13)

The full gate run on this head, three bounded readings of its own log (the second line of the pin-consistency step carries a 394-name inventory of uninitialized paths, so that line is read at 200 columns):

$ ./charly/bin/charly task verify > /tmp/pin5-verify2.log 2>&1; echo "rc=$?"
rc=0

$ sed -n '4,12p' /tmp/pin5-verify2.log | cut -c1-200
plugin github.com/opencharly/plugin-example-kind/candy/plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:099881a3230929
charly: fetching git metadata for 5 repo(s) (first run — may take a moment)...
charly: git metadata cached (5 repo(s)).
charly: fetching git metadata for 25 repo(s) (first run — may take a moment)...
charly: git metadata cached (25 repo(s)).
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached (1 repo(s)).
charly: fetching git metadata for 14 repo(s) (first run — may take a moment)...
charly: git metadata cached (14 repo(s)).

$ grep -cE '^  \[pass\]' /tmp/pin5-verify2.log
48

$ tail -2 /tmp/pin5-verify2.log | cut -c1-150
  [pass] check — the governance-reconcile gate discriminates — a reconcile that fails turns the gate RED, a passing one turns it GREEN, a checkout tha
      exit=0

task verify: 48 step(s), 0 failed, 0 skipped — every step reports [pass], the run is free of warnings, and its currency step reads:

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 a
t the ref its intent names

Rulebook compliance

  • R0 — /charly-internals:git-workflow (the pinning row) and /charly-internals:strict-policy were loaded before the first action.
  • R1 — round 1's validator BLOCK was RCA'd before anything was changed, and every finding is dispositioned: the blocking one is filed as currency: the producer-first legs field prints 'none reachable from this repo' for UNJUDGED pins, and the contract defines that phrase as 'blocked by a producer' plugin-task#64 and stated plainly in this body instead of being dismissed (the prose now separates what the report gets right from the one field it gets wrong), and the note about the subject and the title is fixed on both surfaces. The RCA naming the missed control is in this PR's round-2 comment. No warning in the gate; the two differs (no checkout …) rows are the documented unjudged state, and their disposition is the filed issue, not a reclassification.
  • R2 — the advance has one writer, the pin verb. Nothing was written by hand, and no second implementation of the advance exists in this diff.
  • R3 — no workaround was used. The 196-commits-behind root checkout reports different gitlinks, so no number here came from it.
  • R4 — no documented command changes in this diff.
  • R5 — nothing legacy is introduced here; the superseded CUE-shelling generation leg was deleted in spec's own repo, not routed around here. The one false claim round 1 found — a subject naming sdk when no sdk gitlink moves — is swept from both surfaces it lived on (the branch subject and the PR title).
  • R6 — git status --short was empty before each commit and empty after it; the branch is off fresh origin/main; no force-push, no direct push to main, no amend of a pushed commit, and no hand-edit of a gitlink.
  • R7 / R8 — this diff crosses no runtime path and no live service; the producers' own gates ran in their own repos.
  • R9 — the binary is the worktree-local build ./charly/bin/charly 2026.313.1024.
  • R10 — the pin gate was run on the committed tree that is pushed, and its result is pasted above.
  • Part II chore: harness parity with charly — rulebook, pi/claude/opencode/reasonix config, skills #1 — no file inside a submodule was edited; only the umbrella's two gitlinks changed.
  • Part II ci: adopt org-wide validation chain — pr-validator + tag-on-merge, drop custom auto-merge #2 — the work happened in a session worktree branched off fresh origin/main (24bec5ebdb), and every number was re-taken there.
  • Part II fix: escape backticks in umbrella-gates.ts template literal #3 — the pins were advanced only through the verb (charly task sync, which stages the gitlinks itself), never by a hand-pin.

Change classification

Pin advance: two gitlinks move to commits the producers already merged on their main, plus one empty re-freeze commit that moves the head and not the tree, and one round-1 body correction that changes no file. The owning gate is this repo's pin gate (./charly/bin/charly task verify), and it passed on the pushed head.

Breaking change + rollback: Nothing breaks inside this repo — the two pointers move to commits the org has already merged, and the umbrella holds no code of its own that reads them. What CAN break is a consumer that builds plugin-candy against an older spec: #299 replaces the generation surface with Generate(schemaDir, pkg), so an older call shape no longer compiles, and the sdk require must move with it (the lockstep above). The way back is two gitlinks and nothing else: restore spec to 20f14cf5e383ed284b3d579fb47f7f09b9209eb9 and plugin-candy to 34ea56bfdf59ab5375adf1d3fe71f987b360ecb9, both still served by their remotes, through a new PR — no history rewrite, no force-push, no hand-pin.

Filed issues

Agent: charly · dsh-design-ledger/pin5 · session session-f8a0eb3b-2677-47a9-8139-49b1ba39440c
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

…erator

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 611d1a8c25244cf92e615e03b3d586ac14906428 (branch: feat/design-pin5)

Change class: pin advance — two submodule gitlinks move (spec, plugin-candy); no code, config, or prose in this repo. sdk is correctly unchanged and the diff/body/gitlinks are internally consistent (both pinned SHAs match the body table and git ls-files -s; sdk at 693e01b6… = remote refs/heads/main). The pasted task verify output is internally coherent (48 steps / 0 failed / 0 skipped; 15 checkouts + 394 uninitialized = 409; currency 0 of 409). Security screen: PASS.

Blocks

  1. R1 / CONC(b) — a surfaced, separable finding is dismissed instead of filed. The body's "The no-checkout trap" section reports a real, recurring correctness defect in the pin-currency diagnostic: the no-checkout reading ends its producer-first list with none reachable from this repo "while two advances were available," and "the same mechanism that let the previous wave read one behind where the truth was three." That is a non-blocking, separable defect in charly task pins --param MODE=currency (misleading / under-reporting output) surfaced while this cutover is open. It is not fixed in-tree (no verb/code change here) and not filed: ## Filed issues asserts "no R1 finding is separable from it," but only the tag-vs-served limitation is attributed to the currency report names each pin's served commit and never says whether a TAG points at it — so a body can call a pin 'merged and tagged' with no gate disagreeing #793 — this no-checkout under-report is a different, unfiled item. Per R1 ("fix it or file it") and CONC(b) (dismissing a separable non-blocking finding with no filed issue is itself a finding), file a real issue for the misleading no-checkout output and list it under ## Filed issues, or remove the "actually misleads" / "one behind where the truth was three" claim and justify that the output is correct.

Non-blocking note: the PR title and the sole commit message say "advance spec, sdk and plugin-candy," but no sdk gitlink changes. The body reconciles this, but the title/commit subject are inaccurate as written (R5 sweep of a false claim); tighten them to the two files actually advanced.

Verdict: BLOCK


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

View action run

… it moves

The validator's note on round 1: the subject said 'advance spec, sdk and plugin-candy' while no sdk gitlink moves (sdk already records what refs/heads/main serves it). The landed record is the PR title, now 'advance spec and plugin-candy'; this commit moves the head so the branch's own subject agrees with its diff.

Round 1's blocking finding — the misleading no-checkout report, surfaced in the body but not filed — is filed as opencharly/plugin-task#64 and listed under '## Filed issues'.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@aitrawog aitrawog changed the title chore(pins): advance spec, sdk and plugin-candy to the in-process generator chore(pins): advance spec and plugin-candy to the in-process generator Nov 9, 2026
@aitrawog

aitrawog commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

STATUS — round 2: both round-1 findings dispositioned, and the RCA on the missed control.

Agent: charly · dsh-design-ledger/pin5 · session session-f8a0eb3b-2677-47a9-8139-49b1ba39440c

Head cd0aab0f57240ca506897e58ce246d7b69d69593 (round 1 was 611d1a8c25244cf92e615e03b3d586ac14906428). The tree did not move: the two gitlinks are the same two, and the new commit is a re-freeze. The PR title and the head subject are now chore(pins): advance spec and plugin-candy to the in-process generator, and the body is re-keyed to this head.

Finding 1 (blocking) — a surfaced, separable defect dismissed instead of filed: FIXED by filing, and the prose narrowed.
opencharly/plugin-task#64 now carries it: the producer-first legs: field prints none reachable from this repo when the only not-current pins are unjudged (differs (no checkout to judge ancestry)), while the pin contract defines that phrase as "this repo HAS stale pins, but every one of them is blocked by a producer it cannot reach" and tells the reader to read the legs as the work list. The issue carries both readings of the same two pins, the mechanism, the blast radius and the fix direction, and it is listed under ## Filed issues.

The body's account is also narrower and now says what the report gets RIGHT: the differs label is honest, the recorded and served commits are right, and the 2 of 409 count is right. What round 1 read as a claim that the diagnostic under-reports the count was my imprecision — this wave's count did not under-report (2 both readings). The single field that misleads is the legs line, and that is what is filed.

Finding 2 (non-blocking note) — the subject named sdk, which no gitlink moves: FIXED on both surfaces. The landed record is the PR title, and it now names the two pins the diff actually moves; a re-freeze commit moves the branch's own subject to the same words. Measured: sdk records 693e01b66b67cc669c4f1eaaef52e91db3e7b5cf, which is exactly what refs/heads/main serves it, so no sdk gitlink can move. What the chain moved for sdk is the module version inside plugin-candy's go.mod (v0.2026280.2246 → v0.2026309.2334, together with spec's v0.2026281.933 → v0.2026313.1428) — that lockstep is stated in the body.

RCA — fresh, before any remediation

Mechanism. I wrote a paragraph reporting a misleading output of another repo's verb, and in the same body asserted no anomaly and no warning in the rulebook section. Two statements about the same surface cannot both be true. I then resolved the contradiction in the wrong direction: I filed the paragraph under "the documented no-checkout report" because the class label it quoted is documented, which left the actual defect — the wording of the legs field, which contradicts the contract's own gloss — unexamined and unfiled. The defect was in the paragraph's second clause ("the part that actually misleads"), and I read only its first.

Missed control — it exists, is written, and I did not run it. references/pre-validator-self-audit.md in the pinned git-workflow skill, six-classes item 4 ("Surfaced-failure parking (R1, CONC): a failing check pasted with … filed as a real issue under ## Filed issues") and preflight step 5 ("NEVER surface a failure you cannot own. Either fix it … and list the real <repo>#<n> under ## Filed issues (R1)"). The same reference's step 8 is "The PR title must match the diff" — round 1's non-blocking note verbatim. My pre-push pass ran the mechanical half (pr_body_lint, check-pr-body-diff) and the paste-fidelity steps, and skipped classes 4 and 8. Neither gate could have caught it: both judge the body's FORM and its FIDELITY TO THE DIFF, and neither asks whether a prose paragraph that reports a defect in another repo's product is an R1 finding.

Blast radius. One review round (a full validator run) and one head move. No tree defect: the two gitlinks in the diff were correct the whole time, and the gate was green on both heads. What was wrong was the record's shape — a finding reported and then disowned in the same body.

Root fix. The control was never missing; it was unread. Applied this round and demonstrated: every sentence of the body that reports a defect in another repo's product is now an R1 finding with a filed issue and a ## Filed issues entry, and the title and the head subject were checked against git diff --name-only before the push. I am not filing a second issue for "my self-audit was skipped": filing a gap that a written control already covers would add noise, not a control. If the next round shows a defect class the written self-audit genuinely does not name, that is a filing; this round's two findings map exactly onto items 4 and 8.

Agent: charly · dsh-design-ledger/pin5 · session session-f8a0eb3b-2677-47a9-8139-49b1ba39440c
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: cd0aab0f57240ca506897e58ce246d7b69d69593 (branch: feat/design-pin5)

Security screen: PASS — diff is two submodule gitlinks only; no code, secrets, dependencies, or guardrail changes.

Checklist: All applicable rules PASS or NA (pin-advance class; code/runtime/hook/cross-repo rules NA). Body accounts for both changed gitlinks, both match git ls-files -s and remote refs/heads/main; sdk correctly unchanged; pasted task verify output is internally coherent (48 pass / 0 fail / 0 skip; 15 + 394 = 409 pins; currency 0 of 409). ## Filed issues carries opencharly/plugin-task#64; footer order (Agent then Assisted-by) correct.

Comments considered:

  • @github-actions[bot] #6744452246 (round-1 BLOCK) — stale-superseded: finding 1 (R1/CONC(b) unfiled no-checkout defect) resolved by filing opencharly/plugin-task#64 under ## Filed issues and narrowing the prose; finding 2 (title/subject naming sdk) resolved — PR title now names only the two advanced pins and the head no longer carries the sdk falsehood.
  • @aitrawog #6744928914 (round-2 STATUS) — verified-non-blocking: RCA names the missed control and both findings are dispositioned; its minor overstatement that the head subject is the chore(pins) line (actual head subject is the re-freeze line) does not reintroduce the sdk claim and does not alter the landing record.

Verdict: PASS


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

View action run

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