Skip to content

feat(rsr): accept the repo deed's (agentic) (neurosym) (playbook) clauses for 3.1.5–3.1.7 - #1013

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/gifted-thompson-vsrzhw
Nov 5, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/gifted-thompson-vsrzhw

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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.deed carries all three clauses.

RsrConformance's built-in detector for 3.1.5–3.1.7 still looked only for descriptiles/<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.

  • Two carriers pass. Each of 3.1.5–3.1.7 passes on either the legacy .a2ml or 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.
  • The deed is read with 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.
  • Scope is the three ruled families only. CLADE (3.1.9) has a ruled mapping too and could follow the same way. STATE, META, ECOSYSTEM and ANCHOR have no ruled mapping and are unchanged.

Note: the SSOT's detect strings for these rows name structural_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-formatted on both files.
  • Four new tests: deed-only, a2ml-only, nested or absent, and unparseable.
  • Locally hex.pm is unreachable from this environment, so the full suite could not run. The new clause check was run against Hypatia.Deed compiled 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 real standards_chora.deed, where all three pass. deed_lint.js agrees on which fixtures parse.
  • CI: mix test

Generated by Claude Code

…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
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 971ec98c-2e31-4425-8b86-1bbba94bffef
Commits

Reviewing files that changed from the base of the PR and between 6bd66a7 and 9b6b267.

Files selected for processing: 2

  • lib/rules/rsr_conformance.ex
  • test/rules/rsr_conformance_test.exs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@sonarqubecloud

sonarqubecloud Bot commented Nov 5, 2026

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 5, 2026 00:13
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Add Carrot credits or activate Agent usage billing to use Autofix

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T00:18:22.178651Z 9b6b267 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hyperpolymath
hyperpolymath merged commit 8e55956 into main Nov 5, 2026
92 checks passed
@hyperpolymath
hyperpolymath deleted the claude/gifted-thompson-vsrzhw branch November 5, 2026 00:23
hyperpolymath added a commit to metadatastician/standards that referenced this pull request Nov 5, 2026
…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]>
hyperpolymath added a commit that referenced this pull request Nov 5, 2026
## 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
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.

2 participants