Skip to content

fix(measurements): the corpus's shape is derived, and the gate can see it - #758

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/reasonix-shape-755
Oct 28, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/reasonix-shape-755

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Closes #755

Summary

Head 042201d7126cae0aba287a5885bd8c9300b83645 — the commit this PR pushes: 2 files changed, 84 insertions(+), 20 deletions(-).

The umbrella's measured-figures control could not see the corpus's shape, and the prose it guards carried a second copy of that shape. reasonix.toml headed its derived [skills] paths list with a hand-maintained count of the same collection — "42 directories", against the 45 entries the list itself names — and dated that count at a corpus pin (ac7d97e5) the branch stopped recording on 2026-10-20. The control installed for exactly this class of claim, the shape-count family in scripts/check-readme-measurements.mjs, names no corpus noun: it reads submodules, pins, paths, modules, remotes, worktrees, calls and the two materialization states, so a count of directories, skills, families, rosters or SKILL.md was invisible to it. The control was green over a file whose own comment was false.

This discharges #755 in full, in three parts that are one cutover, because one of them is the reason the other two were invisible.

The prose stops carrying a copy of a number the list already carries. The block now states the derivation and not the count: the list is the count of record, and a number beside it is a second copy that drifts. The written pin is gone — a pin moves on every advance, so a written pin is a claim that cannot be kept — and the one figure that survives is the dated point measurement of the corpus this branch pins.

The control gets the reach it lacked. The shape-count family's noun list now carries the corpus's own nouns, in their plural form only: the singular of a collection noun names a THING rather than a collection, and a family that read "the 0700 directory" as a count would report this tree as broken. A number is also read WHOLE. A count written with a thousands separator is one number, and the separator used to cut it in two — so a count of 1,000 fell under the floor and escaped the family, while a count of 3,500 was reported as 500, a finding that named the wrong number.

file what it changes
reasonix.toml the skills comment: the hand-maintained corpus counts and the written pin are replaced by the derivation, and the surviving dated block names the corpus this branch pins
scripts/check-readme-measurements.mjs the shape-count family: the noun list carries the corpus's own nouns, a number written with a thousands separator is read whole, and six new self-test arms hold both

How tested

The head, the diff, and the state of the tree. Every fence below was run in the session worktree .worktrees/guidance-751/opencharly, on the commit this body names.

$ git rev-parse HEAD
042201d7126cae0aba287a5885bd8c9300b83645
$ git diff --shortstat origin/main...HEAD
 2 files changed, 84 insertions(+), 20 deletions(-)
$ git diff --numstat origin/main...HEAD
23	16	reasonix.toml
61	4	scripts/check-readme-measurements.mjs
$ git merge-base origin/main HEAD
0253afacb061ccbf32e9a792704daa19315449b4
$ git status --short --untracked-files=no; echo "exit=$?"
exit=0

The change-class gate. The diff changes a gate script and a comment, so the gate is the umbrella's own verify task, run on the committed tree with the worktree-local, CalVer-stamped build (R9): 44 steps, no failure, no skip, and no warning line anywhere in the log.

$ ./charly/bin/charly version
2026.300.1843
$ ./charly/bin/charly task verify > /tmp/755-verify-body.log 2>&1; echo "exit=$?"
exit=0
$ grep -E "^task verify:" /tmp/755-verify-body.log
task verify: 44 step(s), 0 failed, 0 skipped
$ grep -E "currency:" /tmp/755-verify-body.log
      currency: 0 of 409 pin(s) NOT current [409 cur]; intents: 403 upstream leaf/leaves (403 implicit), 6 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
$ grep -cE "^[[:space:]]*\[fail\]" /tmp/755-verify-body.log; echo "exit=$?"
0
exit=1
$ grep -ciE "warn" /tmp/755-verify-body.log; echo "exit=$?"
0
exit=1

The control, and its own self-test. The control this change extends is green on the tree, and its self-test holds every arm by watching a mutation turn it red — 21 arms, of which six are new: a count of the corpus's own shape is reported; a count whose noun names a THING is not; a count whose noun is a diagnostic NAME is not; a count written with a thousands separator is reported; a count whose TOTAL is written with a thousands separator is reported; and a grouped number that names no collection is not.

