Skip to content

docs(policy): the Cutover Sizing Law — CLAUDE.md mandate + hook reroute + merged plugins pointer - #108

Merged
atrawog merged 2 commits into
mainfrom
feat/batch-sizing-law
Jul 14, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/batch-sizing-law

Conversation

@atrawog

@atrawog atrawog commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Superproject leg of the Cutover Sizing Law governance cutover (companion to merged plugins#54 / v2026.195.0632). Codifies the operator's standing batching directive where behavior is actually re-derived from: CLAUDE.md, the skills (landed leg 1), and the hook reminder.

Change class

CLAUDE.md (5 edits, docs) + .claude/hooks/end-of-turn-challenge.sh (1 reminder-line edit — SCRIPT surface) + CHANGELOG + the merged plugins gitlink bump (c707e80 → 2f37adbe).

What changed

  • R2: the thematic batch IS the 'immediate-next cutover' for non-blocking work; solo landing ceremonies per small fix forbidden.
  • The Cutover Sizing Law (Hard Cutover by Default): large by default; ceremony paid once per theme; batching (too-small remedy) and decomposition (too-big remedy, forward motion only) as two directions of one law; gate rosters trimmed to beds that can FAIL on the change; independent validator legs concurrent; measured ~85%-overhead incident as motivation; Detail pointer to cutover-policy's new section.
  • Post-execution paragraph + acceptance checklist swept to the batch form; the verb-gap Key Rule routed through the sizing decision procedure (claim-keyed sibling of the strict-policy sweep in leg 1).
  • Hook R2 line: routes non-blocking findings to their NAMED thematic batch.

R10 (by surface)

  • Docs surfaces: adversarial consistency vs the merged plugins leg (validated there at 0b20247), claim-keyed 'immediate-next' sweep clean, markdown integrity.
  • Hook script surface: bash -n PARSE-OK + live invocation rc=0 (pasted in-session) — the R10 matrix's hook-script gate.
  • Pointer bump: staged AND verified via git diff --cached --submodule=short (c707e80 → 2f37adbe); the bumped commit is merged plugins main.

Assisted-by: Claude (analysed on a live system)

https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif

atrawog added 2 commits July 14, 2026 08:38
…te + merged plugins pointer

The batch IS the immediate-next cutover for non-blocking work: CLAUDE.md R2
redefinition, the Cutover Sizing Law paragraph (batching/decomposition as
the two directions of one law), the post-execution + acceptance-checklist
sweep, the verb-gap Key Rule routed through the decision procedure, and the
end-of-turn hook's R2 line rerouted to named thematic batches (hook gated:
bash -n + live invocation rc=0). Bumps plugins to the merged sizing-law leg
2f37adbe (v2026.195.0632).

Assisted-by: Claude (analysed on a live system)

Claude-Session: https://claude.ai/code/session_01R8UGGr3ui1959oTb5JuSif
…g Law — superproject leg)

Merge-time version stamp for #108.

Assisted-by: Claude (documentation reviewed)
@atrawog

atrawog commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: mixed — hook/workflow SCRIPT (.claude/hooks/end-of-turn-challenge.sh) + docs (CLAUDE.md ×5, CHANGELOG) + submodule pointer bump. Tier: analysed on a live system (correct — a non-all-md diff cannot be documentation reviewed).
Validated head: 02d477d (= 16e77101 + the merge-time CalVer stamp)

