Repository navigation
docs(arrival-pack): add doctrine 16, cheap models for upkeep - #11
Conversation
Take line 16 from rsr-template-repo (#324), then regenerate CLAUDE.md with just claude-md. just validate-claude-md passes. Co-Authored-By: Claude <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
CI note: the failing checks on this PR (RSR oracle, dogfood this repo) also fail on the base branch at its current head. This PR only changes 🤖 Generated with Claude Code Generated by Claude Code |
…ssue (#14) ## Summary This PR makes four corrections. 1. **The identity comment was out of date.** - It still described a uuid5 derivation that anyone can recompute and that changes if the repo moves. - Since #13, the header `:repo-uuid` is the ADR-008 profile C UUIDv8 of the birth path, in the `gv-clade-index` domain. It is written as a `#u8` literal until the registry lists the repo, and it is never re-derived. - The comment now says this, using the template's own wording (`build/templates/identity.deed.in`). 2. **The drift gate failed on main.** - #11 and #12 changed `.machine_readable/arrival-pack/arrival-pack.ncl` without declaring it, so `check-variant-drift.sh` has failed on main since then. - This PR declares the file. 3. **The arrival pack published a uuid5 as the repo's identity** (CodeRabbit finding). - `extract.sh` called `deed-field.sh --uuid`, which hashed the `#u8` literal's text as a uuid5. That put `f7d5bf31-…-5c6f-…` in CLAUDE.md. - The template already fixed this upstream (rsr-template-repo main 0044ad9), and this PR ports that fix: - `deed-field.sh` gains `--typed`. - `#uuid` literals are read as written, `#u8` through `uuid-v8.sh` and legacy `#u5` through `uuid5-url.sh`. Both scripts are new. - `extract.sh` prints the typed literal as written. - CLAUDE.md, regenerated with `just claude-md`, now shows `#u8"gv-clade-index:github.com/hyperpolymath/zig-dnssec"`. 4. **The Zig proxy defect is already tracked upstream.** - The docs said it "should be reported upstream". They now cite [ziglang/zig#35294](https://codeberg.org/ziglang/zig/issues/35294) and the fix PR [ziglang/zig#36484](https://codeberg.org/ziglang/zig/pulls/36484), and say the defect is unchanged in 0.17.1 and on master `47ff97b`. - The `doh.zig` header pointed at SECURITY.md, which never described the defect; it now points at the threat model. ## Changes - `zig-dnssec_chora.deed`: - Identity comment rewritten. - `:added` gains `scripts/uuid-v8.sh` and `scripts/uuid5-url.sh`. - `:diverged` gains `arrival-pack.ncl`, `arrival-pack/extract.sh` and `scripts/deed-field.sh`. - Identity tooling, ported from the template: - `scripts/deed-field.sh`. - `scripts/uuid-v8.sh` and `scripts/uuid5-url.sh` (new). - The uuid block in `.machine_readable/arrival-pack/extract.sh`. - The identity line in `arrival-pack.ncl` is relabelled "chora id". - `CLAUDE.md`: generated region regenerated (identity line only). - Docs: - `docs/architecture/THREAT-MODEL.adoc` - `docs/developer/ZIG-STD-SURVEY.adoc` - `docs/reports/VERIFICATION.adoc` - `EXPLAINME.adoc` - the `src/stub/doh.zig` header (`//!` comment lines only) ## RSR Quality Checklist ### Required - [x] Tests pass: `just validate`, `validate-claude-md`, `validate-state`, `validate-repo-map` and `validate-coapt` all pass locally. Zig is not installed in this container, so `zig build test` is left to CI. The only `.zig` change is to `//!` comment lines. - [x] Code is formatted - [x] Linter is clean - [x] No banned language patterns - [x] No `unsafe` blocks without `// SAFETY:` comments - [x] No banned functions - [x] SPDX license headers present on all new/modified source files (the two new scripts are verbatim template copies) - [x] No secrets, credentials, or `.env` files included ### As Applicable - [x] Repo deed updated (identity comment, variant paths) ## Testing - **Drift gate before the change:** `check-variant-drift.sh` against the `3100d46` pin failed on main. After the change it passes ("spine convergent … modulo declared variant paths"). - **The v8 id:** `deed-field.sh --uuid` now prints `1a1cc06c-60c5-88a5-9148-842c31c2425b`. This equals standards `scripts/uuid-v8.js c gv-clade-index github.com/hyperpolymath/zig-dnssec`. - **No field changed:** the `:repo-uuid` and `:beholding-chora` values are untouched. ## Not in this PR Standards' current `deed_lint.js` (819ef67) rejects line 229 of the deed: the `container-templates` description is 1159 octets, and the limit is 998. This failure is identical on main, and this PR does not touch that line. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01J4QvDjJMgMQkerYkRoTr2V --------- Co-authored-by: Claude <noreply@anthropic.com>



Summary
Adds doctrine line 16 ("Cheap models for upkeep") to this repo's arrival pack. The rule is PROVISIONAL in canon (metadatastician/standards#1457). It is projected before ratification, the same known tension as rule 15.
Changes
.machine_readable/arrival-pack/arrival-pack.ncl: line 16 added, copied from the merged template (docs(arrival-pack): add doctrine 16, cheap models for upkeep work rsr-template-repo#324).CLAUDE.md: regenerated. The generated region was not hand-edited.RSR Quality Checklist
Required
unsafeblocks, banned functions or secrets addedAs Applicable
Testing
Commands run:
just claude-mdjust validate-claude-md(passes)Part of the estate rollout of doctrine line 16. The owner merges. It was not merged by the bot.
Screenshots
Not applicable. The change is a one-line text addition.
Generated by Claude Code
Summary by CodeRabbit