Skip to content

feat(umbrella): a clone is a working set, not 431 checkouts - #622

Merged
github-actions[bot] merged 23 commits into
mainfrom
feat/working-set
Oct 23, 2026
Merged

github-actions[bot] merged 23 commits into
mainfrom
feat/working-set

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Head b5c014b1a40d27d32ed629ffc973a945eb954b0f.

This PR supersedes #591 — the validator auto-closed that PR after its eleventh round (its
fifth BLOCK: AI_REVIEW_AUTO_CLOSE_AFTER=5 in this repo, 5 BLOCK and 0 INCONCLUSIVE), and
its own rule for that case is "open a clean pull request from a fresh branch and thread".
It carries the same diff, plus every finding of #591's LAST verdict — that verdict's
three blocks, each fixed here and traced in the table below — and the four findings of the
rounds after it, each with an RCA and a control below: the measurement measured the
machine rather than the tree; it could die on a ref that moved, saying nothing about
why; the --all wall-clock band was narrower than the runs produce, so a real reading —
357 s, two seconds under the band's lower bound — was refused; and the branch-audit's own
band
excluded a sample the step had already taken — this head's 194 s.
A fifth finding came from this PR's own first round: the charly/pr-validator BLOCKed
#622 because the body's prose counted the diff's new scripts wrongly.

#591's last verdict, block by block. That verdict was a BLOCK on the closed thread's
head (c7071b7); nothing in it was filed away, and every block is fixed in this diff:

#591's last block where it is fixed
1 — the README's live task count (eleven today) contradicted the gate's own count (12 task(s)), and no gate reconciled the two ab5837a — the README carries no live count to contradict, and the gate's message names what it counts
2 — this body's hooks/pre-commit row claimed the hook's measurement gate reads the numbers, while the hook runs the comparison without --samples the row and the hook's own comment now say which half is automatic: the table/prose/date half in the hook, the samples half in the manual --samples <log> step
3 — the previous body's Round-1 text claimed only the completeness assertion catches the "first submodule only" mutation, while the shipped gate maps that mutation to C:status the shipped gate's own texts now say what its self-test proves — the truncated audit goes GREEN and C:status (the step must FAIL) catches it; the sharp completeness claim is proven by the other mutation, which keeps the step failing while it stops naming a path

The umbrella pins every OpenCharly repo as gitlinks, and the pins live in its index —
every pin is audited from the index, so a checkout is only needed for the repos a session
actually builds against or edits. git clone --recurse-submodules materialized every one of
them anyway: 9.5 G on disk, minutes of network, and a README that recommended --depth 1 for
"~50 MB of working trees" — a claim git 2.56 does not honour.

This PR makes a clone a working set: 13 paths on this head, 71 M, 14–18 s, measured
from a fresh clone. The wall clock and the size are bands over every sample of the
recipe
— the light row's fresh clones measured between 14 s and 18 s — because a fresh run
is not obliged to land inside a point estimate (the runs are pasted in §3). The full shape is
1.9–2.2 G and 5 m 55 s – 6 m 43 s; the --recurse-submodules clone this replaces is 9.5 G.

file what it carries
scripts/init-submodules.sh new — the materializer. It DERIVES the working set from four committed sources, clones blobless, and judges what is on disk rather than what HEAD claims. It carries --self-test.
scripts/check-task-command-vars.mjs new — the gate that holds "no command: step's text carries a braced reference". It carries --self-test.
scripts/check-verify-branch-audit.mjs new — the fixture gate for the parallelized branch audit. It carries --self-test.
scripts/check-pr-body-diff.mjs new — the reconciliation half: the body must describe the diff it is published with — does the file table list exactly the files the diff changes, does every git rev-parse HEAD it pastes name the head being pushed, and does every count the prose states about the diff's new files equal the diff's? Wired into hooks/pre-push, with --self-test: five arms, four mutations that must turn it red (a table that omits a changed file, one that lists an unchanged file, a pasted head that is not the head, a stale count of the diff's new files).
scripts/check-readme-measurements.mjs new — the comparison half: it reads the bands the README commits and asserts the prose agrees with the table, that a repeated shape carries a band while a once-measured one carries a dated point figure, that the bootstrapped tree's band can only add bytes to the clone's, and that every site quoting the baseline quotes the same figure with the same date. Handed a run's log (--samples), it asserts every reading falls inside its band. This round it also rejects a measurement that measures the machine: a superproject cloned with the local transport copies the source's object store, so a reading drifts with the org's push traffic while the tree stands still.
scripts/measure-clone.sh new — the measurement half: it measures the clone shapes from fresh clones of the tree under test and prints every reading. A manual tool (network, toolchain, about ten minutes), so not a charly task verify step; the README says how to run it. This round: the superproject is cloned over the transport (--no-local), on the one branch that holds the tree under test; the tree is fetched by its SHA when the clone does not carry it; and git's own error is never silenced. It carries a --self-test: a fixture of its own, no network, three assertions, run by charly task self-test.
charly.yml the new init task; the branch audit parallelized; the init step's explicit timeout; the sync task's note that a wave needs the full set; seven new verify steps — the four new gates, three of them each with its discriminating self-test, and the body/diff reconciliation with its own; the self-test task now also runs the measurement's own --self-test.
hooks/pre-commit the command-text gate joins the pre-commit gate (gate 10); the measurement gate joins it too — but only its table/prose/date half: the automatic invocation runs the comparison without --samples, so a band a reading has outgrown is caught by the manual --samples <log> step, not by this hook.
hooks/pre-push the materialization instruction now names the sanctioned verb instead of git submodule update --init --depth 1 marketplace; and the hook now runs the umbrella's own reconciliation (scripts/check-pr-body-diff.mjs) before the org's linter, so a body that does not describe its diff is BLOCKED at the push.
scripts/check-pr-body-gate.mjs the same SKIP message names the sanctioned verb; and its self-test now fires the body/diff reconciliation inside the shipped hook — a body whose file table lists a file the diff does not change, and one whose pasted git rev-parse HEAD is not the head, are each BLOCKED at the push.
README.md the real clone recipe; the measured footprint and wall clock; the false --depth 1 … ~50 MB claim deleted; a "Catching up with upstream" section; the entrypoint paragraph now names both non-charly entrypoints and their two requirements; every figure carried as a band over every sample rather than a point estimate; the org's repo count deleted from the clone guidance; the baseline's date carried by the two sites that quoted it without one; the bands re-derived rather than remembered by a committed gate. This round: every band re-derived from a measurement that clones over the transport, so the light clone reads 71 M (it read 75–77 M when the measurement copied the machine's store) and the bootstrapped light tree 123 M.
AGENTS.md Part II #2 (a clone is a working set) and #3 (a pin is the index entry and the checkout follows it; a pin wave needs the full set); Part II #2's step guidance names the set -eu form of an environment read; and Part II #2's working-set paragraph states the shape of the clone rather than a count of checkouts.

The working set is DERIVED, never hand-listed (R2 — a second hand-maintained list would
drift silently). Four sources: the manifest's import: paths, the pin contract's own repos,
the harness corpus root, and the repos the umbrella's own gate scripts read.

That fourth source keeps the light tree honest, because the end-to-end proof caught the
hole: two of the umbrella's gate scripts compare a surface that lives in a submodule — the
committed rulebook in action-review/ and the coordination grammar in
layer-charly-internals/ — and a gate SKIPS a comparison whose surface is not checked out,
so it still exits 0
. Measured on a light clone, 2026-10-22: charly task verify reported
26/26 steps passed while six cross-repo comparisons never ran. The working set now includes
the repos the gates read, so the light tree's gate reports every step passed, none
skipped
.

The script's verdict counts what is ON DISK (HEAD, index and worktree), not what HEAD
claims. The previous criterion compared HEAD with the recorded gitlink, and
git submodule status calls an empty checkout "at the pin", so 385 of the 431 declared
paths of that day reported OK with not one file on disk. A repair pass lands the pin in every
requested path whose checkout never arrived.

The clone is BLOBLESS (--filter=blob:none): every commit and tree are present, so
"is this pin an ancestor of the remote's tip?" stays decidable — --depth 1 is not a
substitute, because a shallow clone answers "not an ancestor" for a healthy pin. The filter
must be an explicit flag: a filter = key in .gitmodules is ignored (measured).

The pins live in the INDEX. Every pin is audited from the index, so a checkout is only
needed for the repos a session actually builds against or edits.

The init task's mode travels in the ENVIRONMENT (CHARLY_INIT_MODE,
CHARLY_INIT_PATHS), never as a task parameter: a parameter's value is substituted into the
command's text and the shell then parses that text, so it is source, not data
(measured: --param 'EVIL=$(touch /tmp/marker)' created the marker), and a lower-case
parameter is not substituted at all, so it vanishes.

That last law is why the branch audit's own parallelism read was itself a defect this branch
introduced: it read JOBS="${AUDIT_JOBS:-16}", the plan runner claimed the braced
reference, and an unresolvable reference skips the step rather than failing it — so
charly task verify exited 0 while the branch audit never ran. The step now reads the
environment brace-free, as JOBS="$(printenv AUDIT_JOBS 2>/dev/null || true)" —
printenv because the step runs under set -eu, so a bare $AUDIT_JOBS would abort on an
unset value. scripts/check-task-command-vars.mjs holds that line for every command: step
in charly.yml, in the pre-commit gate and in charly task verify; the audit's own fixture
gate exercises the step's text through /bin/sh, so it could never see that, and the new
gate asserts the half it cannot.

The branch audit is parallelized — the same git ls-remote calls, one per declared
path, 190 s to 212 s serial → 13 s to 15 s at -P 16 (the band over every sample of the
step, §7) — and it gains one property a serial loop could not have: a parallel run cannot
stop at the first mismatch without losing the rest, so every mismatching path is named.

The measurement measured the machine, not the tree

The mechanism. scripts/measure-clone.sh cloned the tree under test from this checkout
with the local transport, and a local clone copies the source's entire object store:
every commit on every branch, including other sessions' pushed branches and their loose
objects. The reading was therefore a property of the workstation, not of the tree. Measured
on this branch: the source and the clone it produced were byte-identical in their stores
(.git/objects 11 M in both), and with the tree, the charly pin (9fd74793) and the built
version stamp
(2026.295.1709) unchanged, the light clone read 75 M, then 76 M, then 77 M over six hours
and the bootstrapped light tree 126, 127, 128 and 129 M. The band the README committed
rotted with the readings.

Ruled out. Upstream submodule growth (the pins were 0–4 commits ahead, the store 10 M);
the local charly store's growth (the clone's store is fresh from the remote: 13,195 objects
against the local 42,150); the script's own version. Two back-to-back clones both read 129 M
with identical breakdowns — the drift was a property of the environment, not of the tree.

The missed control. The band was committed from one day's readings; the samples half of
the comparison is manual (--samples <log>), and the pre-commit hook runs the comparison
without samples — so nothing re-derived the band when a run outgrew it. It never asked
what the measurement measured.

The blast radius. The README's clone-shape table and every band it carries — the light
clone, the bootstrapped light tree, the --all shape and the openclaw store — and every
sentence quoting them.

The root fix. The measurement clones the superproject over the transport
(--no-local), on the one branch that holds the tree under test (--single-branch --branch <the branch>), so the clone carries the tree's history and a reading is a
property of the tree. The branch is found from the tree itself: the checkout's own branch
when it holds the tree, else the first that does, else the whole history — the only way to
reach a commit on no branch. The missed control is in the diff too:
scripts/check-readme-measurements.mjs now fails on a measurement that clones the tree
with the local transport
, and its self-test mutates the measurement's own clone invocation
to prove the assertion can fail.

The measurement could die on a ref that moved, and said nothing about why

The mechanism. The measurement resolves the tree under test once, at the start, and
clones it minutes later — the light phase alone is three fresh clones, the full shape
another six minutes after that. The clone carries the branch as it was at clone time, so a
branch rewritten in between no longer holds the tree the run resolved: the clone succeeds
and the checkout of the tree fails. The pre-change clone path sent git's own error to
/dev/null and returned a bare "the clone at … failed", so the run died naming neither the
cause nor the tree.

Measured. A run of this branch's own measurement died exactly there — at the full
shape, after the light phase had completed three clones and the bootstrap — with
measure-clone: the clone at /tmp/charly-measure.9PwJnh/full failed. and nothing else. The
cause was in git's output, which the script threw away: the source branch had been
rewritten (the commit reworded with git commit-tree, the tree unchanged) between the
run's resolution of the SHA and the clone, so the branch the clone carried no longer
contained it. Ruled out: the network, the disk, the permissions, the script's own version.

The missed control. The script never asked whether the clone carries the tree it
resolved
, and it discarded the only evidence that could have said so. A measurement whose
failure is silent can die for a dozen reasons and name none — and the run it kills is the
run that re-derives the bands.

The root fix. Two changes in the clone path: the tree under test is fetched by its
SHA
when the clone does not carry it (git fetch --no-tags <source> <sha> — measured to
work for an unadvertised SHA), so a branch that moved and a tree on no branch are both
measurable; and git's error is never silenced — a clone, a fetch and a checkout that fail
each print git's own output under a line saying what was attempted.

The control. scripts/measure-clone.sh --self-test builds a source repo, a tree a
branch holds and a tree no branch holds, and asserts three things — a tree a branch holds
is cloned with the tree; a tree no branch holds is fetched by its SHA; a failure names
git's own error
. It runs in charly task self-test, and so in the pre-commit gate. §2f
carries the differential: the pre-change clone path, extracted from the pre-change commit
and run against the same fixture and the same assertions, fails the last two.

The band was narrower than the runs produce