Superproject leg of the Cutover Sizing Law, companion to merged plugins v2026.195.0632 (#54). Independently re-derived:

  • Hook script gate (re-ran myself on the 16e77101 version): bash -n PARSE-OK (rc=0) + live invocation echo '{}' | bash … → rc=0, and the live output shows the rerouted R2 line ("route it to its NAMED thematic batch cutover (the Cutover Sizing Law — never a solo ceremony per small fix)"). Mirroring-surfaces rule honored — the hook stays POINTER-style (names R2 / Hard Cutover / the Sizing Law as triggers; no rule-body copy).
  • CLAUDE.md ×5 (R2 batch redefinition; the Cutover Sizing Law paragraph with the two-directions sentence + the "Cutover sizing — the batch law" Detail pointer; post-execution; acceptance checklist; the verb-gap Key Rule) — all consistent with the merged plugins main and internally coherent; the two-directions sentence matches the plugins three-axes.
  • Claim-keyed R5 sweep (super-side): no stale per-issue-solo survivor; both remaining immediate-next hits DEFINE the batch.
  • Pointer bump plugins c707e80 → 2f37adbe = the merged leg-1 head on plugins real main (verified).
  • CHANGELOG 2026.196.0001.md present, H1 == filename.

Checklist: 0 security (hook STRENGTHENS the R2 reminder; no gate weakened) ✅ · 1 description (full, R10-by-surface) ✅ · 2 change-class gate (script→parse+live rc=0; docs→standards; pointer→staged+verified) ✅ · 3 tier justified ✅ · 4 R0 (git-workflow B2 / skills-meta / strict-policy) ✅ · 5 R1 ✅ · 6 R2 ✅ · 7 R3 (verb-gap swept both legs) ✅ · 8 R4 ✅ · 9 R5 sweep clean ✅ · 10 pointer staged+verified ✅ · 11–13 N/A · 14 one-phase ✅ · 15 placement CORRECT ✅ · 16 N/A · 17 no Go ✅ · 18 CHANGELOG ✅.

Decision: PASS. Finalizing v2026.195.0643, squash-merging, tagging. This completes the two-leg governance cutover.

Assisted-by: Claude (analysed on a live system)

@atrawog
atrawog merged commit 08866db into main Jul 14, 2026
@atrawog
atrawog deleted the feat/batch-sizing-law branch July 14, 2026 06:45
atrawog added a commit that referenced this pull request Jul 14, 2026
#108 gitlink-ancestor recovery)

Brings in #108 (Cutover Sizing Law docs/hook + plugins pointer 2f37adb, a descendant of this branch's d94a53b). sdk stays 7e9aafe. No code change to the validate cutover.

Assisted-by: Claude (fully tested and validated)
github-actions Bot pushed a commit that referenced this pull request Sep 6, 2026
… validation; pin spec v0.2026249.2231 (offline-fallback latest-tag) (#551)

* fix(check): gate the compiled-in plugin schemas BEFORE authored-input validation

A COMPILED-IN plugin unit registers its PROVIDERS at init() but its SERVED
SCHEMA only through the sync.Once loadBuiltinPluginUnits gate. A box-mode
check run inside a fresh container (charly check live on a deployed bed)
reaches runPluginVerb through an entry path that runs NO project plugin
load, so connectBakedPlugin resolves the init-registered builtin provider
immediately (registry hit, no connect) and validation ran against an EMPTY
input-def registry — every `plugin verb:*` check step failed with "no input
def registered (schema not loaded)" while the deploy phase (whose
loadDeployPlugins path runs the gate) passed. The kind-class dispatch
already gates before validating (runPluginKind); runPluginVerb now runs
the SAME idempotent gate before any resolve/validation, and a broken
builtin schema fails the verb loudly. The TDD repro test fails pre-fix
with the exact production message.

* chore: pin spec v0.2026249.2231 (offline-fallback latest-tag) + forced migration tail

Companion pin set required by spec v0.2026249.2231 (opencharly/spec #108 —
the persisted latest_tags cache is an offline fallback, never fresh data;
the stale-latest-tag RCA fix):

- spec v0.2026249.2030 => v0.2026249.2231 — the staleness fix itself: a
  fresh process now always re-probes the latest tag instead of serving the
  1h-TTL persisted entry (plugin refs resolved STALE v2026.242.0932 minutes
  after v2026.249.2212 was tagged).
- sdk v0.2026249.2036 => v0.2026249.2114 — forced: spec 2231 removed
  Deploy/FleetNode.IsGroup (spec #105); 2114 is the first sdk tag without
  the deleted guard (sdk #224).
- plugin-check v0.2026249.2119, plugin-fleet v0.2026249.2126,
  plugin-preempt v0.2026249.2116, plugin-migrate v0.2026249.2144 — forced:
  the same IsGroup migration in charly's compiled-in plugin candies.

Schema-floor tail (the migrate verb's own 2026.249.2125 stamp output, no
hand edits): charly/charly.yml version stamp + the hardcoded fixture
stamps in six test files the raised floor requires. The broader config
conversion (group-node rewrites) is NOT part of this PR.

* Revert "chore: pin spec v0.2026249.2231 (offline-fallback latest-tag) + forced migration tail"

This reverts commit 39d0bb9.
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.

1 participant