Skip to content

fix(gates): the printed reference is asserted, and the docs gitlink advances to its merged main - #656

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/wave-docs-pin-and-gate-assert
Oct 24, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/wave-docs-pin-and-gate-assert

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #653

Closes #655

Summary

This is the successor to #654, which merged before its round-1 fix
could be pushed. It carries two things: the fix that validator's finding required, and the
wave's last consumer leg — the umbrella's docs gitlink, whose producer has landed and is
tagged.

The fix. #654's validator read the change as correct and raised two observations; one of
them is about the change itself: nothing asserted that the gate PRINTS the product's own
token. The self-test covered DETECTION, so the claim the change makes — the gate's output
carries the character the product prints — had no coverage that would fail without it (R7).
Three things land in one cutover:

The pin. The umbrella's currency report named docs as the one pin that was not current:
the docs repo's main advanced while the umbrella's pin still recorded the older commit,
because the docs leg of this wave had not landed yet. It has (opencharly/docs#182, merge
bb4f006, tag v2026.297.0439), and the pin moved through the pin contract's own verb —
charly task sync, never a hand-pin and never a branch checkout: 5e26799 → a5bd2445.

file what it carries
scripts/check-task-command-vars.mjs assertion T, the single owner of the printed line, and the ASCII rendering deleted from the file
docs the gitlink: 5e26799 → a5bd2445 (opencharly/docs#182, merge bb4f006, tag v2026.297.0439)

Why this is a successor PR, and what happened to #654. The validator's report on #654
landed at 2026-10-24T04:34:47Z with a PASS. A PASS arms native squash auto-merge, and #654
merged at 04:35:06Z — nineteen seconds later — on the head the report had read. The
round's fix needed a new commit, a live mutation, the change-class gate re-run on the new
committed tree (30 steps) and the body re-keyed to the new head; none of that fits in
nineteen seconds, so the fix lands here and this PR names #654 as its predecessor. The
mechanism is filed as opencharly/.github#245, with the evidence.

The two observations on #654, and where each one landed.

Head 42b39f5f5e5a99a1a058e51400d3ffc646d9cf65; base origin/main b2bbc540cedc5e7d5dd9d6791182eb52e6667bf3; the diff is 2 files changed, 36 insertions(+), 3 deletions(-).

How tested

The head every transcript below was taken on, and the worktree-local binary (R9):

$ git rev-parse HEAD
42b39f5f5e5a99a1a058e51400d3ffc646d9cf65
$ git rev-parse origin/main
b2bbc540cedc5e7d5dd9d6791182eb52e6667bf3
$ git status --porcelain
$ ./charly/bin/charly version
2026.297.0121

The wave's order is sync → init → verify, and all three ran on this tree. The sync
wrote the pin through the product's own verb — not a hand-pin, not a branch checkout:

$ ./charly/bin/charly task sync
task sync: 2 step(s), 0 failed
  [pass] run — bump the pins (charly rolls first, then distro-* from their new gitlinks)
      pinned 6 pin_map entr(y|ies) (distro-arch, distro-cachyos, distro-debian, distro-fedora, distro-omarchy, distro-ubuntu) after rolling 9 submodule(s) to their default-branch HEAD and advancing 397 pin(s) in the index
  [pass] run — re-derive the harness skill bindings from the corpus the bump just advanced (the DSH farm and reasonix.toml's [skills] paths — a pin advance that skips this leaves them a family behind)
      exit=0
SYNC_EXIT=0

The init materialized the checkout AT the advanced pin, and the verify judged it:

$ CHARLY_INIT_PATHS=docs ./charly/bin/charly task init
task init: 1 step(s), 0 failed
  [pass] run — materialize the umbrella's submodules
      exit=0
INIT_EXIT=0
$ git submodule status docs
 a5bd2445ddaad6d24bc262fcbe63e78dc524ea69 docs (v2026.234.2355-116-ga5bd244)

The describe in that line is git submodule status's own rendering, and it is NOT a
measure of the tag's currency. git submodule status describes with git describe
WITHOUT --tags, so it sees only ANNOTATED tags — and the docs repo's merge-time tag
v2026.297.0439 is a LIGHTWEIGHT tag (its object type is commit, not tag). It is
there, locally and on the remote; plain describe simply walks past it to the last
ANNOTATED tag, v2026.234.2355, 116 commits back. Measured:

$ git -C docs cat-file -t v2026.297.0439
commit
$ git -C docs cat-file -t v2026.234.2355
tag
$ git -C docs describe a5bd2445ddaad6d24bc262fcbe63e78dc524ea69
v2026.234.2355-116-ga5bd244
$ git -C docs describe --tags a5bd2445ddaad6d24bc262fcbe63e78dc524ea69
v2026.297.0439-1-ga5bd244

The pinned commit a5bd2445 IS the docs repo's current main head; the tag sits on its
parent bb4f006 (the opencharly/docs#182 merge commit), one commit behind the head.

The currency report, on the committed tree — the gate that answers "is this repo
CURRENT", which the consistency half does not:

$ ./charly/bin/charly task pins --param MODE=currency
task pins: 1 step(s), 0 failed
  [pass] run — run git-submodules in the selected mode
      currency: 0 of 412 pin(s) NOT current [412 cur]; intents: 406 upstream leaf/leaves (406 implicit), 6 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
CURRENCY_EXIT=0

The report before the sync — on this tree, with the base's index — named the one path this
wave moved, and it is the producer-first leg the docs leg was waiting on:

      currency: 1 of 412 pin(s) NOT current [411 cur, 1 differs (no checkout to judge ancestry)]; ... NOT CURRENT: docs: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 5e26799086; served a5bd2445dd (branch); producer-first legs: none reachable from this repo

The changed gate, run live — the product prints the token the product prints, and the
self-test now proves that claim:

$ node scripts/check-task-command-vars.mjs
check-task-command-vars: OK — no command step's text carries a ${…} reference
exit=0
$ node scripts/check-task-command-vars.mjs --self-test
  PASS  the unmutated charly.yml is GREEN — 36 command step(s) over 12 entit(y|ies), none carries a `${…}` reference
  PASS  mutation 'the branch-audit step reads its parallelism with a braced reference — THE DEFECT THIS GATE EXISTS FOR (the step was SKIPPED, and the gate read green while it never ran)' is caught by assertion V
  PASS  mutation 'an INLINE command carries a braced reference (the rule covers the inline form too, not only the block scalar)' is caught by assertion V
  PASS  mutation 'a `command:` key appears where it is NOT a step's own command (a plugin input field) — the rule's coverage is asserted, not assumed' is caught by assertion B
  PASS  mutation 'a `command:` key appears OUTSIDE any plan step (a `defaults:` block's own input) — the rule's coverage is not bounded by the plan' is caught by assertion B
  PASS  negative control — a brace-free $NAME read stays GREEN
  PASS  the PRINTED reference is the product's own token (U+2026), not an ASCII rendering of it
  PASS  mutation 'the printed reference is not the product's own token — the claim this change makes' is caught by assertion T
check-task-command-vars --self-test: OK (every assertion is live)
exit=0

The R5 claim-keyed sweeps — the ASCII rendering of the reference is gone from the gate's
file, and the first sweep names every place the form still appears in the tree:

$ git grep -n -F '${...}' HEAD -- .
HEAD:CHANGELOG/2026.296.0611.md:367:check-task-command-vars: OK — no command step's text carries a ${...} reference
HEAD:CHANGELOG/2026.296.0611.md:369:  PASS  the unmutated charly.yml is GREEN — 36 command step(s) over 12 entit(y|ies), none carries a `${...}` reference
HEAD:CHANGELOG/2026.296.0611.md:821:- **opencharly/marketplace#537** — the PR-body linter's ellipsis rule cannot tell a program's own output from an author's ellipsis: a gate that legitimately prints `…` in its message cannot have that output pasted into a PR body. This PR's new gate renders its placeholder as `${...}` so its output is pasteable; the linter's rule is the defect.
HEAD:CHANGELOG/2026.297.0435.md:124:$ git grep -n -F 'REF = "${...}"' HEAD -- .
HEAD:CHANGELOG/2026.297.0435.md:126:$ git grep -n -F 'REF = "${...}"' origin/main -- scripts/check-task-command-vars.mjs
HEAD:CHANGELOG/2026.297.0435.md:127:origin/main:scripts/check-task-command-vars.mjs:71:const REF = "${...}";

The hits are the CHANGELOG entries that recorded the old output — history, which is where
the old form belongs. The gate's own file prints the product's token, and the file list is
the command that shows it:

$ git grep -l -F '${...}' HEAD -- .
HEAD:CHANGELOG/2026.296.0611.md
HEAD:CHANGELOG/2026.297.0435.md
$ git grep -l -F '${...}' HEAD -- . | wc -l
2

The three-dot form itself survives twice, in the umbrella's own pre-commit banner, and both
are that banner's prose rather than the gate's reference:

$ git grep -c -F '...' HEAD -- hooks/pre-commit
HEAD:hooks/pre-commit:2

The diff is audited per file — every file's own line count, and the sum:

$ git diff --numstat origin/main...HEAD
1	1	docs
35	2	scripts/check-task-command-vars.mjs
$ git diff --shortstat origin/main...HEAD
 2 files changed, 36 insertions(+), 3 deletions(-)

The change-class gate — this diff touches a gitlink, so the umbrella's own gate is
charly task verify, run on the committed tree:

charly: fetching git metadata for 180 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 6 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 18 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 1 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 15 repo(s) (first run — may take a moment)...
charly: git metadata cached.
charly: fetching git metadata for 6 repo(s) (first run — may take a moment)...
charly: git metadata cached.
task verify: 30 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 `pins`
      verify: 6 policy pin(s) hold across 412 submodule(s); 16 checkout(s) clean at their gitlink; 396 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, crabhelm, 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, 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: 0 of 412 pin(s) NOT current [412 cur]; intents: 406 upstream leaf/leaves (406 implicit), 6 derived-from edge(s); producer-first legs: none — every pin is at the ref its intent names
  [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 `+`/`U` drift 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 HEAD` that is not the head, each turn 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 (opencharly/opencharly#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 (opencharly/opencharly#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 `question` tool is dependency-free, headless-safe, serialized, and wired into .pi/settings.json
      exit=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

Rulebook compliance

Change classification

A pin advance plus one gate's asserted output. The diff carries one gitlink update
(docs) and one gate's own coverage: the assertion that the printed reference is the
product's own token, and the ASCII rendering deleted from the file. No submodule content, no
Go source, no schema, no deploy and no bed.

The gates that own this class are charly task verify — required for any diff that touches
a submodule, a gitlink or a pin — plus the pin contract's own currency report, both run on
the committed tree above, and the changed gate's own --self-test for the changed path.

On the attribution tier. The tier is fully tested and validated: the change-class gate
passed on the final tree with zero warnings, and the changed path itself ran live (the gate
and its --self-test, printed above). The pin half is proved by the product's own currency
report rather than by a bed, because the umbrella declares no candy or box and therefore has
no disposable: true bed that could read the advanced gitlink — the same measurement
#506 records.

Filed issues

Agent: charly

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

…ring is gone

The validator's round-1 report on #654 read the change as
correct and raised one observation that matters: nothing asserted that the gate
PRINTS the product's own token. The self-test covered DETECTION, so the claim
this change makes - the gate's output carries the character the product prints -
had no coverage that would fail without the change (R7).

Three things land in one cutover:

  * Assertion T. --self-test now asserts that the line the gate prints carries
    U+2026, and proves the assertion LIVE: a mutation of this file's own text -
    the REF constant without the codepoint - turns it RED. The printed text is
    this file's own text, so the assertion reads this file.

  * One owner for the printed line. The clean-run message is now a function
    (okLine), so the self-test asserts the SAME string the main path prints (R2).

  * The ASCII rendering is gone from the file, not only from the constant. The
    comment that introduced the constant still showed the three-dot form while
    claiming the rendering was deleted - a claim the file itself contradicted,
    one level up from the assertion the validator asked for.

The claim-keyed sweep now matches the ASCII braced form in one place: the
CHANGELOG entry that recorded the old output, which is history.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
…ng for (opencharly/docs#182)

The docs repo's main advanced while the umbrella's pin still recorded the older
commit, and the umbrella's own currency report named it: `1 of 412 pin(s) NOT
current [411 cur, 1 differs (no checkout to judge ancestry)] ... NOT CURRENT:
docs: differs ... recorded 5e26799086; served a5bd2445dd (branch)`.

The pin moved through the pin contract's own verb, not a hand-pin and not a
branch checkout: `charly task sync` -> `pinned 6 pin_map entr(y|ies) ... after
rolling 9 submodule(s) to their default-branch HEAD and advancing 397 pin(s) in
the index`, and the index carries `docs` at a5bd2445dd - the docs repo's merged
main (opencharly/docs#182, merge bb4f006, tag v2026.297.0439), which is the
producer-first leg this wave was waiting on.

The wave's order is sync -> init -> verify; the verify runs on the committed
tree in this change's gate.

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

Copy link
Copy Markdown
Contributor Author

STATUS

The umbrella's consumer leg is open as a PR: #656. Head
42b39f5f5e5a99a1a058e51400d3ffc646d9cf65 on feat/wave-docs-pin-and-gate-assert; base
origin/main b2bbc540cedc5e7d5dd9d6791182eb52e6667bf3; two commits, two files.

Done

  • The umbrella's docs gitlink moved to the docs repo's merged main — 5e26799 →
    a5bd2445 (docs(corpus): advance the vendored corpus pin to the corpus that carries the ellipsis rule's form, and regenerate docs#182, merge bb4f006, tag v2026.297.0439) — through the
    pin contract's own verb, charly task sync, never a hand-pin and never a branch
    checkout.
  • The wave's order sync → init → verify ran on the committed tree: SYNC_EXIT=0,
    INIT_EXIT=0, VERIFY_EXIT=0 (30 steps, 0 failed), and the currency report on that
    tree reads 0 of 412 pin(s) NOT current [412 cur].
  • The gate's R7 gap is closed: scripts/check-task-command-vars.mjs --self-test now asserts
    that the printed line carries the product's own token (U+2026), and proves the assertion
    live by mutating the gate's own file — the mutation turns it RED. The printed line has one
    owner (okLine), so the self-test and the main path read the same text. The ASCII
    rendering is gone from the gate's file, not only from the constant.
  • The claim-keyed sweep names every place the ASCII form still appears: two CHANGELOG
    entries (history) and the pre-commit banner's own prose (two occurrences, in
    hooks/pre-commit). The gate's file is not among them.

Two validator observations on #654 are dispositioned, not filed
away.
The printed token had no assertion → fixed in #656. The "'exactly one place'"
phrasing was imprecise → #654's own body is corrected, with the measurement that shows the
three-dot form appears in three places on that head (twice in the pre-commit banner, once in
the gate's own comment).

Why #656 exists. #654's verdict PASSed at 04:34:47Z, a PASS arms native squash
auto-merge, and #654 merged 19 seconds later on the head the report had read. The round's
fix needs a new commit, a live mutation, the change-class gate re-run on the new committed
tree and the body re-keyed to the new head — none of that fits in nineteen seconds. The
mechanism is filed as opencharly/.github#245 (claimed) with the evidence, and #656 names
#654 as its predecessor.

Next

Next update due: when the validator's report lands.

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

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

I re-derived every claim in the body against the two changed files and the commit list, and the change is internally consistent and functionally sound.

Diff/body reconciliation. The body states 2 files changed, 36 insertions(+), 3 deletions(-); the diffs are docs +1/-1 and scripts/check-task-command-vars.mjs +35/-2, summing exactly to 36/3. The head SHA 42b39f5…, the two commits (b089a59… gate fix, 42b39f5… pin), and the gitlink move 5e26799 → a5bd2445ddaad6d24bc262fcbe63e78dc524ea69 all match the diff and the "How tested" transcript. The file table in the body lists exactly the two changed files.

Correctness of assertion T.

  • okLine() is now the single owner of the printed clean-run line, and the main path prints console.log(okLine()); the self-test asserts against the same function — so the assertion reads the same string the product emits (R2 claim holds).
  • if (!okLine().includes(TOKEN)) genuinely fails if REF is reverted to an ASCII rendering ("${...}"), because okLine interpolates REF. The coverage therefore fails without the change, which is what chore(pins): the umbrella's consumer leg of the ellipsis cutover — two gitlinks to their producers' merged mains, and the gate prints the product's own token #654's validator asked for (R7).
  • The mutation branch (mutatedSelf = SELF.replace(/^const REF = ".*";$/m, 'const REF = "${x}";') → printedRefOf) applies cleanly and its regex mirrors the replace regex, so it cannot pass vacuously when the mutation fails to apply (the mutatedSelf === SELF guard handles that). The transcript's 8 PASS lines (6 pre-existing + 2 new) match the code.
  • The ASCII three-dot form is removed from the comment (${...} → ${…}) and is not reintroduced as a literal in the new code (the mutation uses ${x}, the token is the U+2026 char), consistent with the R5 sweep output showing the gate's file absent from the git grep -F '${...}' results.

Security/scope. No secrets, no injection surface, no dependency change; the change is a two-line gitlink bump plus one gate file, with no leftover legacy path (the old inline console.log template was replaced, not duplicated).

Comments. There are zero comments in the thread, so there is no maintainer sign-off to weigh; the change stands on its own evidence as required.

Non-blocking observations (not grounds to block):

  1. The mutation sub-check does not actually re-run assertion T on the mutated text — it regex-extracts REF from the mutated source and checks the captured string lacks …. A real mutation of REF would still turn the self-test RED via the primary okLine().includes(TOKEN) check, so the body's central claim is true, but the "mutation is caught by assertion T" message slightly overstates what that specific sub-check proves (it would not catch a hypothetical future regression where okLine stopped reading REF).
  2. The added comment "The ASCII rendering is spelled here in PIECES" is not literally reflected in the code — the ASCII rendering simply isn't present at all. Cosmetic.
  3. The transcript's git submodule status docs describe (v2026.234.2355-116-ga5bd244) is not obviously consistent with the body's claim that the docs repo carries tag v2026.297.0439 on/behind the pinned commit; this depends on the producer repo's fetched tag state, which is outside this diff and not verifiable from the provided context, so I do not treat it as a defect in this change.

The change does what the body claims, ships coverage that would fail without it, and introduces no security or cleanliness problem.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 24, 2026 05:07
@github-actions
github-actions Bot merged commit cda0342 into main Oct 24, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 24, 2026
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

The validator's three observations are dispositioned: two are FIXED in
#658, the third is REBUTTED with a measurement.
This PR merged at
2026-10-24T05:08:02Z, twenty-eight seconds after the verdict landed at 05:07:34Z — the same
arming window that forced the round on #654. The fix needed a new commit, a discriminating
experiment, the change-class gate re-run on the new committed tree and this body re-keyed to
the new head; none of that fits in twenty-eight seconds, so the fix lands in the successor
PR, which names this PR as its predecessor. The mechanism is filed as opencharly/.github#245.

RCA — why the round could not land here

Mechanism. A charly/pr-validator PASS arms native squash auto-merge, and GitHub
merges as soon as the required context is green — which the verdict itself makes green. The
arming job re-reads the PR before its mutation and refuses on a moved head, so a fix pushed
before the arming survives and the PR stays open; a fix pushed after it does not.
This PR's timeline is the measurement:

when what
05:07:34Z the validator's report lands: PASS, with three non-blocking observations
05:08:02Z the PR merges (squash cda0342), 28 seconds later, on the head the report had read

Missed control. Two, and both are named because both are real:

  1. The arming window is measured in seconds, and nothing widens it, while the rulebook's own
    round flow requires the change-class gate to pass on the committed tree you will
    push
    , then ONE commit carrying the round's fixes, then the body rewritten for the new
    head. On this repo that gate is 30 steps. The rulebook assumes the PR is still open when
    the round lands; it does not cover the case where the verdict's own arming merged it
    first. Filed as pr-validator: a PASS arms auto-merge within seconds and GitHub merges at once, so a finding raised BY the verdict can never be landed on the PR it was raised on .github#245 (claimed).
  2. This round's own miss, and it is mine: the pre-push gate ran the self-test and it was
    green, and the green was not enough. The self-test asserted that the printed line carries
    the product's token, and its mutation sub-check asserted that the MUTATED SOURCE does not
    carry it — but nothing asserted that the mutation sub-check exercises the SAME predicate
    as the assertion. That is a coverage-of-coverage gap, and it is exactly the gap the
    validator read. The root fix goes into the control itself: the mutation now runs the
    mutated reference through the file's own builder and the file's own predicate, so a
    builder that stopped reading its reference is caught (proof below), and the pre-push gate
    pastes the before/after experiment that shows it.

The three observations, each dispositioned

**1. "The mutation sub-check does not actually re-run assertion T on the mutated text — it
regex-extracts REF from the mutated source and checks the captured string lacks … …
it would not catch a hypothetical future regression where okLine stopped reading REF."

→ FIXED in #658. The builder takes the reference as a parameter
(okLine(ref = REF)), the predicate is one function (printsOwnToken), and the mutation
now hands the MUTATED reference to the builder and runs the SAME predicate over the result
— a live re-run of assertion T on the mutated input, not a regex over the mutated text.
The proof is a before/after experiment on the SAME regression the observation names
(okLine no longer reading the reference it is handed), each run against this repo's own
charly.yml:

--- OLD (origin/main) with the regression: okLine no longer reads the reference ---
  PASS  the PRINTED reference is the product's own token (U+2026), not an ASCII rendering of it
  PASS  mutation 'the printed reference is not the product's own token — the claim this change makes' is caught by assertion T
check-task-command-vars --self-test: OK (every assertion is live)
OLD_REGRESSED_EXIT=0
--- NEW (this change) with the SAME regression ---
  PASS  the PRINTED reference is the product's own token (U+2026), not an ASCII rendering of it
  FAIL  the printed-token assertion did NOT catch a reference that is not the product's own token
check-task-command-vars --self-test: FAIL (1)
NEW_REGRESSED_EXIT=1

The OLD coverage stayed green over the exact regression the validator named; the NEW
coverage turns RED on it. That is the "coverage that fails without the change" the rulebook
asks for, measured rather than asserted. This PR's own body is corrected where it overstated
what the mutation proved.

**2. "The added comment 'The ASCII rendering is spelled here in PIECES' is not literally
reflected in the code — the ASCII rendering simply isn't present at all. Cosmetic."
→
FIXED in #658. The comment now says what is true: the ASCII
rendering is not present in the file at all, and the R5 sweep greps for that literal, so the
gate must not defeat its own sweep.

**3. "The transcript's git submodule status docs describe
(v2026.234.2355-116-ga5bd244) is not obviously consistent with the body's claim that the
docs repo carries tag v2026.297.0439 on/behind the pinned commit … I do not treat it as a
defect in this change."
→ REBUTTED, with the measurement. The two facts are both true
and they are about different things. git submodule status describes with git describe
without --tags, so it sees only annotated tags — and the docs repo's merge-time
tag v2026.297.0439 is a lightweight tag (its object type is commit, not tag). It
is present locally and on the remote; plain describe simply walks past it to the last
annotated tag, v2026.234.2355, 116 commits back:

$ git -C docs cat-file -t v2026.297.0439
commit
$ git -C docs cat-file -t v2026.234.2355
tag
$ git -C docs describe a5bd2445ddaad6d24bc262fcbe63e78dc524ea69
v2026.234.2355-116-ga5bd244
$ git -C docs describe --tags a5bd2445ddaad6d24bc262fcbe63e78dc524ea69
v2026.297.0439-1-ga5bd244

And the pinned commit a5bd2445 is the docs repo's current main head; the tag sits on
its parent bb4f006 (the opencharly/docs#182 merge commit), one commit behind the head.
So the describe string is not a measure of the tag's currency, and the pin is current —
which the currency report on this PR's own committed tree already read:
0 of 412 pin(s) NOT current [412 cur]. This PR's body now carries the measurement, so
the transcript and the claim cannot be read as contradicting each other.

What this PR did land

The umbrella's docs gitlink moved to the docs repo's merged main through the pin
contract's own verb (charly task sync), the wave's order sync → init → verify ran green
on the committed tree (SYNC_EXIT=0, INIT_EXIT=0, VERIFY_EXIT=0, 30 steps, 0 failed),
the gate prints the product's own token, and the ASCII rendering is deleted from the gate's
file.

Next

Next update due: when the successor PR opens.

Agent: charly

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 24, 2026
#653) (#658)

The validator's report on #656 read the change as correct
and raised two observations about it. The first is about the coverage: the
mutation sub-check did not re-run assertion T on the mutated text - it
regex-extracted REF from the mutated source and inspected the captured string,
so it would not catch a regression where okLine stopped reading REF. The second
was cosmetic: a comment claimed the ASCII rendering was "spelled here in
PIECES", when it is not present in this file at all.

What changes:

  * The builder takes the reference as a parameter (okLine(ref = REF)), and the
    predicate that decides the assertion is ONE function (printsOwnToken), so
    the self-test's assertion and its mutation check read the same two pieces
    (R2). The mutation now runs the MUTATED reference through THIS file's own
    builder and THIS file's own predicate - a live re-run of assertion T on the
    mutated input, not a regex over the mutated text. A builder that stopped
    reading the reference it is handed is caught by the same check, because the
    mutated reference is what it is handed.

  * The comment now says what is true: the ASCII rendering is not present in
    this file at all.

Proof, before and after, on the SAME regression (okLine no longer reading the
reference it is handed - the exact case the validator named), each run against
this repo's own charly.yml:

  OLD (origin/main) + the regression -> exit 0, every assertion PASSES: the
  mutation check did not catch it.
  NEW (this change) + the same regression -> exit 1, "FAIL the printed-token
  assertion did NOT catch a reference that is not the product's own token".
  NEW (this change), unmutated -> exit 0, 8 PASS.

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)
@aitrawog
aitrawog deleted the feat/wave-docs-pin-and-gate-assert branch November 1, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant