Skip to content

Deed/anchor authority - #1135

Merged
hyperpolymath merged 10 commits into
mainfrom
deed/anchor-authority
Nov 14, 2026
Merged

hyperpolymath merged 10 commits into
mainfrom
deed/anchor-authority

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Closes #

Type of change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (would change existing behaviour)
  • 🕳️ Soundness fix (fixes a checker/proof false-negative)
  • 📖 Documentation
  • 🧹 Refactor / tech debt (behaviour-preserving)
  • ⚡ Performance
  • 🔧 Build / CI / tooling

How has this been verified?

Checklist

  • My commits are signed (git commit -S).
  • I ran the project's own checks/tests locally and they pass.
  • New files carry the correct SPDX-License-Identifier (code/config MPL-2.0,
    prose CC-BY-SA-4.0); I did not relicense existing files.
  • Docs are updated, and no public claim now overstates what the code does.
  • I have not introduced a soundness hole (or I have flagged where I might have).

Notes for reviewers

Owner ruling 2026-11-14, "Full migration now". Each retired descriptile
is translated under the mapping spec for its family, then deleted:

- META.a2ml -> (meta): last-updated, scoping-first and the five ADRs
  (id, title, status, date), per meta-ecosystem-to-repo-deed.adoc.
- ECOSYSTEM.a2ml -> (ecosystem): project, ecosystem, position-type,
  purpose. The seven related-projects entries are not translated: their
  relationships are outside the closed set the (related) row allows.
- AGENTIC.a2ml -> (agentic): version, last-updated, permissions and the
  five integrity axioms (allow-silent-skip stays #f).
- NEUROSYM.a2ml -> (neurosym): version, last-updated and the hypatia
  scan config (scan-depth deep).
- PLAYBOOK.a2ml -> (playbook): version, last-updated and the five
  operational positions.
- STATE.a2ml -> (maturity :level alpha), state-v1-decision option B;
  the lifecycle claim is the existing (status) clause and the journal is
  archived by reference, not translated.
- CLADE.a2ml was already translated (identity, clade, forges, lineage,
  status); the legacy file is deleted.

Fields no table lists are dropped, not re-homed; the deed comments name
each one. The deed lints clean (deed_lint.js, plain and --egress).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
…FEST.deed

The machine front door is now 0-AI-MANIFEST.deed, pointer-only (A7 ruling
Q15): it names hypatia_chora.deed and README.adoc and carries no facts.
The A2ML manifest's sections (identity, context tiers, canonical
locations, architecture, invariants, lifecycle) do not match the field
table of ai-manifest-decision.adoc, so nothing was translated from it;
its architecture summary duplicated .claude/CLAUDE.md.

Readers moved with it:
- MUST.contractile: the structure invariant now preserves the .deed.
- www/.well-known/ai.txt and .github/CONTRIBUTING.md point agents at the
  deed front door and the chora deed.
- hypatia-cli-bash.sh and poc-scanner.sh accept 0-AI-MANIFEST.deed first
  (the legacy names still count for unmigrated repos) and recommend the
  deed, not an .a2ml file.

The deed lints clean (deed_lint.js).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
Owner ruling 2026-11-14, "Full migration now"; A7 section 11, ruling Q7:
a file is translated where a mapping spec exists and deleted where none
does. None of these has a spec in standards 1-formats/deed/mappings/:

- .machine_readable/anchors/ANCHOR.a2ml (it also has no `authority`, which
  the (anchor) clause requires and a translator never invents)
- .machine_readable/bot_directives/{coverage,debt,methodology}.a2ml and
  their README (template methodology boilerplate, not per-bot directives)
