Skip to content

Change packet: add-per-seat-register-entries (Status: draft — held for Brett) - #4

Merged
brettheap merged 3 commits into
mainfrom
change/add-per-seat-register-entries
Aug 28, 2026
Merged

brettheap merged 3 commits into
mainfrom
change/add-per-seat-register-entries

Conversation

@brettheap

@brettheap brettheap commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

HELD FOR BRETT. Do not merge on my say — this packet is Status: draft and ratification is the operator's act.

What this is

The named successor from codexFactory's merged mint record hermes/domain/review-councils/records/2026-08-28-seat-signing-keys-minted.md (78b8fa2), item 2 of its numbered list: the register successor. Four Ed25519 seat keys were minted 2026-08-28 and openxFactory's review-authority register has nowhere to put their public halves, so the deliberation lane SIGNS but the runtime refuses what it signs with — review_authority.root_key_mismatch.

One ADDED capability, review-authority-register-reader, three requirements. No contract byte, no register schema, no version allocated.

  • The register's whole top level is read. The key set becomes closed; revocation_staleness_bound enters the enforced read set. That field has sat in the live register unadjudicated inside a REQUIRED check since openxFactory task 7.3 landed — carried today as add-composition-drift-cascade task 3.4, a successor no delta obliged. This packet obliges it.
  • Per-seat signing keys are recorded and ENFORCED. Seven fields, exact set equality; the fingerprint recomputed from the public key; duplicates, dead rows and uncommissioned bodies refused. An entry the reader merely parses does not exist.
  • The cap is re-grounded, not raised. REGISTER_MVP_SINGLE_ROW stays at 1 over AUTHORITY rows. Four keys under one row add no holder, no target and no act, so the ratified first shape is completed rather than exceeded — the second of the two exits the mint record named.

Why a new capability and not a MODIFIED delta

review-authority-intake is openxFactory's and is not promoted anywhere yet (its parent change is unarchived). A MODIFIED delta here would archive into a spec file that does not exist. The reader is openXwallet code running inside every consumer's required check, so the obligations live where the code lives — the precedent is that change's ## Addendum — split-openxwallet-repo P3, which moved the wallet deltas' home here. Nothing in this packet re-opens an intake requirement.

Council or not

No convening sought, and it is a call, not an omission — stated in the proposal with three reasons: openXwallet hosts no council machinery; the body whose keys are being recorded cannot clear a candidate that records them (the ratified intake requirement is explicit); and the lane the keys unblock cannot yet authorize a seat, which is the circularity being broken. A compact alignment pass replaces it.

The alignment pass earned its place

Two MISALIGNED verdicts and two vacuous passes, all fixed before this PR opened. The load-bearing one: the draft claimed an underscore is illegal in openxwallet's identifier grammar and derived the runtime's council_id by stripping agent: from the register's holder reference. The character class contains _ — hermes-install's projection spells the council merge_readiness_council beside a holder_ref spelled agent:merge-readiness-council, in its committed example and all eight negative fixtures. The derivation would have produced the wrong key for a lookup that matches (council_id, seat_id) exactly, and the operator would have met review_authority.seat_unregistered: this arc's refusal renamed, not cleared. The entry now carries both spellings and the reader checks they denote one body. Full verdict table in proposal.md.

Gates

OPENSPEC_TELEMETRY=0 openspec validate --all --strict → 4 passed.

What is gated on ratifying this

🤖 Generated with Claude Code

The mint record of 2026-08-28 named this successor rather than working around
it: four Ed25519 seat keys exist, their private halves are provisioned, the
chain verifies end to end off-runner — and openxFactory's register has nowhere
to put the public halves. A key field on a row fails the nine-field exact set
equality; four per-seat rows fail the single-row cap; and a new top-level block
would have passed only because the reader ignores what it does not read.

This packet takes the second exit the record named. A per-seat KEY surface,
read and enforced, with the cap RETAINED at one and re-grounded: it bounds
authority rows, and four keys under one row add no holder, no target and no act,
so the ratified first shape is completed rather than exceeded.

The same closure catches the older instance of the same defect. openxFactory's
governed `revocation_staleness_bound` has sat in that file unadjudicated inside
a REQUIRED check since task 7.3 landed, carried today as
add-composition-drift-cascade task 3.4 with no delta obliging it. The top level
becomes a closed read set, so the next declaration added there cannot pass
unread either.

