Repository navigation
feat(rsr): accept the repo deed's (agentic) (neurosym) (playbook) clauses for 3.1.5–3.1.7 - #1013
Conversation
…uses for 3.1.5-3.1.7 A2ML is retired (metadatastician/standards D99, D312, D313). The AGENTIC, NEUROSYM and PLAYBOOK descriptile families have a ruled mapping spec into the repo deed (standards 1-formats/deed/mappings/, ruled 2026-10-27), and standards_chora.deed carries the three clauses. The built-in detector for 3.1.5-3.1.7 still looked only for descriptiles/<NAME>.a2ml, so a repo that retired those files would lose Gold for carrying the successor form. Each of the three now passes on either carrier: the legacy .a2ml, or that clause at the top level of the repo's one <repo>_chora.deed, read with Hypatia.Deed (the reader that agrees with the standards gate). A deed that does not parse declares nothing, and a clause nested inside another clause is not the descriptile. 2.3.1 already accepts its two carriers this way. Tests cover deed-only, a2ml-only, nested, absent and unparseable cases. Locally hex.pm is unreachable, so the full suite runs in CI; the new clause check was run against Hypatia.Deed compiled alone on the same fixtures and on standards_chora.deed, and deed_lint.js agrees on which fixtures parse. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01E294yTkKk127qgKEXFFDBE
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 10 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
|
Add Carrot credits or activate Agent usage billing to use Autofix |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…arriers; archive the three (canon 2.1.4) (#1412) ## Summary On 2026-11-04 the owner chose (selector) a canon PR plus a Hypatia change, then the archive. `standards_chora.deed` has carried `(agentic)` `(neurosym)` `(playbook)` since #1356. Live documents still named the `.a2ml` files, so the files could not retire. This PR names the deed clauses as the carriers in the v2 canon and keeps the legacy `.a2ml` as the alternative, so no repository loses conformance. It then archives the canon's own three files. - **Canon artefact, PATCH 2.1.3 → 2.1.4.** `TEMPLATE-APPLICABILITY-POLICY.adoc` names both carriers in its universal-baseline mirror. It also puts `0-AI-MANIFEST.deed` first, as the gate table already did. `canon.lock` carries the new hash and a dated note explaining why this is editorial. The gate table and the criteria file are unchanged. The criteria file is a legacy A2ML record and keeps its prose, because a fact may not be added to one. - **The frozen v1 docs are untouched.** `0-canon/rsr/TIERS.adoc` and `VERSION.adoc` are RSR v1.0 and frozen, so their `.a2ml` rows stay as the historical v1 record (Codex review; an earlier commit here had edited them, and that is reverted). - **Active profile and inline example follow the release.** `.machine_readable/rsr-profile.a2ml` `declares-against` and `[canon].version` move to 2.1.4, as #1344 moved them for 2.1.3. A value changes and no fact is added. The `(canon …)` example in `1-formats/deed/vocabulary/canon.adoc` and the vocabulary fixture read 2.1.4. - **Agent manifest.** `0-AI-MANIFEST.deed` now sends agents to the `(agentic)` clause. - **Archive.** The three files move unchanged to `9-archive/a2ml/`. The ledger drops their group (171 → 168, which the ratchet records as debt paid down). `9-archive/MOVED.adoc` records the move. - **`.gitbot-fleet` map row.** #1409 landed the same row first; main was merged in and the conflict resolved to main's single row, `entry_count = 136`. ## Merge order hyperpolymath/hypatia#1013 is merged, so Hypatia's RSR scorer accepts the deed clauses for criteria 3.1.5–3.1.7 before the files leave. Hypatia also showed that the criteria file's `detect` strings for these rows (`structural_drift/SD007`–`SD009`) name unrelated rules. Its built-in detector table is what actually scores them. ## Test plan - [x] GATE A: assertions 1–4 pass (hashes match the tree; the bump is present). Run from a checkout without a sibling Hypatia, assertion 5 is skipped as in CI; with the sandbox's Hypatia it fails only because hex.pm is blocked here and Hypatia cannot build `:jason`. - [x] `check-canon-lockstep-deed-test.sh` passes. - [x] GATE D, the archive gate (`--base origin/main`, 168 ledgered), its tests (25/25), canonical names, the exemption ratchet (`SHRANK 171 -> 168`) and `check-rsr-profile.sh .` pass. - [x] `deed_lint.js` passes on `0-AI-MANIFEST.deed` and on the fixture. - [x] CI green on `3b58f72`; re-running on `cc1588b`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E294yTkKk127qgKEXFFDBE --------- Co-authored-by: Claude <[email protected]>
## Summary This follows #1013 with the same shape, for criterion 3.1.9 (CLADE). - **What 3.1.9 checks.** It asks for the *estate* clade: the identity and lineage that register a repo in `gv-clade-index`. The ruled mapping spec (metadatastician/standards `1-formats/deed/mappings/clade-to-repo-deed.adoc`, owner ruling 2026-10-27) says the chora deed supersedes CLADE. Its `[clade]` table maps to the repo deed's `(clade …)` clause. - **What changes.** The detector now accepts either carrier: the legacy `descriptiles/CLADE.a2ml`, or a `(clade)` clause at the top level of the repo's `<repo>_chora.deed`. The helper is the one from #1013. The deed must parse, and a nested clause does not count. - **What doesn't count.** In-repo clade organisation means the subtrees a repo groups its own content into, for example boj-server's cartridges. It is a different use of the word and never satisfies 3.1.9. Only the root machine tree's descriptile and a top-level clause of the root deed count, and a test pins that. ## Test plan - [x] **New tests:** three cases, next to the 3.1.5–3.1.7 tests: - a top-level `(clade)` passes with no `.a2ml`; - the legacy `.a2ml` still passes; - a nested `(clade)` plus a `CLADE.a2ml` inside a content subtree fails. 3.1.9 is gated on `governance-tier`, so each case declares that capability. The first commit forgot this, which left all three cases at `:na`. The second commit fixes it. - [x] **Suite run:** I compiled the scorer with its own module graph, stubbing `Hypatia.CLI` because hex.pm is blocked here. The three cases pass. - **Mutant check:** with 3.1.9 reverted to the `.a2ml`-only detector, the top-level-clause case fails, so the tests can catch a regression. - **Known failures:** two scanner-delegation tests and the 3.2.1 markup-manifest test also fail on `main` under the same stub. They are artefacts of the harness, not of this change. - [x] `mix format --check-formatted` passes. - [ ] Full `mix test` in CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E294yTkKk127qgKEXFFDBE



Summary
A2ML is retired (metadatastician/standards D99, D312, D313). The AGENTIC, NEUROSYM and PLAYBOOK descriptile families have a ruled mapping spec into the repo deed (standards
1-formats/deed/mappings/, ruled 2026-10-27).standards_chora.deedcarries all three clauses.RsrConformance's built-in detector for 3.1.5–3.1.7 still looked only fordescriptiles/<NAME>.a2ml. A repository that retires those files would therefore lose Gold for carrying the successor form. This blocks standards from archiving its three translated files. The owner chose to fix it here, at the scorer, on 2026-11-04..a2mlor that clause at the top level of the repo's one<repo>_chora.deed. 2.3.1 already accepts its two carriers the same way.Hypatia.Deed. That reader agrees with the standards gate. A deed that does not parse declares nothing, and a clause nested inside another clause is not the descriptile.Note: the SSOT's
detectstrings for these rows namestructural_drift/SD007–SD009, which check unrelated things (manifest stale refs, unsound proofs, SPDX). The built-in table is what scores them. That mismatch is in the standards criteria file, a legacy A2ML record, and is left for its own change.Test plan
mix format --check-formattedon both files.hex.pmis unreachable from this environment, so the full suite could not run. The new clause check was run againstHypatia.Deedcompiled alone, on the same four fixtures. Results: top-level gives pass, nested gives fail, broken gives fail, and no deed gives fail. It was also run on the realstandards_chora.deed, where all three pass.deed_lint.jsagrees on which fixtures parse.mix testGenerated by Claude Code