Repository navigation
docs(AGENTS)!: R0–R10 as the spine — fix it or file it, the commit/push lifecycle, read-in-full before every push, session coordination, the validator only enforces - #448
Conversation
…sh lifecycle, read-in-full before every push, session coordination, the validator only enforces AGENTS.md now puts the ground-truth rules right after R0, and every other section names the rules it applies (`Enforces:`). The rules are renumbered to a contiguous R1–R10: - old R2 (finish the cutover) moves into Hard Cutover; - old R8 (emitted artifacts) moves into R7; - R4a and R7a become R4 and R8. R1 gains the fix-it-or-file-it classification. A blocking finding is fixed in the change; a non-blocking one is filed and listed under `## Filed issues`. New sections: - "What the validator checks" — one row per validator check id, mapped to its rule and its owning skill. - "Commit, push, land" — one lifecycle: local commits are free, R10 runs on the committed tree, the first push opens a ready PR, and each review round appends one commit. It includes "Before every update push: read everything, fix everything". - Part II #11 "Keep other sessions informed". The duplicated Key Rules section and Part II #8's restatement are removed. Umbrella-wide changes: - Every rule citation is renumbered. - The pi extension reads the injected rule sections from AGENTS.md instead of a hand-copied block (which had drifted). - scripts/check-validator-rule-map.mjs asserts that the validator's check ids equal the AGENTS.md table, that every cited skill resolves, and that the committed rulebook equals the live AI_REVIEW_PROMPT. Refs #446 Claude-Session: https://claude.ai/code/session_01Tu7zZjx8twjC3GmfAL5ss5 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
Review — BLOCKHead SHA: Change class: Harness project configuration / T4 self-modifying-security — the diff rewrites Security screen: T1/T2/T3 pass (no injected directives, no secrets/egress, no supply-chain change; the pi-extension rewrite reads the rulebook from Blocks
Comment intake: the thread contains 0 comments, so there are no comment-raised findings to re-derive or disposition. Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
When old R4 (no workarounds) became R3, the nightly sync body's Rulebook compliance list was left with no R4 row (#448 review round 1, finding 2). It now emits "R4 product before prose: N/A — a gitlink sync changes no documentation and routes around no defect". The script's --self-test asserts that every rule R0–R10 has a row. Removing the R4 line makes it fail with "the Rulebook compliance section has no R4 row". Refs #446 Claude-Session: https://claude.ai/code/session_01Tu7zZjx8twjC3GmfAL5ss5 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
|
STATUS — review round 1 on BLOCK 6072606905. New head
RCA, finding 2
RCA, finding 1
After the merge: Agent: |
Review — BLOCKHead SHA: Change class: Harness project configuration — T4 self-modifying-security. The diff rewrites Blocks
Comment intake
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
Maintainer sign-off (T4): approved. This signs off this PR's self-modifying-security change: the project rulebook's landing/attribution rules, and the validator spec and gates that enforce them, at the head under review. It is posted from the maintainer-set account Agent: |
Review — PASSHead SHA: Security screen: PASS (T1/T2 clean — no injected directives; T3 no secrets/egress/supply-chain; T4 sign-off validly posted by maintainer-set account Checklist: All applicable rules PASS or NA. Comment intake: 6072606905 ( Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
…s (currency -> 0 of 431) (#590) `charly task sync` over this worktree's 20 checkouts (14 rolled, the six `distro-*` edges re-derived), with all six `distro-*` checkouts initialised so the `pin_map` edges re-derive from charly's own `box/*` gitlinks instead of pinning 0 entries — the trap that left the previous leg's edges untouched. Producer-first order, as the pin contract and #568 require: `charly` first (it is the `pinned_from` the six edges derive from), then the leaves, then the edges. charly c837b66157 -> 2f15487aa7 #1020 plugin-migrate weld + #1022 box/cachyos + CHANGELOGs marketplace fa7648a6f5 -> ae8317d85d #531/#533 pr_body_lint + #536 repo-setup guidance + CHANGELOGs plugin-check a2d1c38afb -> 5a81cad275 #128 nested child deploy key from its root + CHANGELOG plugin-egress a41a5877f7 -> b0609cb9de #14 containerd config v4 + CHANGELOG plugin-pipeline 0c40348319 -> 51160a1d40 #57 sdk v0.2026294.1520, ${env.} in a when: + CHANGELOG plugin-nerdctl 4f5374e5a2 -> a0051aec96 #13 serve engine:containerd after the spec cutover + CHANGELOG plugin-settings d78a7940e2 -> 0f7a1521d6 #11 engine.run=containerd, retire the nerdctl word + CHANGELOG dotgithub 5103558c75 -> 8e0bf3c3d8 .github#224 ruleset exclusion is not a landing ban + CHANGELOG layer-charly-internals 0d8cfdc759 -> 66f376a159 #131/#132 repo-setup enforcement scope + CHANGELOGs spec 5840fa7666 -> bf03f96573 #266 engine word containerd + krun VM backend + CHANGELOG sdk 35eff3efd4 -> 2d504634b8 #448 deploykit selects the workload user by launch mode + CHANGELOG distro-cachyos bd5cf4214e -> 541398c061 EDGE re-derived from charly's box/cachyos (distro-cachyos#153) `charly` could not be advanced without its own `box/cachyos` gitlink moving first: that gitlink is bd5cf4214e at both the previously recorded charly c837b661 and the served 3dfd594d, so a plain charly advance moved no edge at all. opencharly/charly#1022 (squash 0678853c, tag v2026.295.1246) moved it to 541398c061, which is what makes the umbrella's distro-cachyos edge current. Twelve gitlinks, twelve insertions and twelve deletions, no file content. `task sync` returned rc=1 on all four passes after advancing — the documented no-checkout guard (opencharly/charly#864, opencharly/charly#917), since this worktree initialises 20 of 431 and 411 pins have no checkout; the pins it wrote are the ones verified. The extra passes are drift inside the session window, not pins it failed to advance: a leaf whose remote squash-advances past it reads `not-on-the-served-line`, and a pin whose remote merges between two readings reads `differs (no checkout to judge ancestry)` until its checkout is initialised. Both were made judgeable and advanced here. Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated) Co-authored-by: Andreas Trawoeger <[email protected]>
Head
54f4f221418a35a7dcb0a66139b2b264a8341c13Summary
AGENTS.mdis restructured around the ground-truth rules (#446). It lands now, ahead of the gitlink bump, so the rule table the producer legs already cite is the one in force. The gitlinks advance in a separatecharly task syncPR once every producer has merged.AGENTS.md
R0–R10 are the spine. They come right after R0, every other section opens with
Enforces: R…, and "Any R-rule violation forbids the push".Renumbered to a contiguous R1–R10:
A one-paragraph "Old citations" note maps the old numbers for history readers.
R1 — fix it or file it. Blocking findings (introduced here, a red or warning gate, or a claim that is false without the fix; unsure → blocking) are fixed in the change. Non-blocking findings are FILED, an existing issue or ONE new one, and listed under
## Filed issues. A finding raised on the PR is fixed or rebutted, never filed away.New "What the validator checks". One row per validator check id (T1–T4, A1–A3, R0–R10, HC, PIL, CONC, ARCH, DISP, QUAL, COORD), each mapped to its rule and its owning skill section. The validator enforces and never instructs, and a BLOCK on an unstated obligation is a rulebook defect.
New "Commit, push, land", with "Before every update push: read everything, fix everything".
Part II chore: sync gitlinks to the landed sdk de-submodule cutover #11 "Keep other sessions informed".
STATUSat every milestone.BLOCKS/UNBLOCKSon both threads.Part II fix: escape backticks in umbrella-gates rules template (pi extension parse error) #7. The takeover window is a floor that an owner's answer resets. The auto-close threshold is the repo's variable (
opencharly/charlysets 20). Supersede touches four surfaces.Duplication removed (R2).
Umbrella-wide
Every rule citation in the hooks, harness files, scripts and
charly.ymlfollows the renumbering.reasonix.tomlpoints at "Commit, push, land", andscripts/sync-pr-body.sh/check-pr-body-gate.mjsuse the new rule list..pi/extensions/charly-gates.tsno longer carries a hand-copied rules block, which had drifted to the retired numbering. Every turn it injects the R1–R10, "Commit, push, land" and attribution sections READ fromAGENTS.md.scripts/check-pi-gates.mjsfires that, and has a mutation that goes red when a section is renamed away.New
scripts/check-validator-rule-map.mjs, wired intocharly task verifyand intohooks/pre-commit(--no-live). It asserts:action-review/charly.yml) == the liveAI_REVIEW_PROMPT, which is live-or-skip.--self-testproves each mismatch fixture goes red.Review round 2 (BLOCK 6072606905):
scripts/sync-pr-body.shwas left with no R4 row when old R4 became R3. It now emitsR4 product before prose: N/A — …. Its--self-testasserts that every rule R0–R10 has a row, and fails with "no R4 row" when that line is removed (mutation run below).aitrawogat the operator's explicit direction.Change classification
Harness project configuration (
AGENTS.md, the harness bindings, and the executables that validate them) together with the umbrella's own gate scripts. This changes the project rulebook's landing and attribution rules, so it is a T4 self-modifying-security change; a maintainer-account sign-off is posted on this PR (comment 6076193137, by the maintainer-set accountaitrawogat the operator's explicit direction).Gate (the
/charly-check:check"Harness project configuration" row):charly task verify(21 steps);--self-testfor the ones that carry mutations;The diff touches no gitlink.
Closes / relates to: Closes #446 (the gitlink-bump sync PR and the org-wide citation sweep are its remaining legs, named on that issue).
How tested
Every command below was executed on head
54f4f221418a35a7dcb0a66139b2b264a8341c13.The scratch roots for the last two gates pin these surfaces:
maproot: this head'sAGENTS.md, the action-review leg's committed rulebook, and the marketplace corpus;govroot2: this head'sAGENTS.md, plus the final committed worktrees oflayer-charly-internals,layer-charly-internals-extra,action-reviewanddotgithub.So the cross-surface claims are asserted against the trees that ship.
The full rule-token enumeration flags
R4a/R7aon exactly one line: the "Old citations" note, which maps the retired numbers for readers of history. That mention is deliberate. The governance claims forbid only the retired rule headings (**R4a —), and that heading pattern is absent. Every other token names its rule under the new table.Rulebook compliance
/charly-internals:git-workflow,/charly-internals:agents,/charly-internals:skills,/charly-internals:strict-policyand/charly-check:checkwere loaded before the first edit.charlyprocess (the documented host-dependent notice, disclosed rather than suppressed). Findings surfaced while proving this are filed (see## Filed issues).N/A — no sleep or retry added; the new gate's live leg is live-or-skip, not a retry.Key RulesandPost-Execution Policieshave no remaining mention inAGENTS.md(grep exits 1).git status --shortand merge-base output in How tested (above) shows a clean tree on a branch whose base is the currentorigin/main. No force-push, reset, or hook bypass was used.--self-testmutations prove the new assertions can fail: the pi section-read mutation, and the rule-map id-mismatch fixtures.AI_REVIEW_PROMPTviaghand skips visibly when unauthenticated; here it ran and passed.charly versionabove, built bycharly/scripts/bootstrap-charly.shin this worktree).charly task sync.aitrawog, at the operator's explicit direction).Filed issues
marketplace generateignoresCHARLY_REPO_OVERRIDE(non-blocking; found while proving this leg's projection).charly taskin a session worktree withoutcharly+marketplaceinitialized dies with a misleading JSON-cycle error (existing issue; reproduction evidence added).Agent:
r-spine· sessionsession_01Tu7zZjx8twjC3GmfAL5ss5Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)