Status: draft, held for Brett. The alignment pass is recorded in the proposal
and it earned its place: it caught that an underscore is legal in the identifier
grammar, so deriving the runtime's council id from the register's holder
reference would have produced the wrong lookup key and replaced
root_key_mismatch with seat_unregistered. The entry carries both spellings now.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 28, 2026 08:35

@sourcery-ai sourcery-ai 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.

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

Copilot AI 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.

Pull request overview

This PR introduces a draft OpenSpec change packet (add-per-seat-register-entries) that defines a new capability, review-authority-register-reader, documenting how openXwallet’s check_register must evolve to (1) close the review-authority register’s top-level read set, (2) enforce revocation_staleness_bound, and (3) add and enforce a per-seat seat_keys surface—without changing any contracts/ bytes or allocating a release version in this proposal.

Changes:

  • Adds a ratification-gated task plan describing the intended realization and downstream operator/factory steps.
  • Adds a new capability spec (review-authority-register-reader) with three “ADDED” requirements and scenarios.
  • Adds proposal + design documents detailing rationale, risks, and the alignment-pass corrections (notably dual council spellings and vacuous-pass closure).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
openspec/changes/add-per-seat-register-entries/tasks.md Defines the ratification gate and a detailed realization + downstream task checklist for introducing/enforcing seat_keys and revocation_staleness_bound.
openspec/changes/add-per-seat-register-entries/specs/review-authority-register-reader/spec.md Introduces the new capability and its requirements/scenarios for register top-level closure, staleness-bound enforcement, and per-seat key enforcement.
openspec/changes/add-per-seat-register-entries/proposal.md Captures the motivation, scope boundaries (no contract bytes), impact, and alignment-pass outcomes for the change packet.
openspec/changes/add-per-seat-register-entries/design.md Specifies detailed design decisions (D1–D11), including field sets, finding codes, and rationale for optional seat_keys + required staleness bound.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +25 to +28
`revocation_staleness_bound` SHALL be one of the validated keys: present, a
well-formed ISO-8601 duration of weeks, days, hours, minutes and seconds,
naming a non-zero window, and refused by its own named finding when absent,
malformed or zero.
Comment on lines +111 to +114
**Ground.** This value is projected VERBATIM into hermes-install's projection as
`projected_from.staleness_bound`, where the schema's pattern is
`^P(\d+W|(\d+D)?(T(\d+H)?(\d+M)?(\d+S)?)?)$` with `minLength: 3`, and the
runtime reader is a second gate on it. Accepting here what the runtime refuses
…oes with key_id

D9 argued register-side seat keys engage no rule-(r) ambiguity, which is true of
every corpus this validator scans today. Reading the runtime's own code closes
the loop it left open: hermes-install copies the projection's key_id VERBATIM
into the exercise record it mints, as both presenting_key_ref fields, with no
resolution against a wallet record. So the estate will hold exercise records
whose presenting key no wallet declares — and rule (r) refuses exactly that
shape for any such record inside a scanned tree.

The successor therefore has a trigger and not just a place in a list: whether a
wallet may declare several keys must be answered before an exercise record
carrying a per-seat key is committed to a governed tree.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 28, 2026 08:40

Copilot AI 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.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

Suppressed comments (3)

Previously missed (1) — in code that hasn't changed since the last review.

openspec/changes/add-per-seat-register-entries/specs/review-authority-register-reader/spec.md:33

  • Scenario bullets in other OpenSpec delta specs in this repo use plain - WHEN / - THEN / - AND (e.g. openspec/changes/add-composition-drift-cascade/specs/openxwallet/spec.md). Using bold **WHEN** etc. here introduces an avoidable format inconsistency; consider matching the established style (and applying it consistently throughout this file).
#### Scenario: An unread top-level declaration is added
- **WHEN** a register carries a top-level key the reader does not enumerate
- **THEN** the reader refuses the register with a finding naming the unknown key
- **AND** the refusal MUST NOT be softened to a warning or a note, because a declaration nothing enforces is the defect being closed

openspec/changes/add-per-seat-register-entries/design.md:114

  • The regex quoted for hermes-install’s staleness-bound schema (^P(\d+W|(\d+D)?(T(\d+H)?(\d+M)?(\d+S)?)?)$) appears to allow a bare T with no components (e.g., P1DT), but this section’s Decision says a T with no components is refused. This makes the evidence/example internally inconsistent and could mislead implementers about the intended validation.
