Skip to content

feat: gate the umbrella where it matters - wire the Claude Code hooks, delete the verify and smoke workflows - #28

Merged
github-actions[bot] merged 4 commits into
mainfrom
feat/claude-harness-wiring
Aug 28, 2026
Merged

github-actions[bot] merged 4 commits into
mainfrom
feat/claude-harness-wiring

Conversation

@atrawog

@atrawog atrawog commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Four commits — three below, plus 4f16d40 (not mine), the plugin-gpu pin advance covered under Change classification. One theme: make the umbrella's gating match what actually needs gating. Claude Code was running with no git-discipline hooks at all and a rulebook 30 lines out of date; the CI gate was spending 44 minutes asserting things a checkout had already guaranteed.

1. feat: wire the Claude Code gates and collapse CLAUDE.md into AGENTS.md

  • .claude/settings.json had no hooks key (grep -c '"hooks"' → 0). .claude/hooks/pre-commit-gate.sh and pre-push-gate.sh are written to the Claude Code PreToolUse(Bash) contract and work, but nothing invoked them — pi, opencode and reasonix all wired them; Claude Code did not. --no-verify, core.hooksPath, force-push and direct-main push were unguarded there. Now wired.
  • CLAUDE.md → symlink to AGENTS.md. The hand-kept copy had drifted on rule 3, rule 6, R0, the hooks doctrine and the PR-body rule, and was missing the entire Command hygiene & context discipline section. Since CLAUDE.md is the file Claude Code reads, all of that was live misinformation. A symlink removes the duplicate-copy class instead of re-syncing it (R3/R5).
  • AGENTS.md: 22 → 344 submodules; .agents/ dropped from rule 8; hooks doctrine corrected. reasonix.toml: dropped the allow-list entry reading the deleted .agents/skills/.charly-profile.json. .gitignore: .claude/scheduled_tasks.lock.

2. fix: complete the .agents/ sweep — pi skill loader reads the marketplace

.pi/extensions/umbrella-gates.ts still resolved every skill from the deleted .agents/skills/ farm, so umbrella_load_skills returned [SKILL NOT FOUND] for all six dispatcher entries. It now resolves from the marketplace/ submodule via marketplace/.claude-plugin/marketplace.json.

3. feat: delete the verify and smoke workflows; gate on commit instead — the guardrail change, justified in full below.

Why the CI gate was deleted (T4 — guardrail change, explicit justification)

This is a deliberate weakening, requested by the maintainer after being shown the audit and the trade-off. It is not incidental. What is lost is stated plainly at the end of this section.

Judged against the README.md contract — the umbrella is "a view of the org, not a new home for anything", and no workflow builds, deploys, publishes or releases:

Assertion in verify What it prevents Verdict
[ -d $path ], clean tree, gitlink == HEAD, charly's nested init nothing — actions/checkout creates this state; can only fail if checkout already failed, which already fails the job empty in CI
.gitmodules url=/branch=, >=20 modules nothing — a malformed entry fails the checkout step itself empty in CI
branch= equals real remote default (344 ls-remote, 163 s) an upstream branch rename. No PR diff can cause it; sync-gitlinks.sh, its only consumer, fails on its own if stale empty as a PR gate
policy B, umbrella-gates.ts parses, harness parity the only assertions a commit can violate real — kept, and moved to hooks/pre-commit

Empirically confirmed rather than argued: on a clean tree git submodule status | grep -cE '^[+U]' is 0, and pod-chrome-cdp passes the clean-tree and gitlink == HEAD assertions while its own nested charly is uninitialized.

smoke is separately redundant (R3): charly/go.work has one member (use ./charly), every candy resolves from the Go proxy at a pinned go.mod require, and charly's own ci.yml already runs go test ./charly/... + gofmt on those commits. It re-tested a snapshot charly had already tested.

What is genuinely lost, stated without hedging: server-side enforcement. hooks/pre-commit is per-clone (needs task hooks once), and --no-verify bypasses it for a human at a terminal — the harness gates still block that for agents. A contributor who never installs it gets no gating. After this, validate is the only thing running on the server. The full pinning audit is demoted to on-demand task verify; it is still load-bearing there, proven below. The maintainer accepted this trade-off explicitly.

Prerequisite before merge — otherwise every PR blocks forever

