Skip to content

fix(deed): carry the registry's v8 id in identity fields (ruling g) - #1095

Merged
hyperpolymath merged 5 commits into
mainfrom
fix/deed-v8-identity-ids
Nov 14, 2026
Merged

hyperpolymath merged 5 commits into
mainfrom
fix/deed-v8-identity-ids

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

Owner ruling (g), 2026-11-13, extended 2026-11-14: an identity field carries only a v8 id (standards#1553).

  1. hypatia_chora.deed, identity value only, as the opaque #uuid form (A7 decision 2026-11-14: #u8 is transitional, and this repo's deed lint already reads #uuid): :beholding-chora #uuid"0889b37b-defb-831f-973c-e119500db00e", the hyperpolymath estate id, recomputed from chora:estate/github.com/hyperpolymath. :repo-uuid was not a #u5 value and is unchanged.
  2. Hypatia.Deed (lib/hypatia/deed.ex) now also reads the opaque #uuid"…" literal (lowercase 8-4-4-4-12 hex body, returned as {:uuid, s}), with a parse test. Codex P1: the reader knew only #u5 and #u8, so a #uuid deed parsed as invalid and RE001 saw an empty declaration map. I could not compile Elixir locally; CI is its first run.

Not in this PR

The uuid gate still reports hypatia_rules_praxis.deed and scripts/gen-rules-praxis.sh (generated deed and its generator), plus test/fixtures/deed_egress/** and the ExUnit tests that build deeds with #u5 on purpose. Routed to Extended Hypatia.

No licence or SPDX edits.

🤖 Generated with Claude Code

https://claude.ai/code/session_0136P7ZmZjDyQn9ggDLC2sRS

Replace the #u5 values of identity fields in the deed(s) with the
registry's uuid_v8 for this repo's birth path and the hyperpolymath
estate v8 id. No other change.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZmZjDyQn9ggDLC2sRS
@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 13 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: 5217c907-7bce-4b4f-8b20-62e07b7285e9
Commits

Reviewing files that changed from the base of the PR and between 610389b and 9d60b48.

Files selected for processing: 3

  • hypatia_chora.deed
  • lib/hypatia/deed.ex
  • test/deed_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

@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-14T16:17:13.497308Z 9d60b48 New commits
🔒 Security Review ✅ Completed 2026-11-14T16:18:34.161259Z 9d60b48 New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4a575d3b6

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

Comment thread hypatia_chora.deed Resolved
Hypatia.Deed.value/1 knew only #u5 and #u8, so a deed carrying the v8 id
as #uuid"…" (owner ruling g) failed to parse and egress_declarations/1
saw an invalid deed. Accept #uuid with a lowercase 8-4-4-4-12 hex body and
return {:uuid, s}; add a parse test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZmZjDyQn9ggDLC2sRS
:repo-uuid is #u8"gv-clade-index:github.com/<birth owner>/<name>" and
:beholding-chora is #u8"chora:estate/github.com/<estate owner>", both
recomputed from their preimages. Accepted by every pinned deed_lint and by
check-uuid-v8.sh (owner ruling g, A7 decision 2026-11-14).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZmZjDyQn9ggDLC2sRS
…s it

A7 decision 2026-11-14: #u8 is transitional; where the repo's own deed lint
already reads #uuid (it passed on #uuid here), carry the registry v8 id as
#uuid. Same ids, recomputed from their preimages.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0136P7ZmZjDyQn9ggDLC2sRS
@sonarqubecloud

Copy link
Copy Markdown

hyperpolymath added a commit that referenced this pull request Nov 14, 2026
…ontrols (#1098)

## Summary

Owner ruling Q2 (2026-11-14): an identity field takes a v8 id only
(`#uuid` or `#u8`). `#u5` is an error in every mode of standards
`scripts/check-uuid-v8.sh`. Routed to this thread by the `#u5` fixer,
whose hypatia#1095 changes only the hand-written `hypatia_chora.deed`.

- **Generator:** `scripts/gen-rules-praxis.sh` now writes
`:beholding-chora #uuid"0889b37b-defb-831f-973c-e119500db00e"`. This is
the same estate chora id that #1095 puts in `hypatia_chora.deed`, so
both deeds name the same chora. `hypatia_rules_praxis.deed` is
regenerated.
- **Exemptions:** a new `.uuid-v8-exempt` lists 38 files by exact path,
with reasons. All of them hold `#u5` on purpose and none is a live deed:
- the 33 deed fixtures in `test/fixtures/deed_egress/`, copied verbatim
from `metadatastician/standards` and `hyperpolymath/rsr-template-repo`,
so they stay byte-identical to their source;
- 5 tests that write small deed texts inline to test `Hypatia.Deed` and
the rules that read deeds.

**Order:** merge #1095 first. Until it merges, `hypatia_chora.deed`
still holds a `#u5`, so the v8 gate stays red on that one file. After
both merge, no tracked file outside the exempt list holds `#u5` in an
identity field.

## Test plan

- [x] `scripts/gen-rules-praxis.sh --check` passes;
`tests/rules-praxis-test.sh`: 21 passed, 0 failed. The `deed_lint.js`
step runs in CI. The pinned linter (standards `bfdb066`) accepts `#uuid`
with a version 8 id.
- [x] A scan that copies the check's `#u5` identity rule (its regex,
both folded views, `git ls-files`, the exempt list) finds only
`hypatia_chora.deed`, which #1095 fixes. Before this change it found 41
files. I did not run the standards script itself in this session.
- [x] Full Elixir suite (OTP 27.3.4.19, Elixir 1.17.3): 3151 tests, 0
failures, 246 excluded.

---
_Generated by [Claude
Code](https://claude.ai/code/session_0136P7Zo6VBPrBWYUmDJZR1H)_

Co-authored-by: Claude <[email protected]>
@hyperpolymath
hyperpolymath merged commit d42d3c9 into main Nov 14, 2026
100 checks passed
@hyperpolymath
hyperpolymath deleted the fix/deed-v8-identity-ids branch November 14, 2026 17:21
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