Repository navigation
Conversation
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. |
…nce client's columns. csd/CSD.md is the CIRIS Specification Document: the contract with the person served, the card format, the laws and the checks. The registry loses status, kotlin, legacy_prefixes, basis, ships and _meta.reference_client_columns; a client keeps those in its own file, keyed by primitive id. L6 gains the steward's ruled sentence on the one confirmed write that signs no row, with the break rowless_confirm_unruled planted in formal/screen and the allowance named in rowless_confirm_allowed. tools/check_csd_cards.py holds every card under csd/cards/ to the model and is wired into the gate. csd/cards/ is empty until the cards land. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6v8R7bGvdXJkqmQ5eutrR
…registry is draft 5. L6's tail is the two-sided rule, with rowless_irreversible_unconfirmed planted beside rowless_confirm_unruled. A card marks such a write way_back: none. The card's key for its source files is source:, the standard names no implementation, and requirement words are in capitals. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6v8R7bGvdXJkqmQ5eutrR
emooreatx
force-pushed
the
csd/standard-and-registry
branch
from
December 6, 2026 17:03
064408d to
909b263
Compare
…e words of CSD 7.1. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6v8R7bGvdXJkqmQ5eutrR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CSD: the CIRIS Specification Document, and the registry without a client's columns
The CSD is CIRIS's contract with the person it serves. A card states that contract for one screen: what the screen tells
the person and on what backing, what it asks before it acts for them (L6), and that it sends only what it showed (L7,
L12). This PR moves the standard's text into this repository and makes the registry the standard's alone.
What it carries
csd/CSD.md, the merged standard, in the Parts' register (BCP 14, sentences of at most 40 words). It states everymember a conforming checker reads, and says "not checked" where a rule is held by a separate check or by none:
stepand byheld, withconfirmed_at;hands_off,takesandcited_by, for a completion that several cards share;answerson a write, the kinds of a 2xx;via: nonewith agap,facetandabsent_route,keyed_onandserved_by;terminalandterminal_why;csd:parts,day_one, and cases with theircsd-case:markers;way_back: noneon a write that signs no row (below).The key of
csd:viewthat names the code that draws a card issource:. There is no alias. The one implementationis named once: "One implementation exists. It is not the reference."
L6 ends with: "A write that signs no row is confirmed when it cannot be undone, as an erasure of the person's own data
cannot. One write that signs no row and can be undone is confirmed by the steward's ruling: the shutdown of the
assistant on this device, which a restart undoes. No other write without a row is confirmed."
manifests/ui_primitives.json, from this repository's file at0dbe7ae8, at draft 5 (_meta.bump_rule: L6'smeaning changed and there is a new member).
status,kotlin,legacy_prefixesandbasison each primitive,shipson each state, and_meta.reference_client_columns. The registry says nothing about any client. A clientkeeps its own file, keyed by primitive id and pinned to this file's sha256.
model.breaksgains two entries.rowless_confirm_unruledis "put a ConfirmSheet in front of a write that signs norow and can be undone, other than the ruled one".
rowless_irreversible_unconfirmedis "take a write that signs norow and cannot be undone in one step".
rowless_confirm_allowed, names the one ruled write that can be undone as a{card, write}pair.row: nulldeclaresway_back: nonewhenit cannot be undone.
row: nullwithway_back: nonerequiresconfirm: true.row: nullwithout it, and with anyconfirm, fails unless it is the ruled write. A
way_backon a write that signs a row is refused, because the celldecides there.
formal/screengets property 8, a write that signs no row. It draws a ConfirmSheet when the write cannot be undoneor is the ruled one, and one step otherwise. Each break has its own arm, and
screen_expected.tsvis regenerated bycheck_screen.py --write.tools/check_ui_primitives.pydrops the loop overlegacy_prefixes, holds the shape ofrowless_confirm_allowed,requires both rowless breaks to be listed, and requires every break of properties 7 and 8 to be listed.
tools/ui_closure.pyno longer prints the two columns.tools/check_csd_cards.py, wired intotools/gates.sh, the consistency workflow andrecut_sections.py. It failswhen a card under
csd/cards/cites a state, a signer, a policy or a confirm that the model does not have. It passeswith no card present, and
--self-testshows it red on ten planted breaks.csd/cards/is empty.What it does not carry
transitions.jsonor toSTATE_TABLE.tsv.formal/csd/. The standard still proposes it.reference_client.json, the join in its checker,way_back, thesource:rename) lands in thatrepository. The proposed L6 tail goes to Eric with the merge.
Checks, as run
On the rebased head (base rc23
33c3c230), as run:The full
bash tools/gates.shtakes about an hour and is running on this head; its result follows in a comment. The output further down was taken before the rebase and is kept for the red-then-green record.Re-run on the rebased head. The output below was taken on
0dbe7ae8plus this branch, before the rebase. The block isto be replaced with the output of these commands, in this order, from the repository root:
If
check_screen.pysays the verdicts differ fromscreen_expected.tsvafter the rebase, run it once with--write, readthe diff, and run it again.
gates.shtakes about an hour, becausebuild_cc_signed_object_v2.pyrunscddlmany times.On
0dbe7ae8two steps fail with or without this branch:tools/check_claims.py(a ticket the evidence register stages onis closed) and
tools/lean_statement_hash.py(FamilyModel.lean#registry_fits). The gate also rewritesmanifests/csd4_chain.jsonthere, because its claims count lags the register. This PR leaves that file as committed.Before the rebase:
The second new break, red and then green. First the registry lists it before
formal/screenrecords it:Then its probes are left unchecked, so the break is not caught:
Then
python3 -I formal/screen/check_screen.py --write, and the run above is green.Answers recorded
exception is needed. The node-standing card's
actdrops its confirm, as a recorded gap until the code follows.its two declared gaps,
seat-removedandseat-resigned.heldwill name where the answer is held, a Choice or aninstall, in a later PR. Until then
stepwith its cost line stands on the setup-completion card, recorded as debt thatnames this reading.
be undone. The four writes on the data card (
delete,reset,wipe,erase) keep their confirms, and each declaresway_back: nonein the client's change. The proposed L6 tail goes to Eric with the merge.🤖 Generated with Claude Code
https://claude.ai/code/session_01A6v8R7bGvdXJkqmQ5eutrR