- .machine_readable/contractiles/{bust,dust,intend,must,trust}/*file.a2ml
- .machine_readable/integrations/*.a2ml (four integration notes)
- .machine_readable/dogfooding.a2ml, testing/blitz.a2ml,
  merge-orchestration/LEDGER.a2ml (a journal; archived by reference)
- rules.a2ml

docs/history/A2ML-REMOVED.adoc records every removed file with its size,
sha256 and git blob id, what it held and where its content went, plus the
two .a2ml files that stay and why.

References moved with the files: bust.ncl names Bustfile.deed (A7 8.1);
contractile.just says its sources are retired and must not be regenerated
from; GOVERNANCE.adoc points bot configuration at the (bot-directives)
clause; comments in verdict.ex, findings.ncl, schema/README.adoc,
Verdict.idr and ObservedIsNotSound.idr state the rule-lifecycle threshold
without citing the deleted file; design and audit docs point at the ledger;
docs/integration/a2ml.adoc is marked historical.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
…a2ml

RuleLoader is a shared reader of standards' hypatia-rules/*.a2ml, which is
still the only form those definitions take (A7 section 10 moves them to A5
rule registry entries in both repositories together), so its .a2ml reading
stays. Its fixtures need not be checked-in .a2ml files: the three
definitions are now ~S heredocs in the test, written to a temporary
directory in setup_all. They are byte-identical to the deleted fixtures
(verified by diff), and the ten tests pass unchanged.

docs/history/A2ML-REMOVED.adoc gains the three removed fixtures.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
… ANCHOR

A7 M5: shared readers read the new input first and keep the A2ML only as
a fallback. Hypatia's own descriptiles now live in hypatia_chora.deed, and
the oracle scored them as missing.

RsrConformance (the RSR oracle):
- 3.1.2 STATE accepts a top-level (status) clause (state-v1-decision,
  option B: the one lifecycle claim is that clause);
- 3.1.3 META and 3.1.4 ECOSYSTEM accept (meta) and (ecosystem)
  (meta-ecosystem-to-repo-deed), as 3.1.5-3.1.7 and 3.1.9 already did for
  their clauses;
- 3.1.8 accepts the (anchor) clause (A7 ruling S1: there is no
  ANCHOR.deed);
- 3.2.1 with no record-dialect .a2ml left passes when the repo deed
  parses, and still fails when there is neither.
The legacy .a2ml carriers still count. Nested clauses never do.

HonestCompletion: a repo has state when its chora deed carries a
top-level (status) clause or it has a STATE.deed; STATE.a2ml and
STATE.scm still count. The finding no longer tells a repo to add an
.a2ml file.

Hypatia's self-score against the bundled criteria: 3.1.2-3.1.4 and 3.2.1
pass from the deed. 3.1.1 (a descriptiles/ directory) now fails: the
criterion names the directory, and hypatia has none left.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
- .claude/CLAUDE.md: the "Machine-Readable Artefacts" section told agents
  to read six descriptiles/*.a2ml files that no longer exist. It now names
  0-AI-MANIFEST.deed, hypatia_chora.deed and its clauses, the rules praxis
  deed and the removal ledger, says A2ML must not be created, and lists
  the two .a2ml files that remain and why.
- README.adoc "Project status" points at hypatia_chora.deed instead of
  STATE.a2ml and PLAYBOOK.a2ml.
- docs/quickstart/llm-warmup-dev.adoc no longer lists .machine_readable/6a2/
  *.a2ml as the metadata home.

scripts/check-readme-claims.sh and tests/readme-claims-test.sh pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
The script converted STATE/META/ECOSYSTEM .scm checkpoints into new .a2ml
files. A2ML is retired and nothing may create one (standards rulings D99,
D269c, D312, D313; A7 Part 1 stops the producers). Nothing in the tree
called it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
ANCHOR.a2ml was deleted without translation because the (anchor) clause
requires :authority and the legacy file had none (A7 6.4: a translator
never invents one). The owner supplied it on 2026-11-14: boj-server.

- hypatia_chora.deed: (anchor :schema "hyperpolymath.anchor/2"
  :authority "6c7f9305-2a47-8f96-a1ed-bd0940e4d4e6"
  (metadata :version "1.0.0")). The authority is boj-server's chora id:
  boj-server_chora.deed's :repo-uuid #u8"gv-clade-index:github.com/
  hyperpolymath/boj-server" names it, and the registry (gv-clade-index,
  worker/data/repos.json) records the same uuid_v8. The id is pre-V9, so
  its gv-clade-index domain is kept; nothing is minted.
- The SSG config (META.deed, J29) and the parent (ECOSYSTEM.deed related,
  J26) stay untranslated: neither module is adopted here yet.
- docs/history/A2ML-REMOVED.adoc: the ANCHOR row says where it went.
- .claude/CLAUDE.md: lists the (anchor) clause.

Checked with standards origin/main 490b952 deed_lint.js: plain, --anchor
and --egress all OK.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
…osystem parent

Owner ruling 2026-11-14. In anchor.abnf v2.0.0 :authority is a vocabulary term
(J7), not an id, so it takes the template's "upstream-canonical". The parent the
source named, boj-server, becomes (related :relationship parent) in the
(ecosystem) clause (J26), carrying boj-server's existing chora id
6c7f9305-2a47-8f96-a1ed-bd0940e4d4e6 (pre-V9, gv-clade-index domain; nothing
minted). The ledger row says the same.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
@coderabbitai

coderabbitai Bot commented Nov 14, 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 45 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: ef3cf679-a609-4ff4-8816-e07c9fb8c07c
Commits

Reviewing files that changed from the base of the PR and between 681b011 and 88bf728.

Files selected for processing: 1

  • docs/history/A2ML-REMOVED.adoc
  • 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

@hyperpolymath
hyperpolymath enabled auto-merge (squash) November 14, 2026 20:33
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T20:39:32.364216Z f9054eb PR opened
🔒 Security Review ✅ Completed 2026-11-14T20:36:21.135819Z f9054eb PR opened
ℹ️ 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 85cc775 into main Nov 14, 2026
73 of 76 checks passed
@hyperpolymath
hyperpolymath deleted the deed/anchor-authority branch November 14, 2026 20:34
@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

paired_xfile = "Bustfile.deed",

P2 Badge Keep the Bust declaration until its deed exists

When anyone invokes the documented contractile bust check or contractile bust drill, this runner now points to Bustfile.deed, but a repo-wide search finds no such file and this commit deletes the only existing declaration, Bustfile.a2ml. Consequently the runner cannot load any failure modes or recovery probes, so the advertised hard gate is unavailable; retain the legacy declaration until the deed exists, add the deed in this change, or disable the runner rather than referencing a missing input.


if [[ ! -f "$dir/0-AI-MANIFEST.deed" && ! -f "$dir/0-AI-MANIFEST.a2ml" && ! -f "$dir/AI.a2ml" ]]; then

P2 Badge Accept the canonical repo deed in manifest scans

When scanning a migrated repository that follows D312 and has only its canonical <repo>_chora.deed, this condition emits a high-severity missing_ai_manifest finding even though the in-repo RootHygiene implementation explicitly treats any *_chora.deed as satisfying the manifest requirement because the estate template ships no 0-AI-MANIFEST. The analogous condition in poc-scanner.sh also increments its issue count and exits nonzero, so both shell scanners need to recognize the canonical repo-deed filename rather than requiring this optional pointer file.


Repository facts (state, meta, ecosystem, agentic, neurosym, playbook) are
clauses of `+hypatia_chora.deed+` at the root; `+0-AI-MANIFEST.deed+` is the
pointer-only front door. A2ML is retired: *NEVER* create a `+.a2ml+` file.

P2 Badge Stop recommending retired A2ML outputs

When Hypatia scans a legacy repository containing STATE.scm, Trustfile.hs, or AI.djot, the live StructuralDrift rules still return :convert_and_move/:merge_and_delete actions whose destinations are new .a2ml files (and SD004 still targets .machine_readable/descriptiles/*.a2ml). That directly conflicts with this newly unconditional instruction that A2ML is retired and must never be created, so users and remediation consumers are directed to generate files the migration forbids; update those rule actions and messages to target the appropriate deed carriers as part of this migration.


* Configure bots in the `(bot-directives …)` clause of `hypatia_chora.deed`.

P1 Badge Make the bot-directives clause enforceable before documenting it

When a maintainer follows this instruction to restrict a bot in hypatia_chora.deed, the restriction is silently ignored: Kin.Gate.check_bot_directives/2 only reads three JSON paths (.bot_directives/<bot>.json, .machine_readable/bot_directives.json, and .bot_directives/default.json), and defaults to allowing every bot when none exists. There is also no (bot-directives …) clause in the committed deed, so either add deed-clause parsing to the enforcement path or continue directing maintainers to a format that the gate actually consumes.


https://github.com/hyperpolymath/hypatia/blob/f9054eb551d46849de68ce29b57b437837770a1c/rules.a2ml#L1
P2 Badge Update the integration guide before deleting rules.a2ml

Deleting this file leaves docs/integration/a2ml-k9.adoc describing it as a live configuration-layer component, listing it in the repository tree, instructing assistants to read it, and providing a validation procedure for it (lines 25, 53, 152, and 426). Anyone following that integration guide now reaches a nonexistent source of workflow instructions, so migrate those references to the deed-era rule registry or explicitly mark the entire guide historical before removing the file.

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

hyperpolymath pushed a commit that referenced this pull request Nov 14, 2026
Governance's "Validate Hypatia Baseline" step is red on main since #1135
(85cc775), and on #1136:

  unfiltered medium finding structural_drift/SD022 in
  docs/history/A2ML-REMOVED.adoc -- doc references `src/assail/` but no
  such directory exists in the tree

#1135 re-added the literal `src/assail/mod.rs` path in the
assail-classifications row. That path is in panic-attack, not here, and
#1113 had reworded it for the same reason. This rewords it again ("its
assail module"). The row's meaning is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZoBy5xGnGDLk7wQ8jC
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.

3 participants