Skip to content

fix(skills): the agents reference stops restating the coordination closed set - #617

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/agents-reference-closed-set
Oct 22, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/agents-reference-closed-set

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

opencharly/opencharly#612 moved the agents skill into this umbrella, and
.agents/skills/agents/references/hooks-and-lifecycle.md came along restating the coordination
closed set. The labels in it were already the canonical nine — the move brought no stale
grammar with it. What the move created is a copy nobody compares: the file became a place that
STATES the set, and #567's gate had never been told about it, so charly task verify went RED on
the gate's SECOND job ("every place that STATES the set is covered by a surface"). The sentence
directly after that enumeration reads never restated here, so the file has contradicted itself
since the move.

Three surfaces in the tree already say the copy should not exist, and they decided the remedy:

  • the entry SKILL.md: "this skill never restates it, only points to it";
  • the bullet's own next sentence: "Owned by /charly-internals:git-workflow B2b — never restated here";
  • the skills skill: "Every other document links to the owner and NEVER restates it (restated copies drift; the linked original cannot)".

So this takes the SECOND remedy the gate's own FAIL message names — delete the copy — rather
than registering the restatement as a compared surface. The bullet now names the closed verb set,
says where the set and each label's meaning are stated (AGENTS.md Part II #7) and where the
mechanics are (/charly-internals:git-workflow B2b), and enumerates nothing: renaming a label no
longer touches this file at all.

One file. The diff is 7 insertions and 4 deletions. Head
ee8e6bd0c58f94adeab4195b51942a33024ab714.

The branch point is 48ddbb3; main had moved to 386c0e9 while this PR sat, so the branch
was caught up with gh pr update-branch (never a rebase) and every gate below was re-run on the
MERGED head ee8e6bd — item 7.

How tested

The gate that owns this change is scripts/check-coord-verb-set.mjs (a step of charly task verify), run on the committed tree; the full umbrella verify follows it.

1. RED on the base commit — a detached worktree at 48ddbb3, so this is the tree the branch
starts from and not a re-creation of it:

$ git worktree add --detach /tmp/coord-base 48ddbb3 && cd /tmp/coord-base && node scripts/check-coord-verb-set.mjs > /tmp/gate-base.log 2>&1; echo "base gate rc=$?"
base gate rc=1
$ grep '^  FAIL' /tmp/gate-base.log
  FAIL  .agents/skills/agents/references/hooks-and-lifecycle.md:475 states the closed set ([CLAIM, OWNING, HANDING OVER, TAKING OVER, WAITING, HOLDING, CLEARED]) and no surface covers it — a copy nobody compares. Add it to SURFACES, or delete the copy.
$ tail -2 /tmp/gate-base.log
check-coord-verb-set: 6 surface(s) compared, 11 skipped, 7 statement(s) of the set found, 1 failure(s)
check-coord-verb-set: 1 FAILURE(S)

The 11 SKIPs are that detached worktree's uninitialized submodules — the failing statement is an
umbrella-tracked file, so it fails regardless. The head run below has every submodule checked out,
so it skips nothing.

2. GREEN on this head, nothing skipped:

$ node scripts/check-coord-verb-set.mjs > /tmp/gate-head.log 2>&1; echo "gate rc=$?"
gate rc=0
$ tail -2 /tmp/gate-head.log
check-coord-verb-set: 17 surface(s) compared, 0 skipped, 17 statement(s) of the set found, 0 failure(s)
check-coord-verb-set: OK

3. The file has not merely dropped out of the gate's view. Putting the enumeration back turns
the gate RED at the same place, and restoring turns it green again:

$ cp .agents/skills/agents/references/hooks-and-lifecycle.md /tmp/keep.md && sed -i 's|a copy drifts, the pointer cannot.|a copy drifts, the pointer cannot. (`CLAIM`/`OWNING`/`HANDING OVER`/`TAKING OVER`/`WAITING`/`HOLDING`/`CLEARED`/`STATUS`/`RESOLVED`)|' .agents/skills/agents/references/hooks-and-lifecycle.md; node scripts/check-coord-verb-set.mjs > /tmp/mut.log 2>&1; echo "mutated rc=$?"
mutated rc=1
$ grep '^  FAIL' /tmp/mut.log
  FAIL  .agents/skills/agents/references/hooks-and-lifecycle.md:480 states the closed set ([CLAIM, OWNING, HANDING OVER, TAKING OVER, WAITING, HOLDING, CLEARED]) and no surface covers it — a copy nobody compares. Add it to SURFACES, or delete the copy.