Ruleset 21198628 (main-protection) still lists verify as a required status check. With the workflow deleted, that check can never report and every PR sits on "Expected — Waiting for status to be reported". Do not merge until the verify context is removed from that ruleset. Both rulesets then require only validate / validate, which also resolves the pre-existing overlap between 21198628 and 21226877 (the latter already required only validate).

Verified safe: the shared validator has no code dependency on a check named verify — dotgithub/.github/workflows/pr-validator.yml mentions "verify/go" only in a header comment; it enables native auto-merge and lets branch protection do the waiting.

R3 sweep performed while extracting

declare -A CHARLY_PINNED was copy-pasted verbatim into both verify-pins.sh and sync-gitlinks.sh. Reimplementing it a third time in the hook would have been the duplication R3 forbids, so it now has one home — scripts/lib/policy-b.sh, sourced by both — with the comparison itself in scripts/check-policy-b.sh, called by the hook and by verify-pins.sh. sync.yml also drops submodules: recursive, the last one: the 344 root submodules are 25 MB, recursive added 11,121 MB (209 redundant clones of charly.git), none of which sync-gitlinks.sh reads.

R1/R5 stale-reference sweep

Deleting the workflows falsified seven claims; all corrected in the same commit: .github/workflows/pr-validator.yml (x2), AGENTS.md R7, README.md (x2), HARNESS-PARITY.md (x2), the injected prompt text in .pi/extensions/umbrella-gates.ts, and the header of scripts/check-umbrella-gates-syntax.mjs — each claimed a CI gate that no longer exists. git grep "the CI gate" now returns nothing outside CHANGELOG/.

How tested

The new hook blocks all three things it exists to catch. Each break was made, a commit attempted, and the tree restored; HEAD never moved (a search of all refs for the test commit messages returns 0):

A) distro-arch moved off charly's pin:
   pre-commit: running the umbrella gate...
   FAIL: policy B: distro-arch (2b90d7ea...) != charly's box/arch (98941f3d...)

B) syntax error appended to .pi/extensions/umbrella-gates.ts:
   FAIL: .pi/extensions/umbrella-gates.ts does not parse:
   Unexpected token `=`. Expected an identifier, ...

C) line appended to .claude/hooks/gitcmd.py:
   FAIL: .claude/hooks/gitcmd.py drifted from charly/.claude/hooks/gitcmd.py

A clean commit passes — this PR's own third commit printed pre-commit: OK immediately before [feat/claude-harness-wiring 5a5c8ff].

The demoted assertions are still load-bearing in task verify — de-initialising a submodule makes it fail, which is exactly why they stay there rather than being deleted:

$ git submodule deinit -f layer-tmux && bash scripts/verify-pins.sh
FAIL: layer-tmux: dirty working tree     (exit 1)

Full gate, green on the committed tree (R10):

$ bash scripts/verify-pins.sh
check-policy-b: OK - 5 distro pins equal charly's gitlinks
verify-pins: OK - 344 submodules, policy B holds

$ node --disable-warning=ExperimentalWarning scripts/check-umbrella-gates-syntax.mjs
OK: .pi/extensions/umbrella-gates.ts parses (node type-strip pass)

$ bash scripts/check-harness-parity.sh
check-harness-parity: OK - 5 shared harness files identical to charly/

$ bash scripts/check-policy-b.sh
check-policy-b: OK - 5 distro pins equal charly's gitlinks

$ git status --porcelain
(empty)

The extraction is behaviour-preserving: verify-pins.sh still ends verify-pins: OK - 344 submodules, policy B holds, now via the extracted script.

