Skip to content

docs(rulebook)!: R12 — spike every candidate solution before implementing; AGENTS.md as when/do/done gists - #1283

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/spike-first-r12
Nov 25, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/spike-first-r12

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

The rulebook gains R12 — spike every candidate solution before implementing, and AGENTS.md becomes a rulebook of gists. Every section now says when it applies, what to do and when it is done, in a few lines, and points to the one skill that carries the full explanation.

R12, in one line: after the RCA names the cause, spike every plausible solution for it. Implement only a candidate that works; its success is the proof the RCA was right. If none works, the RCA is wrong, so redo it. The cause itself is never spiked.

Where each piece now lives

surface what changed
AGENTS.md R12 added to the spine (R0–R12), plus the order of every change in one line. Every Part I section and every Part II rule is rewritten as a When / Do / Done-when gist; detail the owning skill already carries is cut (Issue categories → git-workflow issue-labels, Rootless → cdi, the watcher event list → watch-and-wake, Part II #2/#5 → umbrella-mechanics and skills). The RDD, ADE and SDD gists each answer when. The validator table gains an R12 row and rewords R1 and PIL; the dispatcher gains a row for "a fix is about to be implemented"; the acceptance checklist gains an R12 item and a pillars item. Every heading and every phrase a gate checks is kept.
.agents/skills/strict-policy/SKILL.md the new "Spike-first (R12)" section is the ONE home of the spike model: the round in order, the ### Spike block, the exemptions, the schema / trace / assumption-bed variants, the forbidden internal voices, and the RDD/ADE/SDD "which instrument when" table. RDD's old conditional spike paragraph and its "never a blocking gate" line are replaced by pointers to it. The issue-body line in "R1, applied" now asks for the R12 round, not a high-risk-only spike.
.agents/skills/root-cause-analyzer/SKILL.md, .agents/agents/root-cause-analyzer.md the cause is tested, never spiked; step 7 spikes every candidate solution, and a round with no working candidate returns the analysis to step 3. --spike records the round.
.agents/agents/pr-validator.md new items 11a (R11, previously missing from a section that says "each explicit") and 11b (R12), mirroring the merged prompt; item 12's RDD points at 11b
.agents/skills/design/SKILL.md, .agents/skills/cutover-policy/SKILL.md, .agents/skills/git-workflow/references/pre-validator-self-audit.md one pointer each to the R12 round (the self-audit gains its ### Spike item)
scripts/check-validator-rule-map.mjs, charly.yml a live AI_REVIEW_PROMPT equal to the rulebook at the PREVIOUS action-review pin is REPORTED as a re-sync pending, not failed (see the spike below); any other difference still fails. The two task descriptions say so.
.pi/extensions/charly-gates.ts, scripts/check-pi-gates.mjs the injected heading is now The ground-truth rules R1–R12
scripts/sync-pr-body.sh, scripts/check-pr-body-gate.mjs, scripts/check-pr-body-diff.mjs the pin-wave body builder answers R12, and its rule loop and the body fixtures carry an R12 row
README.md, .claude/hooks/pre-commit-gate.sh, .agents/skills/agents/**, .agents/skills/git-workflow/references/branch-and-pr-loop.md R0–R11 → R0–R12

The pin wave (charly task sync, run twice on a base current with origin/main b1e107a4334bdc3229d1b00de50670db0f7812b5; see the second anomaly under How tested). It moves 14 pins. Two of them are this cutover's producers: action-review carries opencharly/action-review#26, the validator's R12 check, merged as 5be54a98a50a027b121323a45a07e5085f2dda36 and tagged v2026.329.1023; marketplace carries opencharly/marketplace#653, the R0–R12 body linter, merged as 1c919af2d458e8c9964c469638c0b222c3c62148. The rest are what the wave found merged. Two paths stay at their base pins: lobster, because its new head carries no tag (opencharly/.github#192), and plugin-pod, because its new head moves two design/dulling.tsv citations (#1282).

path from → to (7-character prefixes, git diff --raw origin/main HEAD)
Qwen3-TTS 86598b4 → a228cc3
action-review 27029d6 → 9756bb2
clawsweeper 1fa8e7d → 1ba87c8
crabbox 9d34c7c → 09543a4
crabhelm dac4da4 → 8eeda95
dotgithub acddac2 → 6b1dea1
gst-wayland-display b38bbeb → 50ea638
layer-gemini 2b6c1ea → 5e29948
marketplace 4fb2174 → 7dc9220
openclaw 9354a2c → f6d11c6
openclaw-enterprise a13bc4c → dbf8b3b
pod-maputnik de8a163 → ecf5448
pod-qwen3-tts 0bbd83d → 390ce2b
spec f37676a → f8649be

Both producers are inside their new pins:

$ git -C marketplace merge-base --is-ancestor 1c919af2d458e8c9964c469638c0b222c3c62148 7dc9220916e9ecf6c17e7e5e2c27b54fcd4fac92; echo "exit=$?"
exit=0
$ git -C action-review merge-base --is-ancestor 5be54a98a50a027b121323a45a07e5085f2dda36 9756bb2ecc35fb40ce49fc2d9e6968fb5ed6f69f; echo "exit=$?"
exit=0

After this merges, the operator's direction is to re-sync the org variable AI_REVIEW_PROMPT to the merged rulebook. The ordering is deliberate: the guidance lands first, so the validator never enforces an R12 the rulebook does not yet state. Until the re-sync, the rule-map gate reports the window instead of failing.

# head 603f1990a048108c73979c9523a75d95d8d1f92a (git rev-parse HEAD)
$ git diff --name-only origin/main...HEAD | wc -l
36

How tested

The umbrella's gate, on this committed tree:

# head 603f1990a048108c73979c9523a75d95d8d1f92a
$ ./charly/bin/charly task verify
task verify: 53 step(s), 0 failed, 0 skipped    (grep -c -i warn: 0)
currency: 5 of 400 pin(s) NOT current [2 behind, 1 blocked-by charly:box/arch (behind), 1 blocked-by charly:box/cachyos (behind), 395 cur, 1 differs (no checkout to judge ancestry)]; intents: 395 upstream leaf/leaves (395 implicit), 5 derived-from edge(s); NOT CURRENT: charly: behind; intent upstream:main (implicit: .gitmodules branch=); recorded 2c7ffc1bd5; served 7fce88261c (branch); distro-arch: blocked-by charly:box/arch (behind); intent derived-from:charly; recorded 8c36dd167b; served 28ccbff145 (charly:box/arch branch); distro-cachyos: blocked-by charly:box/cachyos (behind); intent derived-from:charly; recorded ebc034c319; served c771fd6552 (charly:box/cachyos branch); lobster: differs (no checkout to judge ancestry); intent upstream:main (implicit: .gitmodules branch=); recorded 474759a40a; served f318da9700 (branch); plugin-pod: behind; intent upstream:main (implicit: .gitmodules branch=); recorded c79a5a421d; served 8224f8d86c (branch); producer-first legs: charly (2c7ffc1bd5 -> 7fce88261c) -> plugin-pod (c79a5a421d -> 8224f8d86c) -> distro-arch (blocked-by charly:box/arch (behind)) -> distro-cachyos (blocked-by charly:box/cachyos (behind))

The currency report's lobster: differs (no checkout to judge ancestry) and plugin-pod: behind are the two pins this PR holds back at their base pins (see the second and third anomalies). charly: behind is opencharly/charly#1281, merged at 2026-11-25T11:39:25Z, after the wave ran; behind, differs and blocked-by are reported, not failed, by design.

An anomaly on the first verify run, and its RCA (R1). On the first committed tree, verify failed one step out of 53: the cross-surface governance reconcile. The org manifest dotgithub/scripts/governance-claims.tsv requires AGENTS.md to state ten governance phrases verbatim: the footer order, the 60-minute takeover window, comment-first takeover, the successor protocol, the account-gated sign-off, the auto-close default, read-in-full, "Every validation failure is an R1 anomaly", and the STATUS / HOLDING duties. My gist rewrite had paraphrased them away.

$ node scripts/check-governance-reconcile.mjs     # before
governance-reconcile: checked=105 skipped=0 fail=10   (10 FAIL lines, all "required phrase ABSENT from AGENTS.md")
$ node scripts/check-governance-reconcile.mjs     # after
governance-reconcile: checked=105 skipped=0 fail=0
exit=0

A second anomaly, at the first push, and its RCA (R1). The pre-push DESIGN control design-pintag blocked the push with one finding: gst-wayland-display@87713ee2a07f60acc6eea4b10dd7eb10a13f201d: untagged — 1 first-parent commit(s) above v2026.328.1511.

  • Mechanism: the first wave pinned stable's head at that moment, fix(input): an ABSOLUTE move bypasses a client's pointer lock gst-wayland-display#22's squash. That repo is a fork whose tags are minted separately from the merge, and the squash carries none. Since then stable has advanced to 50ea638dac17, which is tagged v2026.329.1052.
  • Candidates:
  • Winner: P1, plus the control's own remedies. git submodule update --init the 5 stale stores, and leave lobster at its base pin 474759a40a3b, which this PR then does not move. design-pintag.sh then reports 400 judged … every pin is at a tag, one CHANGELOG commit above one, or explained (exit 0).
  • Missed control: I pushed without running the pre-push DESIGN controls on the waved tree first; a wave makes every new pin a fresh merge, so those controls are the gate a pin wave must clear before the push.

A third anomaly, at the second push, and its RCA (R1). The pre-push DESIGN control design-cite blocked with two findings: dulling.tsv:command:config: plugin-pod/candy/plugin-pod/pod_cmd.go:420-450 no longer holds the bytes this row was affirmed against (pin 8224f8d86caa), and dulling.tsv:command:cp: … :410 now sits inside Run, not the CpCmd this row was affirmed against.

  • Mechanism: the second wave advanced plugin-pod, and its new head moved the constructs the DESIGN ledger cites by line.
  • Candidates:
    • re-anchoring the two rows (Q1) would work, but it edits design/, which needs the DESIGN A.6 sign-off, for a pin this rulebook change does not need.
    • holding plugin-pod at its base pin c79a5a421d3e (Q2) works: design-cite: every citation resolves at its pin; 150 line citation(s) still hold … (exit 0), and bash scripts/design-check.sh then reports design-check: all controls pass.
  • Winner: Q2. The re-anchor is filed for the PR that advances plugin-pod (design/dulling.tsv: two plugin-pod citations (command:config, command:cp) no longer hold at plugin-pod main 8224f8d — the next pin wave cannot advance plugin-pod #1282).
  • Missed control: the same as the second anomaly. After the second wave I ran only design-pintag, not the whole design-check.sh; the full DESIGN check now runs on the final tree before the push.

The gate change ran live, and its coverage fails without it (R7). The live variable was untouched (the operator's direction), so the real run exercises the new branch:

$ node scripts/check-validator-rule-map.mjs; echo "exit=$?"
  PASS  every rulebook check id (27) has an AGENTS.md row
  PASS  every AGENTS.md row names a check the rulebook defines
  PASS  the live AI_REVIEW_PROMPT is the rulebook at the previous action-review pin 27029d63f487; set the org variable to the committed rulebook once this pin has merged (REPORTED: re-sync pending)
check-validator-rule-map: OK
exit=0

With the pending branch mutated to differs, the self-test goes red on exactly that case; once the file was restored, it is green:

mutant exit=1
  FAIL  self-test 'live is the previous pin's rulebook (re-sync pending)' expected pending, got differs
check-validator-rule-map --self-test: FAIL (1)
restored self-test exit=0
check-validator-rule-map --self-test: OK

The self-test also reads the previous pin from a real git fixture — a nested repo holding two rulebooks, pinned by a gitlink — both from an index that moved the gitlink and from the commit that moved it.

Spike

R12 applies to the one behaviour change here, the rule-map gate. The rest of the diff is prose, the pin wave, and rule-id rows (exempt: prose-only, plus pins that point at commits already merged, each with its own round). The two producer legs carried their own rounds: opencharly/action-review#26 (C1/C2/C3 on the real review engine) and opencharly/marketplace#653 (A/B on the real linter).

RCA claim: the producer-first landing of a rulebook change cannot pass the umbrella's own gate. check-validator-rule-map.mjs FAILS whenever the committed rulebook differs from the live AI_REVIEW_PROMPT, and in a producer-first landing the pin advance and the variable re-sync cannot happen at once. With the operator's ordering (the variable only after this merges), the gate is red from the pin advance until the re-sync.

Candidates spiked:

  1. G1 — report a live variable equal to the rulebook at the PREVIOUS action-review pin as a pending re-sync; fail everything else (this diff). Run on this worktree after the sync, with the live variable untouched. The index pins 9756bb2ecc35fb40ce49fc2d9e6968fb5ed6f69f and HEAD's previous pin is 27029d63f487fb080783cfbde774ad88a096fd55:
    $ node scripts/check-validator-rule-map.mjs                 # the gate before this change
      FAIL  the committed rulebook (action-review/charly.yml) differs from the live AI_REVIEW_PROMPT org variable
    check-validator-rule-map: 1 FAILURE(S)
    exit=1
    $ node <G1 copy> --root .
      PASS  the live AI_REVIEW_PROMPT is the rulebook at the previous action-review pin 27029d63f487; … (REPORTED: re-sync pending)
    check-validator-rule-map: OK
    exit=0
    
    Result: works. The window is reported. A second advance with no re-sync, a hand-edited variable, or no readable previous pin still fails (self-test cases differs).
  2. G2 — run verify's live leg with --no-live. On a throwaway root whose committed prompt was hand-drifted so that it matches neither the live variable nor any merged rulebook:
    $ node scripts/check-validator-rule-map.mjs --root <root-g2> --no-live
    check-validator-rule-map: OK
    exit=0
    
    Result: fails. It hides exactly the drift the gate exists to catch.
  3. G3 — compare the live variable to the producer's merged main rulebook instead of the pinned one:
    $ cmp <(live AI_REVIEW_PROMPT) <(action-review origin/main prompt); echo "cmp exit=$?"
    cmp exit=1
    
    Result: fails. During the window the live variable is the old rulebook, so the gate is still red.

Winner: G1. It is the only candidate that passes the window and still fails every real drift.

RCA verdict: confirmed. G1 removes the cause, and the gate's result changes only for the producer-first window.

Rulebook compliance

  • R0 — skills first: loaded /charly-internals:git-workflow, /charly-internals:skills, /charly-internals:strict-policy, /charly-internals:cutover-policy, /charly-internals:root-cause-analyzer, /charly-internals:repo-setup and /charly-review:review before the first action; read the action-review and marketplace AGENTS.md before acting there.
  • R1 — RCA every anomaly: the governance-reconcile failure and the design-pintag and design-cite push blocks are each RCA'd above (mechanism, missed control, root fix). Three earlier anomalies were defects in my own instruments: a grep exit reported as a gate's, a copied linter missing its sibling module, and a head pipe exit. Each was named and its instrument re-run correctly. The two sweep stragglers in repos this PR does not edit are listed under ## Filed issues.
  • R2 — no duplication: the spike model is defined once, in strict-policy's "Spike-first". git grep for its key phrases finds, outside strict-policy, only the AGENTS.md gist, the RCA hand-off, and the validator spec's enforcement mirror of the merged prompt. Restated skill detail was removed from AGENTS.md, each cut checked against the owning skill first.
  • R3 — no workarounds: the gate change is not a suppression. It reports one named state (live equals the previous pin's rulebook) and fails every other difference; G2, the suppression candidate, was spiked and rejected.
  • R4 — fix the product first: the validator rulebook (feat(rulebook): add R12 — spike every candidate solution before implementing action-review#26) and the linter (feat(pr-body-lint): require an R12 answer — the rulebook's spine is R0–R12 marketplace#653) landed before this prose, producer-first.
  • R5 — delete legacy completely: RDD's conditional spike paragraph, its "never a blocking gate" line and the high-risk-only spike lines are replaced, not kept beside R12. A claim-keyed sweep for the old range finds only history:
    $ git grep -n -I -E "R[01][–-]R1[01]\b|ground-truth rules R1–R11|--rules R0\.\.R11" -- ':(exclude)CHANGELOG/**'
    .agents/agents/pr-validator.md:557:record, `CHANGELOG/2026.282.0718.md` ("Renumbered to a contiguous R1–R10"), is the ONE
    
    That one hit is a quoted CHANGELOG title.
  • R6 — git safety: a feat/ branch in a session worktree off fresh origin/main (b1e107a4334bdc3229d1b00de50670db0f7812b5), rebased and amended only while unpushed; no force-push, no bypass. The commit gate refused twice (an untokenizable message, then R12 not yet in the pinned rulebook), and the pre-push gate refused twice (design-pintag, then design-cite). Each time the cause was fixed, never bypassed.
  • R7 — prove behaviour, not compilation: the gate's new branch ran live (the REPORTED line), and the mutant run shows its self-test fails without the change.
  • R8 — live or skip: the rule-map gate read the real org variable; the producers' engine runs used the real provider and real PRs.
  • R9 — binary equals source: the worktree-local ./charly/bin/charly, built by charly task worktree, ran sync and verify.
  • R10 — fresh disposable proof: the change class is rulebook prose, gate scripts and a pin wave; its gate is charly task verify, pasted above. No deploy target is involved.
  • R11 — conform to DESIGN: N/A — no field, shape, kind, verb, capability or mechanism changes, and DESIGN.md / DESIGN.cue are untouched.
  • R12 — spike every candidate solution: the round above (G1 the winner), plus the producers' own rounds.

Change classification

  • Class: rulebook and skill prose, umbrella gate scripts, and a pin wave.
  • Breaking change + rollback: the rulebook now requires an R12 spike round, or a named exemption, for every change that fixes or implements behaviour; the validator enforces it once the operator re-syncs AI_REVIEW_PROMPT. Rollback: revert this squash and re-sync the org variable to the previous rulebook (action-review at 27029d63f487fb080783cfbde774ad88a096fd55).

Filed issues

Closes #1278

Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

…ting; AGENTS.md as when/do/done gists

AGENTS.md gains R12. After the RCA names the cause, spike every plausible solution and
implement only one that works; its success proves the RCA, and if none works the RCA is
wrong. Every section becomes a When / Do / Done-when gist that points at the one skill
holding its detail.

strict-policy's new "Spike-first" section is the single home of the spike model, the
`### Spike` block, the exemptions, and the RDD/ADE/SDD "which instrument when" table. The
RCA agent and skill hand the root fix to the R12 round. The validator spec gains its R11
and R12 items. Every R0–R11 claim, the heading the pi binding injects, and the PR-body
tooling's rule rows move to R12.

The rule-map gate reports, instead of failing, a live AI_REVIEW_PROMPT equal to the
rulebook at the PREVIOUS action-review pin: that is the producer-first window between
this pin advance and the operator's re-sync of the org variable after the merge. A
`charly task sync` wave advances 14 pins, among them action-review to the merged R12
rulebook and marketplace to the R0–R12 body linter. lobster stays at its tagged pin
because its new head carries no tag (opencharly/.github#192), and plugin-pod stays at its
pin because its new head moves two design/dulling.tsv citations (#1282).

Closes #1278

Claude-Session: https://claude.ai/code/session_01Tvdn3vf6royM8fuXQB9Wu5
Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 603f1990a048108c73979c9523a75d95d8d1f92a (branch: feat/spike-first-r12)

Change class: rulebook/skill prose + umbrella gate scripts + a 14-pin wave (no runtime/deploy code).

Security screen: finding (T4 — self-modifying-security change without the required sign-off).

Blocks

  1. T4 — missing maintainer-account sign-off on a self-modifying-security change. This PR edits the security machinery named in T3: THIS validator's spec (.agents/agents/pr-validator.md, +25/−4, adding items 11a/11b and the R0–R12 spine), the pre-commit-gate (.claude/hooks/pre-commit-gate.sh), and the project rulebook's landing / attribution rules (AGENTS.md "Commit, push, land", "AI Attribution", Part II fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7 sign-off/takeover text). It also relaxes the rule-map gate (scripts/check-validator-rule-map.mjs: judgeLive now returns pending — a PASS with a report — where the old gate FAILED). Per T4 such a change "requires a maintainer-account sign-off" that is valid only when posted as a comment by a maintainer-set account (atrawog/aitrawog); authorship of the PR is irrelevant, and the PR body is not a sign-off. The <comment_thread> is empty (0 comments), so no sign-off exists. Fix: post an explicit sign-off comment from a maintainer-set account before the next push/re-run.

Verdict: BLOCK


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

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

Maintainer sign-off (T4), posted by this session at the operator's explicit direction. The operator chose "Post it at my direction" in this session's question for #1283; this is not the agent's own initiative.

The security machinery this PR touches, and why each change is accepted:

  • .agents/agents/pr-validator.md — new items 11a (R11) and 11b (R12) mirror the validator rulebook already merged in feat(rulebook): add R12 — spike every candidate solution before implementing action-review#26. They add checks and remove none.
  • .claude/hooks/pre-commit-gate.sh — a header comment only (R0-R11 → R0-R12). No logic changes.
  • AGENTS.md landing, attribution and sign-off rules — rewritten as gists that keep every obligation. The org governance manifest (dotgithub/scripts/governance-claims.tsv) still finds every phrase it requires (governance-reconcile: checked=105 … fail=0), including "the posting ACCOUNT is the entire gate" and the 60-minute takeover window.
  • scripts/check-validator-rule-map.mjs — ONE bounded relaxation. A live AI_REVIEW_PROMPT that equals the rulebook at the PREVIOUS action-review pin is REPORTED as a pending re-sync instead of failing. Any other difference still fails: a second advance with no re-sync, a hand-edited variable, or a pin with no readable previous rulebook. The self-test covers each case, and a mutant run shows it goes red when the pending branch is removed.

Why the relaxation: the operator's ordering is that the org variable is re-synced only AFTER this guidance merges, so the validator never enforces an R12 the rulebook does not yet state. Without the relaxation, that ordering would make the umbrella's own charly task verify red for the length of the window.

Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

RCA of the round-1 BLOCK, which has one finding: T4, no maintainer sign-off.

  • Mechanism: this PR edits the security machinery T3 names: the validator spec, the pre-commit gate's header, the landing, attribution and sign-off prose, and the rule-map gate's live check.
  • Missed control: feat(rulebook): add R12 — spike every candidate solution before implementing action-review#26 had already been blocked on T4 for the same class of change, and my pre-push self-audit still did not flag this PR's security surfaces or arrange the sign-off before the push.
  • Root fix: the sign-off comment above, posted at the operator's explicit direction, before this re-run. The self-audit step this round adds to my process: any diff touching the validator spec, a hook, a gate script's pass/fail logic, or the landing and sign-off rules is a T4 change, so its sign-off is requested before the first push.

No diff change in this round: the head stays 603f1990a048108c73979c9523a75d95d8d1f92a.

Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 603f1990a048108c73979c9523a75d95d8d1f92a (branch: feat/spike-first-r12)

Change class: rulebook/skill prose + umbrella gate scripts + a 14-pin wave (no runtime/deploy code). placement: CORRECT (umbrella-native scripts/* mechanics + authored .agents/ content + gitlinks; no capability moved into core/sdk).

Security screen: PASS — T1/T2 clean (no embedded directives, no secrets, no egress, no obfuscation). T3/T4: the diff does touch security machinery (pr-validator.md, pre-commit-gate.sh header, the landing/attribution/sign-off prose, and the bounded rule-map relaxation in scripts/check-validator-rule-map.mjs). The required maintainer-account sign-off exists: comment 7162425903 by @aitrawog (a configured maintainer account; authorship irrelevant), with a per-surface justification for the one relaxation. The relaxation is bounded and verified: pending only when the live variable equals the rulebook at the immediately previous action-review pin, every other difference still differs→fail, and the self-test covers equal/pending/differs/no-previous plus a real git fixture (index-moved and commit-moved gitlink). Gates preserved, not weakened.

Checklist: All applicable rules PASS or NA (R11 NA — no DESIGN surface touched).

Comment dispositions

  • 7162018668 (@github-actions[bot]) — stale-superseded: its single T4 finding ("no maintainer sign-off; <comment_thread> is empty") no longer reproduces; the thread now carries a valid @aitrawog sign-off and an RCA of the missed control (7162429506).
  • 7162425903 (@aitrawog) — verified-non-blocking: valid T4 sign-off, opens with STATUS, correct footer; its per-surface claims re-derive against the diff (hook = header comment only; rule-map = one bounded branch; governance-reconcile fail=0 pasted).
  • 7162429506 (@aitrawog) — verified-non-blocking: RCA names mechanism, missed control (T4 class not caught by the self-audit), and root fix; discharges the round-1 finding without a diff change, which the finding did not require.

Non-blocking notes (not blocks)

  • scripts/check-pi-gates.mjs (+1/−1 heading assertion) and the sync-pr-body.sh/check-pr-body-* row additions are mechanical string/rule-id alignment, not "prose-only"; they are covered by self-tests inside the green task verify, so the R12 exemption is substantively satisfied but loosely labelled.
  • .agents/skills/strict-policy/SKILL.md RDD section says the spike "follows "Spike-first" below", but that section now sits above it — a one-word cross-reference inaccuracy.
  • The body says the governance manifest requires "ten" phrases but enumerates nine; the pasted fail=10 → fail=0 is otherwise internally consistent with the restored text I can read in the final AGENTS.md.
  • Rulebook gap worth naming: the R12 exemption set has no entry for "a mechanical rule-id/string alignment already covered by a green self-test", which is exactly this PR's second-largest class of edits.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 25, 2026 12:36
@github-actions
github-actions Bot merged commit 55dc73a into main Nov 25, 2026
7 of 9 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 25, 2026
github-actions Bot pushed a commit to opencharly/sdk that referenced this pull request Nov 25, 2026
…2 spine (#644)

strict-policy now owns R12 and the spike model ("Spike-first"), and the umbrella
rulebook's spine is R0–R12 (opencharly/opencharly#1283). The registry's strict-policy row
gains both, and the umbrella row's `R1–R10` becomes `R0–R12`.

Closes #642

Claude-Session: https://claude.ai/code/session_01Tvdn3vf6royM8fuXQB9Wu5
Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
aitrawog added a commit to opencharly/charly that referenced this pull request Nov 25, 2026
…TE banner

Round 2 of #1283. The banner cited the issue (opencharly/opencharly#1278) while the PR
body cited the merged PR (opencharly/opencharly#1283) for the same fact. It now names the
PR and the issue together, so the body and the diff agree.

Claude-Session: https://claude.ai/code/session_01Tvdn3vf6royM8fuXQB9Wu5
Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
github-actions Bot pushed a commit to opencharly/charly that referenced this pull request Nov 25, 2026
…tate the programme record (#1283)

* docs(agents): the org spine is R0–R12 — sweep the stale R1–R10 / R0–R10 claims

The umbrella rulebook's ground-truth rules now run R0–R12 (opencharly/opencharly#1283).
`AGENTS.md:5` and `charly/AGENTS.md:17` still named the spine `R1–R10` and `R0–R10`;
both now say `R1–R12` and `R0–R12`. `PROGRAM/pi-integration.md` is a programme record,
so it gains an UPDATE banner, the form that file already uses for its corrections,
rather than having its history rewritten.

Closes #1258

Claude-Session: https://claude.ai/code/session_01Tvdn3vf6royM8fuXQB9Wu5
Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)

* docs(program): cite the merged umbrella PR in the pi-integration UPDATE banner

Round 2 of #1283. The banner cited the issue (opencharly/opencharly#1278) while the PR
body cited the merged PR (opencharly/opencharly#1283) for the same fact. It now names the
PR and the issue together, so the body and the diff agree.

Claude-Session: https://claude.ai/code/session_01Tvdn3vf6royM8fuXQB9Wu5
Agent: spike-first-r12 · Claude Code session df4ab072-9d67-4868-96df-b6e1d06b6825
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
github-actions Bot pushed a commit that referenced this pull request Nov 25, 2026
…e its exemption (#1286)

The rulebook's spine is now R0–R12 (#1283) and the body linter
requires an R12 answer (opencharly/marketplace#653). The pre-validator self-audit
listed eleven items and stopped at R11, so an author following it would pass its own
checks and still be blocked on the one rule it never mentioned.

The new item 12 states when R12 bites (a change that fixes or implements behaviour),
what the round looks like (`### Spike` under `## How tested`, on a disposable target
or against the real artifact, BEFORE the diff), and the exemptions that must be named
rather than invented — prose-only/comment-only, a revert to a proven state, or a
spike-equivalent (a regression test that fails on the unmodified tree and passes with
the fix; a live bed run at the exact boundary).

*Agent: `qwen3-tts-vram` · Claude Code session `699080d3-3ff0-4337-afa4-94f960590338`*
*Assisted-by: Claude Code Ollama Cloud deepseek-v4.1-flash (documentation reviewed)*
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.

rulebook: make spiking every candidate solution mandatory before implementation (R12), and cut AGENTS.md to when/do/done gists

1 participant