$ cp /tmp/keep.md .agents/skills/agents/references/hooks-and-lifecycle.md; node scripts/check-coord-verb-set.mjs > /tmp/restored.log 2>&1; echo "restored rc=$?"
restored rc=0
$ tail -1 /tmp/restored.log
check-coord-verb-set: OK

4. The gate's own discriminator still passes (fixtures, unchanged by this diff):

$ node scripts/check-coord-verb-set.mjs --self-test > /tmp/selftest.log 2>&1; echo "self-test rc=$?"
self-test rc=0
$ tail -3 /tmp/selftest.log
  PASS  self-test 'a grep recipe that still carries the retired BLOCKS' is RED
check-coord-verb-set --self-test: OK
  PASS  the self-test left no fixture directory behind

5. The change-class gate — the full umbrella verify on the committed tree:

$ ./charly/bin/charly task verify > /tmp/verify-head.log 2>&1; echo "verify rc=$?"
verify rc=0
$ grep 'task verify:' /tmp/verify-head.log
task verify: 22 step(s), 0 failed

and the same command in this worktree BEFORE the edit, for the red half:

$ ./charly/bin/charly task verify > /tmp/verify-base.log 2>&1; echo "verify rc=$?"
verify rc=1
$ grep 'task verify:' /tmp/verify-base.log
task verify: 22 step(s), 1 failed

6. The claim-keyed grep, with the predicate calibrated against a known positive. The claim is
that no coordination label outside the nine survives anywhere in this tree, CHANGELOG/ history
excepted. The retired pair still appears — in the three CONTROLS that reject it, which is what
shows the predicate matches where the token exists:

$ git grep -nE '\bUNBLOCKS\b' -- . ':!CHANGELOG'; echo "exit=$?"
scripts/check-issue-tracker.mjs:182:        // The retired `BLOCKS`/`UNBLOCKS` labels are gone; the blocked side now says
scripts/check-opencode-coord.mjs:170:  // like a verdict. `UNBLOCKS` is retired outright.
scripts/check-opencode-coord.mjs:172:  eq(canonicalVerb("UNBLOCKS"), "", "canonicalVerb rejects the retired `UNBLOCKS` label");
exit=0

The rulebook and the umbrella's own authored skills — the scope this change is about — hold none:

$ git grep -nE '\b(BLOCKS|UNBLOCKS)\b' -- AGENTS.md '.agents'; echo "exit=$?"
exit=1

Case-insensitively, the only hits in that scope are the English verb, never the label:

$ git grep -niE '\b(BLOCKS|UNBLOCKS)\b' -- AGENTS.md '.agents'; echo "exit=$?"
.agents/skills/agents/references/agent-roster.md:95:- **`testing-validator`** — blocks "it works" claims lacking R10 proof;
.agents/skills/agents/references/hooks-and-lifecycle.md:209:comment is never gated — Self-Approval only blocks marking a check
.agents/skills/agents/references/hooks-and-lifecycle.md:381:| `pre-commit-gate.sh` | `PreToolUse(Bash)` in `.claude/settings.json` (Claude Code), `.reasonix` / kimi | blocks hook bypass (`--no-verify`/`-n`/`core.hooksPath`), untokenizable commit commands, configured Go lint failures for staged Go modules, and a new-or-grown `charly/*_aliases.go` file or declaration-form kit-alias line (the ZERO-ALIASES gate) |
.agents/skills/agents/references/hooks-and-lifecycle.md:382:| `pre-push-gate.sh` | `PreToolUse(Bash)` in `.claude/settings.json` (Claude Code), `.reasonix` / kimi | blocks force-push and a direct push to `main` |
.agents/skills/agents/references/program-discipline.md:209:blocks **hard** the moment `roundsStarted >= maxGoalRounds`
AGENTS.md:659:      how to proceed, instead of narrating an ending. The round driver blocks hard at the
AGENTS.md:674:    - **Say so the moment you block someone.** When your issue or PR blocks another
AGENTS.md:675:      session's progress, or theirs blocks yours, say it in the grammar: post `HOLDING` if
exit=0

