Skip to content

docs(agents): the org spine is R0–R12 — fix the rulebook claims, annotate the programme record - #1283

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

github-actions[bot] merged 2 commits into
mainfrom
feat/spike-first-r12

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The org rulebook's ground-truth rules now run R0–R12: opencharly/opencharly#1283 (issue opencharly/opencharly#1278) adds R12, spike every candidate solution before implementing. This PR fixes the two rulebook claims in this repo that still named an older spine, and annotates the one programme record that does, without rewriting it.

file change
AGENTS.md line 5: R1–R10 → R1–R12
charly/AGENTS.md line 17: R0–R10 → R0–R12
PROGRAM/pi-integration.md a new UPDATE banner citing opencharly/opencharly#1283 and its issue #1278. The file is a programme record that already corrects itself with UPDATE banners at its top, so the record is annotated, not rewritten; its historical R0–R10 lines stay, and the banner tells the reader how to read them.

How tested

Documentation-only change class (*.md only); the gate is the non-runtime standards.

The grep below runs over all three changed files. In the two rulebooks it finds only the new ranges (AGENTS.md:5, charly/AGENTS.md:17). In PROGRAM/pi-integration.md it finds the banner (lines 9–13) and four historical lines (15, 67, 360, 475) that state the spine as it stood when the programme was written. The banner directs the reader to read those as history.

# head baf0058173dbc4cf3a3128c91f03ef168d0dec58 (git rev-parse HEAD)
$ git diff --name-only origin/main...HEAD
AGENTS.md
PROGRAM/pi-integration.md
charly/AGENTS.md
$ git diff --check origin/main...HEAD; echo "exit=$?"
exit=0
$ git grep -n -I -E "R[01][–-]R1[0-2]?\b" -- AGENTS.md charly/AGENTS.md PROGRAM/pi-integration.md; echo "exit=$?"
AGENTS.md:5:R0 Skills first and its Skill Dispatcher, Candyboxing, RDD, ADE, SDD, R1–R12,
PROGRAM/pi-integration.md:9:> **UPDATE (the spine is R0–R12, opencharly/opencharly#1283 — issue opencharly/opencharly#1278):** the org rulebook's
PROGRAM/pi-integration.md:10:> ground-truth rules now run R0–R12. R11 conforms to DESIGN; R12 says to spike every
PROGRAM/pi-integration.md:11:> candidate solution before implementing. Read the `R0–R10` below as the spine as it stood
PROGRAM/pi-integration.md:13:> `The ground-truth rules R1–R12`.
PROGRAM/pi-integration.md:15:**North-star:** Pi sessions on the charly repository follow the same R0–R10
PROGRAM/pi-integration.md:67:**What:** Extend `charly-gates.ts` to inject condensed R0–R10 rules, the skill
PROGRAM/pi-integration.md:360:    task: "Validate PR #N against R0-R10...",
PROGRAM/pi-integration.md:475:| 1 | `.pi/extensions/charly-gates.ts` | Add `before_agent_start` handler that injects condensed R0–R10 + PR body rules |
charly/AGENTS.md:17:**Authoritative rules live in the repo-root `AGENTS.md`** (one level up). R0–R12,
exit=0

Spike

Exemption: prose-only. The change fixes and implements no behaviour: it edits three Markdown files, so R12 does not apply.

Rulebook compliance

  • R0 — skills first: loaded /charly-internals:git-workflow, /charly-internals:skills, /charly-internals:strict-policy and /charly-internals:cutover-policy, and read this repo's AGENTS.md.
  • R1 — RCA every anomaly: the divergence is the RCA'd finding of AGENTS.md: the header lists the org rules as R1–R10; the umbrella rulebook is R0–R11 #1258 (the rulebook's spine moved, and these copies did not); no anomaly appeared while making the change.
  • R2 — no duplication: each surface names the range and points at the umbrella rulebook; none restates a rule.
  • R3 — no workarounds: N/A — prose only.
  • R4 — fix the product first: N/A — the product, the umbrella rulebook, already says R0–R12; this aligns the pointers.
  • R5 — delete legacy completely: the claim-keyed grep above runs over every changed file. The two rulebooks carry only the new ranges; the programme record's historical lines are annotated by its banner, which is the form that file uses for corrections.
  • R6 — git safety: a feat/ branch in a session worktree off fresh origin/main; no force-push.
  • R7 — prove behaviour, not compilation: N/A — no behaviour changes.
  • R8 — live or skip: N/A — no live service.
  • R9 — binary equals source: N/A — no binary is built or claimed.
  • R10 — fresh disposable proof: the Documentation-only change class; the non-runtime checks are pasted above.
  • R11 — conform to DESIGN: N/A — no DESIGN requirement is touched.
  • R12 — spike every candidate solution: exempt, prose-only (see ### Spike).

Change classification

  • Class: documentation-only.
  • Breaking change + rollback: none — prose pointers only, with no behaviour or interface change. Rollback: revert this commit.

Filed issues

Closes #1258

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

…10 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)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 7eddbddfebad37b77547d017a85dc9d01a22990e (branch: feat/spike-first-r12)

