Repository navigation
Conversation
…ct rows) The sync-PR body generator truncated the evidence: scripts/sync-pr-body.sh bounded the path list (SYNC_PATH_LIST_MAX=200 -> 'first 200 of 402') and scripts/sync-pin-evidence.sh bounded the per-pin rows (SYNC_EVIDENCE_MAX_BYTES=40000 -> '350 of 402 rows shown'), pointing the validator at the sync-evidence run artifact. A pointer is a promise, not pasted output, so charly/pr-validator BLOCKed the live sync PR #297. - Remove the redundant 'Every changed path, named' list and SYNC_PATH_LIST_MAX entirely; the per-pin evidence table already names every moved path AND carries its proof. - Compact each per-pin row to ' <path> <staged12> <remote12> <flag>' with a one-line legend, so the COMPLETE table fits the body with headroom at fleet scale. - SYNC_EVIDENCE_MAX_BYTES keeps a single default (50000) in scripts/sync-pin-evidence.sh as a fallback guard; sync-pr-body.sh no longer sets it. The stale 40000 comment is swept. - The --self-test asserts the COMPLETE table IN the body at a 424-pin fleet-scale fixture (row count == fleet, no elision line). Measured (424 real umbrella paths, real producer output): body = 32850 B, table = 21137 B, 424 rows, 0 elisions. Synthetic --self-test fixture: 39509 B. Assisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)
Review — PASSHead SHA: Security screen: PASS — no secrets/egress/obfuscation, no new deps or pins, no scope mismatch (diff matches the body exactly), and the raised Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
RESOLVED RESOLVED — superseded by the merged #304. This successor was opened to carry #304's reviewed-good content forward because #304 was at 4/5 BLOCKs. Before this PR could validate, a sibling session ( So the content this branch reproduces is already in Agent: Agent: |
Pull request was closed
… spec; re-home the pod census row and citation (#1002) The five pins 2.1 unit 3 (pod) landed were behind, and the two design ledgers described the pre-move tree. This advances exactly the five pins the currency question named and reconciles the census, the citation, the rows the relocation touched, and one version-sentinel prose surface: - charly 9a988fe7 -> 85149793 (v2026.317.0814, PR #1130) - plugin-check b56b37e3 -> 7e9dbd2d (v2026.317.0744, PR #144) - plugin-substrate 1e97151e -> 25586c76 (v2026.317.0614, PR #32) - sdk 24279099 -> fe1bd998 (v0.2026317.712, PR #504) - spec 64f85a36 -> 9cfcc117 (v0.2026317.703, PR #307) `charly task sync` moved exactly those five and nothing else (it reports 5 pin(s) moved), and `charly task pins --param MODE=currency` then reads 0 of 409 pin(s) NOT current. spec#307 deleted #Pod/#PodValue and plugin-substrate's CUE module gained them, so the census row for `#PodValue: (#Pod | schema.#DeployValue)` is RELOCATED, not lost: it re-homes from spec/schema/node.cue to plugin-substrate/candy/plugin-substrate/schema/pod.cue with the same rule and the same count. The total is unchanged (357 known violations, every per-rule count identical), so this is a relocation, not new debt. The one line citation that showed the kind body (spec/schema/pod.cue:10-19) is re-anchored onto the plugin copy as the NAME citations #Pod and #PodValue — the full definition set that moved — and its baseline row is lowered with it, so `design/cite-baseline.tsv` keeps only citations that hold. TODO.md carried three findings on `main` before this change, in two gate legs, and it is the only prose this wave touches. `charly task verify` was red on the literal-pathspec leg (`scripts/check-guidance-pathspec.mjs`, #751): the unit-2 lesson's sweep names its path argument as `git ls-tree origin/main -- "$p"`, which git may REINTERPRET, instead of `":(literal)$p"`. Fixed to the literal form; the paste below it is unchanged, proven by running both forms over every `plugin-*` path at origin/main (0 differ, and 0 of them carry a glob metacharacter). Leg 13 of the pre-commit gate (`scripts/check-cited-plugin-task-version.mjs`) pairs every line naming `plugin-task` with every version literal on that line, so unit 2's `sdk` row — which names the plugin in its prose and the sdk module tag in its version column — and its lesson sentence, which quoted the retired literal, both read as live plugin-task version claims. Measured on the pristine `origin/main` worktree: the same two findings, on either charly pin. Both lines now state what they mean, and the retired literal stays once in `CHANGELOG/2026.317.0537.md`, where history is immutable. The control's class — a predicate keyed to a module MENTION rather than the citation FORM — is filed as #1001. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated) Co-authored-by: aitrawog <[email protected]>
…gories and the cumulative invariant (#1003) Unit 3 (pod) landed as FIVE legs, not one as the tracker said: plugin-substrate#32, spec#307, sdk#504, plugin-check#144 and charly#1130, then the umbrella pin wave #1002. The block records the measured effects at the pins that wave set (spec.KindValueDefs 9 -> 8, #<Word>Value 10 -> 9, 11 kind bodies left over this file's 14-name list), the one-row census relocation (node.cue -> the plugin's pod.cue, differing only by the schema qualifier), the one re-anchored citation (a line citation -> two NAME citations on the plugin's copy), the THIRD keeper category (#PodSidecar stays because the contract's own #ResolvedPod cites it, after unit 1's spec-generator keeper and unit 2's sibling-plugin keeper), the reason #307's pushed body says 13 -> 12 over a 15-name list (#Image is #CandyValue's image arm, not a kind body), the corrected CUMULATIVE invariant (309 = 250 pod + 47 task + 12 pipeline, 2004 - 309 = 1695), the fact that TestKindValueDefs_ComposedEqualsBase needs no edit by construction, and the two control defects filed as #1001 and #751. 2.1 stays open: eight kinds remain, in opencharly/spec#304's measured order. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed) Co-authored-by: aitrawog <[email protected]>
Summary
Clean successor to #304 (which reached 4/5 BLOCKs from 5 commits by multiple
sessions and must not be pushed again). Reproduced from a FRESH branch off
current
origin/main, so the head is ONE commit by ONE session, and the bodybelow is keyed to it.
Fix the sync-PR body generator so it emits the COMPLETE per-pin evidence
in the body —
charly/pr-validatorrequires it and BLOCKed the live sync PRopencharly/opencharly#297on "a pointer to an external Actions artifact is apromise, not pasted output".
The body was truncated by two bounds and pointed at the
sync-evidenceartifact:scripts/sync-pr-body.sh:SYNC_PATH_LIST_MAX=200→ "first 200 of 402".scripts/sync-pin-evidence.sh:SYNC_EVIDENCE_MAX_BYTES=40000→ "350 of 402 rows shown".The change (two files, net +137/-82;
git diff --stat origin/main...HEAD):SYNC_PATH_LIST_MAX. The per-pin evidence table names every moved pathand carries its proof (
staged-gitlinkvs remote default-branchHEAD),so a second list is redundant bytes. No
SYNC_PATH_LIST_MAXline remains(R5 — removed, not raised).
<path> <staged12> <remote12> <flag>.The kind (
distro-*policy-B vs default-branch) is derivable from the pathprefix and stated once in a one-line legend;
flagis=(equal) or!(mismatch — a real finding, never silently elided).SYNC_EVIDENCE_MAX_BYTEShas a single default, inscripts/sync-pin-evidence.sh, raised 40000 → 50000.scripts/sync-pr-body.shdoes not set the variable, so that single default reaches the renderer — it
is a fallback guard only and does not fire at fleet scale. The stale
40000comment insync-pr-body.shis rewritten (R5 sweep).--self-testasserts the COMPLETE table in the BODY at a 424-pinfleet-scale fixture — row count
==fleet count and no elision line — notonly in the artifact.
Measured body size — the comment equals the measurement
Two measurements, pasted as printed. The bounds comment at
scripts/sync-pin-evidence.sh:29now cites these exact values (21137 Btable /32850 Bbody at 424 real paths;39509 Bfor the synthetic--self-testfixture) — no
≈45 KB-style rounding.(a) REAL-FLEET, 424 real umbrella submodule paths, real producer output, every
staged gitlink equal to a local remote's HEAD (the real sync's all-equal worst
case; no network —
git ls-remote <local-path> HEAD):(b) The script's own fleet-scale
--self-test(424-pin synthetic fixture,including the umbrella's longest real path
layer-check-cross-local-driver-layer):Both are well under the
GITHUB_BODY_MAX=65536hard guard, which is unchanged andstill ERRORS on overflow.
How tested
Every command below was executed on this head —
76f3085fe845, the singlecommit of this PR (
git rev-parse HEAD), the SHA being pushed — from theworktree root.
The
sync-pr-body.sh --self-testarm proves the fix where it matters: it rendersa self-contained 424-path fixture whose every staged gitlink equals a local repo's
HEAD, so the rows render exactly as the real fleet's, then asserts the body
carries 424 compact rows, that a middle path and the longest path are both
named in the body, and that the body carries no
rows shownelision line.The old arm asserted only the artifact.
The full
charly task verifygate — root-caused and routed to its named batchThe full umbrella gate could NOT be run in this checkout. That is a surfaced
failure, so it is root-caused here and routed to its named owning batch, not
parked:
Root cause: commit
803d411("chore(schema): drop the retired configversion: stamp (org-wide cutover)") removed the
version: 2026.261.1747firstline from the umbrella root
charly.yml, while the charly binary built from thepinned
charly/submodule (adf1b970, v2026.271.1115) still requires thatstamp;
charly migratecannot repair it becauseschema ""predates thesupported floor. The umbrella task surface (
charly task sync/verify/…) istherefore unusable on a fresh checkout.
Named batch: #306 — "umbrella charly.yml cannot
load: version stamp dropped by 803d411 but the loader requires it" (filed by the
sync-evidence-full-bodysession with the same RCA, owner: thecharlyschema-versioning surface). This diff touches only the two
scripts/sync-*.shfiles, so the tier is
analysed on a live system, notfully tested and validated.Rulebook compliance
/charly-internals:git-workflowloaded before any edit (the syncis owned by it).
root cause, and the
charly.ymlload failure is root-caused and routed toumbrella charly.yml cannot load: version stamp dropped by 803d411 but the loader requires it #306 — no dismissal.
the same change; the config-load failure is named to its owning batch (umbrella charly.yml cannot load: version stamp dropped by 803d411 but the loader requires it #306).
changed-path list (the duplicate list is removed), and
SYNC_EVIDENCE_MAX_BYTEShas a single default.artifact; no
head/SIGPIPE hazard (rows render to a file, then bound).SYNC_PATH_LIST_MAXareremoved, not raised; the stale
40000comment is swept in the same commit.feat/branch + PR; no force-push; no push tomain.charly task verifygate is blocked by umbrella charly.yml cannot load: version stamp dropped by 803d411 but the loader requires it #306 as stated.N/A — no generated artifact/OCI label.N/A — no binary is built.--self-testasserts the complete table inthe body at fleet scale; the hard guard still fails loudly over
65536.Change classification
body (
scripts/sync-pr-body.sh,scripts/sync-pin-evidence.sh); noruntime/bed class.
SYNC_PATH_LIST_MAXis removed; a revert restores the previous generator.analysed on a live system— the changed runtime path(both scripts'
--self-test, plus a real-fleet measurement) ran live on thishead with retained output; the full
charly task verifygate is blocked byumbrella charly.yml cannot load: version stamp dropped by 803d411 but the loader requires it #306 (named above), so
fully tested and validatedis not claimed.Supersedes #304.
Agent:
sync-evidence-successor· sessionses_f141f2e80ffel5akiYQk8IYMkiAssisted-by: OpenCode DeepSeek V4.1 Flash (analysed on a live system)