What this change does NOT claim. The corpus projection and the docs-site projection of this
reference still restate the old sentence: both are generated FROM the authored file (producer-first:
umbrella, then marketplace, then docs), so they drop it when those repos next regenerate. The
umbrella gate cannot read submodule contents — git ls-files lists them as gitlinks — so those two
are outside its scope by construction, and this PR does not reach into either submodule.

7. Re-run on the MERGED head (ee8e6bd, after gh pr update-branch) — both gates again, on the
tree that will merge:

$ node scripts/check-coord-verb-set.mjs > /tmp/gate-merged.log 2>&1; echo "gate rc=$?"
gate rc=0
$ tail -2 /tmp/gate-merged.log
check-coord-verb-set: 17 surface(s) compared, 0 skipped, 17 statement(s) of the set found, 0 failure(s)
check-coord-verb-set: OK
$ ./charly/bin/charly task verify > /tmp/verify-merged.log 2>&1; echo "verify rc=$?"
verify rc=0
$ grep 'task verify:' /tmp/verify-merged.log
task verify: 22 step(s), 0 failed

Rulebook compliance

  • R0: the dispatcher rows that matched were loaded before the actions they govern:
    git-workflow first (before any repository command), then agents (the skill whose reference
    this is), skills (where guidance belongs), root-cause-analyzer and strict-policy (the
    anomaly and its classification). The change follows their guidance: the owner keeps the statement,
    the reference points at it, and the gate's own remedy is used rather than a new surface.
  • R1: the failure was RCA'd before any remediation: mechanism — the move turned an
    authored reference into a statement of the set that SURFACES never listed; missed control —
    job 2 enumerates statements in tracked files but had no surface for .agents/; blast radius —
    the authored file plus its two projections; root fix — delete the copy so no surface is owed.
    One separable finding is FILED (#615), none is parked.
  • R2: the duplicate is DELETED rather than blessed and compared. One canonical statement
    remains: AGENTS.md Part II fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7 (the set and each label's meaning) and git-workflow B2b (the
    mechanics).
  • R3: no workaround: no sleep, retry, fallback branch or ad-hoc runtime command; the change is
    one markdown bullet, and the gate was not edited.
  • R4: no documented command changed and no doc/code disagreement is being papered over: the
    prose now points at the code-of-record instead of approximating it.
  • R5: the sweep is the grep in ## How tested item 6, pasted with the predicate's positive
    calibration (the three controls) and its zero in the governed scope (AGENTS.md + .agents,
    exit=1).
  • R6: git status --short was empty before the commit and after the mutation control restored
    the file; one authored commit plus the server-side gh pr update-branch merge, one push, no
    force-push, no --no-verify, no foreign or submodule work touched. The authored commit ran
    through the umbrella's own hooks/pre-commit, which passed.
  • R7: the coverage fails without the change: item 1 is RED on the base commit, and item 3
    proves the gate still turns RED if the enumeration returns.
  • R8: N/A — no live service boundary is crossed; the change is prose plus a gate read.
  • R9: N/A — no binary, image or runtime dependency changed; the gate itself ran from the worktree-local build, charly version 2026.295.1709.
  • R10: the full change-class gate ran on the committed tree: task verify: 22 step(s), 0 failed, rc=0 (item 5).

Change classification

Documentation-only: one .md file, 7 insertions and 4 deletions. No gitlink, pin, submodule,
schema, script or runtime target is touched, so no disposable bed applies and the attribution tier
is documentation reviewed.

Filed issues

  • opencharly/opencharly#615 — the same reference restates four OTHER fences that have since
    moved: the .claude/worktrees/ path (AGENTS.md Part II ci: adopt org-wide validation chain — pr-validator + tag-on-merge, drop custom auto-merge #2 says .worktrees/<slug>/<repo>/), a
    "rotate, never re-task" rule it attributes to AGENTS.md which now contains zero occurrences of
    that rule, podman rmi -f against the Charly CLI discipline, and "no rulesets" where the org now
    runs ONE ruleset. Each is measured in the issue; all are separable from this deletion and none is
    silently fixed here.

Agent: charly (dsh web session, umbrella worktree coord-closed-set)
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

…osed set

#612 moved the `agents` skill into the umbrella, and its
`references/hooks-and-lifecycle.md` came along restating the coordination verb
set. The labels in it were already the canonical nine — the move did not bring a
stale grammar with it. What the move created is a copy nobody compares: the file
became a place that STATES the set, and #567's gate had never been told about it,
so `charly task verify` went RED on the gate's second job ("every place that
STATES the set is covered by a surface"). The sentence directly after the
enumeration is `never restated here`, so the file has contradicted itself since
the move.

Fixed the way that sentence says it should be, and the way the surfaces around it
require: the entry `SKILL.md` says "this skill never restates it, only points to
it", and the skills skill says every other document links to the owner and never
restates it. The bullet now names the closed verb set, says what is owed where
(the set and each label's meaning in `AGENTS.md` Part II #7, the mechanics and
the required comment fields in `/charly-internals:git-workflow` B2b), and
enumerates nothing — so renaming a label no longer touches this file at all. The
gate is green by absence, which is the second remedy its own FAIL message names,
and no surface is added for a copy that should not exist.

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

Copy link
Copy Markdown
Contributor Author

STATUS — PR open, head 4fbf5f7, one commit, one file. charly task verify was run on this exact committed tree: 22 step(s), 0 failed, rc=0.

What it does: deletes the coordination closed set's restatement from .agents/skills/agents/references/hooks-and-lifecycle.md (the copy the #612 move created and #567's second job found uncovered) and leaves the pointer at its owners — AGENTS.md Part II #7 for the set and each label's meaning, git-workflow B2b for the mechanics. The gate goes green by absence, which is the second remedy its own FAIL message names; no surface is added and the gate itself is untouched.

Measured on the base commit (48ddbb3) and on this head: gate RED → GREEN, and re-adding the enumeration turns it RED again at line 480, so the file has not dropped out of the gate's view. Full evidence is pasted in the PR body.

Next: the fresh validator's verdict. Separately filed and NOT fixed here — #615 (four other fences this same reference restates that have since moved: the worktrees path, the rotate rule it attributes to AGENTS.md, podman rmi, and "no rulesets").

Agent: charly (dsh web session, umbrella worktree coord-closed-set)
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

What the diff actually does

The single hunk in .agents/skills/agents/references/hooks-and-lifecycle.md replaces the explicit enumeration

(`CLAIM`/`OWNING`/`HANDING OVER`/`TAKING OVER`/`WAITING`/`HOLDING`/
`CLEARED`/`STATUS`/`RESOLVED`). Owned by `/charly-internals:git-workflow` B2b —
never restated here.

with a non-enumerating pointer: "the coordination grammar's closed verb set … stated once in AGENTS.md Part II #7 and operationalized in /charly-internals:git-workflow B2b. The labels are not enumerated here: a copy drifts, the pointer cannot."

That is exactly the self-contradiction the body describes: the old bullet restated the set and then, in its next clause, asserted it was "never restated here." The deletion is coherent with the three cited surfaces (SKILL.md, the bullet's own owner line, and the skills skill guidance).

Body honesty & internal consistency

  • File count (1), insertions/deletions (+7/-4), head 4fbf5f7, base 48ddbb3, one commit — all match the diff and commit list exactly. I counted the hunk: 4 removed lines, 7 added lines.
  • The RED→GREEN evidence, the mutation control (re-adding the enumeration turns the gate RED at line 480, restoring turns it green), the self-test, and the full task verify (22 steps / 0 failed on head; 22 / 1 failed on base) are presented as concrete commands with outputs. They are internally consistent (line 475 on base → line 480 after the insertion, matching the +3 net line shift).
  • The claim-keyed grep (item 6) is properly calibrated: the retired BLOCKS/UNBLOCKS tokens are shown matching in three known control sites (positive calibration) and returning exit=1 in the governed scope AGENTS.md + .agents. The case-insensitive hits are shown to be the English verb, not the label. This is honest scoping, not overclaiming.
  • The "What this change does NOT claim" section explicitly discloses that the marketplace and docs submodule projections still carry the old sentence and regenerate producer-first. That is an honest, bounded scope statement rather than a hidden gap.
  • #615 is filed and explicitly not fixed here; nothing is silently swept in.

Tests

Documentation-only change; the owning gate is scripts/check-coord-verb-set.mjs. The body ships the coverage that would fail without the change (base RED, head GREEN) and a mutation control proving the file has not merely dropped out of the gate's view. That is adequate for a prose-only change.

Security / scope / cleanliness

No secrets, no injection, no dependency or privilege change. One coherent file, no leftover legacy path, no duplication introduced — the change removes a duplicated statement. The gate itself is untouched.

Comment disposition

The one comment (@aitrawog, the PR author) is a self-authored STATUS report, not a maintainer sign-off; no designated maintainers are configured, so it carries no approval weight. Re-derived against current state: head 4fbf5f7, one commit, one file, verify 22 step(s), 0 failed — all consistent with the body and diff. No action required.

Minor observations (non-blocking)

  • The new sentence attributes "required comment fields and the takeover window" to AGENTS.md Part II fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7, while the body's R2 frames AGENTS.md as the set/meaning and git-workflow B2b as "the mechanics." The "and operationalized in … B2b" clause plausibly covers it, but the pointer split is slightly imprecise. Not demonstrably wrong from the provided context.
  • Terminology "closed verb set" vs. "labels" persists from the original wording; harmless.

Neither observation rises to a block: the change is a correct, honest, well-evidenced deletion of a restated closed set, and it stands on its own evidence.

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 21:51
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

What the diff actually does

The single hunk in .agents/skills/agents/references/hooks-and-lifecycle.md removes the explicit enumeration of the coordination closed set — CLAIM/OWNING/HANDING OVER/TAKING OVER/WAITING/HOLDING/CLEARED/STATUS/RESOLVED — and replaces it with a non-enumerating pointer: "the coordination grammar's closed verb set … stated once in AGENTS.md Part II #7 and operationalized in /charly-internals:git-workflow B2b. The labels are not enumerated here: a copy drifts, the pointer cannot."

That is precisely the self-contradiction the body describes: the old bullet restated the set and then, in its next clause, asserted it was "never restated here." The deletion is coherent with the three cited surfaces (the entry SKILL.md, the bullet's own owner line, and the skills skill guidance), and it matches the body's chosen remedy — delete the copy rather than register it as a compared surface.

Line-by-line / count check

I counted the hunk against the header: 4 removed lines and 7 added lines, matching the stated +7/-4. The removed block is exactly the four-line enumeration; the added block is the seven-line pointer. Nothing else in the file is touched, and the file's remaining content is untouched by this diff. The change is one coherent file with no leftover legacy path and no new duplication — it removes a duplicated statement.

Body honesty & internal consistency

  • File count (1), insertions/deletions (+7/-4), and the diff content all match the provided state.
  • The RED→GREEN evidence, the mutation control (re-adding the enumeration turns the gate RED at line 480; restoring turns it green), the self-test, and the full task verify (22 steps / 0 failed on head; 22 / 1 failed on base) are presented as concrete commands with outputs. They are internally consistent with the +3 net line shift (line 475 on base → 480 after insertion).
  • The "What this change does NOT claim" section honestly discloses that the marketplace and docs submodule projections still carry the old sentence and regenerate producer-first. That is bounded, honest scoping rather than a hidden gap, and the body correctly notes the umbrella gate cannot read submodule contents.
  • #615 is filed and explicitly not fixed here; nothing is silently swept in.

Minor, non-blocking inconsistencies:

  • The body states "Head 4fbf5f70…", but the current head is the merge commit ee8e6bd0… ("Merge branch 'main' into feat/agents-reference-closed-set"). R6's "one commit, one push" likewise predates that merge. These are stale relative to the current two-commit history (change + main merge), but the merge did not alter the content: the complete diff is still exactly the one file, +7/-4, so the evidence and the change stand.
  • The new sentence attributes "required comment fields and the takeover window" to AGENTS.md Part II fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7, while R2 frames AGENTS.md as the set/meaning and git-workflow B2b as "the mechanics." The "and operationalized in … B2b" clause plausibly covers it; it is not demonstrably wrong from the provided context, but the pointer split is slightly imprecise. I cannot verify AGENTS.md's contents from this message, so I treat it as an unverifiable-but-plausible cross-reference rather than a defect.
  • Item 6's sweep greps the retired BLOCKS/UNBLOCKS pair, which is a different token set than the nine labels this change deletes. It is a properly calibrated "no retired label outside the nine survives" check (positive controls + zero in AGENTS.md/.agents), but it does not itself prove the nine-label deletion; items 1–4 do. Honest enough, just scoped to the retired pair.

Tests

Documentation-only change; the owning gate is scripts/check-coord-verb-set.mjs. The body ships coverage that fails without the change (base RED, head GREEN) and a mutation control proving the file has not merely dropped out of the gate's view. That is adequate for a prose-only change. The gate itself is untouched.

Security / scope / cleanliness

No secrets, no injection, no dependency or privilege change. One coherent file; the change removes a duplicated statement rather than adding one; the gate is not edited; no submodule or runtime target is touched. Scope matches the body's "Documentation-only" classification.

Comment disposition

  • @aitrawog (Comment 6352101799, [issue]) — a self-authored STATUS report. It is not a maintainer sign-off, and no designated maintainers are configured for this run, so it carries no approval weight. Re-derived against current state: head/one-commit/one-file/verify results are consistent with the body and diff (modulo the post-open main merge noted above). No action required.
  • @github-actions[bot] (Comment 6352110522, [issue]) — an automated Review — PASS. It is not a maintainer sign-off and carries no approval weight, but its analysis re-derives correctly: the enumeration is deleted, counts match, the pointer is coherent with the cited surfaces, and its two minor observations (the AGENTS.md pointer imprecision; "closed verb set" vs "labels" terminology) are the same non-blocking nits I found. Its PASS is consistent with my independent derivation, not a substitute for it.

No comment constitutes a valid sign-off, so the change must stand on its own evidence — and it does: the diff reproduces the body's claim, the deletion is coherent, and the gate evidence is internally consistent and plausible.

Blocks

None.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot merged commit a415d55 into main Oct 22, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 22, 2026
aitrawog added a commit that referenced this pull request Oct 23, 2026
`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)
aitrawog added a commit that referenced this pull request Oct 23, 2026
…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)
aitrawog added a commit that referenced this pull request Oct 23, 2026
`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)
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 to opencharly/layer-charly-internals that referenced this pull request Oct 24, 2026
`agents`, `cutover-policy` and `root-cause-analyzer` are now published FROM the
repo that authors them: opencharly/marketplace#567 pinned
opencharly/opencharly as a DIRECT corpus source at v2026.296.2254. This repo's
copies were the second copy, so they go.

The three SKILL bodies are byte-identical in both sources, so a body comparison
proves nothing; the discriminant is the `agents` REFERENCE files, and exactly one
of them differs. Measured on the committed trees (banner-stripped sha256):

  agents/references/hooks-and-lifecycle.md   umbrella 0d5c8c98609e
                                             carrier  5848ee0c84ce
                                             corpus   0d5c8c98609e

The umbrella's copy is the authored one: opencharly/opencharly#617 stopped that
reference restating the coordination closed set, after the copy here was made.
The other seven files are identical at both sources.

- .agents/skills/ -- the three trees are deleted (8 files, 2295 lines): `agents`
  with its five `references/`, `cutover-policy/`, `root-cause-analyzer/`.
- charly.yml -- the three `skill:` nodes are deleted; the concept candy's
  description now names the two skills this repo still authors.
- AGENTS.md -- the destination map gains the three rows, the corpus-state section
  records that the umbrella IS a source now, and it states why this repo's
  refs-list pin must not advance yet: it is the only corpus source the six
  first-drain skills still have, and `charly` cannot be pinned at all while
  sdk/candywalk's `acceptedRef` refuses it by design.
- README.md -- five -> two, the moved table gains the umbrella's home, and
  "What is still outstanding" states the archived-blocker (#611) instead of the
  three.

family: internals is unchanged at the umbrella, so /charly-internals:<name>
survives for all three.

Gate: `charly box validate` rc=0 / 0 warnings; three negative arms (each removed
node re-added with no body -> rc=1 naming it and the owning candy; a retained
body removed -> rc=1 naming it); a post-drain corpus-generation probe of this
root emitting exactly the two retained skills and `absent` for the three; a
twin-resolution arm showing the corpus takes the umbrella's reference file at
the real pins and the carrier's when the tags are swapped; and a post-merge
simulation (drained root + the umbrella ref) emitting all five internals skills
with the umbrella's bodies.

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

Co-authored-by: Andreas Trawoeger <[email protected]>
@aitrawog
aitrawog deleted the feat/agents-reference-closed-set branch November 1, 2026 19:06
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