$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
check-readme-measurements: the umbrella's measured figures, read against each other
  baseline: 9.5–9.5 G, coarse
  light: 77–77 M, 14–15 s
  all: 1.9–2.2 G, 344–403 s
OK — the table, the prose and the samples agree.
exit=0
$ node scripts/check-readme-measurements.mjs --self-test; echo "exit=$?"
check-readme-measurements: the self-test — every assertion must be able to fail
  OK   the light row's cell is a point figure — a shape the runs repeated carries a BAND, not one number
  OK   the table's band and the prose disagree — the prose still quotes the other band, so the two copies of one band disagree
  OK   the table's date sentence names another day — the baseline is dated differently in different places
  OK   the initializer's header loses the date — the initializer's header does not carry the baseline's date
  OK   the manifest's init header loses the date — the manifest's init header does not carry the baseline's date
  OK   the measurement's clone falls back to the local transport — a local clone copies the source's whole object store, so the reading would be the machine's accumulated store and not the tree
  OK   the bootstrapped band is below the clone's — the bootstrap ADDS the binary and its build cache, so its band cannot start below the clone's
  OK   the store's band is not a band — the runs repeated that measurement, so it carries a band
  OK   an undated shape count is reported — a count of a collection that grows is false the day the org gains one, and nothing in the tree says so
  OK   a dated shape count is not reported — a dated point figure is a measurement of a known tree, not a claim about a moving one
  OK   a shape count of the CORPUS's shape is reported — the corpus's shape grows with the org, and a count of it is false the day a family lands — the noun list is what gives the family that reach
  OK   a count whose noun names a THING is not reported — the singular of a collection noun names a thing — a file mode here — and a family that read it as a count would report this tree as broken
  OK   a count whose noun is a diagnostic NAME is not reported — a diagnostic's name is not a collection, and a number in front of one does not make it one
  OK   a shape count written with a thousands separator is reported — the separator ends a number, it does not divide one — a count of the corpus's shape written with a separator is the count, not the count's tail
  OK   a shape count whose TOTAL is written with a thousands separator is reported — the total is the figure that decides a bound, so a total written with a separator is read whole too
  OK   a grouped number that names no collection is not reported — a number is only this family's business when it counts a collection that grows — the separator must not turn every number into one
  OK   a shape count in a STRING is reported — a count the tree states in a string is a claim a reader sees, and the string is what the family used to skip
  OK   a shape count in a file with NO extension is reported — the surface set is the FILE SET, so a file that lands carrying prose is covered the moment it lands
  OK   an EMPHASIS-WRAPPED shape count is reported — emphasis hides a count from a plain match, and the wrapper is no reason for the number to be free
  OK   a shape count in a YAML SIBLING entry is reported — a date in a SIBLING entry does not date this one: the whole subtree of a top-level key is not one block
  OK   a count is read the same way whatever was read before it — the shape patterns are global, and a global test resumes from the last match
SELF-TEST OK — every assertion was seen to fail on a mutation.
exit=0

The discriminating probe: one mechanism per arm, the base control and this one, over the same mutated tree. Each arm mutates one line of reasonix.toml into an UNDATED block, runs the base branch's control — extracted from the tree itself — and this branch's control over the same tree, and then restores. The base control is green over "42 directories", whose noun was not in its list, and green over "1,000 submodules", where the separator cut the number and the tail fell under the floor; over "3,500 submodules" it is red but names the wrong number, "500 submodules". This branch's control is red over all three and names the number as written, and it is green again once the tree is restored.

# The control as it stands on the base branch, extracted from the tree itself:
$ git show origin/main:scripts/check-readme-measurements.mjs > /tmp/755-arm/old-gate.mjs