**Ground.** This value is projected VERBATIM into hermes-install's projection as
`projected_from.staleness_bound`, where the schema's pattern is
`^P(\d+W|(\d+D)?(T(\d+H)?(\d+M)?(\d+S)?)?)$` with `minLength: 3`, and the
runtime reader is a second gate on it. Accepting here what the runtime refuses

openspec/changes/add-per-seat-register-entries/specs/review-authority-register-reader/spec.md:28

  • The staleness-bound description here is ambiguous about which ISO-8601 durations are allowed. Elsewhere in this change (e.g., Design D4 / tasks.md) the intent is P<n>W OR P<n>D with an optional T… part (not a mixed P1W2D style duration). Clarifying this in the spec avoids readers implementing a wider grammar than intended.
`revocation_staleness_bound` SHALL be one of the validated keys: present, a
well-formed ISO-8601 duration of weeks, days, hours, minutes and seconds,
naming a non-zero window, and refused by its own named finding when absent,
malformed or zero.

…ty, 2026-08-28)

The packet was authored Status: draft and HELD. Brett ruled in-session
"ratify #4, then merge #5, tag and complete C" (2026-08-28), which ratifies
this proposal exactly as authored and releases the gate its realization
branch sits behind.

Recorded in house form: front-matter Status: draft -> ratified with a
Ratified: line naming the authority and the ruling; the ## Status section
rewritten from "held" to ratified; a ## Ratification record, 2026-08-28
section mirroring add-composition-drift-cascade's shape.

D1 stands as proposed -- the mint record's SECOND exit (a per-seat seat_keys
entry surface) over its first (row-set semantics), with
REGISTER_MVP_SINGLE_ROW kept at 1 and RE-GROUNDED over authority rows rather
than raised. Register breadth (a second holder, a second target repository,
per-seat grants) stays a named successor, unchanged by this ratification.

tasks.md 1.1 and 1.2 ticked -- they gate on exactly this act. Nothing else
is ticked: the realization surface is authorized, not performed, here, and
the [HUMAN-ONLY] register edit, the [OPERATOR] tag, the projection
re-derivation, and the several-keys question (7.3) keep their marks.

OPENSPEC_TELEMETRY=0 openspec validate --all --strict: 4 passed, 0 failed.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 28, 2026 09:39
@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap merged commit 10cbdca into main Aug 28, 2026
4 checks passed
brettheap pushed a commit that referenced this pull request Aug 28, 2026
…fied

PR #4 merged to main at 10cbdca -- add-per-seat-register-entries now reads
Status: ratified, ratified by Brett Heap (operator authority) 2026-08-28 on
the in-session ruling "ratify #4, then merge #5, tag and complete C", with
D1 standing as proposed (the per-seat seat_keys surface; the cap re-grounded
over authority rows, not raised).

Evidence, not intention: the box is checked against the merge commit.
T023-T027 keep their [OPERATOR] / [openxFactory] marks -- the tag, the pin
and register bump, the consumer-gate positive proof, and the projection
re-derivation are not this branch's acts.

Co-Authored-By: Claude Fable 5 <[email protected]>

Copilot AI 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.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

Comment on lines +3 to +7
target_release: unallocated at proposal. The realization is expected to be an ADDITIVE MINOR (`wallet-v1.2`) whose eight contract digests are unchanged, but per AGENTS.md rule 6 the five coordinated values are allocated at realization and nothing is reserved here.
Status: ratified
Ratified: 2026-08-28 by Brett Heap (operator authority) — in-session ruling
("ratify #4, then merge #5, tag and complete C"); D1 (entry-set semantics,
cap re-grounded over authority rows) stands as proposed.
Comment on lines +5 to +11
- [x] 1.1 **RATIFICATION — Brett Heap.** DONE 2026-08-28. `proposal.md`'s
`Status:` reads `ratified`, its front-matter carries the `Ratified:` line,
and `## Ratification record, 2026-08-28` records the ruling verbatim
("ratify #4, then merge #5, tag and complete C"). §3 is authorized by that
ratification and by nothing else. The realization branch
`014-per-seat-register-entries` (PR #5) was GATED on this box and is
released by it.
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.

2 participants