Repository navigation
fix(hooks): the pin contract's commit-carried inputs have ONE definition (opencharly/opencharly#661) - #664
Conversation
…ion (#661) The commit gate's change class was "the staged diff moves a gitlink", and it was derived by judgement instead of from what the verb reads. `charly task pin-check` composes `verb:git-submodules` in mode: verify, and that verb reads three commit-carried inputs: 1. the INDEX's gitlinks — the edge's `got` side, and every submodule's recorded gitlink (the checkout audit's expectation); 2. the MANIFEST that DECLARES the pin contract — charly.yml's `pins:` block, with its `pin_map` and `pinned_from`; 3. the DECLARED PATH SET — .gitmodules, which the checkout audit walks. A commit that edits (2) or (3) moves no gitlink, so the gate SKIPPED the check that would have caught it — and the shipped comment claimed the class was exact ("every value it compares is an INDEX entry, and ... a commit that moves no gitlink cannot violate it"). The claim was false: the edge's `want` side is read from the `pinned_from` CHECKOUT's HEAD, and the declaration and the path set are files. The rule now lives ONCE — scripts/pin-contract-inputs.sh — and both readers ask the same question of it ("can this diff violate the pin check?"): - the commit gate's CHANGE CLASS (hooks/pre-commit-gate.sh), which now only MEASURES: which staged paths are gitlinks, and which are declaration files. The rule is not restated in the gate, so the two cannot drift; - the wave body's COVERAGE DECISION (scripts/sync-pin-evidence.sh), whose rule was NARROWER than the truth: it decided coverage by "a `distro-*` pin moved", so a diff that moved charly's own gitlink (which moves the edge's `want` side) or edited the manifest was described in a PR body as a diff the pin check "cannot fail on". That was false, and the body under-claimed what the gate proves. The class is a deliberate SUPERSET of the violation set — a charly.yml edit that touches no pin block still fires the check — because the check reads the whole manifest, so a change to it can change what the check compares. The checkout drift is caused by NO commit, so it stays where the rulebook puts it: `charly task verify` (AGENTS.md Part II #1), which composes the SAME verb. The two prose surfaces that carried the old model are corrected in the same change: the verify step's description in charly.yml, and the README's row for `charly task pin-check`, which described the command as asserting "the pin contract's cheap half" — the edge alone — while the verb runs the edge AND the checkout audit. The coverage now has ONE fired assertion per input and ONE mutation arm per input, so a dropped leg goes red: 11 arms in the gate's fixture (each mutation turns it RED, the unmutated copy GREEN) and 7 arms in the wave body's self-test, which prove the coverage decision itself. Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
|
STATUS The follow-up to #660 is open: #664, head What is done. The pin check's change class is derived from what the verb actually reads The proof, on the committed tree. What is next. The fresh Filed, and claimed: opencharly/layer-charly-internals#146 (the corpus copy of the same Next update due: on the validator's verdict, or when the next round's commit is pushed — Agent: charly Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) |
Review — PASSI re-derived every claim in the body and the single comment against the current diff and found them consistent. Summary of what I checked and where I landed: Correctness of the fix.
Tests.
Honesty of the body.
Security / scope.
Comment disposition.
Non-blocking observations (do not gate this PR):
No finding rises to a block: the change does what the body claims, ships coverage that fails without it, is honest about its evidence, and is clean. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS The validator's two observations on this PR are dispositioned — one fixed, one rebutted Observation 1 — the wave body sourced the shared definition before The RCA, on the merged tree of this PR (squash and the body then published, as a FACT, "The pin check is NOT offered as this diff's Mechanism. Missed control. The commit gate's guard was not a shared rule; it was a line inside one Blast radius. The body is the sync PR's own builder: it decides what the pin check Root fix. The body now carries the commit gate's own guard, in the commit gate's own Observation 2 — and the body, run with What is a real defect, and it is not this one. The row's VALUE is wrong: for a REMOVED Agent: charly Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated) |
…— nine gitlinks to their producers' served mains (#671) The rule landed as #670 and the arm as opencharly/layer-charly-internals#148 (tag v2026.297.0850); the corpus regenerated and merged as opencharly/marketplace#575 (tag v2026.297.0931). This advances the umbrella's own pins through the pin contract's verb, so the umbrella's tree carries the arm that reads the pushed range's trailers, and it aligns the umbrella's two `charly task pin-check` rows with the contract #664 implemented — the read-set the corpus's canonical text names, and the umbrella's own rows did not. Refs #613 Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
Summary
What this closes. #661 — the umbrella's own commit gate decides
whether to run the pin check by change class, and the shipped class covered only the
gitlinks. It also carries the disposition of the
charly/pr-validator's non-blockingobservation on #660: that observation is CONFIRMED, and it is a
defect in the class, not a wording slip. The RCA is posted on #660's thread.
This is the follow-up to #660 (merged, squash
02177e7, validatorverdict PASS), which shipped the change class this change corrects. #660's two non-blocking
observations are dispositioned on its thread; the first is the defect fixed here, the second
is a deliberate trade-off that this change does not alter.
The defect.
charly task pin-checkcomposesverb:git-submodulesinmode: verify,and that verb reads three commit-carried inputs:
gotside, and every submodule's recordedgitlink (the checkout audit's expectation);
charly.yml'spins:block, withits
pin_mapandpinned_from;.gitmodules, which the checkout audit walks.The shipped class was "the staged diff moves a gitlink", and the shipped comment called
it EXACT: "every value it compares is an INDEX entry … so a commit that moves no gitlink
cannot violate it". That claim was false. The declaration and the path set are FILES,
and the edge's
wantside is read from thepinned_fromcheckout's HEAD tree — so acommit that edits the manifest or the declared path set violates the pin check without
moving a gitlink, and the gate skipped the check that would have caught it.
The fix: ONE definition, TWO readers. The rule now lives once, in
scripts/pin-contract-inputs.sh, and the two places that ask the question ask it of thatone definition:
hooks/pre-commit-gate.sh) now only MEASURES —which staged paths are gitlinks, and which are declaration files. The rule is not
restated in the gate, so the two cannot drift;
scripts/sync-pin-evidence.sh) reads the samedefinition, because it asks the same question — can this diff violate the pin check?
Its own copy of that question was narrower than the truth: it decided coverage by
"a
distro-*pin moved", so a diff that moved charly's own gitlink (which moves theedge's
wantside) or edited the manifest was described in a PR body as a diff the pincheck "cannot fail on". That was false, and it under-claimed what the gate proves.
The prose surfaces that carried the old model are corrected in the same change: the
verifystep's description incharly.yml, and the README's row forcharly task pin-check, which described the command as asserting the pin contract's edgealone while the verb runs the edge and the checkout audit.
The class is a deliberate SUPERSET of the violation set. A
charly.ymledit thattouches no pin block still fires the check, because the check reads the whole manifest, so
a change to it can change what the check compares — and R3 forbids cleverness in place of
a rule. The checkout drift the same verb also sees (a checkout dirty, or at another
commit, caused by no commit) stays where the rulebook puts it:
charly task verify(AGENTS.md Part II #1), which composes the same verb.
The coverage now has one fired assertion and one mutation arm per input, so a dropped
leg goes red: 11 arms in the gate's fixture (each mutation turns it red, the unmutated
copy green) and 7 arms in the wave body's self-test, which judge the coverage decision
itself.
README.mdcharly task pin-checkrow: the verb runs the edge and the checkout auditcharly.ymlverifystep's description: the change class is the pin contract's commit-carried inputshooks/pre-commithooks/pre-commit-gate.shscripts/check-pre-commit-gate.mjsscripts/pin-contract-inputs.shscripts/sync-pin-evidence.shscripts/sync-pr-body.shHead
3835e254485395089ff8da28fce5c2ec0bb049e9; baseorigin/main1e809762d028328b72083f72981c6c72312d1527; the diff is8 files changed, 409 insertions(+), 62 deletions(-).How tested
The head and the base — the committed tree this body describes:
The worktree-local binary (R9 — binary equals source), never a shared install:
The class, measured live on THIS diff — the gate's own question, asked of the shared
definition over the diff this commit carries (it edits
charly.yml, the manifest thatdeclares the pin contract, so the check fires), and over a prose-only diff (it does not):
(The
git diff --rawline printed nothing: this diff moves no gitlink, and the classfires anyway, because the manifest it edits is one of the inputs.)
The gate's own fixture — the fired assertions, each one an input of the check, and
then the mutation arms, each of which turns the fixture red while the unmutated copy
stays green:
The wave body's coverage decision — the shared rule, judged by the second reader's
own self-test, which asks the same question of the same definition:
This change's coverage FAILS without the change — the old decision, taken from
origin/main(DISTRO_MOVED— coverage only when adistro-*pin moved), judgedagainst the same inputs, and the new shared rule judged against them:
Four real inputs the old rule missed, and one it did not (a plain file) that the new rule
still does not fire on. The fixture is red on the two trees that do not carry the change:
The hybrid is the sharper of the two: the old rule inside the new tree keeps the
gitlink legs green and turns the manifest and path-set legs red, and it turns a FAILING
pin check into a green gate — the swallowed verdict, which is the exact failure the
change exists to remove.
The umbrella's own gate, on the committed tree — the whole plan, every step:
plugin github.com/opencharly/plugin-example-kind/candy/plugin-example-kind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-kind-660763c18b405ea9 (build sha256:643e81502274cd1f42bcf3ba7f05a981effba9654ec6eb219e85dbdfa156bb65); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-kind
plugin plugin-example-structkind: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-example-structkind-f39364ecc01e5411 (build sha256:e2c98e2435e2e0110c2fc29f08a76ccf6464efaecb40a95190752286d1f16a35); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-example-structkind
plugin plugin-jetkvm: served from /home/atrawog/.cache/charly/plugin-build/views/plugin-jetkvm-2728452fcfb25529 (build sha256:9bdf8390f86de24e7ee3030e2dfdb5140aab232d5df4b40bd1510c18d64f0658); source /home/atrawog/.cache/charly/repos/github.com/opencharly/[email protected]/candy/plugin-jetkvm
task verify: 33 step(s), 0 failed
[pass] check — the pin contract holds — every distro-* gitlink equals charly's own box/* gitlink (the EDGE), and every submodule is clean and checked out at its recorded gitlink (the CHECKOUT AUDIT), composed ONCE through
pinsverify: 6 policy pin(s) hold across 412 submodule(s); 13 checkout(s) clean at their gitlink; 399 uninitialized (pin audited, no checkout): charly-alpine, charly-arch, charly-debian, charly-fedora, charly-jetkvm, charly-lib, charly-openwrt, charly-registry, charly-streamer, charly-ubuntu, clawsweeper, crabbox, crabhelm, docs, dotgithub, eval-omarchy, gst-wayland-display, layer-a11y-tools, layer-agent-forwarding, layer-agentteams, layer-agentteams-cli, layer-agentteams-openclaw, layer-agentteams-snapshot, layer-android-apidemos, layer-android-sdk, layer-android-test-apps, layer-asciinema, layer-blogwatcher, layer-build-toolchain, layer-cachyos-extras, layer-camsnap, layer-charly, layer-charly-check, layer-charly-internals-extra, layer-charly-tools, layer-check-base-layer, layer-check-builder-npm, layer-check-composition-layer, layer-check-cross-local-driver-layer, layer-check-group-layer, layer-check-local-layer, layer-check-retention-fixture, layer-check-stack-layer, layer-check-structkind-layer, layer-check-substrate-layer, layer-check-tier1-layer, layer-chrome, layer-chrome-sway, layer-claude-code, layer-clawhub, layer-codex, layer-container-nesting, layer-crabbox, layer-cstream-desktop, layer-cua, layer-cuda, layer-cue, layer-debootstrap-builder, layer-debug-tools, layer-desktop-fonts, layer-desktop-media, layer-dev-tools, layer-devops-tools, layer-direnv, layer-docker-ce, layer-docs-site, layer-examplebuilder-consumer, layer-examplestep-consumer, layer-examplestep-deploy-consumer, layer-fastfetch, layer-ffmpeg, layer-fonts-extended, layer-forgecode, layer-gemini, layer-gh, layer-gifgrep, layer-github-actions, layer-gnupg, layer-gocryptfs, layer-gogcli, layer-golang, layer-google-cloud, layer-google-cloud-npm, layer-goplaces, layer-grafana-tools, layer-gst-wayland-display, layer-helm-chart, layer-hermes-playwright, layer-heroic, layer-himalaya, layer-java-openjdk, layer-jupyter-mcp, layer-k3s, layer-k3s-kernel, layer-kde-shell, layer-keepassxc, layer-kimi, layer-kind, layer-kubernetes, layer-kubevirt, layer-kubevirt-operator, layer-language-runtimes, layer-libnotify, layer-llama-cpp, layer-maplibre-versatiles-styler, layer-mcporter, layer-nano-pdf, layer-nerdctl, layer-nodejs, layer-notebook-finetuning, layer-notebook-graph, layer-notebook-llm-on-supercomputers, layer-notebook-ollama, layer-notebook-openrouter, layer-notebook-osm, layer-notebook-templates, layer-nvenc-headers, layer-nvidia, layer-ollama-cuda, layer-ollama-rocm, layer-omarchy-base, layer-omarchy-boot, layer-omarchy-desktop-apps, layer-omarchy-dev, layer-omarchy-fonts, layer-omarchy-gpu-nvidia, layer-omarchy-hardware, layer-omarchy-hyprland, layer-omarchy-media, layer-omarchy-network, layer-omarchy-shell, layer-omarchy-terminal, layer-omarchy-themes, layer-oracle, layer-ordercli, layer-pacstrap-builder, layer-pavucontrol, layer-pi-agent, layer-pixi, layer-playwright, layer-pod-addcandy-marker, layer-pre-commit, layer-punktfunk, layer-punktfunk-client, layer-python, layer-python-ml, layer-qdrant, layer-ripgrep, layer-rocm, layer-rpmfusion, layer-rust, layer-sag, layer-selkies-kde-desktop, layer-sherpa-onnx, layer-shortbread, layer-socat, layer-songsee, layer-sqlite, layer-ssh-client, layer-steam, layer-stepkind-build-consumer, layer-summarize, layer-supervisord, layer-sway-desktop, layer-sway-desktop-vnc, layer-tailscale, layer-tailscale-up, layer-thunar, layer-tmux, layer-typst, layer-unsloth, layer-uv, layer-vectorchord, layer-versatiles-fonts, layer-versatiles-style, layer-vscode, layer-wacli, layer-wf-recorder, layer-whisper, layer-wl-overlay, layer-wl-record-pixelflux, layer-wl-screenshot-grim, layer-wl-screenshot-pixelflux, layer-wl-tools, layer-workspace-mount, layer-xdg-portal, layer-xfce4-terminal, layer-xterm, layer-xurl, layer-yay, lobster, omarchy-eval-artifacts, openclaw, openclaw-enterprise, pi-asciinema, pi-fabric, pi-lsp, pi-review-action, pixelflux, pkg-arch, pkg-debian, pkg-fedora, plugin-adb, plugin-addr, plugin-agent, plugin-agent-pi, plugin-agentteams, plugin-alias, plugin-appium, plugin-authoring, plugin-boot-kind, plugin-box, plugin-bpf, plugin-build, plugin-builder, plugin-builder-aur, plugin-builder-cargo, plugin-builder-npm, plugin-builder-pixi, plugin-cache, plugin-candy, plugin-candy-kind, plugin-cardwire, plugin-cdp, plugin-check, plugin-clean, plugin-cmd, plugin-command, plugin-crabbox, plugin-cstream, plugin-cua, plugin-dbus, plugin-deploy-local, plugin-deploy-pod, plugin-deploy-vm, plugin-desktop-kind, plugin-distro, plugin-dns, plugin-docs, plugin-doctor, plugin-dsh, plugin-egress, plugin-enc, plugin-example, plugin-example-bootstrap, plugin-example-builder, plugin-example-command, plugin-example-deploy, plugin-example-dispatch, plugin-example-external, plugin-example-kind, plugin-example-lifecycle, plugin-example-require, plugin-example-step, plugin-example-stepkind, plugin-example-structkind, plugin-examplerunverb, plugin-feature, plugin-file, plugin-fleet, plugin-generate-packages, plugin-gh, plugin-gpu, plugin-harness-kind, plugin-helm, plugin-herdr, plugin-http, plugin-init, plugin-installstep, plugin-interface, plugin-jetkvm, plugin-k8sgen, plugin-kernel-param, plugin-kube, plugin-kubevirt, plugin-loader, plugin-lobster, plugin-marketplace, plugin-matching, plugin-mcp, plugin-media, plugin-migrate, plugin-mise, plugin-mount, plugin-nerdctl, plugin-oci, plugin-ollama, plugin-omarchy, plugin-openclaw, plugin-package, plugin-pipeline, plugin-pod, plugin-port, plugin-preempt, plugin-process, plugin-punktfunk, plugin-qdrant, plugin-quickshell, plugin-record, plugin-refs, plugin-resource, plugin-review, plugin-secrets, plugin-service, plugin-settings, plugin-sidecar, plugin-spice, plugin-ssh, plugin-status, plugin-substrate, plugin-task, plugin-tmux, plugin-tunnel, plugin-udev, plugin-unit, plugin-unix-group, plugin-user, plugin-vision, plugin-vm, plugin-vnc, plugin-wl, pod-agentteams-controller, pod-agentteams-element, pod-agentteams-higress, pod-agentteams-manager, pod-agentteams-matrix, pod-agentteams-minio, pod-agentteams-worker, pod-airflow, pod-android-emulator-layer, pod-appium-server, pod-charly-automation, pod-charly-hooks, pod-charly-mcp, pod-charly-versa, pod-check-keepalive, pod-check-redis-init-layer, pod-check-tier23-layer, pod-chrome-cdp, pod-chrome-devtools-mcp, pod-chrome-headless, pod-cloud-init, pod-comfyui, pod-crabbox, pod-cstream, pod-dbus, pod-dsh, pod-filebrowser, pod-github-runner, pod-herdr, pod-hermes, pod-hermes-full, pod-hyprland, pod-immich, pod-immich-ml, pod-jupyter, pod-jupyter-ml, pod-k8s-layer, pod-kde-desktop, pod-kde-selkies, pod-labwc, pod-maputnik, pod-marimo, pod-mcp-layer, pod-nested-podman-socket, pod-ollama, pod-openwebui, pod-os-layer, pod-osm-tools, pod-pipewire, pod-pmtiles-viewer, pod-postgresql, pod-qdrant, pod-qemu-guest-agent, pod-redis, pod-redis-client-layer, pod-redis-server-layer, pod-selkies, pod-selkies-core, pod-selkies-desktop, pod-sshd, pod-sway, pod-swaync, pod-testapi, pod-traefik, pod-unsloth-studio, pod-valkey, pod-versatiles, pod-versatiles-frontend, pod-virtualization, pod-waybar, pod-waybar-labwc, pod-wayvnc, pod-web-layer, rpiv-todo, sdk, spec, vm-k3s-agent, vm-k3s-server
[pass] check — each pin's CURRENCY — the pin is at the ref its intent names (the question the consistency half above does not answer)
currency: 8 of 412 pin(s) NOT current [1 behind, 1 blocked-by charly:box/cachyos (behind), 404 cur, 6 differs (no checkout to judge ancestry)]; intents: 406 upstream leaf/leaves (406 implicit), 6 derived-from edge(s); NOT CURRENT: distro-cachyos: blocked-by charly:box/cachyos (behind); intent derived-from:charly; recorded 1893455d3a; served 6abe895225 (charly:box/cachyos branch); docs: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded a5bd2445dd; served 9540ca5371 (branch); marketplace: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 42b8789543; served d0d55ccc77 (branch); plugin-crabbox: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded d5eea8fd15; served 72a7abe4a3 (branch); plugin-nerdctl: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded a0051aec96; served 4f0f29da3b (branch); pod-charly-automation: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded ca58c6f843; served e4f278f19e (branch); pod-charly-hooks: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded fb0dd7c4c6; served a7b5a24c38 (branch); pod-crabbox: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 64852170aa; served c7a7297d82 (branch); producer-first legs: marketplace (42b8789543 -> d0d55ccc77) -> distro-cachyos (blocked-by charly:box/cachyos (behind))
[pass] check — every submodule's branch equals its remote default — KEPT INLINE, deliberately, because no verb owns this clause, and it is the expensive half (one git ls-remote per submodule, hence the timeout below)
exit=0
[pass] check — charly's own nested submodules are at their gitlinks — KEPT INLINE, because the verb has no recursive-nested clause
exit=0
[pass] check — the nested-submodule step above — an uninitialized nested path is a NOTICE, a
+/Udrift still FAILS (fixtures)exit=0
[pass] check — the branch-audit step above — every branch= is compared against the remote default, and EVERY mismatch is named (fixtures)
exit=0
[pass] check — the branch-audit gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — no
command:step in this file carries a braced reference in its text — the plan runner CLAIMS one, and an unresolvable one SKIPS the step instead of failing it, so the gate would read green over a check that never ran (fixtures)exit=0
[pass] check — the command-text gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the README's MEASURED figures agree with each other — the table, the prose that quotes it, and the date every dated figure carries — and every count of a collection that GROWS is derived from that collection or dated (fixtures)
exit=0
[pass] check — the measurement gate discriminates — each mutation turns it RED, the figures and the shape counts alike (fixtures)
exit=0
[pass] check — the body/diff reconciliation gate discriminates — a file table that omits a changed file, one that lists an unchanged file, and a pasted
git rev-parse HEADthat is not the head, each turn it RED (fixtures)exit=0
[pass] check — the umbrella's own committed builders pass their self-tests — the set the commit gate runs, owned by scripts/self-test.sh
exit=0
[pass] check — the commit gate decides by CHANGE CLASS and runs each leg EXACTLY ONCE — the pin check only when the diff touches one of the pin contract's commit-carried inputs (a gitlink, the manifest charly.yml, the declared path set .gitmodules), the skip visible, the missing binary loud, and the index the commit carries read (fixtures)
exit=0
[pass] check — the commit-gate gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — every step of every task in this file declares a
context:the plan runner activates — a set disjoint from [build, runtime] (the[deploy]this file used to carry) is a no-op in EVERY mode (fixtures)exit=0
[pass] check — the opencode gate plugin contract (the check-opencode-plugin gate the former verify-pins.sh ran)
exit=0
[pass] check — the PR-watch plugin's pure logic + its shipped (uncommented) SDK delivery primitives
exit=0
[pass] check — the agent-progress monitor+control plugin — static (no .sh), the classifier (RCA regression), and a read-only store
exit=0
[pass] check — the session tracker plugin — the durable ledger (rule 9 invariant), the three tools, and the real-binary load
exit=0
[pass] check — every harness-config surface parses and is wired (rule 5)
exit=0
[pass] check — the harness-config gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the pi gate extension fails CLOSED, uses the rule-2 worktree path, and wires both gate scripts
exit=0
[pass] check — the validator enforces only what the rulebook states — rulebook check ids == the AGENTS.md "What the validator checks" table, every cited skill resolves, and the committed rulebook == the live AI_REVIEW_PROMPT (#446)
exit=0
[pass] check — the validator rule-map gate discriminates — each mismatch fixture turns it RED
exit=0
[pass] check — the coordination closed set is the SAME nine labels on every surface that enumerates it (#567)
exit=0
[pass] check — the coordination closed-set gate discriminates — each mutation turns it RED (fixtures)
exit=0
[pass] check — the pi wake binding delegates to the neutral watchers, wakes, re-arms, cleans up, and ships inert + wired
exit=0
[pass] check — the pi PR-status tool parses, normalises the state, finds the run by head SHA, reads jobs via REST, and classifies INCONCLUSIVE
exit=0
[pass] check — the pi
questiontool is dependency-free, headless-safe, serialized, and wired into .pi/settings.jsonexit=0
[pass] check — the harness-neutral R10 bed watcher classifies exit codes and parses summary.yml (self-test)
exit=0
[pass] check — every canonical root narrative exists and every root-file reference in the agent surfaces resolves (the #356 content-loss gate)
exit=0
[pass] check — the root-ref gate discriminates — each mutation turns it RED (fixtures)
exit=0
VERIFY_EXIT=0
The legacy is gone — the three claim-keyed sweeps find no matches in the umbrella's
own tree (the CHANGELOG is history, and is excluded by design):
The old model's phrase survives only where it names the case the fixture fires, or the
model it replaced — every surviving hit, classified:
The first hit is the fixture's own note about the class it replaced; the second is the
shared definition's note about the model it replaced. Neither is a live rule.
The body's own gates — the diff reconciliation and the org's linter, on this body:
$ node scripts/check-pr-body-diff.mjs --body PR_BODY.md --base origin/main
PASS every pasted
git rev-parse HEADnames the head being pushed (3835e25)NOTE the body states no count of the diff's new files — the count rule is inapplicable
PASS the file table lists exactly the 8 file(s) the diff changes (against origin/main)
check-pr-body-diff: OK
$ python3 marketplace/scripts/pr_body_lint.py PR_BODY.md --head 3835e25 --rules R0,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10
pr_body_lint: 0 finding(s)
Rulebook compliance
/charly-internals:git-workflow,/charly-internals:strict-policy,/charly-internals:root-cause-analyzer) were loadedbefore the first edit.
(mechanism, missed control, blast radius, root fix) is posted on fix(hooks): the commit gate decides by change class, and each leg runs once (opencharly/opencharly#602, #645, #498) #660's thread. The
class was derived by judgement instead of from the verb's read-set; the fixture
asserted the class as written, so it could not falsify it — that is the missed control,
and the fix is one fired assertion and one mutation arm per input. The corpus copy of
the same false description is filed as the
charly task pin-checkrow under-describes the verb's read-set, and scopes commit-violability to a gitlink-moving commit layer-charly-internals#146 and listedunder
## Filed issues. Zero warnings in the gate above.scripts/pin-contract-inputs.sh. The commit gate andthe wave body's coverage decision are two READERS of it, not two copies; the wave
body's narrower copy of the question is deleted in the same cutover.
retry, no suppression, no fallback branch.
first, and the two prose surfaces that carried the old model (
charly.yml,README.md)are corrected in the same change.
hits are classified in the same section.
git statuswas stated before the amend; no force-push, no amend after thepush, no direct push to
main, no hook bypass, and no other session's branch,worktree or file touched. No submodule was edited: the umbrella records gitlinks only,
and this diff moves no gitlink.
fixture, the wave body's self-test and the umbrella's whole plan, all pasted above), and
this change's own coverage fails without the change: each of the fixture's 11 mutation
arms is red on the mutated copy while the unmutated copy is green, the wave body's
7 arms judge the coverage decision itself, and the fixture is red on the OLD tree
(2 findings) and on the hybrid that carries the old rule (4 findings) — all pasted
above.
nothing was mocked. The fixture's fired assertions use a RECORDING charly, and what
they judge is the gate's DECISION — how many times it invokes a leg, whether the skip
is visible, whether the missing binary is loud — not the verb's verdict, which the live
run exercises.
shared install.
failed steps and no warning:
charly task verify(33 steps, 0 failed) plus thechanged gate's own
--self-test(11 arms, each red on its mutation) and the wavebody's self-test. No
disposable: truetarget is affected: this change touches nobuild, no deploy and no bed, and the umbrella declares no candy or box.
origin/main; every tracked submodule checkout stays at its gitlink.records are posted on the threads it touches, and the resolved issue is closed with an
explicit RESOLVED record when this PR lands — a
Closeskeyword does not close anissue by itself.
Change classification
One gate's own decision. The diff carries the umbrella's own commit gate: the hook,
the gate it delegates to, the gate's own assertion, the shared definition the gate reads,
the wave body that reads it too, and the manifest's and README's references to them. No
submodule content, no Go source, no schema, no gitlink, no pin, no deploy and no bed.
The gates that own this class are the changed gate's own
--self-test(the coverage thischange adds), the wave body's
--self-test(the coverage of the second reader), and theumbrella's
charly task verify(the aggregate gate, which runs both among its 33steps) — all run on the committed tree above, and the changed path itself ran live.
On the attribution tier. The tier is
fully tested and validated: the change-classgate passed on the final tree with zero warnings, the changed path ran live, and the
measurements above are retained in this body.
Filed issues
charly task pin-checkrow under-describes the verb's read-set, and scopes commit-violability to a gitlink-moving commit layer-charly-internals#146 (CLAIMed; filed by this change) — thegit-workflowskill'sreferences/umbrella-mechanics.mddescribescharly task pin-checkas asserting "the pin contract's cheap half — everydistro-*gitlinkequals charly's own
box/*gitlink" and calls it "the cheap, commit-violable half ofverify". That is the authored source of the sentence the umbrella copied, in anotherrepo, so it is filed there with the RCA rather than edited from here. The
producer-first order is
layer-charly-internals→marketplace(regenerate theprojection) →
docs→ the umbrella's gitlinks.Two further findings were filed while the issues that #660 discharged
were closed, so that neither dies with the issue it was recorded on. They are not this
diff's scope — this diff neither causes them nor fixes them:
(
.claude/hooks/pre-commit-gate.sh) refuses a command that performs no version-controloperation, because its fail-closed predicate asks whether the words "git" and "commit"
co-occur on a line rather than whether
commitis the subcommand of agitinvocation,and its shell-level filter admits such a command into the parser at all. This is the
second face of the wall reported on A fresh session worktree cannot commit an umbrella change: the pre-commit hook runs
charly task, and the worktree has neither an initialized charly submodule nor a bootstrapped binary #498 by another session, whoseown subject fix(hooks): the commit gate decides by change class, and each leg runs once (opencharly/opencharly#602, #645, #498) #660 fixed. It is security machinery, so its fix needs a maintainer-account
sign-off and is not this session's to make.
a MANIFEST-shaped error, because nothing compares the schema vocabulary the manifest
needs against the vocabulary the binary carries, so the failure is presented as a defect
in the manifest. This is the residue of umbrella pre-commit: the main-clone binary fallback cannot load the project from a linked worktree, so every docs-only worktree commit dies in the hook #602, whose subject fix(hooks): the commit gate decides by change class, and each leg runs once (opencharly/opencharly#602, #645, #498) #660
fixed by removing the cross-tree case.
No other issue was filed: every other finding this change's scope touched is fixed in it.
Agent: charly
Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)