# ARM — 42 directories (the noun is not in the base gate's list)
# the site, in reasonix.toml, is one line in an UNDATED block:
$ grep -n 'CONTAIN skills' reasonix.toml
67:# These are the directories that actually CONTAIN skills — every
$ python3 -c "import pathlib;p=pathlib.Path('reasonix.toml');s=p.read_text();p.write_text(s.replace('# These are the directories that actually CONTAIN skills','# These are the directories that actually CONTAIN skills — 42 directories'))"
$ node /tmp/755-arm/old-gate.mjs --root . ; echo "exit=$?"
exit=0
OK — the table, the prose and the samples agree.
$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
exit=1
  FINDING reasonix.toml:67: the count "42 directories" states the size of a collection that grows, and the block that states it carries no date — derive it from the collection, or state the day it was measured
FAILED — 1 finding(s).
$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
OK — the table, the prose and the samples agree.
exit=0

# ARM — 1,000 submodules (the base gate reads only the digits after the separator)
# the site, in reasonix.toml, is one line in an UNDATED block:
$ grep -n 'CONTAIN skills' reasonix.toml
67:# These are the directories that actually CONTAIN skills — every
$ python3 -c "import pathlib;p=pathlib.Path('reasonix.toml');s=p.read_text();p.write_text(s.replace('# These are the directories that actually CONTAIN skills','# These are the directories that actually CONTAIN skills — 1,000 submodules'))"
$ node /tmp/755-arm/old-gate.mjs --root . ; echo "exit=$?"
exit=0
OK — the table, the prose and the samples agree.
$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
exit=1
  FINDING reasonix.toml:67: the count "1,000 submodules" states the size of a collection that grows, and the block that states it carries no date — derive it from the collection, or state the day it was measured
FAILED — 1 finding(s).
$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
OK — the table, the prose and the samples agree.
exit=0

# ARM — 3,500 submodules (the base gate reports the tail of the number)
# the site, in reasonix.toml, is one line in an UNDATED block:
$ grep -n 'CONTAIN skills' reasonix.toml
67:# These are the directories that actually CONTAIN skills — every
$ python3 -c "import pathlib;p=pathlib.Path('reasonix.toml');s=p.read_text();p.write_text(s.replace('# These are the directories that actually CONTAIN skills','# These are the directories that actually CONTAIN skills — 3,500 submodules'))"
$ node /tmp/755-arm/old-gate.mjs --root . ; echo "exit=$?"
exit=1
  FINDING reasonix.toml:67: the count "500 submodules" states the size of a collection that grows, and the block that states it carries no date — derive it from the collection, or state the day it was measured
FAILED — 1 finding(s).
$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
exit=1
  FINDING reasonix.toml:67: the count "3,500 submodules" states the size of a collection that grows, and the block that states it carries no date — derive it from the collection, or state the day it was measured
FAILED — 1 finding(s).
$ node scripts/check-readme-measurements.mjs; echo "exit=$?"
OK — the table, the prose and the samples agree.
exit=0

# the tree is clean again:

The claim-keyed sweep. The claim this change makes is that the retired prose is gone: the hand-maintained count, the two families it named as newest, the corpus pin it was counted at, and the instruction to keep the list in step by hand. The key is those four strings, verbatim. Over reasonix.toml the sweep returns an empty result. Over the whole tree, history excluded, it returns exactly one line — the control's own fixture, which names the retired claim in order to forbid it.

$ git grep -n -E "42 directories|newest two families|ac7d97e5|Keep this list in step" -- reasonix.toml; echo "exit=$?"
exit=1
$ git grep -n -E "42 directories|newest two families|ac7d97e5|Keep this list in step" -- . ':(exclude)CHANGELOG'; echo "exit=$?"
scripts/check-readme-measurements.mjs:1037:    // seen: `reasonix.toml` stated "42 directories" against the 45 the list
exit=0

The derived bindings and the harness config. The corpus's shape is stated once, by the derivation: the bindings are re-derived from the corpus at the recorded pin, the list under them is unchanged at 45 entries, and the harness-config gate that derives it is green.

$ node scripts/sync-skill-bindings.mjs --check
sync-skill-bindings: corpus: 361 skills across 43 families, 0 name collisions
sync-skill-bindings: .dsh/skills  unchanged (361 entries)
sync-skill-bindings: reasonix.toml [skills] paths  unchanged (45 entries)
sync-skill-bindings: opencode.json skills.paths  unchanged (names the corpus root)
sync-skill-bindings: clean
exit=0

