Skip to content

feat(umbrella)!: retire the layer-charly-ollama skills carrier (#600) - #610

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/retire-ollama-skills-carrier
Oct 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/retire-ollama-skills-carrier

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Head bfa6fee430eb2e2625655203155a0ab2b11a2d20. The retired carrier's umbrella side — one cutover.

layer-charly-ollama existed only to own prose. Its one skill, ollama-layer, now lives
beside the candy it describes: pod-ollama/.agents/skills/ollama-layer/SKILL.md
(opencharly/pod-ollama#7, merged, tag v2026.295.1812 — the move was proven byte-identical
at both ends there), and the marketplace refs list no longer names the carrier
(opencharly/marketplace#538, merged, tag v2026.295.1845). With the ref dropped and the
corpus regenerated byte-identically, the carrier publishes nothing — so
AGENTS.md "Repo classes and naming" retires it: a repo whose only content is skills is
not a class.

file what it carries
.gitmodules the layer-charly-ollama stanza removed (431 → 430 submodules)
layer-charly-ollama the gitlink deleted (git submodule deinit + git rm; the module store at .git/modules/layer-charly-ollama was removed after resolving the absolute path)
README.md the org-map row removed; header 429 → 430; section counts reconciled; the two missing layer-strata / plugin-strata rows added; two stale skill counts corrected
pod-ollama, marketplace, plugin-deploy-pod three pins advanced by charly task sync — never a hand-pin

This PR is also the answer to the question the migration stopped on. The previous
session's own status said the move "stops at the corpus boundary today" because the umbrella
gitlink legs needed a charly task sync, which needs an initialized checkout, while a linked
worktree holds 4 of 431. So this run executed task sync in the main umbrella checkout
(/home/atrawog/Sync/Atrapub/mo/dsh/opencharly, the one place the project loads with all 431
paths materialized) on a feat/ branch, and landed the resulting gitlinks from there. The
linked session worktrees were not used for the sync, and nothing was hand-pinned.

The pin advance

charly task sync is the ONE pin-advance path, and its bump mode rolls every submodule
not named in pin_map to its default-branch HEAD. It therefore advanced three pins, not one:

$ ./charly/bin/charly task sync          # rc=0
$ git diff --cached --submodule=short --stat
 marketplace       | 2 +-      ae8317d8 -> 328d2685
 plugin-deploy-pod | 2 +-      e3df55bb -> 5d6d0826
 pod-ollama        | 2 +-      85639dc6 -> 36290eb9
$ git ls-tree HEAD pod-ollama marketplace plugin-deploy-pod
 36290eb9a7…  pod-ollama
 328d2685…    marketplace
 5d6d0826a7…  plugin-deploy-pod

pod-ollama is the pin this unit exists to advance (36290eb9 carries the moved SKILL.md).
marketplace and plugin-deploy-pod were both already not-on-the-served-line before this
change
, and the verb repairs the whole set — a hand-pin of one and a hand-skip of two would
be the thing the rulebook forbids. The marketplace advance is also load-bearing for this
PR's proof: it is the commit whose refs list no longer carries the retired carrier, so the
corpus regenerated from it can only source ollama-layer from pod-ollama.

Two pre-existing org-map defects, fixed here because this change's gate needs them

charly task org-map was red on main before this change — measured, on the untouched
tree:

submodules in .gitmodules : 431
submodules with no row    : ['layer-strata', 'plugin-strata']
header '(N today)'        : 429  matches=False

layer-strata and plugin-strata are real submodules with no README row, and the header
said 429 while .gitmodules held 431. A row-removal cannot make that gate green, so the two
rows are added and the counts reconciled (this is also why the header lands on 430, not 429).
Two row descriptions also carried a stale skill count, measured from each repo's own
.agents/skills/: layer-charly-check 13 → 14, layer-charly-internals-extra 8 → 2.

How tested

Binary equals source (R9) first — the checked-out charly had advanced past the welded
binary, and the stale binary rejected the new engine: containerd vocabulary the tree now
authors (spec#266):

$ ./charly/bin/charly version           # before
2026.294.1108
$ ./charly/scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.295.1709)      rc=0
$ ./charly/bin/charly version           # after
2026.295.1709

1. currency — the question is currency, not consistency

Before (recorded on the untouched tree, 431 pins):

currency: 3 of 431 pin(s) NOT current [1 behind, 428 cur, 2 not-on-the-served-line]; intents: 425 upstream leaf/leaves (425 implicit), 6 derived-from edge(s); NOT CURRENT: marketplace: not-on-the-served-line; intent upstream:main; recorded ae8317d85d; served 328d26850a; plugin-deploy-pod: not-on-the-served-line; recorded e3df55bb93; served 5d6d0826a7; pod-ollama: behind; intent upstream:main; recorded 85639dc6b3; served 36290eb9a7 (branch); producer-first legs: pod-ollama (85639dc6b3 -> 36290eb9a7)

After (./charly/bin/charly task pins --param MODE=currency, on this head):

currency: 1 of 430 pin(s) NOT current [429 cur, 1 not-on-the-served-line]; intents: 424 upstream leaf/leaves (424 implicit), 6 derived-from edge(s); NOT CURRENT: layer-nvidia: not-on-the-served-line; intent upstream:main (implicit: .gitmodules branch=); recorded 38c38e01d0; served 28e7bfb278 (a squash-merged branch advances without descending from its previous head, and a hand-pin looks identical; advance the pin either way); producer-first legs: none reachable from this repo

Every non-cur row is named, and there is exactly one: layer-nvidia: not-on-the-served-line,
recorded 38c38e01d0, served 28e7bfb278. It is not this change's — it was cur when
task sync ran in this session and its remote tip moved afterwards (a squash advance with no
descent). Per Part II #3 it PASSES and is REPORTED; the advance is available now and belongs
to whichever unit owns that pin.

2. org-map — green, and the table

$ ./charly/bin/charly task org-map
task org-map: 1 step(s), 0 failed
  [pass] check — every section reconciles, is sorted, and every submodule has a row

The same python the step runs, read out (the step's stdout is discarded by the task reporter):

section                    claimed  rows  sorted
### Core & contract              6     6     yes
### Distro image families        6     6     yes
### Package repositories        10    10     yes
### Product & tooling           13    13     yes
### pi packages                  4     4     yes
### Charly candy layers         20    20     yes
### Omarchy layers              13    13     yes
### Omarchy evaluation           2     2     yes
### Check & fixture layers      15    15     yes
### Other layers               144   144     yes
### Plugins                    120   120     yes
### Pods                        74    74     yes
### VMs                          3     3     yes

submodules in .gitmodules : 430
submodules with no row    : none
header '(N today)'        : 430  matches=True

3. The corpus still generates — and is byte-identical

Run after the submodule removal, from the advanced marketplace checkout:

$ charly marketplace generate --root . --out /tmp/mkt-after
GEN_RC=0                    (zero warnings, zero errors, zero skipped)
$ find /tmp/mkt-after -name SKILL.md | wc -l
360
$ diff -rq /tmp/mkt-after marketplace | grep -c differ
0

Every one of the 360 emitted skill files is byte-identical to the committed corpus, and
no emitted family dir is missing or extra (the only Only in marketplace: lines are the
repo's authored files — charly.yml, AGENTS.md, README.md, scripts/, candy/ — which
the generator does not emit). The drift gate is green.

The move is still a move — the retired carrier contributes nothing, and the surviving copy
is pod-ollama's:

$ ls /tmp/mkt-after/ollama/skills/
ollama  ollama-cli  ollama-layer
$ grep -rl 'layer-charly-ollama' /tmp/mkt-after | wc -l
0
$ sha256sum /tmp/mkt-after/ollama/skills/ollama-layer/SKILL.md marketplace/ollama/skills/ollama-layer/SKILL.md
5be72579a6d6c391…  /tmp/mkt-after/ollama/skills/ollama-layer/SKILL.md
5be72579a6d6c391…  marketplace/ollama/skills/ollama-layer/SKILL.md

(ollama-layer's body in the corpus is a projection of pod-ollama's authored file: the
generator adds its DO-NOT-EDIT banner, which is why the corpus file and the authored file are
equal as bodies and not as bytes. The byte-identity proof for the move is
opencharly/pod-ollama#7's, where the two authored files were sha256sum-equal.)

4. task verify — the full pinning gate, on this commit

$ ./charly/bin/charly task verify
task verify: 22 step(s), 0 failed

Including the pin contract's edge half, the checkout audit, and the 430-call remote
default-branch audit.

5. R5 — the retired identifier is gone

$ git ls-files -z | xargs -0 grep -l "layer-charly-ollama" | grep -v "^CHANGELOG/"
                       (empty)
$ grep -c '^\[submodule ' .gitmodules
430
$ git ls-tree HEAD layer-charly-ollama | wc -l
0

Only CHANGELOG/ history still names it, which is where history belongs.

Rulebook compliance

  • R1 — three anomalies, each RCA'd before remediation, none filed away where it was
    blocking: (a) org-map was red on main (two missing rows + a stale header) → fixed here,
    because this change's own gate could not go green otherwise; (b) the runner binary was
    stale relative to the source and refused the tree's own engine: containerd vocabulary
    → rebuilt from source (R9), which is what "binary equals source" means; (c) two README row
    descriptions carried counts that disagreed with the repos → measured and corrected.
  • R2 — the carrier is deleted, not shimmed: no alias, no stub, no *-skills successor.
  • R3 — no workaround. task sync was re-run, never patched; the first run's
    index-lock contention was self-inflicted (my own concurrent git status polls raced the
    verb's git add), so the fix was to stop polling during the run, not to retry blindly.
  • R4 — every command here is the binary's own (charly task …, charly marketplace …).
  • R5 — swept, above.
  • R6 — no force-push, no hook bypass, no direct push to main. A concurrent session reset
    this shared checkout mid-run (reset: moving to origin/main, 21:47:50, reflog); the change
    was re-applied and committed immediately rather than merged around.
  • R7 — the corpus is the emitted artefact and was verified at its boundary (diff -rq,
    0 differing files), not by compilation.
  • R9 — the binary was rebuilt in-tree and its version moved 2026.294.1108 → 2026.295.1709.
  • R10 — charly task verify on the commit being pushed: 22/22, 0 failed.
  • HC — one cutover: submodule removal + org-map + README + the pin advance share one gate
    and one commit. The archive of the repo is the last step of this same cutover and is
    performed only after this PR merges (archiving first would strand the gitlink).
  • COORD — this PR's README hunk overlaps feat(umbrella): materialize a working set instead of 431 checkouts #591, which repairs the same
    two missing org-map rows; a HOLDING comment is posted on feat(umbrella): materialize a working set instead of 431 checkouts #591 naming this PR, and feat(umbrella): materialize a working set instead of 431 checkouts #591 is
    otherwise untouched.

Change classification

Umbrella config + gitlink change: a submodule removal, three pin advances, and org-map prose.
No runtime path, no Go, no schema. Gate: charly task verify (the submodule/gitlink/pin gate),
plus charly task org-map and the corpus drift gate, all run on bfa6fee.

Attribution: this session's delivered runtime context reads, verbatim,
You are a coding agent powered by the deepseek-v4.1-flash model. — harness
DeepSeek Harness, model deepseek-v4.1-flash, the pair the footer names, and the same
runtime #538 records as rejected by the validator's model allowlist even
though it is real and running; cited so the A3 check can be read against that open defect.

Filed issues

Agent: charly

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

The carrier's only skill, ollama-layer, now lives beside the candy it describes
(pod-ollama/.agents/skills/ollama-layer/SKILL.md, opencharly/pod-ollama#7, tag
v2026.295.1812), and the marketplace refs list no longer names it
(opencharly/marketplace#538, tag v2026.295.1845). With the ref gone and the corpus
regenerated BYTE-IDENTICAL (360 skills, every emitted file diff -rq-equal), the
carrier publishes nothing: a repo whose only content is skills is not a class
(AGENTS.md "Repo classes and naming"), so the repo is retired and archived.

Umbrella side of the retirement, one cutover:
- .gitmodules entry + gitlink removed for layer-charly-ollama (431 -> 430 repos);
- README org-map table row removed, header and section counts reconciled;
- three pins advanced by charly task sync (never a hand-pin): pod-ollama
  85639dc6 -> 36290eb9 and, because the verb rolls the whole set, marketplace
  ae8317d8 -> 328d2685 and plugin-deploy-pod e3df55bb -> 5d6d0826.

Two pre-existing org-map defects are fixed in the same commit, because this change's
own charly task org-map gate could not go green with them present: layer-strata and
plugin-strata had no README row (header said 429 while .gitmodules held 431), and two
row descriptions carried a stale skill count (layer-charly-check 13 -> 14,
layer-charly-internals-extra 8 -> 2), measured from each repo's own .agents/skills/.

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

Copy link
Copy Markdown
Contributor

Review — PASS

Verification performed

File inventory. Body claims 6 changed files; the diff has exactly 6: .gitmodules, README.md, layer-charly-ollama (removed), marketplace, plugin-deploy-pod, pod-ollama. ✓

.gitmodules. Exactly one 4-line stanza ([submodule "layer-charly-ollama"]) removed. Consistent with the claimed 431 → 430 count. ✓

Gitlink removal. layer-charly-ollama shows the single subproject-commit deletion; no shim, alias, or stub successor is introduced, matching the R2 "deleted, not shimmed" claim. ✓

README arithmetic — internally consistent:

  • Header 429 → 430. On main the header (429) disagreed with .gitmodules (431); after deleting one submodule the true count is 430, and the header now says 430. The net row delta is +2 (layer-strata, plugin-strata) −1 (layer-charly-ollama) = +1, i.e. 429 + 1 = 430. ✓
  • Charly candy layers 21 → 20 (one row removed). ✓
  • Other layers 143 → 144 (layer-strata added). ✓
  • Plugins 119 → 120 (plugin-strata added). ✓
  • Stale skill counts corrected: layer-charly-check 13 → 14, layer-charly-internals-extra 8 → 2. ✓

Section-count reconciliation against the body's org-map table. Sum of the reported sections (6+6+10+13+4+20+13+2+15+144+120+74+3) = 430, matching .gitmodules and the header. The table's per-section figures match the README diffs (candy 20, other 144, plugins 120). ✓

Pin advance honesty. The three submodule SHA bumps in the diff match the body's transcript exactly: marketplace ae8317d8→328d2685, plugin-deploy-pod e3df55bb→5d6d0826, pod-ollama 85639dc6→36290eb9, and the git ls-tree HEAD short SHAs agree. The body openly explains why three pins moved (bump mode rolls every non-pin_map submodule) rather than hand-pinning, and does not hide the two extra advances. ✓

Residual non-cur pin. The single remaining layer-nvidia: not-on-the-served-line is reported explicitly and justified as pre-existing/not this change's — it does not contradict any diff line and is a reported condition, not a silent one. ✓

Scope & security. No runtime/Go/schema changes; the diff is config + prose + gitlinks only. No secrets, no injection surface, no dependency additions. Coherent single-cutover scope with no dead/legacy path left behind in the changed files. ✓

Tests. No test code is expected for an umbrella config/gitlink/prose change; the body names the applicable gates (charly task verify 22/22, org-map, corpus diff -rq drift). This is the appropriate verification surface for the change class. ✓

Byte-identity nuance. The body is careful not to overclaim: it distinguishes "equal as bodies" (corpus vs authored file, differing by the DO-NOT-EDIT banner) from the "byte-identical" move proof at the pod-ollama end. No contradiction between claim and evidence shown. ✓

Comments. Zero comment threads. No maintainer sign-off exists, so the change is judged on its own evidence — which is detailed, reproducible, and internally consistent throughout.

Notes (non-blocking)

  • The R5 grep-emptiness claim (retired identifier absent except CHANGELOG/) is a whole-tree assertion not fully reconstructable from the diff alone, but the diff removes every known reference and no evidence contradicts it.
  • The reported layer-nvidia drift is outside this unit's scope and correctly reported rather than silently absorbed.

No blocking findings. The diff faithfully implements the described retirement, the README/org-map arithmetic reconciles to 430, and the body's claims are consistent with the changed files.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 22, 2026 20:16
@github-actions
github-actions Bot merged commit 62b6c5e into main Oct 22, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 22, 2026
@aitrawog

Copy link
Copy Markdown
Contributor Author

CLEARED — merged at 62b6c5e (tag v2026.295.2019). The block this PR put on #591 is released: the README region both patches touched is on main, and #591's remaining side is a one-number reconciliation.

Verified on origin/main after the merge, not from the PR state:

$ git ls-tree origin/main layer-charly-ollama | wc -l
0
$ git show origin/main:.gitmodules | grep -c '^\[submodule '
430
$ git show origin/main:README.md | grep -c 'layer-charly-ollama'
0

The retired carrier is now gone from the umbrella on all three surfaces (gitlink, .gitmodules
stanza, org-map row), and the two rows #591 and this PR both needed are present, so #591 can
drop its copy of them and keep only its own scope.

Agent: charly

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

github-actions Bot pushed a commit to opencharly/layer-charly-ollama that referenced this pull request Oct 22, 2026
…llama (#5)

* chore!: mark the repo retired — the ollama-layer skill lives in pod-ollama

This carrier publishes nothing. `ollama-layer` moved beside the candy it describes
(opencharly/pod-ollama#7, tag v2026.295.1812, byte-identical at both ends), the
marketplace refs list dropped this repo as a source (opencharly/marketplace#538, tag
v2026.295.1845), and the umbrella removed the gitlink and its org-map row
(opencharly/opencharly#610, tag v2026.295.2019). With the ref removed the regenerated
corpus is byte-identical — 360 skills, every emitted file diff -rq-equal — which is
the proof no published skill ever came from here.

A repo whose only content is skills is not a class (AGENTS.md "Repo classes and
naming"), so the class rule retires it. The README now leads with a RETIRED notice
pointing at pod-ollama, and the repo is archived immediately after this PR merges, so
the notice must land first: archiving makes the repo read-only.

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

* chore(README): state the merge-time truth and evidence the destination

Round-1 BLOCK, all three fixed in this commit:

1. The notice opened "RETIRED — archived, read-only" while the body said the archive
   follows the merge, so the first line was false at the moment it became visible. It now
   reads "archived right after this notice lands, and read-only from that point on" — true
   at merge and afterwards.
2. The Summary presented the corpus regeneration as this PR's proof while the R7 section
   disclaimed it. It is now attributed to opencharly#610, where it was measured.
3. The destination path was asserted, not evidenced. The body now carries the gh api calls
   that resolve it: blob 94d6530 at tag v2026.295.1812 (commit 612357b), content
   sha256 e6e76bc4.

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

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
aitrawog added a commit that referenced this pull request Oct 22, 2026
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)
aitrawog added a commit that referenced this pull request Oct 23, 2026
… 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)
github-actions Bot pushed a commit that referenced this pull request Oct 23, 2026
* feat(umbrella): materialize a working set instead of 431 checkouts

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)

* fix(umbrella): fail loud on a failed derivation, guard --land, close 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)

* docs(umbrella): carry the light row's wall clock as the measured band, 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)

* fix(umbrella): name the second pre-bootstrap entrypoint, the init task'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)

* fix(umbrella): bind no measurement to a tree, carry no count that moves, 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 opencharly/opencharly#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
    (opencharly/opencharly#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)

* fix(umbrella): drop the gate surface main's #617 deleted, and widen the 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)

* fix(umbrella): reconcile the PR body with the diff it ships with, and 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` (opencharly#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)

* fix(umbrella): re-derive the branch-audit's band over every sample the 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)

* fix(umbrella): the README's band control says which half is automatic, 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)

* fix(umbrella): the gate's count names what it counts, and the README 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)

* fix(umbrella): the measurement must measure the tree, not the machine'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)

* fix(umbrella): re-derive the light bands over a measurement that clones 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)

* fix(umbrella): the measurement must fetch the tree it resolved, and say 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)

* fix(umbrella): the shipped texts say what their own self-test proves

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)

* fix(umbrella): widen the --all wall-clock band to the range the runs 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)

* fix(umbrella): the body's count of the diff's new files is held to the 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)
github-actions Bot pushed a commit that referenced this pull request Oct 23, 2026
…626)

All fifteen of the carrier's skills have a merged, tagged home beside the verb
each one documents (plugin-box#59 v2026.295.2027 for the ten `charly box` verbs;
plugin-migrate#27, plugin-docs#22, plugin-secrets#8, plugin-settings#12,
plugin-mcp#9 for the rest), and the carrier's own main is drained by
layer-charly-build#32. A repo whose only content is skills is not a class
(AGENTS.md "Repo classes and naming"), so the umbrella stops pinning it.

The gitlink, its .gitmodules stanza and the README org-map row go together:
`charly task org-map` verifies the map against .gitmodules, so a row removal
alone cannot make it green (the #610 precedent).

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

Co-authored-by: Andreas Trawoeger <[email protected]>
@aitrawog
aitrawog deleted the feat/retire-ollama-skills-carrier branch November 1, 2026 19:11
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.

2 participants