Skip to content

docs(arrival-pack): add doctrine 16, cheap models for upkeep - #11

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/arrival-pack-doctrine-16
Nov 12, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
chore/arrival-pack-doctrine-16

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

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

RSR Quality Checklist

Required

  • Tests pass: not run. This is a docs and generated-file change with no code.
  • Code is formatted: not applicable, no source code changed.
  • Linter is clean: not run, no source code changed.
  • No banned language patterns
  • No unsafe blocks, banned functions or secrets added
  • SPDX headers: not applicable, no new source files.

As Applicable

  • Deed, roadmap, topology, changelog and dependency items: not applicable, project state and architecture did not change.

Testing

Commands run:

  • just claude-md
  • just 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

  • Documentation
    • Added guidance for selecting models for CI/CD, workflow, template-maintenance, and status-file work. Substantial effort on these tasks should prompt a discussion about lower-cost models; top-tier models are reserved for proof work and complex design. The guidance is now reflected in the project’s documentation.

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

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The arrival-pack doctrine and CLAUDE.md add rule 16. It restricts top-tier model use for CI/CD, workflow, template-drift, and status-file work, and directs agents to discuss cheaper models when such work requires substantial effort.

Changes: Model-use doctrine

Layer / File(s) Summary
Add rule 16
.machine_readable/arrival-pack/arrival-pack.ncl, CLAUDE.md
Both documents add a rule that reserves top-tier models for proof work and hard design. For substantial upkeep work, the rule directs agents to stop and open a thread about using cheaper models.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to 923e4

This adds a documentation-only doctrine rule about model use for upkeep work. It changes no runtime behavior and poses no merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: it adds doctrine 16 about using cheap models for upkeep. The raw summary confirms the doctrine rule in arrival-pack.ncl and CLAUDE.md. The 'docs(arrival-pack):' prefix is a…
Description check Passed The description covers the summary, the changed files, and the checklist. It explains that the rule is provisional and links the source PRs. Its testing section lists the commands run. The required ch…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: it adds doctrine 16 about using cheap models for upkeep. The raw summary confirms the doctrine rule in arrival-pack.ncl and CLAUDE.md. The 'docs(arrival-pack):' prefix is a conventional-commit style scope and does not affect the assessment.

Full details: Description check

Explanation

The description covers the summary, the changed files, and the checklist. It explains that the rule is provisional and links the source PRs. Its testing section lists the commands run. The required checklist items for tests and linting are unchecked, but the author explains why they were not run, since the change is documentation and generated text only. Most required content is present, so the description is mostly complete. The 'Changes' section, the 'Testing' section and the checklist all follow the template.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b4d7c25 and 923e4d0.

Files selected for processing: 2

  • .machine_readable/arrival-pack/arrival-pack.ncl
  • CLAUDE.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 12, 2026 01:27
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-12T01:27:54.233083Z
We couldn’t complete this review. Comment @codex review to try again.
923e4d0 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 enabled auto-merge (squash) November 12, 2026 01:28
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown
Owner Author

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 arrival-pack.ncl and the generated CLAUDE.md, so these failures are not from this change. No fix is ported here: they are separate repo upkeep. The owner decides whether to merge with them red.

🤖 Generated with Claude Code


Generated by Claude Code

@hyperpolymath
hyperpolymath merged commit b9ed6bf into main Nov 12, 2026
36 of 37 checks passed
@hyperpolymath
hyperpolymath deleted the chore/arrival-pack-doctrine-16 branch November 12, 2026 02:03
hyperpolymath added a commit that referenced this pull request Nov 20, 2026
…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>
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