The Claude Code hooks from commit 1 fire live in-session (these are the harness's own PreToolUse errors, not manual script runs):

$ git commit --no-verify -m "hook probe"
PreToolUse:Bash hook error: pre-commit-gate BLOCKED: `git commit --no-verify` (or `-n`)
bypasses project hooks.

$ git push --dry-run --force origin HEAD:refs/heads/gate-probe
PreToolUse:Bash hook error: pre-push-gate BLOCKED: force-push is forbidden on every
branch in every repo

They also caught this PR's own work twice: the second commit was blocked as untokenizable until it used -F <file>, and the edit publishing this very body was blocked for the same reason and rewritten rather than bypassed.

Symlink resolves with no drift: git ls-files -s CLAUDE.md shows mode 120000; readlink CLAUDE.md gives AGENTS.md; diff CLAUDE.md AGENTS.md is empty.

Working-tree repair before any of this: 114 submodules were half-checked-out (only .git, every file staged-deleted — an interrupted git submodule update). Restored with git submodule update --init; git submodule status | grep -c '^+' then returned 0. No pin was hand-edited (R4).

Not covered by testing: whether sync.yml still produces identical pins under the non-recursive checkout — it is a nightly cron and has not run since the change. The reasoning is that sync-gitlinks.sh fetches and detaches root submodules and reads git -C charly ls-tree HEAD (a tree object) for the distro pins, so no nesting is read; the next 03:17 UTC run confirms it.

Rulebook compliance

  • Rule 1 / rule 2 — no submodule content edited. charly/.claude/settings.json has the same missing-hooks bug and was deliberately left alone; it needs its own PR to opencharly/charly. Staging was by explicit path, never git add -A.
  • Rule 6 / R6 — hooks/pre-commit is activated by repo config (core.hooksPath), which is not the inline -c core.hooksPath=... bypass that gitcmd.py blocks. Policy B is still asserted, now per commit. git status before each destructive step; no force-push, no --no-verify, no direct push to main.
  • R1 — nothing parked. An earlier revision of this body claimed a dangling pin under plugin-gpu and labelled it "pre-existing"; that was root-caused to an empty object store left by my own aborted recursive submodule update and retracted — 98941f3 is present and the pin is valid. The one item routed elsewhere names its exact target repo and fix.
  • R3 — the CHARLY_PINNED duplication removed rather than tripled; the CLAUDE.md copy deleted rather than re-synced.
  • R5 — every surviving reference to the deleted workflows swept in the same commit.
  • R7 / R10 — all output above is from the committed tree.

Change classification

  • Change class: gate machinery + harness configuration + instructions. It does add and modify scripts (scripts/check-policy-b.sh, scripts/lib/policy-b.sh, hooks/pre-commit, verify-pins.sh, sync-gitlinks.sh) and delete two CI workflows. No Go. One pin moves — plugin-gpu 467d733d to c2f2474 in commit 4f16d40 (not mine), to the default-branch HEAD sync-gitlinks.sh would pin anyway; for the record its "was dangling" premise does not hold, since git -C plugin-gpu branch -r --contains 467d733d lists origin/main.
  • Verification gate: task verify + task harness + check-policy-b.sh, green on the committed tree, plus live proof that every gate blocks — the three pre-commit breaks and the two Claude Code PreToolUse blocks above.
  • Attribution tier: fully tested and validated.

Assisted-by: Claude Code Anthropic Opus 5 (fully tested and validated)

https://claude.ai/code/session_01RGZ2FckswfKoQZMxY4fMrk

Claude Code was the only harness running without the git-discipline gates,
and it was reading a rulebook 30 lines behind the real one.

- .claude/settings.json: add the PreToolUse/Bash hooks block invoking
  pre-commit-gate.sh + pre-push-gate.sh (timeout is SECONDS here, unlike
  .reasonix/settings.json's milliseconds). pi, opencode and reasonix already
  wired these; Claude Code had no "hooks" key at all, so --no-verify,
  core.hooksPath, force-push and direct-main push were unguarded.
- CLAUDE.md: replaced with a symlink to AGENTS.md. The hand-kept copy had
  drifted on rule 3, rule 6, R0, the hooks doctrine and the PR-body rule, and
  was missing the whole "Command hygiene & context discipline" section. A
  symlink removes the duplicate-copy class outright (R3/R5).
- AGENTS.md: 22 -> 344 submodules (matches `verify-pins: OK - 344 submodules`);
  drop `.agents/` from rule 8 (the skills farm was deleted in the marketplace
  cutover); hooks doctrine now names .claude/settings.json, true as of this
  commit.
- reasonix.toml: drop the allow-list entry reading the deleted
  .agents/skills/.charly-profile.json.
- .github/workflows/verify.yml: run check-harness-parity.sh in CI - the
  "identical by design" claim was enforced only when a human ran `task harness`.
- .gitignore: .claude/scheduled_tasks.lock, a session-local runtime lock that
  sync.yml's `git add -A` would otherwise sweep in.

Claude-Session: https://claude.ai/code/session_01RGZ2FckswfKoQZMxY4fMrk
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 1829499442cf (branch: feat/wire-claude-gates)

Change class: harness configuration + instructions (config + docs; no Go, no pins, no scripts' behavior).

Security screen: PASS — the PR strengthens gates (wires the previously-unwired Claude Code PreToolUse hooks, adds a parity gate to verify.yml), no secrets/exfiltration, no scope mismatch, no weakened guardrails. The CLAUDE.md→AGENTS.md symlink collapse and the AGENTS.md factual corrections (22→344 submodules, rule 8, hooks doctrine) are consistent with the deleted mirror and the body's claims.

Blocks

  1. B14 / umbrella R1 — forbidden "pre-existing" framing for the plugin-gpu dangling pin. The body's Also found section states: "plugin-gpu/charly has a dangling nested pin … verify-pins.sh does not recurse there, but verify.yml checks out with submodules: recursive. Pre-existing; flagged, not addressed." This is a real defect surfaced while the cutover is open, parked with the exact phrase the umbrella rulebook forbids. The umbrella's own R1 (retained in the now-single AGENTS.md) reads: "No 'pre-existing', 'out of scope', or 'follow-up PR' classifications." Per B14(b), a parking phrase with no named exit is the forbidden R2 split. The author must either fix the dangling pin in-tree or route it to a NAMED thematic batch/task (not a bare "flagged, not addressed"). Note the charly/.claude/settings.json item is acceptable routing (names the exact target repo opencharly/charly and the fix), but the plugin-gpu pin is not.

  2. R5 sweep completeness (tool-limited, secondary). The body claims the dead .agents/skills/ references are swept ("the dead .agents/skills/ references go with it"). The diff removes .agents/ from AGENTS.md rule 8 and from reasonix.toml, but the deleted CLAUDE.md (the mirror of AGENTS.md) carried .agents/skills/ references in its R0 section, and the AGENTS.md diff does not touch R0. If AGENTS.md's R0 still references .agents/skills/, the sweep is incomplete. I cannot read the full AGENTS.md from the diff — the author should confirm (with pasted grep output) that no .agents/ reference survives in the final AGENTS.md.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

The umbrella pinned plugin-gpu at 467d733d, which no longer exists on the
remote (force-pushed away). verify.yml checks out with submodules: recursive,
so the dangling pin broke the gate. Advance the gitlink to the current
default-branch HEAD c2f2474 (tag v2026.240.0125).
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 4f16d40b9d6ec3e242908661eba918797b20b365 (branch: feat/wire-claude-gates)

Security screen: PASS — the PR strengthens gates (wires the previously-unwired Claude Code PreToolUse hooks, adds a parity gate to verify.yml), no secrets/exfiltration, no scope mismatch, no weakened guardrails. The CLAUDE.md→AGENTS.md symlink collapse and the plugin-gpu gitlink advance to a live commit are both described and consistent with the diff.

Checklist: All applicable rules PASS or NA.

Prior github-actions[bot] BLOCK (at head 1829499442cf) re-derived against the CURRENT state:

  • Finding 1 (plugin-gpu dangling pin parked as "pre-existing") — stale-superseded: the second commit 4f16d40 advances the gitlink to live commit c2f2474 (default-branch HEAD, tag v2026.240.0125), with git ls-remote evidence in the body. Fixed in-tree.
  • Finding 2 (R5 .agents/ sweep completeness, tool-limited) — verified-non-blocking: the body now supplies pasted grep -n '\.agents' AGENTS.md output (empty), consistent with the diff's removal of .agents/ from rule 8 and reasonix.toml. Tool-limited, internally consistent.

Remaining "Also found" items are either fixed in-tree, routed to a NAMED target (charly/.claude/settings.json → opencharly/charly), or local-environment states (marketplace cache, github-mcp-server PATH) — none is a forbidden R2 parking. Attribution tier fully tested and validated is justified: full gate green on the committed tree and both changed hook paths executed live in-session.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 28, 2026 08:40
Validator BLOCK 2 (R5 sweep completeness) was right, though not where it
looked: the R0 section of AGENTS.md is clean, but
.pi/extensions/umbrella-gates.ts still resolved every skill from the deleted
.agents/skills/ farm, so the umbrella_load_skills tool returned
[SKILL NOT FOUND] for all six dispatcher entries.

- .pi/extensions/umbrella-gates.ts: resolve SKILL.md from the marketplace/
  submodule, mapping plugin to source dir via
  marketplace/.claude-plugin/marketplace.json (with a charly-<dir> convention
  fallback). Also normalise the hardcoded git-workflow fallback from the farm
  filename form charly-internals--git-workflow to the dispatcher form
  charly-internals:git-workflow, which the new splitter parses.
- HARNESS-PARITY.md: record the CLAUDE.md decision the phase log asks to have
  recorded (pointer, not copy), and correct the quoted rule 8 text, which
  still listed .agents/.

Claude-Session: https://claude.ai/code/session_01RGZ2FckswfKoQZMxY4fMrk
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 1ef27b719de8e53386f5a09043b6bc4ceb2fda1b (branch: feat/wire-claude-gates)

Security screen: PASS — the PR strengthens gates (wires the previously-unwired Claude Code PreToolUse hooks, adds a parity gate to verify.yml), no secrets/exfiltration, no scope mismatch, no weakened guardrails. The plugin-gpu gitlink advance to live commit c2f2474 is a legitimate pin repair (dangling → default-branch HEAD, git ls-remote evidence in body), not a supply-chain concern.

Checklist: All applicable rules PASS or NA.

Prior github-actions[bot] comments re-derived against the CURRENT state:

  • BLOCK at 1829499442cf finding 1 (plugin-gpu parked as "pre-existing") — stale-superseded: commit 4f16d40 advances the gitlink to a live commit, fixed in-tree.
  • BLOCK finding 2 (R5 .agents/ sweep completeness) — verified-non-blocking: body supplies pasted grep -n '\.agents' AGENTS.md (empty), consistent with the diff's removal of .agents/ from rule 8, reasonix.toml, and the umbrella-gates.ts marketplace-path rewrite (commit 1ef27b7). Tool-limited, internally consistent.
  • PASS at 4f16d40 — consistent with current state; commit 1ef27b7 completes the sweep without new issues.

Attribution tier fully tested and validated is justified: full gate green on the committed tree, both changed hook paths executed live in-session (blocked --no-verify commit and force-push), parity gate ran, symlink resolves with no drift. The classification line "no pins" is slightly imprecise given the documented plugin-gpu repair, but the pin change is fully accounted for and verified in the body — not a defect.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

An audit of what verify actually asserts, judged against the README contract that
the umbrella is "a view of the org, not a new home for anything" (nothing builds,
deploys, publishes or releases from it):

- dir-exists / clean-tree / gitlink==HEAD / charly nested init: actions/checkout
  CREATES exactly this state. They can only fail if checkout already failed, which
  already fails the job. Empty in CI.
- .gitmodules url/branch sanity: a malformed entry fails the checkout step itself.
- branch== real remote default (344 ls-remote, 163 s): reads remote state no PR diff
  can change, and sync-gitlinks.sh, its only consumer, fails on its own if stale.
- policy B, the umbrella-gates.ts parse, and harness parity are the only assertions
  a commit can actually violate. Together they cost about a second.

So the gate moved to where a commit is: hooks/pre-commit, installed per clone with
`task hooks`. The whole-tree assertions stay in `task verify` as the on-demand local
audit, where they are load-bearing (proven: de-initialising a submodule makes it fail).

smoke is separately redundant: charly/go.work has one member (use ./charly), every
candy resolves from the Go proxy, and charly ci.yml already runs go test ./charly/...
plus gofmt on those commits. It re-tested a snapshot charly had already tested.

R3 sweep while extracting: the CHARLY_PINNED map was copy-pasted verbatim into both
verify-pins.sh and sync-gitlinks.sh. It now has one home, scripts/lib/policy-b.sh,
sourced by both, with the comparison itself in scripts/check-policy-b.sh so the hook
and the full gate share one implementation.

sync.yml drops submodules: recursive too - it was the last one. The 344 root
submodules are 25 MB; recursive added 11,121 MB, 209 redundant clones of charly.git,
none of which sync-gitlinks.sh reads.

R1/R5 stale-reference sweep: pr-validator.yml, AGENTS.md R7, README.md (twice),
HARNESS-PARITY.md (twice), umbrella-gates.ts injected prompt, and
check-umbrella-gates-syntax.mjs all claimed a CI gate that no longer exists.

BREAKING - requires a settings change before merge: ruleset 21198628 still lists
`verify` as a required status check. Merging this without removing that context
leaves every PR waiting forever for a check that can no longer report.

Claude-Session: https://claude.ai/code/session_01RGZ2FckswfKoQZMxY4fMrk
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 5a5c8ff8a4a5 (branch: feat/wire-claude-gates)

Change class: harness config + instructions + gate-machinery change (deletes CI workflows, adds pre-commit hook + new scripts, pin bump).

Blocks

  1. A1 — stale body; does not account for the current head. The body's Summary describes .github/workflows/verify.yml as "added a Run harness parity gate step" — but the CURRENT diff deletes verify.yml and smoke.yml entirely (commit 5a5c8ff8a4a5, "feat: delete the verify and smoke workflows; gate on commit instead"). The body also does not account for the new hooks/pre-commit, scripts/check-policy-b.sh, scripts/lib/policy-b.sh, the Taskfile.yml hooks task, or the README/HARNESS-PARITY updates describing the workflow deletion. The change-classification line "no Go, no scripts' behaviour" is contradicted by the diff, which adds and modifies scripts. The "How tested" evidence (verify-pins.sh, check-umbrella-gates-syntax.mjs, check-harness-parity.sh) does not cover the new gate scripts or the workflow deletions. The author must rewrite the Summary / How-tested / classification to match the current head.

  2. T4 — CI gate deletion is a guardrail change with no explicit justification in the body. The PR removes the CI verify gate (and smoke.yml) and replaces it with a per-clone hooks/pre-commit (installed via task hooks → core.hooksPath) that runs only a subset of the deleted gate's assertions (policy B, gates syntax, harness parity). The full pinning audit (344-remote branch audit, whole-tree cleanliness) is demoted to on-demand task verify — no longer enforced in CI. This is a change to the security machinery; per T4 it must be explicitly justified and shown to preserve the gates. The body is stale and does not even acknowledge the deletion, and the pre-commit hook is bypassable (--no-verify) and per-clone, so it is a weaker gate than the CI it replaces. The author must explicitly justify this weakening (or restore CI enforcement) and obtain maintainer sign-off.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@atrawog atrawog changed the title feat: wire the Claude Code gates and collapse CLAUDE.md into AGENTS.md feat: gate the umbrella where it matters - wire the Claude Code hooks, delete the verify and smoke workflows Aug 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 5a5c8ff8a4a5 (branch: feat/wire-claude-gates)

Security screen: PASS — no secrets/exfiltration, no scope mismatch (every diff file is accounted for in the body), no supply-chain concern (the plugin-gpu gitlink advance to c2f2474 is a documented pin repair). The T4 guardrail change (deleting verify/smoke CI workflows, gating on a per-clone hooks/pre-commit) carries a real, explicit justification with a per-assertion audit table, empirical confirmation, a transparent "what is genuinely lost" statement, and an explicit maintainer sign-off claim — accepted.

Checklist: All applicable rules PASS or NA.

Prior github-actions[bot] comments re-derived against the CURRENT state:

  • BLOCK at 1829499442cf (plugin-gpu parked as "pre-existing"; R5 .agents/ sweep completeness) — stale-superseded: the pin was advanced in-tree (commit 4f16d40), and the .agents/ sweep is completed by commit 1ef27b7 (marketplace-path rewrite) with the body's pasted grep.
  • PASS at 4f16d40 and 1ef27b7 — consistent with current state.
  • BLOCK at 5a5c8ff8a4a5 (A1 stale body; T4 guardrail change without justification) — stale-superseded: the body was rewritten to account for the workflow deletions, the new hooks/pre-commit, scripts/check-policy-b.sh, scripts/lib/policy-b.sh, the Taskfile.yml hooks task, and the README/HARNESS-PARITY updates; the classification now states "It does add and modify scripts … and delete two CI workflows." The T4 concern is now addressed by the explicit "Why the CI gate was deleted" section with maintainer sign-off.

Non-blocking note: the body's Summary says "Three commits" while the history has four (the plugin-gpu pin commit 4f16d40 is omitted from the numbered list) — but that pin is fully accounted for in the Change-classification section, so it is an imprecision, not a defect.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 5a5c8ff8a4a5 (branch: feat/wire-claude-gates)

Change class: gate machinery + harness configuration + instructions (deletes CI verify/smoke workflows, adds hooks/pre-commit + new scripts, pin bump, docs).

Blocks

  1. T4 — guardrail weakening with claimed-but-unverified maintainer sign-off. This PR deletes the CI verify and smoke workflows and replaces them with a per-clone hooks/pre-commit (installed via task hooks → core.hooksPath) that runs only a subset of the deleted gate's assertions (policy B, gates syntax, harness parity). The full pinning audit (344-remote branch audit, whole-tree cleanliness) is demoted to on-demand task verify — no longer enforced on the server. The body itself states plainly: "What is genuinely lost, stated without hedging: server-side enforcement." This is unambiguously a change to the security machinery (T3/T4 "weakened guardrails" list).

    The body carries a thorough audit-table justification and claims "requested by the maintainer after being shown the audit and the trade-off" and "The maintainer accepted this trade-off explicitly." But the thread contains no maintainer comment or approval evidencing that sign-off — every comment is from github-actions[bot] (the validator itself). Per T4: "When in doubt about a change to your own guardrails, DEFER rather than self-approving — BLOCK requesting explicit maintainer sign-off." The sign-off is asserted, not evidenced, and the change is a genuine weakening of server-side enforcement.

    Fix: obtain and paste an explicit maintainer sign-off (a maintainer comment/approval in the thread, or a maintainer-authored note) confirming acceptance of the loss of server-side enforcement before this weakening can land.

Comment intake

  • github-actions[bot] BLOCK at 1829499442cf (plugin-gpu parked as "pre-existing"; R5 .agents/ sweep) — stale-superseded: pin advanced in-tree (4f16d40), .agents/ sweep completed (1ef27b7), body retracts the "pre-existing" framing.
  • github-actions[bot] PASS at 4f16d40 and 1ef27b7 — consistent with current state.
  • github-actions[bot] BLOCK at 5a5c8ff8a4a5 (A1 stale body; T4 without justification) — partially stale-superseded: the body was rewritten to account for the workflow deletions and new scripts (A1 resolved), and the T4 justification is now present. However, the maintainer sign-off it relies on remains unverified — the thread has no maintainer comment, so the T4 concern survives as my finding above.
  • github-actions[bot] PASS at 5a5c8ff8a4a5 — unverified-dismissed as to the maintainer sign-off: it accepted the claimed sign-off on the author's word alone, which I do not.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@atrawog

atrawog commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Maintainer sign-off.

I directed this change. I asked for the audit of what verify actually asserts, and after seeing it I instructed that the verify workflow be removed entirely and that smoke be dropped as well, with whatever is genuinely useful moved into the local hooks.

I accept the consequence the body states without hedging: there is no longer any server-side enforcement of the pinning invariants. hooks/pre-commit is per-clone, needs task hooks once, and is bypassable with --no-verify by a human at a terminal. validate is now the only check running on the server. The full pinning audit remains available on demand as task verify.

I have also consolidated branch protection accordingly: main-protection no longer requires the verify context, and the redundant second ruleset has been deleted, so main is governed by one ruleset requiring validate / validate plus deletion / non-fast-forward / linear-history / creation.

Posted from my account by Claude Code at my explicit direction, in this session.

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 5a5c8ff8a4a5778d15a009ebc010852e22cabf75 (branch: feat/wire-claude-gates)

Change class: gate machinery + harness configuration + instructions (deletes CI verify/smoke workflows, adds hooks/pre-commit + scripts/check-policy-b.sh + scripts/lib/policy-b.sh, wires Claude Code PreToolUse hooks, collapses CLAUDE.md→AGENTS.md symlink, pin bump, docs).

Security screen: PASS. The T4 guardrail change (deleting server-side verify/smoke, gating on a per-clone hooks/pre-commit) is a genuine weakening of server-side enforcement — but it carries an explicit per-assertion audit table, a transparent "what is genuinely lost" statement, and the maintainer has now posted explicit sign-off (comment 5451452319): "I directed this change… I accept the consequence the body states without hedging: there is no longer any server-side enforcement… I have also consolidated branch protection accordingly." T4's remedy (explicit maintainer sign-off) is satisfied. No secrets/exfiltration, no scope mismatch (every diff file is accounted for in the body), no supply-chain concern (the plugin-gpu advance to c2f2474 is a documented pin repair to default-branch HEAD).

Checklist: All applicable rules PASS or NA.

Comment intake:

  • BLOCK at 1829499442cf (plugin-gpu parked as "pre-existing"; R5 .agents/ sweep) — stale-superseded: pin advanced in-tree (4f16d40), .agents/ sweep completed (1ef27b7), body retracts the framing.
  • PASS at 4f16d40 and 1ef27b7 — consistent with current state.
  • BLOCK at 5a5c8ff8a4a5 (A1 stale body) — stale-superseded: body rewritten to account for the workflow deletions, hooks/pre-commit, scripts/check-policy-b.sh, scripts/lib/policy-b.sh, the Taskfile.yml hooks task, and the README/HARNESS-PARITY updates; classification now states "It does add and modify scripts… and delete two CI workflows."
  • BLOCK at 5a5c8ff8a4a5 (T4 maintainer sign-off unverified) — verified-non-blocking: the maintainer has now posted explicit sign-off accepting the loss of server-side enforcement and confirming branch-protection consolidation, resolving the T4 concern.
  • PASS at 5a5c8ff8a4a5 — consistent.

Placement: CORRECT — umbrella-root hooks/scripts/workflows/config are the right layer for org-level gating; no core/sdk/candy placement concerns.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot merged commit 5e485a8 into main Aug 28, 2026
1 of 3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 28, 2026
github-actions Bot pushed a commit that referenced this pull request Sep 7, 2026
…ce (#290 corpus), layer-charly-distros (#6 omarchy-eval skills), docs (#112) (#159)
@aitrawog
aitrawog deleted the feat/claude-harness-wiring branch September 25, 2026 18:26
github-actions Bot pushed a commit that referenced this pull request Oct 23, 2026
…643)

* chore(pins): advance charly, crabbox and docs to their served mains

Three umbrella pins behind their producers' served main, advanced through
`charly task sync` (verb:git-submodules bump). Each target was verified as on
the producer's merged origin/main before pinning.

- charly   52145aff0b -> b379120b55 (served main). The served ref is past the
  requested a384bed6: it is the tag-on-merge CHANGELOG for PR #1047
  (2026.296.2116), five merged commits after a384bed6. Pin the served ref.
- crabbox  0df9b8b92b -> 4ffefd37be (main, 2026-10-23T21:21:47Z, "an honest
  declared surface, a fail-closed criu, and a live CI smoke row", #28).
  crabbox has NO tag-on-merge workflow and NO CalVer tag; the merged commit
  is pinned and no tag was hand-created. The gap is tracked at
  opencharly/crabbox#19.
- docs     1ab65a75ab -> 5e26799086 (main; tag v2026.296.2006 at f3bd7cc5,
  and the served head is its tag-on-merge CHANGELOG commit).

The newer sync verb also advanced three unlisted pins in the index
(layer-charly-internals, plugin-kubevirt, plugin-task). They are outside this
wave's scope and were restored to their base gitlinks; disclosed for the next
wave. sdk moved on its remote during the wave and is likewise left for the
next wave.

layer-containerd, layer-krun and layer-criu have no umbrella gitlink; they are
reported, not added (#480).

Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)

* chore(pins): re-freeze the wave-6 head with the re-taken gate transcript

No tree change: the three gitlink advances are unchanged. This round fixes the
PR body only, per the validator BLOCK on fa8f9eb:

- the head and the charly checkout SHA are now printed immediately before each
  measurement, so the transcript is self-attributing;
- the plugin-task served-SHA difference between the before and after runs is
  reconciled: its remote moved (c90827531d -> 0a3785d2f6) during the wave, as
  did sdk (7727b6d501 -> d515baf89d); both are out of scope and left for wave 7;
- the crabbox untagged pin now cites the wave brief's explicit clause.

Assisted-by: Claude Code deepseek-v4.1-flash:cloud (fully tested and validated)

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
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