$ node scripts/check-harness-config.mjs
  PASS  reasonix.toml [skills] paths match their derivation (node scripts/sync-skill-bindings.mjs --check)
  PASS  .reasonix/settings.json declares PreToolUse hooks
  PASS  reasonix/settings.json uses the native reasonix "match" key with value "Bash"
  PASS  .reasonix/plugin/reasonix-plugin.json exists
  PASS  the reasonix plugin declares apiVersion "reasonix.io/plugin/v2"
  PASS  the reasonix plugin declares the web_search and web_fetch runtime tools
  PASS  the reasonix sidecar's InitializeResult carries every host-required field (missing: none)
  PASS  the reasonix sidecar's InitializeResult sends no unregistered field (unregistered present: none)
  PASS  the reasonix sidecar sends protocolVersion "2" (the wire major, not the protocol ID)
  PASS  the reasonix sidecar's InitializeResult.tools is an array of strings
  PASS  .reasonix/watch.items (the reasonix watch binding) exists
  PASS  .pi/watch.items (the pi watch binding) exists
  PASS  .dsh/watch.items (the DSH watch binding) exists
  PASS  every DISPATCHER.md row resolves to a marketplace/<family>/skills/<name>/SKILL.md (dangling: none)
  PASS  dispatcher coverage ratchet holds: 128/361 corpus skills routed, 233 unrouted (ceiling 233)
  PASS  .dsh/README.md (the DSH harness-config signpost) exists
  PASS  .dsh/skills (the flat farm DSH discovers at rank 100) exists
  PASS  every .dsh/skills entry is a symlink (real entries: none)
  PASS  the .dsh/skills farm matches its derivation (node scripts/sync-skill-bindings.mjs --check)