Change class: documentation-only (AGENTS.md, charly/AGENTS.md, PROGRAM/pi-integration.md — all *.md). documentation reviewed tier is legal for this class.

Security screen: PASS — no secrets, no exfiltration, no guardrail/validator/rulebook-weakening, no embedded directives, no scope creep beyond the described doc sweep.

Blocks

  1. A1 / R1 — contradictory umbrella PR reference between body and diff. The body says the spine now runs R0–R12 "(opencharly/opencharly#1283, which adds R12)", but the UPDATE banner this PR adds to PROGRAM/pi-integration.md says "(the spine is R0–R12, opencharly/opencharly#1278)". Both cannot be the umbrella PR that added R12. A PR whose entire purpose is correcting stale references must not itself introduce a wrong one — a documentation divergence from reality is an R1 incident and a body-truthfulness defect under A1. Reconcile the two to the single correct umbrella PR number (body and banner must agree).

  2. R5 / CONC(d) — the sweep is not demonstrated for the third changed file. The pasted sweep is scoped git grep … -- AGENTS.md charly/AGENTS.md, i.e. it deliberately excludes PROGRAM/pi-integration.md, which is one of the three changed files and which still contains a live-looking R0–R10 claim — the retained North-star line "Pi sessions … follow the same R0–R10 discipline" (and the banner itself adds the literal R0–R10). The body claims to have swept "the three places … that still named the older spine," but the actually-executed output covers only two. Per CONC(d) a sweep claim requires executed output over the affected surface, not an assertion. Either paste the executed grep covering PROGRAM/pi-integration.md (and reconcile the retained R0–R10 text with the title's "sweep … claims"), or narrow the title/body so it no longer asserts a full sweep.

Non-blocking notes

  • A3 — verify the model name. *Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)* — confirm Claude Opus 5.5 is the actual authoring model and not a guessed name (a guessed/config-read name is an A3 defect). The tier itself is fine for an all-*.md diff.
  • Banner vs body terminology (R1–R12 heading). The banner's "section headed The ground-truth rules R1–R12" vs the body's "R0–R12" is plausibly consistent with AGENTS.md's own convention (R0 "Skills first" listed separately, R1–R12 the range), but confirm it matches the umbrella's actual heading text.

Verdict: BLOCK


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

View action run

…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)
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

RCA of the round-1 BLOCK on head 7eddbddfebad37b77547d017a85dc9d01a22990e. Both findings are fixed in round 2, head baf0058173dbc4cf3a3128c91f03ef168d0dec58:

  1. A1/R1 — two references for one fact.
  2. R5/CONC(d) — the sweep did not cover every changed file.
    • Mechanism: the pasted grep was scoped to the two files whose claims I fixed, not to the three files I changed.
    • Missed control: I scoped the sweep by intent, not by the diff.
    • Fix: the body now pastes the grep over all three files and classifies every hit. The rulebooks carry only the new ranges; the programme record's historical R0–R10 lines stay, annotated by its banner. The title is narrowed to say exactly that.

The non-blocking notes: the model is Claude Opus 5.5, per this session's runtime (claude-opus-5-5). The banner's "The ground-truth rules R1–R12" is the umbrella heading verbatim; R0 sits outside that range by the umbrella's own convention.

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

@aitrawog aitrawog changed the title docs(agents): the org spine is R0–R12 — sweep the stale R1–R10 / R0–R10 claims docs(agents): the org spine is R0–R12 — fix the rulebook claims, annotate the programme record Nov 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

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