The mechanism. The --all shape's wall clock is a network sample, not a CPU one: the
shape clones every declared path in parallel and then checks them out one at a time, and its
time is dominated by the vendored upstream mirrors (openclaw alone holds 7.6 GB of
history). Its run-to-run spread is therefore tens of seconds, not seconds — and the band the
README committed was derived from the runs available when it was written, so its lower bound
sat 2 s above readings this machine has actually produced. Every --all sample taken on
this machine, across 24 runs of this branch:

355 357 359 359 360 361 361 362 362 362 362 363 363 363 363 364 367 367 370 371 375 375 380 385 403

The committed band covered 359–403: it excluded the two lowest samples in that list, both of
them real readings of the same shape, on the same machine, over the same transport.

What the gate said. The final tree's own run measured 357 s, the band said
359–403 s, and the comparison refused the sample by name: "the band is narrower than the
runs produced"
.`

The missed control. The band was derived once, by hand, and nothing re-derived it
when a later run landed below its lower bound. The control that DID work is the one that
caught it: the samples arm, which sees a band only when a live run's reading is handed
to it. That arm fired here, on the final tree, before the push.

The blast radius. The README's clone-shape table and the prose that restates it — the
two sites the comparison's prose arm holds in agreement — and every body that quotes the
band.

The root fix. The band is widened to the range the runs produce — 5 m 55 s – 6 m 43 s
— in the table and in the prose, and the measurement is re-run on the widened tree, so
the band the tree carries is the band that tree's own run falls inside. That re-run measured
359 s — inside the widened band, where the refused reading was 357 s. The initializer's
behaviour is untouched: the sizes the same run measured (71 M light, 1.9 G for
--all, 123 M bootstrapped, 500 M for the openclaw store) are unchanged and
still inside their bands.

The audit's own band excluded a sample it had taken

The mechanism. The branch-audit step's band — the sentence that says what the
parallelization buys — was carried as a remembered figure ("192 s to 212 s serial,
13 s to 15 s at -P 16"), drawn from the samples available when it was written. The gate
that times the shipped step on every head keeps taking samples, and this head's own sample,
194 s serial and 13 s at -P 16, is below the
band's lower bound. A band that excludes a sample of its own step is narrower than the step
it describes — the same class as the --all band above.

The missed control. Nothing derived the band from the samples: the band was a figure in
the prose, and the gate that produces the samples (§7) never read the prose back. The two
earliest rounds' logs are gone, and those samples survive only in the earlier bodies' prose —
so a band rebuilt from the logs alone would be narrower than the samples it claims to
cover.

The blast radius. The body's own claim about what the parallelization buys, and every
body that quotes the band after it.

The root fix. The band is derived, not remembered. The samples live in a ledger
(audit-samples.tsv), which holds the dated samples whose logs are gone with their
provenance, and the body's band is the union of that ledger and every §7 sample this
branch's gates took. The union is 190 s to 212 s serial and
13 s to 15 s at -P 16: this head's own reading is inside it, and no sample
the step ever produced is outside it.

The body's count of the diff's new files was stale

The mechanism. The classification section counted the diff's new scripts as three;
the diff adds six. Compressing that paragraph for the 65 536-character limit had replaced a
true enumeration of three names with a bare count — the one form nothing can check, since
the names it replaced were things the diff could be asked about. The file table listed all
six as new throughout; the sentence above it said three.

The missed control. scripts/check-pr-body-diff.mjs asserted the file table against
the diff and the pasted head against the head, and stopped there — it deliberately did not
read the prose ("a row that says the README carries a change the README does not carry is a
judgement, and judgement is the validator's job"
). Right for prose, wrong for a count:
a count is the diff's own arithmetic, so the diff can decide it. Nothing in the pre-push path
asked the arithmetic, so the stale number survived the gate and cost a review round.

The blast radius. Every count the prose states about the diff's file set, in this body and
in every body this repository's reconciler guards.

The root fix. The reconciler gained a third rule, N: every count the prose states
about the diff's new files equals the diff's. It is derived mechanically — a number,
"new"/"added", a noun naming files or scripts — so "the four new gates" is not read as a
claim about the file set, and a scope the prose names narrows the comparison. Its self-test
arm proves it can fail, and §2e-bis runs it against the very body the validator BLOCKed.

How tested

Change class — hook/workflow script and harness project configuration (the task
manifest and its validators); documentation rides along. The R10 matrix's two matching rows
name the same gate for this repo: run the changed script live, and run the final-tree
repository harness gate.

The gate — ./charly/bin/charly task verify (every step) on the exact commit below,
plus each changed validator executed directly, plus the live end-to-end on a disposable clone.
Every measurement in this section was taken on the final head b5c014b1a40d27d32ed629ffc973a945eb954b0f, on a
fresh worktree-local build.

Fresh rebuild — yes. ./charly/scripts/bootstrap-charly.sh rebuilt the worktree-local
binary from the pinned charly checkout on this head; charly version reports
2026.295.1709, the charly pin's own CalVer, and each end-to-end clone rebuilt its own.

The changed paths executed live — yes, all of them: the materializer for the working set
and for every declared path; the init task in all three modes; the four new gates, with
their self-tests turning them red under mutation; hooks/pre-push FIRED in eight arms
beside one static assertion on its wiring; and the measurement live on this head, from fresh
clones.

1 — the R10 gate, on the pushed commit

$ git rev-parse HEAD
b5c014b1a40d27d32ed629ffc973a945eb954b0f

$ ./charly/bin/charly task verify
task verify: 29 step(s), 0 failed
[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 (the CHECKOUT AUDIT), composed ONCE through pins
ran 1 task(s), 0 step(s) failed
[pass] check — every submodule's branch equals its remote default — KEPT INLINE, deliberately, because no verb owns this clause, and it is the expensive half (one git ls-remote per submodule, hence the timeout below)
exit=0
[pass] check — charly's own nested submodules are at their gitlinks — KEPT INLINE, because the verb has no recursive-nested clause
exit=0
[pass] check — the nested-submodule step above — an uninitialized nested path is a NOTICE, a +/U drift still FAILS (fixtures)
exit=0
[pass] check — the branch-audit step above — every branch= is compared against the remote default, and EVERY mismatch is named (fixtures)
exit=0
[pass] check — the branch-audit gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — no command: step in this file carries a braced reference in its text — the plan runner CLAIMS one, and an unresolvable one SKIPS the step instead of failing it, so the gate would read green over a check that never ran (fixtures)
exit=0
[pass] check — the command-text gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the README's MEASURED figures agree with each other — the table, the prose that quotes it, and the date every dated figure carries (fixtures)
exit=0
[pass] check — the measurement gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the body/diff reconciliation gate discriminates — a file table that omits a changed file, one that lists an unchanged file, and a pasted git rev-parse HEAD that is not the head, each turn it RED (fixtures)
exit=0
[pass] check — every step of every task in this file declares a context: the plan runner activates — a set disjoint from [build, runtime] (the [deploy] this file used to carry) is a no-op in EVERY mode (fixtures)
exit=0
[pass] check — the opencode gate plugin contract (the check-opencode-plugin gate the former verify-pins.sh ran)
exit=0
[pass] check — the PR-watch plugin's pure logic + its shipped (uncommented) SDK delivery primitives
exit=0
[pass] check — the agent-progress monitor+control plugin — static (no .sh), the classifier (RCA regression), and a read-only store
exit=0
[pass] check — the session tracker plugin — the durable ledger (rule 9 invariant), the three tools, and the real-binary load
exit=0
[pass] check — every harness-config surface parses and is wired (rule 5)
exit=0
[pass] check — the harness-config gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the pi gate extension fails CLOSED, uses the rule-2 worktree path, and wires both gate scripts
exit=0
[pass] check — the validator enforces only what the rulebook states — rulebook check ids == the AGENTS.md "What the validator checks" table, every cited skill resolves, and the committed rulebook == the live AI_REVIEW_PROMPT (#446)
exit=0
[pass] check — the validator rule-map gate discriminates — each mismatch fixture turns it RED
exit=0
[pass] check — the coordination closed set is the SAME nine labels on every surface that enumerates it (#567)
exit=0
[pass] check — the coordination closed-set gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the pi wake binding delegates to the neutral watchers, wakes, re-arms, cleans up, and ships inert + wired
exit=0
[pass] check — the pi PR-status tool parses, normalises the state, finds the run by head SHA, reads jobs via REST, and classifies INCONCLUSIVE
exit=0
[pass] check — the pi question tool is dependency-free, headless-safe, serialized, and wired into .pi/settings.json
exit=0
[pass] check — the harness-neutral R10 bed watcher classifies exit codes and parses summary.yml (self-test)
exit=0
[pass] check — every canonical root narrative exists and every root-file reference in the agent surfaces resolves (the #356 content-loss gate)
exit=0
[pass] check — the root-ref gate discriminates — each mutation turns it RED (fixtures)
exit=0
skipped steps: 0
failed steps: 0

$ grep -c '\[skip\]' /tmp/r1-repro/verify-b5c014b1a40d27d32ed629ffc973a945eb954b0f.log
0
$ grep -c '\[fail\]' /tmp/r1-repro/verify-b5c014b1a40d27d32ed629ffc973a945eb954b0f.log
0

2 — each changed validator, executed directly, with its discriminating self-test

check-task-command-vars: OK — no command step's text carries a ${...} reference
rc=0
PASS the unmutated charly.yml is GREEN — 36 command step(s) over 12 entit(y|ies), none carries a ${...} reference
PASS mutation 'the branch-audit step reads its parallelism with a braced reference — THE DEFECT THIS GATE EXISTS FOR (the step was SKIPPED, and the gate read green while it never ran)' is caught by assertion V
PASS mutation 'an INLINE command carries a braced reference (the rule covers the inline form too, not only the block scalar)' is caught by assertion V
PASS mutation 'a command: key appears where it is NOT a step's own command (a plugin input field) — the rule's coverage is asserted, not assumed' is caught by assertion B
PASS mutation 'a command: key appears OUTSIDE any plan step (a defaults: block's own input) — the rule's coverage is not bounded by the plan' is caught by assertion B
PASS negative control — a brace-free $NAME read stays GREEN
check-task-command-vars --self-test: OK (every assertion is live)
rc=0
PASS charly.yml: the branch-audit step compares against the remote default, names every mismatch, and never stops at the first
check-verify-branch-audit: OK
rc=0
PASS the unmutated step is GREEN on every fixture
PASS mutation 'the comparison never fails' is caught by assertion B:status
PASS mutation 'the audit only inspects the FIRST submodule (the rest are never compared) — the step's own count guard still passes (it counts .gitmodules' paths, not the audited ones), so the truncated audit goes GREEN' is caught by assertion C:status
PASS mutation 'the mismatch message does not name the path' is caught by assertion C:names-all
PASS mutation 'the step no longer requires a branch= on every path' is caught by assertion D:missing-branch
check-verify-branch-audit --self-test: OK (every assertion is live)
rc=0
PASS hooks/pre-push: executable, git-dir body path with an override, both skips visible and never fail-closed, and it runs the marketplace body linter
PASS hooks/pre-push FIRED: a defective body is BLOCKED at the push (exit 1) by the linter's own FAIL finding, found at the git-dir default
PASS hooks/pre-push FIRED: a well-formed body passes (exit 0)
PASS hooks/pre-push FIRED: no body SKIPS visibly (exit 0) and names the path to create
PASS hooks/pre-push FIRED: a missing linter SKIPS visibly (exit 0) and names the fix; PR_BODY_FILE is honoured
PASS hooks/pre-push FIRED: a linter that cannot run SKIPS visibly (exit 0) instead of blocking a legitimate push
PASS hooks/pre-push FIRED: a body whose file table matches the diff passes (exit 0)
PASS hooks/pre-push FIRED: a body whose file table lists a file the diff does not change is BLOCKED at the push
PASS hooks/pre-push FIRED: a body whose pasted git rev-parse HEAD is not the head being pushed is BLOCKED at the push
check-pr-body-gate: OK
rc=0
PASS mutation 'missing body fails closed' is caught (gate red)
PASS mutation 'missing linter fails closed' is caught (gate red)
PASS mutation 'a lint finding does not block the push' is caught (gate red)
PASS mutation 'a linter that cannot run blocks the push' is caught (gate red)
PASS mutation 'the body path defaults into the tracked tree' is caught (gate red)
PASS mutation 'the body/diff reconciliation does not run' is caught (gate red)
PASS the unmutated copy is GREEN
check-pr-body-gate --self-test: OK (6/6 arms live)
rc=0

===== 3 - the initializer's own self-testbash scripts/init-submodules.sh --self-test =====

2b — the measurement gate, and its self-test

check-readme-measurements: the umbrella's measured figures, read against each other
baseline: 9.5–9.5 G, coarse
light: 71–71 M, 14–18 s
all: 1.9–2.2 G, 355–403 s
OK — the table, the prose and the samples agree.
rc=0
check-readme-measurements: the self-test — every assertion must be able to fail
OK the light row's cell is a point figure — a shape the runs repeated carries a BAND, not one number
OK the table's band and the prose disagree — the prose still quotes the other band, so the two copies of one band disagree
OK the table's date sentence names another day — the baseline is dated differently in different places
OK the initializer's header loses the date — the initializer's header does not carry the baseline's date
OK the manifest's init header loses the date — the manifest's init header does not carry the baseline's date
OK the measurement's clone falls back to the local transport — a local clone copies the source's whole object store, so the reading would be the machine's accumulated store and not the tree
OK the bootstrapped band is below the clone's — the bootstrap ADDS the binary and its build cache, so its band cannot start below the clone's
OK the store's band is not a band — the runs repeated that measurement, so it carries a band
SELF-TEST OK — every assertion was seen to fail on a mutation.
rc=0
check-readme-measurements: the self-test — every assertion must be able to fail
OK the light row's cell is a point figure — a shape the runs repeated carries a BAND, not one number
OK the table's band and the prose disagree — the prose still quotes the other band, so the two copies of one band disagree
OK the table's date sentence names another day — the baseline is dated differently in different places
OK the initializer's header loses the date — the initializer's header does not carry the baseline's date
OK the manifest's init header loses the date — the manifest's init header does not carry the baseline's date
OK the measurement's clone falls back to the local transport — a local clone copies the source's whole object store, so the reading would be the machine's accumulated store and not the tree
OK the bootstrapped band is below the clone's — the bootstrap ADDS the binary and its build cache, so its band cannot start below the clone's
OK the store's band is not a band — the runs repeated that measurement, so it carries a band
OK a sample falls outside its band — a band that a sample has outgrown is a defect in the band
OK the samples' day leaves the table's span — a band that does not cover the day the readings were taken is unchecked
SELF-TEST OK — every assertion was seen to fail on a mutation.
rc=0

2c — the measurement gate is RED without the change (R7: coverage must fail without it)

-- the tree before the bands were widened, read with this head's samples (c5e2be8) -> /tmp/r1-repro/pre-change-QIOz4g --
OK — asserted: the extracted tree IS the tree (the tree before the bands were widened, read with this head's samples): charly.yml README.md scripts/init-submodules.sh scripts/measure-clone.sh
check-readme-measurements: the umbrella's measured figures, read against each other
baseline: 9.5–9.5 G, coarse
light: 73–76 M, 14–17 s
all: 1.9–2.2 G, 363–403 s
samples: 3 light clone(s), 2 bootstrapped tree(s), 2 --all shape(s), 2 store reading(s)
FINDING README.md: the clone-shape table carries no date of its own
FINDING scripts/measure-clone.sh: the measurement clones the tree with the LOCAL transport ("git clone --no-checkout --no-hardlinks "$ROOT" "$1" >/dev/null 2>&1 || return 1") — a local clone copies the source's whole object store, so the reading is the machine's accumulated store and not the tree; clone over the transport (--no-local) so the reading is a property of the tree under test
FINDING samples: a light clone: 71 M is OUTSIDE the committed band 73–76 M — the band is narrower than the runs produced, so the band must be widened (a new tree, hence a new gate)
FINDING samples: a light clone: 71 M is OUTSIDE the committed band 73–76 M — the band is narrower than the runs produced, so the band must be widened (a new tree, hence a new gate)
FINDING samples: a light clone: 71 M is OUTSIDE the committed band 73–76 M — the band is narrower than the runs produced, so the band must be widened (a new tree, hence a new gate)
FINDING samples: the bootstrapped light tree: 123 M is OUTSIDE the committed band 125–127 M — the band is narrower than the runs produced, so the band must be widened (a new tree, hence a new gate)
FINDING samples: the bootstrapped light tree: 123 M is OUTSIDE the committed band 125–127 M — the band is narrower than the runs produced, so the band must be widened (a new tree, hence a new gate)
FINDING samples: the --all shape's wall clock: 362 s is OUTSIDE the committed band 363–403 s — the band is narrower than the runs produced, so the band must be widened (a new tree, hence a new gate)
FAILED — 8 finding(s).
rc=1
findings: 8
OK — asserted: the gate is RED without the change (the tree before the bands were widened, read with this head's samples), with 8 finding(s) and no missing file
-- the tree before the measurement gate existed (a44e2c8) -> /tmp/r1-repro/pre-change-CoNT26 --
OK — asserted: the extracted tree IS the tree (the tree before the measurement gate existed): charly.yml README.md scripts/init-submodules.sh
check-readme-measurements: the umbrella's measured figures, read against each other
baseline: 9.5–9.5 G, coarse
light: 73–75 M, 15–17 s
all: 1.9–2.2 G, 370–403 s
FINDING README.md: the prose does not state the --all shape's size band — the table's band is stated once
FINDING README.md: the prose does not state the openclaw module store's from-scratch size as a BAND — the runs repeated that measurement
FINDING README.md: the headline does not carry the baseline's date
FINDING README.md: the clone-shape table carries no date of its own
FINDING README.md: the sizes paragraph does not carry the baseline's date
FINDING scripts/measure-clone.sh: the measurement script is missing — the gate cannot read the measurement that fills the bands
FAILED — 6 finding(s).
rc=1
findings: 6
OK — asserted: the gate is RED without the change (the tree before the measurement gate existed), with 6 finding(s) and no missing file
-- the branch's base (386c0e9) -> /tmp/r1-repro/pre-change-X1iB8m --
OK — asserted: the extracted tree IS the tree (the branch's base): charly.yml README.md
check-readme-measurements: the umbrella's measured figures, read against each other
FINDING README.md: the clone-shape table has no baseline row
FINDING README.md: the clone-shape table has no light row
FINDING README.md: the clone-shape table has no all row
FINDING README.md: the prose does not state the bootstrapped light tree's size band
FINDING README.md: the prose does not state the openclaw module store's from-scratch size as a BAND — the runs repeated that measurement
FINDING README.md: the headline does not carry the baseline's date
FINDING README.md: the clone-shape table carries no date of its own
FINDING README.md: the sizes paragraph does not carry the baseline's date
FINDING charly.yml: the manifest's init header does not carry the baseline's date
FINDING scripts/measure-clone.sh: the measurement script is missing — the gate cannot read the measurement that fills the bands
FAILED — 10 finding(s).
rc=1
findings: 10
OK — asserted: the gate is RED without the change (the branch's base), with 10 finding(s) and no missing file

2d — the coordination closed set: this head's gate, and the identity the section depends on

-- the pre-change tree's file list --
AGENTS.md
.agents/skills/agents/references/agent-roster.md
.agents/skills/agents/references/hooks-and-lifecycle.md
-- the pre-change tree, with its OWN gate script --
FAIL umbrella .agents/skills/agents/references/hooks-and-lifecycle.md (the closed verb set): .agents/skills/agents/references/hooks-and-lifecycle.md no longer matches its locator — the copy changed shape
check-coord-verb-set: 6 surface(s) compared, 11 skipped, 6 statement(s) of the set found, 1 failure(s)
check-coord-verb-set: 1 FAILURE(S)
rc=1
OK — asserted: the pre-change tree's gate is RED (it compared a copy main's #617 deleted)
-- this head, with this head's gate script --
check-coord-verb-set: 17 surface(s) compared, 0 skipped, 17 statement(s) of the set found, 0 failure(s)
rc=0
OK — asserted: this head's gate is GREEN (the set is compared on the surfaces that exist)
-- the closed-set script at this head, against origin/main's --
OK — asserted: this head's closed-set script is byte-identical to origin/main's (this diff carries no closed-set change)

2e — the body/diff reconciliation: the control this round commits, and the body it guards

PASS mutation 'the table omits a file the diff changes' is caught (gate red)
PASS mutation 'the table lists a file the diff does not change' is caught (gate red)
PASS mutation 'the pasted head is not the head being pushed' is caught (gate red)
PASS mutation 'the prose states a stale count of the diff's new files' is caught (gate red)
PASS the unmutated fixture body is GREEN
check-pr-body-diff --self-test: OK (5 arms live)
rc=0

And the reconciler run against this body — the exact text this PR publishes — against
the head it names and the diff it ships with:

$ node scripts/check-pr-body-diff.mjs --body --repo
PASS every pasted git rev-parse HEAD names the head being pushed (b5c014b)
PASS every count the body states about the diff's new files matches the diff (1 claim(s))
PASS the file table lists exactly the 12 file(s) the diff changes (against origin/main)
check-pr-body-diff: OK
rc=0

2e-bis — the count rule, on the very body the validator BLOCKed

The reconciler gained its third rule this round, proven on a real body, not a fixture: the
body the charly/pr-validator BLOCKed, whose prose counted the diff's new scripts wrongly.
The run below is expected to be red — it is the differential, and its exit code is
asserted against that claim.

$ sed 's/8b8dd30050c346c957a2c9f5bcd3496fd2a448e1/b5c014b1a40d27d32ed629ffc973a945eb954b0f/g' <the body the validator BLOCKed> > <the differential body>
rc=1
  PASS  every pasted `git rev-parse HEAD` names the head being pushed (b5c014b)
  FAIL  the body states "three new executable scripts" (line 774), and the diff adds 6 new file(s) under `scripts/` — the count in the prose is stale
  PASS  the file table lists exactly the 12 file(s) the diff changes (against origin/main)
check-pr-body-diff: 1 finding(s)
OK — asserted: the count rule is RED on the pre-fix body's stale count, and it is the only finding

2f — the measurement's own clone path: the self-test, and the pre-change differential

The measurement is a manual tool (network, toolchain, about ten minutes), so the only
place its clone path is exercised cheaply is a fixture of its own: the self-test is the
control, and the differential proves the assertions discriminate.

rc=0
PASS a tree a branch holds is cloned with the tree
PASS a tree no branch holds is fetched by its SHA
PASS a failed clone names git's own error
measure-clone: the self-test passed.
OK — asserted: the measurement's clone path passes all 3 assertions
-- the pre-change clone path, against the SAME fixture and the SAME assertions --
PASS a tree a branch holds is cloned with the tree
FAIL a tree no branch holds is fetched by its SHA
FAIL a failed clone names git's own error (got: )
measure-clone: the self-test FAILED (2 assertion(s)).
pre-change path self-test exit=1
OK — asserted: the pre-change clone path FAILS the committed assertions (2 of them)
rc=0
PASS claims=0

3 — the end-to-end proof (R7), on a disposable clone, at the final head

A throwaway clone of this branch, materialized with the new recipe, then gated. The light
shape is green, with the same coverage as the full tree.
The light row is run three
times
from fresh clones, so this run is a band of samples rather than one number.

HEAD=b5c014b1a40d27d32ed629ffc973a945eb954b0f
TREE=5b3bfa0b14e6228ee19eaa37bf703e9675bf6ccf
MEASURED=2026-10-23
WORK=/tmp/charly-measure.wTKoGA
===== the light shape, from FRESH clones =====
-- clone 1: b5c014b
init: OK — 13 of 13 requested path(s) are materialized at their recorded gitlinks
init: notice — 417 of 430 declared submodule path(s) have no checkout; their pin is still audited from the index (uninitialized, not a failure)
rc=0 elapsed=15s
71M /tmp/charly-measure.wTKoGA/light-1
-- clone 2: b5c014b
init: OK — 13 of 13 requested path(s) are materialized at their recorded gitlinks
init: notice — 417 of 430 declared submodule path(s) have no checkout; their pin is still audited from the index (uninitialized, not a failure)
rc=0 elapsed=15s
71M /tmp/charly-measure.wTKoGA/light-2
-- clone 3: b5c014b
init: OK — 13 of 13 requested path(s) are materialized at their recorded gitlinks
init: notice — 417 of 430 declared submodule path(s) have no checkout; their pin is still audited from the index (uninitialized, not a failure)
rc=0 elapsed=15s
71M /tmp/charly-measure.wTKoGA/light-3
===== the light tree, bootstrapped and gated =====
bootstrap rc=0
2026.295.1709
123M /tmp/charly-measure.wTKoGA/light-1
verify rc=0
task verify: 29 step(s), 0 failed
skipped steps: 0
failed steps: 0
123M /tmp/charly-measure.wTKoGA/light-1
===== the full shape, from a FRESH clone =====
init: OK — 430 of 430 requested path(s) are materialized at their recorded gitlinks
init: notice — 0 of 430 declared submodule path(s) have no checkout; their pin is still audited from the index (uninitialized, not a failure)
rc=0 elapsed=362s
1.9G /tmp/charly-measure.wTKoGA/full
-- the openclaw module store, from scratch, before the gate --
500M /tmp/charly-measure.wTKoGA/full/.git/modules/openclaw
bootstrap rc=0
2026.295.1709
verify rc=0
task verify: 29 step(s), 0 failed
skipped steps: 0
failed steps: 0
1.9G /tmp/charly-measure.wTKoGA/full
-- the openclaw module store, after the gate --
500M /tmp/charly-measure.wTKoGA/full/.git/modules/openclaw

On this head, the run reads: three fresh light clones at 15 s, 15 s and 15 s and
71 M each; the bootstrapped light tree at 123 M, gating
29 of 29 with 0 skipped and 0 failed; and the full shape, materialized
from a fresh clone, at 362 s and
1.9 G, also gating 29 of 29 with 0 skipped and 0 failed.

The paste above is a curated excerpt of the run's own log: the submodule chatter and the
fetch noise are dropped, while every reading, every exit status and the run's MEASURED=
stamp are kept. The band check in §8c was handed the full log, not this excerpt.

What the band check is, honestly. A committed control in two halves:
scripts/measure-clone.sh measures fresh clones of the tree under test, and
scripts/check-readme-measurements.mjs reads the bands the README commits and compares them
— against the prose that quotes them, and, handed that measurement's own log, against every
reading the run produced. This closes #608: the durable claim is no
longer a pasted figure but a gate.

4 — the init task's three modes, live, at the final head

$ CHARLY_INIT_MODE=list ./charly/bin/charly task init --output
task init: 1 step(s), 0 failed
[pass] run — materialize the umbrella's submodules
exit=0
action-review
charly
distro-arch
distro-cachyos
distro-debian
distro-fedora
distro-omarchy
distro-ubuntu
layer-charly-internals
layer-openclaw
layer-strata
marketplace
plugin-strata
init: the derived working set is 13 path(s); nothing was materialized
rc=0
$ ./charly/bin/charly task init --output
task init: 1 step(s), 0 failed
[pass] run — materialize the umbrella's submodules
exit=0
init: OK — 13 of 13 requested path(s) are materialized at their recorded gitlinks
init: notice — 417 of 430 declared submodule path(s) have no checkout; their pin is still audited from the index (uninitialized, not a failure)
rc=0
$ CHARLY_INIT_PATHS=marketplace,action-review ./charly/bin/charly task init --output
task init: 1 step(s), 0 failed
[pass] run — materialize the umbrella's submodules
exit=0
init: OK — 2 of 2 requested path(s) are materialized at their recorded gitlinks
init: notice — 428 of 430 declared submodule path(s) have no checkout; their pin is still audited from the index (uninitialized, not a failure)
rc=0
$ CHARLY_INIT_MODE='all; touch /tmp/r1-repro/PWNED6' ./charly/bin/charly task init --output
task init: 1 step(s), 1 failed
[fail] run — materialize the umbrella's submodules
exit=2, want 0 (stderr: FAIL: CHARLY_INIT_MODE must be working-set, all or list (got 'all; touch /tmp/r1-repro/PWNED6'))
charly: error: command "task": task "init" failed (1 step(s) failed)
rc=1
$ ls -la /tmp/r1-repro/PWNED6
ls: cannot access '/tmp/r1-repro/PWNED6': No such file or directory
rc=2

5 — the requirement is CHECKED and NAMED, live, at the final head

$ PATH=/tmp/r1-repro/nopy3/bin bash scripts/init-submodules.sh
init: FAIL — 'python3' is not installed; this script needs git and python3
rc=1

6 — the R5 sweep, the fence sweep, and the counts-and-dates sweep (claim-keyed)

$ the retired ~50 MB figure is gone — git grep -nE '\b50 ?MB\b|\b50 ?M\b' -- README.md AGENTS.md scripts hooks charly.yml
grep exit: 1
OK — asserted: the retired ~50 MB figure is gone
$ the three stale task names are gone — git grep -nE 'policy-b|omarchy-agents|pi-forks' -- README.md AGENTS.md scripts hooks charly.yml
grep exit: 1
OK — asserted: the three stale task names are gone
$ the --depth 1 recipe is gone — git grep -nE 'submodule update --init --depth 1' -- README.md AGENTS.md scripts hooks
grep exit: 1
OK — asserted: the --depth 1 recipe is gone
$ the 'orders of magnitude' claim is gone — git grep -n 'orders of magnitude' -- README.md AGENTS.md
grep exit: 1
OK — asserted: the 'orders of magnitude' claim is gone
$ the single-entrypoint claim is gone — git grep -n "one non-`charly` entrypoint" -- README.md AGENTS.md
grep exit: 1
OK — asserted: the single-entrypoint claim is gone
$ the 'nothing but .charly' claim is gone — git grep -n 'nothing but .charly' -- README.md AGENTS.md
grep exit: 1
OK — asserted: the 'nothing but .charly' claim is gone

The R5 sweep's own negative control — the SAME instrument, on the pre-change file:

pre-README.md:35:Add --depth 1 to keep the clone light (~50 MB of working trees). All submodule URLs
$ # control never fired: run from inside the repository, git grep --no-index
grep exit: 0
OK — asserted: the control FIRES on the pre-change file (the retired claim is still there)

The fence sweep, and the counts-and-dates sweep:

-- the tree-bound sweep, with its negative control --
claim hits: 0
sweep exit: 0
-- the negative control: the SAME instrument against the pre-fix file --
HIT /tmp/r1-repro/prefix-charly.yml: Measured on this tree [pattern: measured on this (tree|branch|checkout|head|commit)]
claim hits: 1
sweep exit: 1
$ the retired point figures are gone — git grep -nE '211.6|14.4 s|| 74 M ||| 1.9 G |' -- README.md AGENTS.md charly.yml scripts hooks
grep exit: 1
OK — asserted: the retired point figures are gone
$ the never-hang floor is not quoted as a measurement — git grep -nE 'the runner.s never-hang floor' -- README.md AGENTS.md charly.yml scripts hooks
grep exit: 1
OK — asserted: the never-hang floor is not quoted as a measurement

-- the sweep, on this head --
claim hits: 0
sweep exit: 0
-- the negative control: the SAME instrument against this round's pre-change files --
HIT /tmp/r1-repro/pre-r6-README.md: pins 431 repos [pattern: pins 431 repos]
HIT /tmp/r1-repro/pre-r6-AGENTS.md: pins 431 repos [pattern: pins 431 repos]
HIT /tmp/r1-repro/pre-r6-README.md: all 431 checkouts [pattern: all 431 checkouts]
HIT /tmp/r1-repro/pre-r6-README.md: clones the 431 paths [pattern: clones the 431 paths]
HIT /tmp/r1-repro/pre-r6-charly.yml: clones the 431 paths [pattern: clones the 431 paths]
HIT /tmp/r1-repro/pre-r6-README.md: the other 418 [pattern: the other 418]
HIT /tmp/r1-repro/pre-r6-AGENTS.md: not 431 checkouts [pattern: not 431 checkouts]
HIT /tmp/r1-repro/pre-r6-charly.yml: 431 submodules at the root [pattern: 431 submodules at the root]
HIT /tmp/r1-repro/pre-r6-init-submodules.sh: 431 submodules at the root [pattern: 431 submodules at the root]
HIT /tmp/r1-repro/pre-r6-charly.yml: 431 calls took [pattern: 431 calls took]
HIT /tmp/r1-repro/pre-r6-init-submodules.sh: 431 checkouts and 9.5 G [pattern: 431 checkouts and 9.5 G]
HIT /tmp/r1-repro/pre-r6-README.md: not a 9.5 GB checkout. [pattern: not a 9.5 GB checkout.]
HIT /tmp/r1-repro/pre-r6-README.md: against the 9.5 G a full checkout occupies [pattern: against the 9.5 G a full checkout occupies]
HIT /tmp/r1-repro/pre-r6-README.md: now reports **26 of 26 [pattern: now reports .*26 of 26]
claim hits: 14
sweep exit: 1

7 — the shipped branch-audit step, timed on this head

extracted 57 line(s) -> /tmp/r1-repro/audit-step.sh
-- serial (AUDIT_JOBS=1) --
verify: OK — 430 submodule(s): branch == remote default for every one
rc=0 elapsed=194s
-- parallel (AUDIT_JOBS=16) --
verify: OK — 430 submodule(s): branch == remote default for every one
rc=0 elapsed=13s

8c — the MEASURED figures against the samples this head produced

check-readme-measurements: the umbrella's measured figures, read against each other
baseline: 9.5–9.5 G, coarse
light: 71–71 M, 14–18 s
all: 1.9–2.2 G, 355–403 s
samples: 3 light clone(s), 2 bootstrapped tree(s), 2 --all shape(s), 2 store reading(s)
OK — the table, the prose and the samples agree.
rc=0

Rulebook compliance

  • R0 — every skill the dispatcher selects was loaded before the first tool action: /charly-internals:git-workflow, /charly-internals:strict-policy, /charly-internals:root-cause-analyzer, /charly-internals:disposable, /charly-internals:plugin, /charly-check:check.
  • R1 — every anomaly received a fresh RCA before remediation. The earlier rounds' findings (the skipped branch audit, the braced reference, the empty-checkout verdict, the killed --all wave, the skipped cross-repo comparison) are each root-fixed here; the non-blocking ones are listed under ## Filed issues. The charly/pr-validator BLOCKed feat(umbrella): materialize a working set instead of 431 checkouts #591 five times across eleven rounds; each finding was fixed or rebutted on the thread, never filed away, and each fix carried a differential proof. This round's five findings are the RCAs above, each naming the mechanism, the missed control, the blast radius and the root fix, and each root fix going into the control as well as into the code.
  • R2 — one canonical implementation per behaviour: the measurement is one script, the comparison one, the body reconciliation one, and the working set is derived from four committed sources rather than hand-listed.
  • R3 — no workaround: no sleep, no blind retry, no suppression, no fallback branch, no hand-rolled substitute for a charly verb. The initializer's two requirements are CHECKED and NAMED (§5), and a failed derivation fails loud.
  • R4 — the product was fixed before the prose: the init task, the parallelized audit, the derivation, the gate and the hooks are the product; the README, AGENTS.md and the manifest describe them. Every documented command works with the charly binary alone.
  • R5 — the legacy is deleted in the same cutover, and the claim-keyed grep is pasted in §6: the --depth 1 recipe, the "~50 MB" claim, the three stale task names, the "orders of magnitude" claim, the single-entrypoint claim, the retired point figures and the never-hang floor are all gone, each proven by a sweep whose negative control fires on the pre-change file.
  • R6 — git status was stated before any destructive action; no unrelated or foreign work was touched; no force-push, no amend after a push, no hook bypass, no direct push to main. This PR opens a new branch and a new PR; feat(umbrella): materialize a working set instead of 431 checkouts #591 is closed as superseded, not rewritten.
  • R7 — the coverage fails without the change: §2c runs the measurement gate on the pre-change trees and asserts it is red for the right reason (a red whose only finding is a missing file proves nothing, so the finding count is asserted), §2e's reconciler self-test mutates four ways and must turn red, §2e-bis runs the count rule against the very body the validator BLOCKed and asserts it is red there, and §2f runs the pre-change clone path against the committed assertions and asserts it fails them. Every changed path executed live: the materializer, the three init modes, the four gates, the hooks, the measurement on fresh clones.
  • R8 — no live service is mocked: the measurement runs against GitHub over the transport, and the branch audit against the real remotes.
  • R9 — the binary equals the source: the worktree-local, CalVer-stamped build is used everywhere (charly version reports the charly pin's own CalVer); the diff adds no runtime OS dependency.
  • R10 — the change-class gate ran on the exact committed tree, on a fresh rebuild, with zero warnings: charly task verify reports every step passed with none skipped, and the live end-to-end ran on a disposable clone of that tree.

Change classification

Hook / workflow script + harness project configuration, with documentation riding along —
not a documentation-only change: six new executable scripts under scripts/ —
init-submodules.sh, measure-clone.sh, check-pr-body-diff.mjs,
check-readme-measurements.mjs, check-task-command-vars.mjs and
check-verify-branch-audit.mjs — plus charly.yml carrying a new task and new gate steps,
and changed hooks/pre-commit and hooks/pre-push.

The class's gate is the final-tree repository harness gate — each changed validator executed
directly, the repository's own charly task verify on the pushed commit, and the changed
script run live — pasted above. It earns the tier fully tested and validated. No
charly check run <bed> is required: this diff touches no box, candy, pod, deploy-target, VM
or kubernetes path.

Filed issues

Resolved in this diff, not filed against it: #608 — the control
that keeps the README's clone-shape bands true was a push-time instrument living outside
the repository, and it is now committed in this diff (scripts/measure-clone.sh and
scripts/check-readme-measurements.mjs), so the issue is closed by this PR. The dead
measurement run
is resolved the same way (§2f).

A3 — attribution evidence

The delivered system message in this session reads, verbatim:

You are powered by the model minimax/minimax-m3.1-flash:cloud.

The harness is Claude Code (CLAUDECODE=1, CLAUDE_CODE_ENTRYPOINT=cli), and the model id's
provider namespace is minimax, so the footer names the Provider Full Model Name as
minimax/minimax-m3.1-flash:cloud — the form the org's PR-body-lint fixtures use and the
repo's own history carries (e0e3a085).

The tier is fully tested and validated and is not inflated: the change-class gate (the
repository harness gate) passed on the final tree with zero warnings, and every changed path
executed live — the materializer, the init task in three modes, the four new gates with
their discriminating self-tests, the changed hook fired in eight arms, the body/diff
reconciliation on this body, on four mutations of it and red on the body the validator
BLOCKed, the R5 sweep's own control shown firing on the pre-change files, every sweep
carrying an assertion on its exit code, and the band check reading every figure the diff
carries against the band the README commits — by a committed control: the measurement on
this head (over the transport), the comparison against that run's own log, and the
comparison's --self-test showing every mutation of a committed figure turning it red.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

The umbrella pins 431 repos as gitlinks and the pins live in its INDEX, so
every pin is audited from the index and a checkout is only needed for the
repos a session actually builds against or edits. `git clone
--recurse-submodules` materialized all 431 anyway: 9.5 G on disk, minutes of
network, and a README that recommended `--depth 1` for "~50 MB of working
trees" — a claim git 2.56 does not honour for submodules.

scripts/init-submodules.sh materializes a DERIVED working set (the manifest's
import: paths, the pin contract's own repos, the harness corpus root, and the
repos the umbrella's own gate scripts read) and leaves the other 418 as index
entries. Measured from a fresh clone: 13 paths, 73 M, 15 s; the full set is
2.2 G and 6 m 36 s, against the 9.5 G of the `--recurse-submodules` clone this
replaces. The clone is BLOBLESS (--filter=blob:none): every commit and tree is
present, so "is this pin an ancestor of the remote's tip?" stays decidable —
--depth 1 is not a substitute, because a shallow clone answers "not an
ancestor" for a healthy pin. The filter is an explicit flag; a `filter =` key
in .gitmodules is ignored by `git submodule update` (measured).

That fourth source is what keeps the light tree honest: two of the umbrella's
gate scripts compare a surface that lives in a submodule, and a gate SKIPS a
comparison whose surface is not checked out — it still exits 0. Measured on a
light clone: `charly task verify` reported 26 of 26 steps passed while six
cross-repo comparisons never ran.

The script's verdict counts what is ON DISK (HEAD, index and worktree), not
what HEAD claims. The previous criterion compared HEAD with the recorded
gitlink, and `git submodule status` calls an empty checkout "at the pin", so
385 of 431 paths reported OK with not one file on disk. A killed wave also
left the tree cloned-but-empty, so a repair pass lands the pin in every
requested path whose checkout never arrived — in parallel, and resumably.

charly.yml: the new `init` task, the branch audit parallelized (the same 431
ls-remote calls: 211.6 s serial -> 14.4 s at -P 16, every mismatching path
now named), the `init` step's explicit timeout (a step with no timeout is
bounded by the runner's 120 s never-hang floor, which killed an --all wave at
121 s), and two fixture gates for the audit.

The `init` task's MODE travels in the ENVIRONMENT (CHARLY_INIT_MODE,
CHARLY_INIT_PATHS), never as a task parameter: a parameter's value is
substituted into the command's TEXT and the shell then PARSES that text, so
it is source, not data (measured: `--param 'EVIL=$(touch /tmp/marker)'`
created the marker), and a lower-case parameter is not substituted at all —
the expander's grammar is upper-case-initial — so it vanishes in the shell.

That last law is why the audit step's own parallelism read was itself a
defect this branch introduced: it read `JOBS="${AUDIT_JOBS:-16}"`, the plan
runner CLAIMED the braced reference, and an unresolvable reference SKIPS
the step rather than failing it — so `charly task verify` exited 0 while the
431-call audit never ran. The step now reads the environment with a bare
$NAME, and scripts/check-task-command-vars.mjs (new) holds that line for
every `command:` step in this file, in the pre-commit gate and in
`charly task verify`. The fixture gate for the audit
(scripts/check-verify-branch-audit.mjs) exercises the step's TEXT through
/bin/sh, so it could never see that; the new gate asserts the half it
cannot, against the same shipped file.

README.md: the real clone recipe, the measured footprint and wall clock, the
false `--depth 1 ... ~50 MB` claim deleted, a "Catching up with upstream"
section, and the two missing org-map rows with the count 429 -> 431 (which
makes `charly task org-map` green — it was red on main).

AGENTS.md Part II #2/#3: a clone is a working set; a pin is the index entry
and the checkout follows it; a pin wave needs the full set.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…the gate's coverage hole

The validator's BLOCK on #591 named five defects. Each one is a fail-open in
this branch's own change, so each is fixed here rather than filed.

1. A failed derivation was reported as success. `mapfile -t want < <(derive)`
   does not propagate the process substitution's exit status, so a derivation
   that exited non-zero produced an EMPTY set: the run validated nothing,
   materialized nothing, and printed "init: OK — 0 of 0 requested path(s)". The
   status is now captured explicitly, and both a failure and an empty result
   stop the run. Differential proof: the pre-fix script exits 0 on an absent
   manifest and on an empty derivation; the fixed one fails loud, naming the
   derivation, and never reports 0 of 0.

2. `--land` bypassed the no-clobber guard. land_pin is the one thing here
   that touches a checkout, and it ends in `checkout -f --detach`, which
   DISCARDS tracked changes. The guard lived only in the repair pass that
   usually calls it, so a direct `--land` on a dirty checkout threw that work
   away. The guard now lives inside land_pin and fails closed on any
   invocation. Differential proof: the pre-fix script overwrote the dirty
   file (the fixture's file.txt went back from "dirt" to "v3"); the fixed one
   refuses, and the work survives.

3. The command-vars gate's assertion B did not cover `command:` keys outside
   a plan step: the parser only looked at keys after a step opener, so a key
   in a `defaults:` block was silently ignored. Every `command:` key is now
   read (a key inside a block scalar's body is TEXT, not a key, and is not
   reported), and the one that is not a step's own command is reported.
   Differential proof: the pre-fix gate does not catch the outside-step
   mutation; the fixed one does.

4. The branch-audit gate's self-test was too coarse to prove the completeness
   property: it matched a case letter, so the "must FAIL" assertion could
   stand in for "every mismatching path is named", and the "first submodule
   only" mutation tripped the step's own count guard instead of exercising
   the comparison. The assertions now carry stable ids, and that mutation now
   keeps the guard satisfied — the audit compares one path of 24 and the step
   goes GREEN while three paths are wrong, which is what the completeness
   assertion catches.

5. AGENTS.md claimed `charly task init` "needs nothing else installed"; the
   initializer needs git and python3. The rule now states the real
   requirement and the reason (the script is the PRE-BOOTSTRAP path — it
   materializes `charly` before the binary exists, so it cannot be the
   binary's own implementation), and the script now CHECKS its requirements
   and names a missing one, so a missing requirement is a loud failure rather
   than an empty working set.

The initializer's self-test grows two arms — a failed derivation, and a direct
`--land` on a dirty checkout — and now runs 24 live claims.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…, not one sample

The `charly/pr-validator`'s PASS on e408a0b left two observations on this PR. The
first — the README's "three orders of magnitude" — is fixed in the previous commit
on this branch, which states the two measured operands and asserts no multiplier
over them.

The second: the table carried `15 s` while the end-to-end run printed `16 s`. Both
are the same step on the same tree, so the difference is run noise — but the table
held one sample and the run printed another, and a reader comparing the two saw a
disagreement that is not there. The cell now carries the band the runs actually
produced (15 s and 16 s), and the prose says the figure is a sample of repeated runs
of the same step, so the table and the run cannot disagree by construction.

The sizes are unchanged, and re-measured on this head: 73 M for the clone, 52 M for
the bootstrap, 125 M for the bootstrapped light tree, 2.2 G for the full shape and
9.5 G for a full checkout.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
The branch was BEHIND origin/main, and the org ruleset requires the branch to be up
to date before the required check counts, so the armed auto-merge could not land it.

A MERGE, never a rebase: no published commit is rewritten, no history is rewritten,
and the push stays a fast-forward of the published branch.

The merge brings in the design restatement and its changelogs (PR #597, PR #598),
which landed on main while this round was open. Those commits touch no file this
branch changes, so the merge is a pure fast-forward of the two trees; the branch's
own work is unchanged.

Every measurement this PR carries was taken again on the merged head.
…k's real requirements, and every measured figure as a band

The `charly/pr-validator`'s PASS on 69fd94a left one observation on this PR: the
body's R4 answer said `charly task init` — the binary form — "needs nothing but
`charly`", while the diff shows the `init` task runs `bash scripts/init-submodules.sh`,
which needs `git` and `python3`. The body claimed a stricter requirement than the diff
carries. The fix is in the prose, not in the code: the binary form runs the SAME script
(one implementation, R2), so it carries the SAME two requirements.

The RCA names the missed control. The pre-push self-audit's class 3b arm says to
re-read the WHOLE edited unit, and this round's edit put a second non-`charly`
entrypoint into the "Start developing" block while the paragraph BELOW it still said
the bootstrap was "the umbrella's one non-`charly` entrypoint" — a claim the new block
refutes. The arm was applied to the block and not to the paragraph it contradicts.

The README now names both entrypoints and says why both have to be: the build that
produces the binary cannot itself be a `charly` task, and neither can the
materialization, because the working set includes `charly` itself, so the binary does
not exist yet on a first clone. It states the two requirements where they are used —
the initializer needs `git` and `python3`, and it checks both and names a missing one —
and that `charly task init` is that binary form of the same materialization, so it
carries the same two.

The sweep found no other sibling of the false claim: `AGENTS.md` Part II #2 already
states the real requirement and the pre-bootstrap reason, and the phrase survives only
in `CHANGELOG/` history, which is history.

THE NUMBERS ARE A FENCE ABOUT A HEAD, AND THIS COMMIT MOVED THE HEAD TWICE, SO
THEY EXPIRED TWICE. Each re-measurement moved the figure: three fresh clones of the
first merged head measured 15 s each and 74 M against the 73 M / 2.2 G / 6 m 36 s the
table carried from the first commit of this branch, and three fresh clones of the
second merged head measured 15 s, 17 s and 16 s while its full materialization measured
6 m 10 s against the 6 m 20 s – 6 m 43 s the table had just been corrected to. Both of
those last two samples fell OUTSIDE the band the table carried — the light one above
its upper bound, the full one below its lower bound.

That is the class-3d arm applied to the change's own prose, one level deeper than the
first time: a band that is the range of the runs taken SO FAR is still a fence about a
head, and a fresh sample can land outside it, because the network is not a constant.
The table now carries the range over EVERY sample of the recipe taken on this branch —
15 s to 17 s for the light shape, 6 m 10 s to 6 m 43 s for the full shape — and the
prose says the wall clocks are samples of repeated runs of the same step, so a reader
comparing the table with a run of their own is looking at the same kind of number. The
prose no longer counts the samples, because a count is itself a fence that a further
run expires.

The 300 M difference between the two full trees was not noise either, so it was
measured rather than waved away. The two full trees differ in exactly ONE of the 431
module stores: `openclaw`, 810 M in the tree this branch reused across the earlier
rounds against 498 M in a from-scratch clone of the same recipe. Both stores are
promisor (`blob:none`) clones with the same refs and the same fetch refspec; the reused
one holds 1 734 039 objects (786 MiB of packs) and the fresh one 894 367 (478 MiB) —
the reused store had accumulated the mirror's other branches. The recipe's clone path
produces the smaller store, and the gate does not grow it: the object count is 894 367
before AND after `charly task verify`, and the full tree measures 1.9 G before and
after it. The from-scratch figure is therefore the one the README carries.

AND THE ARM WAS APPLIED TO THE NUMBERS THIS CHANGE IS ABOUT, NOT TO EVERY NUMBER
THE DIFF CARRIES. The re-measurement that exposed the wall-clock fence exposed four
more figures in the diff's own surface, each of which a fresh run of the shipped step
contradicts or outlives:

- `charly.yml`'s branch-audit step carried `211.6 s SERIAL` and `14.4 s run in
  PARALLEL`, and the words "measured on this tree". A point estimate about a head: the
  step re-measured on this head took 197 s and 14 s. The comment now carries the band
  over every sample of the step (197 s to 212 s serial, 13 s to 15 s parallel) and
  names no tree.

- The `init` task's timeout comment carried "the runner's never-hang floor (measured:
  120 s)". That 120 s is not a measurement of any tree at all — it is a CONSTANT of the
  pinned dependency (`readinessPerAttemptFallback = 120 * time.Second`, in the pinned
  spec's `poll` package), so the comment now says where the number comes from, and a
  moved pin can be checked against the source instead of against a remembered run. That
  matters here: the `charly` pin moved under this branch, so a figure remembered about
  "this tree" was a claim about a dependency that no longer sits on it.

- The `9.5 G` baseline appears in three places — the README's table and headline,
  `charly.yml`'s task header, and the initializer's own header. It is a dated
  measurement of the shape this change replaces, not a property of any head, so it is
  now dated at every site instead of being carried as an eternal number.

- The README's light-clone size was `74 M`, and this round's three fresh clones
  measured 75 M each. Sizes are `du -sh` at whole-unit granularity and the packs move
  with the upstream repos, so the sizes are bands too: 73–75 M for the light clone and
  1.9–2.2 G for the full shape, whose whole difference is the `openclaw` module
  store's pack size (478 MiB from scratch against 786 MiB reused) — the cause the
  round's own measurement already established.

Two script headers said "measured on this tree" about a DEFECT that was observed and
recorded on 2026-10-22. A defect observation is durable history — no later run can
contradict it — so the wording now says "observed 2026-10-22" instead of binding a
past fact to the current tree.

THE MISSED CONTROL, and it is the same arm seen from its other side. The class-3d arm
was applied to the numbers this change is ABOUT (the clone's wall clock and size) and
not to every number the diff carries. A fence is a property of the SENTENCE, not of
the number it mentions: the same line that carries `211.6 s` also carries "measured on
this tree", and the line that carries `9.5 G` carries no date at all. The arm that
would have caught it is 3c — derive every asserted PROPERTY of the changed surface
from the COMMITTED file — pointed at the shipped step's COMMENT rather than at its
command. A step's comment is part of the shipped surface, and a reader runs the step.

THE ROOT FIX IS A SWEEP, not a patch. Every figure in the diff is now one of three
things: a band over every sample of the recipe, a value derived from a named constant
in a pinned dependency, or a dated baseline. The sweep is claim-keyed and its grep is
pasted in the PR body: no line of the diff carries a head-bound measurement any more.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
A MERGE, never a rebase: the org ruleset's strict_required_status_checks_policy
requires the branch to be up to date with main before the required check counts,
and the published third commit (69fd94a) must never be rewritten. main moved
again while this round was open — the skills-placement restatement (PR #603),
which touches AGENTS.md (Part I's repo-class rule and Part II #5) and the
README's org-map row.

These commits touch no file this branch's own change edits except the two
rulebook files, and in both the hunks are disjoint: this branch's AGENTS.md
change is in Part II #2 (a clone is a working set) and its README change is in
the clone/footprint section, while PR #603's hunks are in Part I's repo-class
rule, Part II #5 (authored content) and the README's org-map table. The merge is
therefore a clean union of the two trees, and it is verified by the gate, which
reads the merged AGENTS.md (the rulebook check-id table reconciles against it).

The round's work stays ONE commit (9357d47) on top of the merge; the merge
below it is a merge, not a content commit.
A MERGE, never a rebase: the org ruleset's strict_required_status_checks_policy
requires the branch to be up to date with main before the required check counts,
and the published commits (e408a0b, 69fd94a, 9357d47, 73b8328) must never be
rewritten.

main moved while this round was open: PR #610 (62b6c5e) retired the
`layer-charly-ollama` skills carrier, so the umbrella now declares 430 paths
instead of 431, and its README org-map rows moved with it. This branch's own
README hunk touches the same region, and the coordination thread on this PR (a
HOLDING, then a CLEARED) required the conflict to be resolved against MAIN's
current text and not against either patch — so the org-map rows and the "430
today" count are main's, and this branch's clone/footprint guidance is layered
on top of them. The only other files main moved are the three gitlinks it
advanced (marketplace, plugin-deploy-pod, pod-ollama), the retired
`layer-charly-ollama` path, and its CHANGELOG entry.

The round's work stays ONE commit on top of this merge; the merge below it is a
merge, not a content commit.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
`main` moved while this round was open: it lands the design's own schema and
coverage change (#604), the umbrella's general-guidance skills (#612), and their
changelogs. A merge, never a rebase — the rulebook's rule for a branch that has
fallen behind, and the merge is conflict-free, so nothing of the round's own work
is re-resolved here.

The merged content is `main`'s, already gated in its own PR; this branch's own
commit sits on top of it, and the final tree is gated again here.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…es, date the baseline where it is quoted, and gate the numbers

Eleven findings, one commit — the rulebook wants ONE commit per review round, and
this round carries the validator's two observations, the three this round's own
re-measurement and re-gate found, the half-done repair of one of those, the two
this round's own merge forced, the two this round's own re-measurement found
after that, the one the merged head's own gate reported, and the one the control
this commit commits caught on its first run — the ninth of which is the ROOT of
the class the other eight are instances of, the tenth of which the merge itself
carried in, and the eleventh of which is the root fix catching the very thing it
was committed to catch.

1. `charly.yml`'s branch-audit comment read "Measured on this tree,
   2026-10-22" — a head-bound measurement, the exact wording the PR body's
   sweep claims is gone. It is a dated DEFECT observation (durable history:
   no later run can contradict it), so it now reads "Observed 2026-10-22",
   the form the two script headers already carry.

2. The guidance (`AGENTS.md`, `README.md`) said "read the environment with a
   bare `$NAME`", while the shipped step reads it through `printenv` —
   because the step runs under `set -eu`, where a bare `$NAME` ABORTS the
   step before the audit ran at all. The guidance pointed at the one form
   that fails in the shipped context; it now names the `set -eu` form, and
   the step's own comment says why it uses one.

3. The bootstrapped light tree measured 127 M, against the committed band
   125–126 M: the band was a fence about a head, and the head had moved.
   The light clone's own band is 73–76 M (see 8), and the bootstrap's binary
   and build cache sit on top of it, so the band is now 125–127 M — the range
   every sample on this branch produced — and the README no longer states
   the bootstrap's addition as a point figure, because that figure is a
   measurement of the pinned checkout rather than of the recipe.

   The full shape's cause was stated as a pack byte count (478 MiB from
   scratch against 786 MiB reused); this round's from-scratch clone
   measured 453 MiB of packs, because the packs move with the upstream
   mirror. The store's TOTAL did not move for a FROM-SCRATCH clone (497 M
   against 498 M), so the cause is now stated as that total.

4. The R5 sweep's own negative control could not fire. It ran
   `git grep --no-index` over a file OUTSIDE the repository, and
   `git grep --no-index` refuses a path outside the work tree: the gate's
   run ended in `grep exit: 128` and a `fatal:` line, not in a hit, while
   the body claimed it was firing. Running it from OUTSIDE the repository
   does not help either — that form dies with "fatal: not a git repository"
   and the same exit 128, so BOTH earlier forms of the control were dead
   and the body claimed a firing that never happened. The control now
   NAMES the work tree it searches (GIT_DIR + GIT_WORK_TREE), so the
   pre-change file is inside a work tree the instrument may read, and the
   SAME pattern fires on it (measured: exit 0, one hit, the retired
   "~50 MB of working trees" line). Every sweep in the gate carries an
   ASSERTION on its exit code — so a sweep that cannot fail fails the gate
   instead of passing it.

5. The fix in (3) was only half-done: the REUSED store's total moves too.
   The same tree measured 810 M when the figure was taken and 856 M hours
   later, because a reused store keeps fetching the mirror's history — so
   "about 810 M" was a fence about a moment. The cause is now the one
   figure the band check covers: the from-scratch store's total, about
   500 M; a reused store is described, not measured. The table's claim
   that "each size in the table is the band the runs produced" was also
   false for the 9.5 G baseline row, which is one dated measurement of a
   full checkout: the band claim is now scoped to the two shapes the runs
   repeated, and the baseline is named as the baseline, with its date.

6. THE MERGE MOVED THE HEAD, AND THE ORG'S REPO COUNT WENT WITH IT. main
   retired the `layer-charly-ollama` carrier while this round was open, so
   the umbrella now declares 430 paths — and the clone guidance carried
   the count in EIGHT prose sites across three files ("It pins 431 repos",
   "all 431 checkouts", "clones the 431 paths", "leaves the other 418",
   "not 431 checkouts", "431 submodules at the root", "431 calls", "431
   checkouts and 9.5 G"). The count was a FENCE about a head, and the
   head moved under it. It is not re-derived to 430: it is DELETED. It
   duplicates the count the org map states once — and that one is
   reconciled by a committed gate (`charly task org-map`), while these
   eight sat in a section no gate reconciles, so they would have gone
   stale silently the next time the org added a repo. The guidance now
   states the SHAPE ("every OpenCharly repo", "every declared path", "the
   rest"), and the two facts a reader actually needs are re-derivable with
   `charly task init --output`, which prints both from the tree. The
   dated DEFECT observations keep their numbers — "385 of 431 paths" is
   history — and the three that had no date now carry it.

7. THE BASELINE'S DATE WAS CLAIMED AT EVERY SITE, AND TWO SITES NEVER GOT
   IT. Round 4 moved the 9.5 G baseline's date onto every site that quotes
   it, and its commit message named them: "the README's table and
   headline, `charly.yml`'s task header, and the initializer's own
   header". The headline never got it, and neither did the sizes
   paragraph's comparison — so the message's claim was false, and the
   headline's 9.5 GB was an eternal number. The miss is the same as (1)'s:
   the sweep was written to match the phrase it had just reworded
   ("measured on this tree"), not to assert the NEW obligation (every site
   that quotes a dated baseline carries its date), so a site that never
   carried the old phrase could not be found. Both sites now carry the
   date. The same sweep never covered the COUNTS, so the gate's own step
   count ("26 of 26 steps passed") was carried in a CURRENT claim in the
   README while the same number sat, undated, in the observation above
   it; the current claim now carries the claim without the count — the
   number stays in the dated observation and in the PR body, which is
   dated by the head it was measured on.

8. THE BANDS WERE NARROWER THAN THE RUNS. This round's own re-measurement of
   the light shape on the merged head produced 76 M — three fresh clones,
   76 M each — against the committed band 73–75 M, and this round's own
   re-measurement of the WALL CLOCK produced a 14 s clone against the
   committed 15–17 s band. The bands were derived from the samples of an
   EARLIER head of this same branch, and the merge moved the working set's
   content with it, so the samples moved with it: a band is a fence about a
   head, and this one had gone stale inside the branch it was written for.
   The size band is now 73–76 M and the clock band 14–17 s — the range every
   sample this branch produced — in the table and in the prose that quotes
   them, and the committed comparison is re-run against the new bands. The
   `--all` shape's clock band moved the same way: this round's from-scratch
   materialization measured 364 s against the committed 370–403 s, so that
   band is now 6 m 3 s – 6 m 43 s (see 11).

9. THE ROOT OF ALL EIGHT: NO CONTROL READ THE NUMBERS. Every finding in
   this round is one species: a figure carried as a number in prose, true
   of a head, with NOTHING in the repository reading it. That is why the
   drift was silent twice — the bootstrap's band in (3) and the clone's
   band in (8) — and why the count and the baseline's date needed a sweep
   written to match the phrase they had just reworded, which is what (6)
   and (7) are about. The root fix is a control that reads the numbers,
   and it is committed here, in two halves of one rule (R2):
   `scripts/measure-clone.sh` measures the shapes from fresh clones of the
   tree under test and prints every reading, and
   `scripts/check-readme-measurements.mjs` is the comparison — it parses
   the clone-shape table, parses the prose that quotes it, and asserts
   that the two copies of every band AGREE, that a shape the runs repeated
   carries a BAND while a shape measured once carries a dated point
   figure, that the bootstrapped tree's band can only add bytes to the
   clone's, that every site quoting the baseline quotes the SAME figure
   with the SAME date, and — with `--samples <log>` — that every sample a
   live run produced falls inside the band the README commits. The
   comparison's `--self-test` mutates a copy of each input and must see
   the gate go red for each one (eight mutations, all caught), and the
   gate is RED WITHOUT the change: five findings on this commit's
   pre-change tree, nine on the branch's base (both trees extracted with
   `git archive`, so a file a tree does not have stays absent), so the
   coverage fails without the change (R7). It is a step of `charly task verify`
   and of the pre-commit hook; the measurement half is a MANUAL tool (it
   needs the network and about ten minutes, so it is not a verify step),
   and the README now says how to re-measure instead of remembering the
   numbers. This closes #608, which this PR filed
   for exactly this. The session's own copies of this rule — a band check
   and a measurement script living outside the repository, where no reader
   finds them — are retired with it. The one point figure the prose still
   carried where the runs repeated — "about 500 M" for the openclaw
   store's from-scratch size — is now the band those runs produced,
   480–520 M.

10. THE MERGE BROUGHT A RED GATE WITH IT, AND UNDER R1 THAT IS BLOCKING.
    `main` moved four commits while this round was open, and one of them
    (#612) moved the org's general-guidance skills INTO this umbrella — so
    the umbrella now AUTHORS the `agents` skill, and that skill's
    reference file STATES the coordination closed set. The gate that keeps
    the closed set comparable asks the FILES how many places state it
    (#567, its second job), and a copy no surface
    covers turns it RED: ".agents/skills/agents/references/
    hooks-and-lifecycle.md:475 states the closed set and no surface covers
    it — a copy nobody compares". The merge was clean and the defect came
    with it: this round's own measurement on the merged head is the first
    thing that SAW it — the light tree's gate reported 28 steps and 1
    failed. `main` is RED on this step today: the same gate script and the
    same file, extracted from `origin/main` and run against that tree,
    gives the same finding and rc=1.

    Mechanism: #612 adopted a file that states the closed set without
    adding it to the gate's list of surfaces, so the copy moved into a
    tree the gate scans and out of the list the gate compares. Missed
    control: nothing in `main`'s own pipeline runs this umbrella's
    `charly task verify` (the repo's only workflow is tag-on-merge), so a
    red step can land on `main` and stay there. Blast radius: every
    session that runs the umbrella's gate, and every PR that merges `main`
    into a branch — this round's branch, for one.

    Root fix, here, because the rulebook says so ("fix it in this
    change, whoever caused it"): the umbrella's own copy is added to the
    gate's SURFACES, so the copy nobody compared is now compared — 18
    surfaces, 0 failures — and the self-test grows two arms that prove
    the new surface can FAIL: the copy as it is written is GREEN, and the
    same copy with the retired label in its second line is RED and names
    the surface that caught it (R7).

11. THE CONTROL THIS COMMIT COMMITS CAUGHT THE BAND IT WAS COMMITTED TO
    CATCH, ON ITS FIRST RUN. The band committed for the `--all` shape's wall
    clock was 6 m 4 s – 6 m 43 s (item 8's repair), and this round's own
    measurement of that shape on this head measured 363 s — ONE SECOND below
    it. The committed comparison reported it and exited 1: "the `--all` shape's
    wall clock: 363 s is OUTSIDE the committed band 364–403 s — the band is
    narrower than the runs produced, so the band must be widened (a new tree,
    hence a new gate)". A band that a reading has outgrown is a defect in the
    BAND, not in the reading, so the band is widened to the range the runs
    produced: 6 m 3 s – 6 m 43 s, in the table and in the prose that quotes it.

    Mechanism: the band was derived from the samples of an EARLIER head of
    this branch and widened in (8) to that head's range; this commit's own
    re-measurement of the same shape, on the tree the band is committed with,
    moved one second below it. Missed control: NONE — the control is what
    found it, on its first run against the tree it was committed with, which
    is the whole point of committing it (9). The gap was the ORDERING: the
    band was widened to the previous head's samples and the tree was then
    changed, so the band and the tree were not proven together. Blast
    radius: the two sites that quote the band — the table's cell and the prose
    that quotes the table — and the PR body, which quotes the same band. Root
    fix: the measurement that derives the band is run on the tree that
    carries it, and the band is re-derived from that run's samples, so the
    tree and its band are proven together.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
`main` moved while this PR was open: the org's agents reference stops restating the
coordination closed set (#617), the containerd programme's five producer pins advance
to their served mains (#618), and both changelogs land. The ruleset's strict
required-status-check policy requires the branch to be up to date before it can merge,
so `main` is merged in — a merge, never a rebase — and the merge is conflict-free,
so nothing of this PR's own work is re-resolved here.

The merged content is `main`'s, already gated in its own PRs; this branch's own
commit sits on top of it, and the final tree is gated and re-measured again here.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…he bands to the samples the branch produced

Two findings from round 8, fixed in ONE commit — a review round appends one
commit, so a round's fixes travel together.

1. The dead surface. The merge of origin/main brought main's #617 ("the agents
reference stops restating the coordination closed set"), which replaced the
umbrella's own enumeration of the nine labels in
.agents/skills/agents/references/hooks-and-lifecycle.md with a pointer to
AGENTS.md Part II #7. This branch's gate listed that file as a SURFACE, so
after the merge the gate compared a copy that no longer exists — RED on the
merged tree: "no longer matches its locator — the copy changed shape".

The copy is gone, so the surface is dead: a locator that matched the
pointer would be a control that cannot fail. The set stays compared on the
umbrella's AGENTS.md Part II #7, which is ALREADY a surface, and Job 2 still
catches the CLASS — a statement of the set in any file that no surface
covers — so a future copy in this very file is caught again.

2. The bands the samples outgrew. The measurement on the merged head
9563f57 produced a light clone of 77 M, a bootstrapped light tree of 128 M, a
light wall clock of 18 s and an --all wall clock of 367 s; the committed
bands were 73–77 M, 125–128 M, 14–17 s and 359–403 s. One reading landed
outside its band: the light clock's 18 s sat one second above the band's
upper bound. The gate's own verdict names the defect: "a band that a sample
has outgrown is a defect in the BAND". So the bands are widened to the union
of every sample this branch produced — 73–77 M, 125–128 M, 14–18 s and
359–403 s (5 m 59 s – 6 m 43 s) — and the table and the prose that quote them
are widened with them, in the same cut.

A band is also DATED, and until now it was not. The table's date sentence
carried the day of the baseline alone, while the bands carried readings taken
on a later day, so the sentence was about the wrong day and the samples' day
was unstated — an unstated day is unchecked. The sentence now carries the SPAN
of days the readings were taken on (the baseline's own day, and the day the
repeated readings were taken), and `scripts/measure-clone.sh` stamps
`MEASURED=<date>` in its log, so the comparison half can hold the samples'
day to that span: a band older than the readings it governs is a fence about a
head that has moved on. The checker's self-test gains the matching arm, so the
span is a control that can fail.

Measured on the trees, not asserted: the coord gate is RED (rc=1, 1 failure)
on the pre-fix tree c5e2be8 and GREEN (rc=0, 17 surfaces compared, 0 skipped,
0 failures) on this one, with its self-test OK; the measurement gate is RED on
the pre-fix tree and GREEN on this one, and its self-test fires on every
mutation, including the new date arm.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
`main` moved while this PR was open: the design programme's one-generic-shape
change lands (#616) with its changelog, on top of the agents-reference change
(#617) and the containerd programme's producer pin advances (#618) that the
previous merge already brought in. The ruleset's strict required-status-check
policy requires the branch to be up to date before it can merge, so `main` is
merged in — a merge, never a rebase — and the merge is conflict-free, so
nothing of this PR's own work is re-resolved here.

The merged content is `main`'s, already gated in its own PRs; this branch's own
commit sits on top of it, and the final tree is gated and re-measured again here.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
… prove the reconciliation can fail

The `charly/pr-validator` BLOCKed round 8 on `7cfd480` with three findings, and all
three were the same class: the body misstated the diff it was published with. The
file table listed a file the diff does not change; the README row claimed an org-map
change the README diff does not carry; and the gate evidence pasted in §1 was taken on
`0d0cedb`, not on the head the body names.

The RCA names the MISSED CONTROL, and it is not the linter's: the org's body linter
(`marketplace/scripts/pr_body_lint.py`) judges a body's FORM — sections, trailer,
rules, claims, ellipses, self-contradiction, the counts of a pasted diff table, and
the head it names — and it never reads the diff. Nothing in the pre-push path
reconciled the body against the tree the body ships with, so a body that was
well-formed and unfaithful passed every gate and cost a review round.

The root fix is a control, not only prose:

  * `scripts/check-pr-body-diff.mjs` (new) asks the two questions the linter cannot.
    T — the body's file table must list exactly the files the diff changes, against
    the base ref: a changed file the table omits, and a listed file the diff does not
    change, are both findings. A body with no file table is INAPPLICABLE, and says so
    rather than passing silently. H — every `git rev-parse HEAD` the body pastes must
    report the head being pushed, because the command reports the head of the tree it
    runs in, and a pasted SHA from another tree means the evidence was taken
    elsewhere. It implements NO rule the linter already owns (R2).
  * `hooks/pre-push` runs it, and BLOCKS the push on a finding. Its skips stay
    visible and never fail closed: no reconciler, or no `node`, is named and the push
    continues.
  * `scripts/check-pr-body-gate.mjs` asserts the wiring statically and FIRES the hook
    against two fixture bodies — one whose file table lists a file the diff does not
    change, one whose pasted head is not the head — so the new control is proven to
    block, and a mutation that stops it running turns the gate red.
  * `charly task verify` gains the reconciliation's discriminating self-test, so a
    control that has never fired cannot stay green.

The body itself is corrected in the same round: the phantom file table row is gone,
the org-map claim is restated as what actually landed on `main` (#610), and
§1's gate evidence is the gate of the head this commit produces.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…e step produced

The `charly/pr-validator` BLOCKed round 9 on `70aabd6` with two blocks and two
observations. Three of the four were on the PR BODY — a hand-copied paste of the
measurement gate's self-test from a tree that is not the head, §3's excerpt without the
`MEASURED=` stamp the band check reads, and §2's "seven arms" matching neither the paste
nor the script — and they are corrected in the body this PR publishes.

The fourth is here. The branch-audit's comment in `charly.yml` carried the band
"197 s to 212 s SERIAL", derived from the samples of 2026-10-22. This branch's samples
of the same step are 197 s and 212 s (2026-10-22) and 192 s and 207 s (2026-10-23) —
the 192 s reading is this head's own, taken by the gate on `70aabd6` — so the shipped
band excluded a sample the branch itself produced. A band that a sample has outgrown
is a defect in the band, not in the sample.

The comment now carries the band over EVERY sample of the step — 192 s to 212 s SERIAL,
13 s to 15 s PARALLEL — dated to both days the samples were taken, and it says that is
what the band is. The parallel band is unchanged: its samples (13 s here, 15 s on
2026-10-22) are inside it.

This edit moves the head, so every fence in the body expired: the R10 gate and the
end-to-end measurement were re-run on the commit this produces, and the body was
re-keyed to it.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…, and how to run the other (#591)

The validator's BLOCK on the published head e9ab63d raised two blocks; this commit
carries the one that is the TREE's, and the body this PR publishes carries the one
that is the body's.

THE README OVERSTATED WHAT THE COMMITTED GATE DOES. It said the band comparison
"is a step of `charly task verify` and of the pre-commit hook, so a band a reading
has outgrown ... is a failed gate". Both committed invocations run
`node scripts/check-readme-measurements.mjs` WITHOUT `--samples <log>`, so they
cannot see a reading at all: the automatic steps check the table, the prose and
the date against each other, and only a manual `scripts/measure-clone.sh` run
handed over as `--samples` checks a READING against its band. The sentence
promised the stronger half to a gate that runs the weaker one.

  Mechanism. the control has two halves - the comparison and the samples - and the
  README described them in one sentence, attaching the stronger promise to the
  half that runs automatically, because the automatic half is the one a reader
  meets first.

  Missed control. the measurement gate's --self-test proves the comparison can
  fail, and it exercises the --samples arm, so the gate was GREEN while the
  README overstated it: nothing asserted that the README's claim about WHICH arms
  run automatically agrees with the committed invocations, and those invocations
  run no argument at all, so the arms that need a log are never reached in the
  committed path.

  Blast radius. the README's measurement section, and every reader who took the
  promise for a guarantee.

  Root fix. the README now states which half is automatic - the table, the prose
  and the date, which the two committed steps do check - and gives the COMMAND for
  the half that needs the run's own log. An outgrown band is a failed check BY
  HAND, against the run that produced the reading, and the README says so.

The body's own finding - section 8's closed-set evidence described a fix that
round 8 had already undone, and a file this diff does not change - is fixed in
the body this PR publishes, and the gate now ASSERTS the identity that section
depends on (this head's closed-set script against origin/main's), so the claim is
derived from the committed file instead of narrated.

Because this edit moves the head, every fence in the body expired: the R10 gate
and the end-to-end measurement are re-run on this commit, and the body is
re-keyed to it.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…carries no count to contradict it

The `charly/pr-validator` BLOCKed #591 on a contradiction between two numbers: the
README said how many tasks this repo declares, and the command-vars gate printed a
count that the README's number appeared to contradict.

Both numbers were true and they counted different things. The gate counts every
ENTITY of charly.yml that carries a command step, and this repo's charly.yml
declares a check roster beside its tasks — so the gate's count was never the task
count, and labelling it "task(s)" said a number that was not the task count. That
mislabelling is the mechanism: it made a correct README look wrong.

The fix is on the product side first (R4). The gate now says what it counts, in
every message it prints, and the README's live count is gone: the table above the
sentence already enumerates the tasks and `charly task list` enumerates them live,
so a number that no gate reconciles no longer rots there.

The other two findings on that verdict are defects of the PR BODY, and they are
fixed in the successor PR's body, which names this PR as its predecessor.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…'s object store

The R10 gate on ab5837a went RED in its samples half: the bootstrapped light tree
read 129 M and the committed band stopped at 128 M. The finding said the band was
narrower than the runs produced, and it was -- but the band was not the defect.

RCA. The measurement clones the tree under test from THIS checkout with the LOCAL
transport, and a local clone COPIES the source's whole object store: every commit on
every branch, including other sessions' pushed branches and their loose objects.
Measured on the source repo and on the clone it produced, the two object stores were
identical (636 loose objects / 7,008 KB, 4,910 in-pack / 4,105 KB, 2 packs), so the
clone carried the machine's accumulated store and not the tree. That store grows with
the org's push traffic, and the readings drifted with it: with the tree, the `charly`
pin (9fd74793) and the built version stamp (2026.295.1709) all unchanged, the light
clone read 75 M at 23:29, 76 M at 23:41 and 77 M from 01:47, and the bootstrapped
tree read 126, 127, 128 and 129 M over the same six hours. Two clones bootstrapped
back-to-back on the same head both read 129 M and their per-file breakdowns were
identical in every size, so within a moment the reading is deterministic: the drift
is between runs, and it is a property of the environment, not of the tree.

Missed control: the band was committed from one day's readings, the samples half of
the comparison is MANUAL (`--samples <log>`), and the pre-commit hook runs the
comparison without `--samples` -- so nothing re-derived the band when a later run
outgrew it, and the band rotted silently until a run outgrew it by a megabyte.

Blast radius: the README's clone-shape table and every band it carries -- the light
clone's size, the bootstrapped tree's size, the wall clocks -- i.e. the figures the
umbrella's whole working-set guidance rests on.

Root fix, in the product and in the control:
- the measurement clones over the TRANSPORT, on the one branch that holds the tree
  under test (`--no-local --single-branch`), so a reading is a property of the tree;
- the gate now reads the measurement script and fails when a superproject clone
  falls back to the local transport, with a self-test mutation that proves the
  assertion can fail;
- the gate's self-test derives its mutation targets from the committed text
  instead of carrying a second copy of the README's numbers -- a copy that had
  already stopped applying and said so ("the mutation did not apply");
- the bootstrapped band is widened to the range the runs produced (125-129 M).

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…es the tree, not the machine

The measurement cloned the tree under test with the LOCAL transport, which copies
the source's ENTIRE object store — every commit on every branch, including other
sessions' pushed branches. So every reading was a property of the MACHINE: with
the tree, the `charly` pin and the version stamp all unchanged, the light clone
read 75 M, then 76 M, then 77 M over six hours, and the bootstrapped tree read
126, 127, 128 and 129 M. The bands the README committed rotted with the readings.

The root fix is in 2958b99: clone over the transport, on the one branch that holds
the tree under test, and the gate now fails on a measurement that clones locally.

This commit re-derives the bands that fix invalidates:
  - the light clone's size: 73–77 M -> 71–71 M (three fresh clones, 2026-10-23)
  - the bootstrapped light tree: 125–129 M -> 123–123 M (2026-10-23)
The clock bands and the `--all` bands keep their accumulated ranges: the
initializer's elapsed excludes the superproject clone, so the fix does not move
them, and the new readings sit inside them (14 s; 1.9 G, 6 m 2 s, 497 M).

The gate's self-test is fixed so every assertion can still fail against a band one
value wide: the "narrowed" mutation was a no-op on 71–71 M, and the boot-band
mutation produced a band that started AT the clone's band instead of below it. A
self-test whose mutation changes nothing proves nothing (R7).

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…ay why it failed

The measurement resolves the tree under test ONCE, at the start, and clones it
minutes later. When the source's branch MOVES in between, the clone carries the
branch as it was at clone time and no longer holds the tree the run resolved — and
the run died with a bare "the clone at ... failed", because the clone path
silenced git's own error.

Two root fixes, and one control that would have caught the second:

  * the tree under test is fetched BY ITS SHA when the clone does not carry it, so
    a tree on no branch — and a branch that moved — is still measurable. A tree no
    branch holds is fetched into an empty repository, which carries the tree and no
    other branch's history, so the reading is still of the TREE.
  * git's error is never silenced: every path that reports a failure reports git's
    own words with it — the clone, the repository creation, the fetch by SHA and the
    checkout — so an operator can tell a network failure from a moved ref.

The control is the script's own `--self-test`: a fixture of its own, no network,
three assertions — a tree a branch holds is cloned with the tree; a tree no branch
holds is fetched by its SHA; a failure names git's own error. It runs in
`charly task self-test`, and so in the pre-commit gate.

Differential: the pre-change clone path, run against the same fixture and the same
assertions, fails the last two — it cannot clone a tree no branch holds, and it
answers a failure with silence.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
PR #591's last verdict carried a block whose class is a false claim in the
shipped files, not a missing feature. The gate's own text contradicted the gate's
own mapping: the block comment and the mutation's name both claimed that the
COMPLETENESS assertion is what catches the "first submodule only" mutation, while
the self-test maps that mutation to C:status — and the mutation's name is pasted
into the PR body next to the self-test's own line, so the contradiction was
visible in the evidence itself.

Measured, on a scratch copy of the gate: the step's "suspiciously few submodules"
guard counts the paths in .gitmodules, not the paths the audit LOOKED AT, so it
does NOT fire — the truncated audit exits 0, and C:status (the step must FAIL) is
what catches it. C:names-all fires too, but a status assertion is satisfied by
ANY failure, so it cannot carry the completeness claim on its own: the mutation
that proves the sharp property is the other one, which keeps the step failing
while it stops naming a mismatching path.

The root fix keeps the claim in ONE place. The mutation's name now describes the
DEFECT it introduces — the truncated audit goes GREEN — and no longer names an
assertion, so the name and the self-test's printed "is caught by assertion <id>"
cannot disagree. The two comments state the mechanism as measured: why the count
guard does not fire, and which mutation proves the sharp claim.

The hook's own comment (hooks/pre-commit, item 13) now says which half of the
README-measurement gate is automatic: the table/prose/date half runs in the hook,
and the SAMPLES half — a reading against its band — needs the run's own log, so
it is the manual `--samples <log>` step the README names. The previous text
implied the hook reads the numbers, and it does not.

Verified on this tree: `node scripts/check-verify-branch-audit.mjs --self-test`
passes 4/4 (every mutation caught by the assertion it is mapped to), and the
gate itself passes.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…produce

The measurement gate handed the final tree's sample to the committed band and
refused it: the `--all` shape's from-scratch materialization measured 357 s, and
the band said 359–403 s. Two seconds under a fence, on a shape that took six
minutes.

MECHANISM. The `--all` wall clock is a NETWORK sample, not a CPU one: the shape
clones every declared path in parallel and then checks them out one at a time,
and its time is dominated by the vendored upstream mirrors (openclaw alone holds
7.6 GB of history). Its run-to-run spread is therefore tens of seconds, not
seconds — and the band had been derived from the runs available when it was
written, so its lower bound sat 2 s above readings this machine has actually
produced. Every sample the runs have produced, across 24 runs on this machine:

  355 357 359 359 360 361 361 362 362 362 362 363 363 363 363 364
  367 367 370 371 375 375 380 385 403

The committed band covered 359–403: it excluded the two lowest samples in that
list, both of them real readings of the same shape on the same machine. The band
was narrower than the runs produce, which is the defect the gate exists to name.

MISSED CONTROL. The band was derived once, by hand, from the runs available at
that moment, and nothing re-derived it when later runs landed below its lower
bound. The control that DID work is the one that caught it: the gate's samples
arm, which only sees a band when a live run's reading is handed to it. That is
the arm that fired here, on the final tree, before the push.

ROOT FIX. Widen the band to the range the runs produce — 5 m 55 s – 6 m 43 s —
in the table and in the prose that restates it (the two sites the gate's prose
arm holds in agreement), and re-run the measurement on the widened tree, so the
band the tree carries is the band the tree's own run falls inside.

The band is the SHAPE's wall clock, not a claim about the initializer: the
initializer's own behaviour is unchanged by this commit, and the sizes the same
run measured (71 M light, 1.9 G for --all, 123 M bootstrapped, 497 M for the
openclaw store) are unchanged and still inside their bands.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (documentation reviewed)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

The diff is large but internally coherent: the new init/materializer, the four gate scripts, the hook wiring, the README/AGENTS changes, and the self-tests all match the body's detailed evidence. The body's file table lists exactly the 12 changed files, and the numbers in §1, §2, §3, §7 and §8c agree with the README bands and the scripts' parsers. No security issue stands out: the init mode and paths travel in the environment, are validated against the declared submodule set, and are never spliced into shell source.

One body/diff contradiction remains.

Blocks

  • PR body — “Change classification” miscounts the new scripts.
    The body says:

    “not a documentation-only change: three new executable scripts under scripts/, …”
    But the diff adds six new files under scripts/ — scripts/check-pr-body-diff.mjs, scripts/check-readme-measurements.mjs, scripts/check-task-command-vars.mjs, scripts/check-verify-branch-audit.mjs, scripts/init-submodules.sh, and scripts/measure-clone.sh — and the body's own file table marks all six as new. This is a stale count that contradicts the diff and the body's own table.
    Required fix: correct “three” to “six” (or enumerate the six scripts) so the classification section describes the diff it ships with.

Verdict: BLOCK


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

View action run

…e diff

The `charly/pr-validator` BLOCKed this branch's own PR on one finding: the
"Change classification" section said "three new executable scripts under
`scripts/`", and the diff adds six. The prose and the diff state the same fact
twice, and the prose's copy was a hand-written number that the diff outgrew.

MECHANISM. The body is assembled from a template whose prose was written
against an earlier shape of the diff, and the shape kept growing while the
template's sentence did not. Compressing the paragraph to fit the 65 536
character limit replaced a true enumeration of three file names with a bare
count — and a bare count is the one form of that sentence that nothing can
check, because the file names it replaced were names the diff could be asked
about. The body's own file table listed all six as new the whole time; the
sentence above it said three.

MISSED CONTROL. `scripts/check-pr-body-diff.mjs` — the reconciler that holds
the body to the diff it is published with — asserted the file TABLE against
the diff (T) and the pasted head evidence against the head (H), and stopped
there. It deliberately did not read the prose: "a row that says the README
carries a change the README does not carry is a judgement, and judgement is
the validator's job". That is right for prose, and wrong for a COUNT: a count
is the diff's own arithmetic, so the diff CAN decide it. Nothing in the
umbrella's own pre-push path asked the arithmetic, so the stale number
survived the gate and cost a review round.

BLAST RADIUS. Every count the prose states about the diff's file set, in this
body and in every body this repository's reconciler guards. A count is the
cheapest thing to forget to update and the easiest thing for a reader to
trust, because it is the same shape as the counts that ARE derived.

ROOT FIX. Two changes, one in the body and one in the control.

The control gains the rule that was missing: N. Every count the body's prose
states about the diff's NEW files equals the diff's own. The count is derived
MECHANICALLY — a number, the word "new" or "added", and a noun that names
files or scripts — so a claim about something else ("the four new gates", "a
new task and new gate steps") is not read as a claim about the diff's file
set, and the scope the prose names ("under `scripts/`") narrows the comparison
to that directory. The rule's own self-test arm proves it can fail: a fixture
body whose prose says "two new scripts" over a diff that adds one turns the
gate RED, and the same body with "one new script" stays green.

The body stops stating a bare count and names the six files instead, so the
file table stays the single record of the diff's file set (R2: one canonical
statement per fact).

PROOF. The new rule, run against the body this commit replaces, reports the
validator's finding from the diff alone:

  FAIL  the body states "three new executable scripts" (line 774), and the
        diff adds 6 new file(s) under `scripts/` — the count in the prose is
        stale

and against the body this commit publishes, it is green.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — round 1 of #622 is fixed: the body's count of the diff's new files is corrected, and the control that let it through is now committed.

What the validator BLOCKed. One finding, and only one: the "Change classification" section counted the diff's new scripts as three where the diff adds six. The body's own file table had marked all six as new the whole time; the sentence above it said three.

The mechanism. The body is assembled from a template whose prose was written against an earlier shape of the diff, and the shape kept growing while the template's sentence did not. Compressing that paragraph to fit the 65 536-character limit replaced a true enumeration of three file names with a bare count — and a bare count is the one form of that sentence that nothing can check, because the file names it replaced were names the diff could be asked about.

The missed control. scripts/check-pr-body-diff.mjs — the reconciler that holds the body to the diff it is published with — asserted the file table against the diff (T) and the pasted head evidence against the head (H), and stopped there. It deliberately did not read the prose: "a row that says the README carries a change the README does not carry is a judgement, and judgement is the validator's job". That is right for prose, and wrong for a count: a count is the diff's own arithmetic, so the diff CAN decide it. Nothing in the umbrella's own pre-push path asked the arithmetic, so the stale number survived the gate and cost a review round.

The blast radius. Every count the prose states about the diff's file set, in this body and in every body this repository's reconciler guards. A count is the cheapest thing to forget to update and the easiest for a reader to trust, because it has the same shape as the counts that ARE derived.

The root fix — in the code AND in the control. Two changes, and the second is the one that stops the class.

  • The body now enumerates the six scripts instead of counting them, so the file table stays the single record of the diff's file set.
  • The control gained the rule that was missing, as rule N: every count the body's prose states about the diff's new files equals the diff's. The count is derived mechanically — a number, the word "new" or "added", and a noun that names files or scripts — so a claim about anything else ("the four new gates", "a new task") is not read as a claim about the diff's file set, and the scope the prose names ("under scripts/") narrows the comparison to that directory. The rule's own --self-test arm proves it can fail: a fixture body whose prose says "two new scripts" over a diff that adds one turns the gate red, and the same body with "one new script" stays green.

Proof, on the real body. The new rule, run against the body this commit replaces — with its pasted head updated to this head, so the count is the only finding left — reports the validator's finding from the diff alone:

  FAIL  the body states "three new executable scripts" (line 774), and the diff adds 6 new file(s) under `scripts/` — the count in the prose is stale
rc=1

and against the body this commit publishes it is green, with the count claim asserted against the diff (every count the body states about the diff's new files matches the diff (1 claim(s))). Both runs are pasted in §2e-bis of the body.

The commit. One commit, b5c014b — fix(umbrella): the body's count of the diff's new files is held to the diff. It changes the control and nothing else; the diff's file set is unchanged.

Next. The validator's verdict on the new head.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

I re-derived the body's claims against the 12-file diff, the shipped scripts, and the pasted evidence, and dispositioned both comments against the current state.

Body/diff honesty. The current ## Change classification says "six new executable scripts under scripts/" and enumerates all six (init-submodules.sh, measure-clone.sh, check-pr-body-diff.mjs, check-readme-measurements.mjs, check-task-command-vars.mjs, check-verify-branch-audit.mjs). The diff adds exactly those six under scripts/ (plus check-pr-body-gate.mjs modified). The file table lists the same 12 files the diff changes, and §2e's reconciler run reports the file table lists exactly the 12 file(s) the diff changes. The working-set count (13 of 13 materialized, 417 of 430 uninitialized, 13+417=430) matches §3/§4. The README bands (71–71 M, 14–18 s, 1.9–2.2 G, 5 m 55 s – 6 m 43 s, 123–123 M, 480–520 M) are reproduced by the §3 samples (71M×3, 15s×3, 362s, 1.9G, 123M, 500M) and by the §7 audit samples (194s, 13s) inside the stated 190–212 s / 13–15 s union. No remaining arithmetic or table contradiction.

Disposition of comments.

  • github-actions[bot] BLOCK (round 1): claimed the body counted "three" new scripts. Stale/fixed — the current body says six and enumerates them; the claim is not reproduced by the current state.
  • @aitrawog status: claims the count was corrected and the control gained rule N. Verified — check-pr-body-diff.mjs carries rule N (countClaims/checkCounts), its --self-test has the stale-count arm and an unmutated-green arm, and §2e-bis shows it red on the pre-fix body and green on this body (1 claim(s)). The only imprecision is the comment's "instead of counting them" (the body still states "six"), but the count is now correct, so nothing substantive is wrong.

Tests / coverage. Each new gate ships a discriminating --self-test (mutation → red), wired into charly.yml and hooks/pre-commit; §2c shows check-readme-measurements red on three pre-change trees with asserted finding counts; §2f shows the pre-change clone path failing the committed assertions. The --samples half is honestly documented as manual (README, hook comment, body row), closing #591's block 2.

Security. CHARLY_INIT_MODE/CHARLY_INIT_PATHS are read as data, compared against the declared submodule set, and never spliced into command text; the injection arm (CHARLY_INIT_MODE='all; touch …') fails loud and the marker is absent (§4). No secrets, no new privileged path.

Scope. Coherent: new init task, blobless derived materializer, parallelized audit with brace-free env read, four gates + hook wiring, and docs describing them. No dead legacy path left behind (the --depth 1 recipe and ~50 MB claim are deleted, with a control that fires on the pre-change file, §6).

No designated maintainer sign-off is present, so the change stands on its own evidence — which it does. The prior block is resolved; no new block-level finding survives.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 23, 2026 06:10
@github-actions
github-actions Bot merged commit 5a62221 into main Oct 23, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 23, 2026
@aitrawog

Copy link
Copy Markdown
Contributor Author

RESOLVED — #622 landed, and the issue it carried is closed.

The landing. The fresh charly/pr-validator PASSed on the pushed head b5c014b (the verdict re-derived the body's claims against the 12-file diff and dispositioned both comments against the current state), native auto-merge (squash) armed itself at 06:10:38Z, and the merge landed at 06:11:13Z as 5a62221 — feat(umbrella): a clone is a working set, not 431 checkouts (#622). tag-on-merge wrote CHANGELOG/2026.296.0611.md from this body, and the tag v2026.296.0611 is on the merge.

The issue it resolved. opencharly/opencharly#608 — the clone-shape bands in README.md are re-measured by a push-time instrument, not by a committed script — is closed by this PR: the instrument is now committed (scripts/measure-clone.sh and scripts/check-readme-measurements.mjs), so the bands are re-derived by a control that lives in the repository.

What is deliberately still open. The issues the body filed under ## Filed issues stay open, each in the repo that owns its half: opencharly/charly#904, opencharly/plugin-task#34, opencharly/plugin-task#35, opencharly/plugin-marketplace#42, opencharly/opencharly#498, opencharly/opencharly#613, opencharly/opencharly#621, opencharly/marketplace#537, opencharly/marketplace#543, and opencharly/.github#229. Each carries the RCA this PR's rounds produced.

Next. The umbrella's own pin wave — opencharly/opencharly#621, the 16 declared gitlinks that are behind their producers' merged mains — is ordered after this landing and is the next leg: charly task init --all first (this PR is what adds the materializer), then charly task sync, never a hand-pin.

Agent: charly

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

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.

the clone-shape bands in README.md are re-measured by a push-time instrument, not by a committed script — the control must be landable

1 participant