check-harness-config: OK
exit=0
  PASS  .claude/settings.json parses as a JSON object
  PASS  opencode.json parses as a JSON object
  PASS  .reasonix/settings.json parses as a JSON object
  PASS  .opencode/package.json parses as a JSON object
  PASS  .claude/hooks/pre-commit-gate.sh exists
  PASS  .claude/hooks/pre-commit-gate.sh is executable
  PASS  .claude/hooks/pre-push-gate.sh exists
  PASS  .claude/hooks/pre-push-gate.sh is executable
  PASS  .claude/settings.json retains the PreToolUse hooks block
  PASS  .claude/settings.json enables the plugin set (28 plugins)
  PASS  .claude/workflows/audit-deploy-configs.js exists
  PASS  opencode.json grants "charly status *" (read-only)
  PASS  opencode.json does not auto-allow "charly check run *" — the destructive R10 bed gate — it builds, deploys, probes and tears down
  PASS  opencode.json does not auto-allow "charly check box *" — it starts a disposable container to run build-scope checks
  PASS  opencode.json does not auto-allow "charly check live *" — it executes a full-stack check against a running deployment
  PASS  .mcp.json declares the DeepWiki server for Claude Code and Reasonix (project-scoped .mcp.json) (deepwiki.url === https://mcp.deepwiki.com/mcp)
  PASS  .pi/mcp.json declares the DeepWiki server for pi (project .pi/mcp.json) (deepwiki.url === https://mcp.deepwiki.com/mcp)
  PASS  opencode.json declares the DeepWiki server for opencode (top-level mcp map) (deepwiki.url === https://mcp.deepwiki.com/mcp)
  PASS  .codex/config.toml declares the DeepWiki server for Codex ([mcp_servers.deepwiki]) (deepwiki.url === https://mcp.deepwiki.com/mcp)
  PASS  opencode.json injects SOUL.md for opencode (the `instructions` list is injected into the system prompt)
  PASS  .pi/extensions/charly-gates.ts injects SOUL.md for pi (the before_agent_start handler injects the SOUL.md identity)
  PASS  .reasonix/settings.json injects SOUL.md for reasonix (a SessionStart hook whose stdout is injected as <hook-context>)
  PASS  reasonix.toml wires marketplace skill roots ([skills] paths)
  PASS  reasonix.toml does NOT point [skills] paths at the bare `marketplace` root (which scans CHANGELOG/docs prose as skills)
  PASS  every [skills] paths entry is a marketplace <family>/{skills,agents} dir (offenders: none)
  PASS  reasonix.toml [skills] paths match their derivation (node scripts/sync-skill-bindings.mjs --check)
  PASS  .reasonix/settings.json declares PreToolUse hooks
  PASS  reasonix/settings.json uses the native reasonix "match" key with value "Bash"
  PASS  .reasonix/plugin/reasonix-plugin.json exists
  PASS  the reasonix plugin declares apiVersion "reasonix.io/plugin/v2"
  PASS  the reasonix plugin declares the web_search and web_fetch runtime tools
  PASS  the reasonix sidecar's InitializeResult carries every host-required field (missing: none)
  PASS  the reasonix sidecar's InitializeResult sends no unregistered field (unregistered present: none)
  PASS  the reasonix sidecar sends protocolVersion "2" (the wire major, not the protocol ID)
  PASS  the reasonix sidecar's InitializeResult.tools is an array of strings
  PASS  .reasonix/watch.items (the reasonix watch binding) exists
  PASS  .pi/watch.items (the pi watch binding) exists
  PASS  .dsh/watch.items (the DSH watch binding) exists
  PASS  every DISPATCHER.md row resolves to a marketplace/<family>/skills/<name>/SKILL.md (dangling: none)
  PASS  dispatcher coverage ratchet holds: 128/361 corpus skills routed, 233 unrouted (ceiling 233)
  PASS  .dsh/README.md (the DSH harness-config signpost) exists
  PASS  .dsh/skills (the flat farm DSH discovers at rank 100) exists
  PASS  every .dsh/skills entry is a symlink (real entries: none)
  PASS  the .dsh/skills farm matches its derivation (node scripts/sync-skill-bindings.mjs --check)
check-harness-config: OK

The negative claims. The umbrella declares no disposable target, so there is no target for a fresh rebuild and a live run; the binary's module names no marketplace module; and this diff changes no Go source at all, so it changes no source of the binary.

$ git grep -nE "^[[:space:]]*disposable:" HEAD -- '*.yml' '*.yaml'; echo "exit=$?"
exit=1
$ grep -nE "^(box|deploy|check|image|pod|vm|local):" charly.yml; echo "exit=$?"
exit=1
$ grep -n "marketplace" charly/charly/go.mod; echo "exit=$?"
exit=1
$ git diff --name-only origin/main...HEAD -- '*.go' | wc -l
0

Every fence above was run on the tree this body publishes.

Rulebook compliance

  • R0 — skills first. The dispatcher rows this change selects were read before the first tool action: /charly-internals:git-workflow (the git and gh workflow, and the PR body), /charly-internals:root-cause-analyzer (the finding filed below), /charly-internals:strict-policy (the engineering-discipline rows), /charly-internals:cutover-policy (one cutover, no deferred phase) and /charly-check:check (the R10 gate by change class). This harness resolves the addressed form only by path, so each was read from the corpus at the recorded pin — the rulebook's own fallback for a harness that cannot resolve the /family:skill form.
  • R1 — every anomaly gets a root-cause analysis, and every finding is fixed or filed. The finding this change FIXES is the stale corpus count in reasonix.toml — 42 directories against the 45 the list below it names — and it is fixed here, in the same cutover, because the control that could not see it is fixed in the same cutover. The finding this change RAISES is that the measured-figures gate excuses a count whose date belongs to a DIFFERENT count in the same block: the date is granted at the block, so it reaches every count in it, and a block that carries one dated figure silently excuses the bare counts beside it. That analysis names the mechanism (the exemption is a property of the block, not of the count it excuses), the missed control (nothing binds a date to the count it excuses, and the org linter's count rule reads only fenced tables), the blast radius (measured, not guessed: under a clause-scoped rule 20 counts across 11 files on the base tree, and 24 across 14 with this change's widened noun list, are un-dated) and the root fix (bind the date to the count, and give every site the rule un-dates its own date or its own derivation). It is filed as The measured-figures gate excuses a count with a date that belongs to a DIFFERENT count in the same block #757, claimed, and its body carries the correction that analysis needed.
  • R2 — one canonical implementation, no second copy. The corpus's shape is now stated once: the derived [skills] paths list. The prose beside it states the derivation, not a second copy of the number; the control is one implementation with one noun list and one number reader, both held by its own self-test; and the sweep reuses the retired prose's own strings as its key rather than a second pattern.
  • R3 — no workaround. The control was extended where it lives; the prose was rewritten rather than annotated; the corpus's shape is derived by scripts/sync-skill-bindings.mjs, the tool that owns it. No sleep, no blind retry, no suppressed finding, no ad-hoc container or service command, and no hand-written substitute for a missing verb.
  • R4 — the product was fixed before the prose. The intent is that the umbrella states one truth about the corpus's shape and that a drift is caught rather than debated. The control is the product here, and it is fixed first: the noun list and the number reader are extended and hold six new self-test arms before any prose changes. The prose's de-numbering then follows a control that would catch the count if it came back, so the prose is not a promise the tree cannot keep.
  • R5 — the legacy is deleted, proven by a claim-keyed grep. The retired form is the hand-maintained corpus count in reasonix.toml, together with the two families it named as newest, the corpus pin it was counted at, and the instruction to keep the list in step by hand. The sweep above uses those four strings as its key. Over reasonix.toml it returns an empty result; over the whole tree, history excluded, it returns exactly one line, the control's own fixture naming the retired claim in order to forbid it.
  • R6 — user work and git safety. The work ran in the session worktree .worktrees/guidance-751/opencharly, branched from fresh origin/main (0253afacb061ccbf32e9a792704daa19315449b4); the tree's status was empty before the commit and before the push, as pasted above. No history was rewritten, no force-push, no hook bypass, no push to the base branch, and no edit inside a submodule.
  • R7 — behavior is proved, not compilation. The changed path is the control itself, and the proof is the discriminating probe pasted above: each arm mutates one line, the base control and this one run over the same mutated tree, and this one is red where the base is green or names the wrong number. The coverage fails without the change — the base control is the before-arm — and the control's own self-test holds every arm by watching a mutation turn it red.
  • R8 — live or skip, never faked. No service boundary is crossed by this change and nothing is mocked: the control, its self-test, the change-class gate, the derived-bindings check, the harness-config gate and the sweeps all ran against the real tree and the real corpus.
  • R9 — the binary equals the source. The binary is the worktree-local, CalVer-stamped build (2026.300.1843); no shared host install was used. The diff changes no Go source at all — the *.go file list in the diff is empty — so it changes no source of the binary.
  • R10 — a fresh, disposable proof. The change class is a control-script change in the umbrella, so the gate is the umbrella's own charly task verify: 44 steps, 0 failed, 0 skipped, exit 0, and no warning line anywhere in the log, as pasted above — together with the live arms around it. The premise that no bed applies is proved rather than assumed: the umbrella declares no disposable: target and no build or deploy key, so there is no disposable target for a fresh rebuild and a live run.

Change classification

A control and the prose it guards — one cutover.

  • Change class: a code change. The diff changes a gate script, so this is not a documentation-only change and the documentation reviewed tier is forbidden.
  • Diffstat: 2 files changed, 84 insertions(+), 20 deletions(-).
  • Gate run: charly task verify on the committed tree — 44 steps, 0 failed, 0 skipped, exit 0, no warning line — plus the control and its 21-arm self-test, the three-arm discriminating probe, the claim-keyed sweep, the derived-bindings check and the harness-config gate, as pasted above.
  • Attribution tier: fully tested and validated — the change-class gate passed on the final tree with zero warnings, and the changed path was exercised live.
  • No rebuild leg applies: the diff changes no Go source, and the umbrella declares no disposable: target, so there is no target for a fresh rebuild and a live run.

Filed issues

#757 — the measured-figures gate excuses a count with a date that belongs to a DIFFERENT count in the same block. Filed by this PR, with the analysis in the Rulebook compliance section above. It is non-blocking: the block-scoped date is the control's current policy, and the sites a clause-scoped rule would un-date are a cutover of their own — the policy and the sites move together — which is that issue's scope and not this diff's.

Nothing else is filed by this PR.

Agent: charly

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

…e it

`reasonix.toml` stated the corpus's shape as hand-maintained bare numbers
("42 directories", 40 skills directories, 351 `SKILL.md`) directly above a
`[skills] paths` list that is DERIVED from the same corpus by
`scripts/sync-skill-bindings.mjs` and carries 45 entries. Two copies of one
truth, and the copy that drifted was the prose: the list said 45, the prose
said 42, and every control that runs today was green on both.

The prose is de-numbered. The count it states is now a dated measurement of
the corpus this branch pins, and the number of entries in the list below it
is not stated at all — the list is the truth about its own size, and a number
beside it is a second copy that drifts. The false "this branch records" pin
clause goes with it, and so does the decaying "the newest two families"
claim, which was already false: three families landed after it. The
hand-maintenance instruction is replaced by the regeneration instruction.

The measurement gate's C family now reaches the corpus's shape: the noun
list gains `directories`, `skills`, `families`, `rosters` and `SKILL.md`, in
the PLURAL form only. The singular of a collection noun names a THING, and a
family that read those as counts reported this tree as broken — "the `0700`
directory" is a file MODE, "3,500 `skill.missing_description`" is a diagnostic
NAME, and the "`skill:` node" of a design table is a field name. Each of the
three was a live false positive while the family was blind to the shape it
names.

A NUMBER is read whole, too. A thousands separator used to cut a count in
two: the digits after it were judged on their own, so a count written as
1,000 was judged as 0 and fell under the floor — the site ESCAPED the family
— while a count of 3,500 was reported as 500, a finding that named the wrong
number. The separator is part of the number now. This reaches every noun, not
only the corpus's, and it is the same defect as the noun list's blindness: a
bare count of a growing collection the family cannot see.

Six self-test arms pin the reach and the false-positive mechanisms: the
corpus's shape, the singular that names a thing, the diagnostic's name, the
grouped count, the grouped TOTAL, and the grouped number that names no
collection at all.

Refs #755

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

Copy link
Copy Markdown
Contributor

Review — PASS

What I checked

I re-derived every claim in the body against the two diffs (reasonix.toml +23/−16, scripts/check-readme-measurements.mjs +61/−4), the single commit 042201d7…, and the (empty) comment thread.

Diffstat / honesty. 23+61 = 84 insertions, 16+4 = 20 deletions, 2 files — exactly the body's 84 insertions(+), 20 deletions(-). The --numstat split also matches (23/16 and 61/4). No contradiction between the body's fences and the actual diff.

Correctness of the control change.

  • The noun alternation now adds directories|skills|families|rosters|SKILL\.md (plural-only for the collection nouns, as claimed). The plural-only precision is real: the self-test arm 0700 directory and skill.missing_description remain clean because singular forms aren't in the list.
  • The number group \d{1,4}(?:,\d{3})* and the +m[2].replace(/,/g,"") / +m[3].replace(/,/g,"") reads correctly turn 1,000 → 1000 and keep a total written with a separator whole. This fixes the exact base-branch defect I can reproduce from the regex: on 1,000 submodules the old pattern matches the tail 000 (0 < floor → escapes), and on 3,500 submodules it matches 500 (wrong number). The body's three-arm probe is consistent with that arithmetic.
  • The dated block in reasonix.toml (43 skills/ dirs + 2 agents/ rosters = 45, 361 SKILL.md) is internally consistent with the derivation output (361 skills across 43 families, [skills] paths … 45 entries) and with the removed 42 directories/40 skills dirs stale count. The undated paragraph carries no number, so the gate's block-scoped date exemption is not being abused by the new text (the residual block-scoped-date concern is correctly filed as The measured-figures gate excuses a count with a date that belongs to a DIFFERENT count in the same block #757 and is non-blocking).

Tests. Six new self-test arms are present, and the two separator arms genuinely fail on the base pattern (the 1,000 arm expects reported while the base is clean; the of 1,000 total arm likewise), so coverage is discriminating, not decorative. The two expectClean arms guard against the new nouns over-matching singular/thing/diagnostic forms.

Claim-keyed sweep. All four retired strings (42 directories, newest two families, ac7d97e5, Keep this list in step) are absent from the reasonix.toml diff; the one remaining "42 directories" occurrence is the control's own fixture at scripts/check-readme-measurements.mjs:1037, which the body calls out. Since the body's own gate fence shows exit=0 on the tree that contains that line, the gate evidently does not treat its own script as a scanned surface — so this is not a self-inflicted finding.

Security / scope. No secrets, no input-handling surface (a read-only lint script and a comment), no dependency change, no Go source, no legacy path left behind. Coherent single cutover.

Minor (non-blocking) observations

  • R2's phrasing "the prose … states the derivation, not a second copy of the number" is slightly stronger than the diff: the dated paragraph still carries 43 … 361 … 2 … 7. The body's own detailed section ("the one figure that survives is the dated point measurement") resolves this, and the total (45) is no longer written, so the summary is defensible rather than false.
  • The dated-block / block-scoped-date exemption is a real latent gap, but it is explicitly analyzed and filed as The measured-figures gate excuses a count with a date that belongs to a DIFFERENT count in the same block #757, outside this diff's scope.

No comment thread to disposition (0 comments; no maintainer sign-off claimed). The change stands on its own evidence, and the changed path is exercised by its own self-test plus the base-vs-head discriminating probe.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 28, 2026 01:12
@github-actions
github-actions Bot merged commit 73a108d into main Oct 28, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 28, 2026
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — the umbrella-side fix is LANDED, and the validator's two minor observations are dispositioned here: one is rebutted with the evidence the report itself cites, one is owned by the next leg. One residual of my own is named and owned, not left behind.

The landing. #758 was merged by native auto-merge (squash) as 73a108de63723eef1c3a6fa56ccff46be56e8c60 on 2026-10-28T01:12:54Z, tagged v2026.301.0112, with the tag-on-merge changelog at CHANGELOG/2026.301.0112.md (commit c809829834326e4cbf7ad09e2fae140392843d74 on main). The charly/pr-validator verdict was PASS with no blocking finding, and validate / lint, validate / validate and validate / arm were all green on the head.

Observation 1 — rebutted with the evidence the report itself cites. The report resolves the R2 phrasing against the body's own detailed section ("the one figure that survives is the dated point measurement"), and that is the reading the file supports: the total (45) is written nowhere, the derived [skills] paths list is named as the count of record, and the surviving figure is a dated measurement — the second of the two remedies the control itself offers at a site ("derive it from the collection, or state the day it was measured"). The same file already uses that form for a figure that is not the list's size: the sibling block's 362 loaded skills, with its own "NOT re-measured here" note and its own pointer to the on-disk count of record. The claim is therefore defensible as written, and the wording is not the defect.

What that rebuttal does NOT cover, stated plainly. Two things remain, and neither is fixed by this diff:

  • the dated paragraph's subject is "the corpus this branch pins", which MOVES on every pin advance — the same shape as the retired "the marketplace pin this branch records", and the same reason a written pin is a claim the tree cannot keep; and
  • it restates the list's own breakdown (43 + 2 = the list's 45 entries) two lines below a sentence that says not to state the list's size.

The RCA, for the residual. Mechanism: the date exemption is granted at BLOCK scope, so a date anywhere in the block blesses every count in it, and the control never asks whether a count's subject still describes the same object. Missed control: the shape-count family has no notion of a subject that moves; it can see a count and a date, and nothing else. Blast radius: the two lines below, at origin/main — reasonix.toml:76 ("43 skills/ dirs") and reasonix.toml:77 ("361 SKILL.md"). Root fix: at those two sites the figures go and the derivation stays — the count of record is the list, and the corpus's contents are whatever scripts/sync-skill-bindings.mjs derives.

Where it is fixed. Those two lines are two of the 24 sites #757's rule change — the date bound to the count it excuses instead of to the block — un-dates, and the derivation option is the fix that rule requires of them. #757's leg is claimed and is the next leg; the residual is carried there with this RCA, and it is listed under ## Filed issues on this PR's body.

Next. #757's own leg: the policy change and the sites it un-dates, in one cutover.

Agent: charly · session ses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reasonix.toml's prose states the corpus's shape as bare numbers it cannot keep: "42 directories" against the 45 the list below it names

1 participant