Security screen: PASS — docs-only (*.md); no secrets/egress, no embedded directives, no guardrail or validator-spec weakening (the R1–R12 pointer extension aligns with, and does not loosen, the umbrella rulebook; no maintainer sign-off is triggered because no DESIGN surface changes).
Checklist: All applicable rules PASS or NA — body accounts for all three files, the pasted git grep covers every changed file with line numbers that reconcile exactly with the diff (banner 9–13, North-star 15), the prose-only R12 exemption is one of the closed-set exemptions, and the documentation reviewed tier is legal for an all-*.md diff.
Comments: #7163103150 (bot BLOCK) — both findings (A1/R1 duplicate umbrella reference; R5/CONC(d) sweep not covering the third file) re-derived against the current body/diff and now satisfied → stale-superseded; its two non-blocking notes are rebutted with evidence on the thread. #7163146266 (@aitrawog STATUS) — RCA names mechanism + missed control for each finding, fixes verified in the current diff → verified-non-blocking (coordination metadata).

Verdict: PASS


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

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Auto-merge was NOT armed for head baf0058173dbc4cf3a3128c91f03ef168d0dec58.

Class: 1 — at least one check run on this head did not pass. Fix it and push; auto-merge arms on the next PASS.

This is reported as a comment because a failing validate / arm check run would make the
pull request permanently unstable and block every later arming attempt
(opencharly/.github#313). The arm job therefore reports success and this comment is its alarm.

Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

The validator PASSed on baf0058173dbc4cf3a3128c91f03ef168d0dec58, but auto-merge was not armed: the go check on this head failed. RCA:

  • Mechanism: the check run's annotation reads "The self-hosted runner lost communication with the server". The job ran on charly-ci-4vcpu-2-1 from 13:00:09Z to 13:10:10Z, no step reported a result, and its log blob does not exist (BlobNotFound). The previous head's go job died the same way at 13:10:43Z.
  • Blast radius: every charly-ci-4vcpu-* runner (1-1 through 6-1) is now offline. Only charly-ci-16vcpu-1-1 and charly-ci-16vcpu-1-2 are online; both carry the opencharly-ubuntu label this job requests.
  • Not this diff: the diff is Markdown-only.
  • Action: re-ran only the failed job (run 45619159727); it can land on an online 16-vCPU runner. Once it passes, the validator is re-run so auto-merge can arm.

The 4-vCPU fleet going offline is the operator's infrastructure; it is reported here, not worked around.

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

Copy link
Copy Markdown
Contributor

Review — PASS

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

Security screen: PASS — docs-only (*.md); no secrets/egress, no embedded directives, no validator-spec/guardrail weakening (the R1–R12/R0–R12 pointer extension aligns with, and does not loosen, the umbrella rulebook; no DESIGN surface is touched, so no R11/T4 sign-off is triggered).
Checklist: All applicable rules PASS or NA — body accounts for all three files; the pasted git grep covers every changed file with line numbers reconciling exactly to the diff (banner 9–13, North-star 15; AGENTS.md:5, charly/AGENTS.md:17); the prose-only R12 exemption is one of the closed-set exemptions; documentation reviewed is legal for an all-*.md diff; the PROGRAM record's retained R0–R10 lines are history annotated by an UPDATE banner that follows the file's own established convention.
Comments: #7163103150 (bot BLOCK) — both findings (A1/R1 duplicate umbrella reference; R5/CONC(d) sweep not covering the third file) re-derived against current body/diff and now satisfied → stale-superseded. #7163146266 (@aitrawog STATUS) — RCA names mechanism + missed control, fixes verified → verified-non-blocking (coordination). #7163193861 (bot PASS) — matches my independent re-derivation → verified-non-blocking. #7163391511 (arm-unarmed-report) — go check failed on runner infra; per ground rule 5 a red CI check is not a review defect and the diff is Markdown-only → verified-non-blocking. #7163443498 (@aitrawog STATUS) — RCA of the go failure (runner lost communication, BlobNotFound, 4-vCPU fleet offline, re-run on online 16-vCPU), reported not worked around, unrelated to the docs diff → verified-non-blocking.

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 14:57
@github-actions
github-actions Bot merged commit 8e3f72f into main Nov 25, 2026
8 of 9 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 25, 2026
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.

AGENTS.md: the header lists the org rules as R1–R10; the umbrella rulebook is R0–R11

1 participant