Skip to content

Write the governed re-issuance runbook task 7.6 asks for - #527

Merged
brettheap merged 4 commits into
mainfrom
docs/governed-reissuance-runbook
Aug 31, 2026
Merged

brettheap merged 4 commits into
mainfrom
docs/governed-reissuance-runbook

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

What this is

The governed re-issuance RUNBOOK that task 7.6 of
add-wallet-carried-review-authority asks for, written against the ruled
target: R8 (the five-field re-issuance record) and R9 (a revoked
holder parks with a named refusal), rulings-2026-08-29.md.

Two files: docs/governed-reissuance-runbook.md (new) and the README.md
## Documentation entry that registers it — the repository's convention for
every docs/ runbook.

What it deliberately does NOT do

It ticks nothing. Task 7.6 stays OPEN by its own text — "neither ruling is
enforced until the change carrying R6–R12 is ratified, so this task stays
OPEN"
. Writing the runbook does not ratify R6–R12. The walk against a
deliberate composition bump is a separate, dated act and a separate PR; this
one is the standing document only. Zero checkbox changes.

Status: draft, and the header says why rather than leaving a reader to infer
it.

The three calls worth reviewing

1. The canonical composition hash does not exist yet, and the runbook refuses
to pretend it does.
R6 (the plane sits inside the digest) and R7 (JCS/RFC 8785)
are ratification targets — "none of them is implementable until the change that
carries them is authored and ratified."
So step 1 records the declaring files'
git blob shas at a named commit, labelled as the substitute it is, and
carries the digest field as PENDING R6/R7. A locally-invented digest in the
hash's place is worse than an empty field, because a later reader cannot tell
the two apart.

2. No fully-pinned-composition claim, anywhere. Two things execute inside a
seat and are declared nowhere: the runtime (a reseed invalidates soak rows
without being a composition bump — so it is recovered through §6, not through
steps 1–5) and the CLI's helper model claude-haiku-4-5-20251001, which
executed in 33 of 33 measured judgments of the 2026-08-22 corpus, is declared in
no composition file, and carries the earliest published floor in the surveyed
register (2026-10-15). Whether it becomes a seventh component or lives under
Parameters belongs to the R6–R12 change (2026-08-29 sitting §6.1 P-1). Repair
R-IV exists to stop the completeness claim, so §0.2 and the closing section
both say so in terms.

3. It does not evidence the plane, and says so twice. R5 requires the plane
to be evidenced by read-back and never inferred; that is the Operator's Packet 2
record, a different artifact and a different act. The Gate-Rules Council's own
sentence — "This Council does not evidence the plane and must not appear to" —
is carried into "Before you start" and repeated in the closing section.

Structure

Before you start → 0. Scope and trigger (the six declared components; the
two undeclared executables; the six role-holders, with REGISTER as the only
human-ratified act) → 1. superseded state → 2. the bump as ONE change →
3. R9 quoted verbatim, because paraphrase is where grandfathering gets
reinvented → 4. R8's five fields as a MINIMUM, with a per-field rule for what
may be PENDING and what may never be → 5. the register act as a pointer
only
(a permanently human-only surface, by ratified requirement, on its own
face, by name) → 6. provider-roll recovery → 7. Record the act → What this runbook deliberately does not do.

Every quotation was re-verified against the tree — including the two openXwallet
ones, read at the exact commit contracts/openxwallet-pin.yaml pins
(6b248d40, wallet-v1.3), where add-composition-drift-cascade is an
ancestor.

Gates

$ OPENSPEC_TELEMETRY=0 openspec validate add-wallet-carried-review-authority --strict
Change 'add-wallet-carried-review-authority' is valid

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 78 passed, 0 failed (78 items)

$ python3 scripts/doc-health.py --single-repo . --previous-report <pre> --new-findings-out <new>
new findings: []
pre : Findings: 4 critical, 5 error, 38 warning, 12 info. New regressions vs previous report: 0.
post: Findings: 4 critical, 5 error, 38 warning, 12 info. New regressions vs previous report: 0.
stage counts: draft 72 -> 73   (the new document is seen, and adds no finding)

Sequencing

This is PR-D1 of the ruled S5 roster lane. Tranche 1 is merged (xFactory
0679a371, codexFactory 5dc2d9f3). This lands before codexFactory's
roster flip (PR-C), because the flip is performed by walking this runbook —
task 7.6's constraint: "the runbook and that flip are one act, not two." The
walk record and the tasks.md ledger notes are PR-D2 and are not in this PR.

🤖 Generated with Claude Code

Task 7.6 wants a RUNBOOK for a provider alias roll, walked once against a
deliberate composition bump. This is the runbook half. It ticks nothing: 7.6
stays OPEN by its own text, because R8 and R9 are not enforced until the
change carrying R6-R12 is ratified, and the walk record is a separate act.

WHAT IT SAYS, and where each part comes from.

  * Scope and trigger: the SIX declared components of the merge-readiness
    holder, enumerated from codexFactory merge-readiness.yaml's
    composition_source_map, and the ratified "declared change is not a
    percentage" scenario - any single component is sufficient.

  * The two things that execute and are declared nowhere, kept visible on
    purpose: the RUNTIME (a reseed invalidates soak rows without being a
    composition bump) and the CLI's helper model claude-haiku-4-5-20251001
    (33 of 33 measured judgments, declared in no composition file, earliest
    published floor 2026-10-15). Whether the helper becomes a seventh
    component or lives under Parameters belongs to the R6-R12 change, per
    the 2026-08-29 sitting's P-1. So the runbook states, in terms, that
    completing it does NOT make a composition fully pinned - repair R-IV
    exists to stop exactly that claim.

  * Step 3 quotes R9 VERBATIM rather than paraphrasing, because paraphrase
    is where grandfathering gets reinvented.

  * Step 4 carries R8's five fields as a MINIMUM with a per-field rule for
    what may be PENDING and what may never be. The superseding grant
    reference does not exist before the register act, so it is PENDING by
    construction; the ratifying human and the superseded reference can never
    be.

  * THE CANONICAL COMPOSITION HASH DOES NOT EXIST YET and the runbook
    refuses to pretend it does. R6 and R7 are ratification targets - "none
    of them is implementable until the change that carries them is authored
    and ratified" - so step 1 records the declaring files' blob shas at a
    named commit, LABELLED as the substitute it is, and carries the digest
    field as PENDING R6/R7. A locally-invented digest in the hash's place is
    worse than an empty field, because a later reader cannot tell them
    apart.

  * Step 5 is a POINTER, not an act. register.yaml is a permanently
    human-only surface by ratified requirement, on its own face, by name.

  * Step 6 is provider-roll recovery: the lifecycle watch with a NAMED HUMAN
    OWNER per pinned identifier, carrying the sitting's own sentence -
    "nothing in the estate reads a retirement date, so every one of these is
    today a promise rather than a control" - because a watch table that
    reads as a control is worse than no table; the reseed ordering; and the
    re-commission budget (12 per rolling 24h, enforced at commission), since
    a roll's refusal storm can park a surface for reasons unrelated to the
    roll.

WHAT IT DOES NOT DO, stated in the document: it performs no register act, it
does not evidence the provider plane (R5 and the Operator's Packet 2 record;
"This Council does not evidence the plane and must not appear to"), it
defines no canonical hash, it enforces nothing, and it claims no fully
pinned composition.

Status: draft, deliberately - task 7.6's own text is the reason, and the
header says so rather than leaving a reader to infer it.

Gates: openspec validate add-wallet-carried-review-authority --strict and
--all --strict both pass (78 passed, 0 failed); doc-health single-repo
reports ZERO new findings against the pre-branch baseline, identical counts
(4 critical, 5 error, 38 warning, 12 info), with the new document visible in
the stage counts (draft 72 -> 73).

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 31, 2026 03:41
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@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

Adds a new operator runbook documenting the governed “re-issuance” procedure (provider alias roll or composition bump) aligned to the R8/R9 targets in openspec/changes/add-wallet-carried-review-authority/rulings-2026-08-29.md, and registers it in the repository’s README documentation index.

Changes:

  • Add docs/governed-reissuance-runbook.md describing the governed re-issuance flow, scope/roles, and recordkeeping expectations.
  • Register the new runbook in README.md under the core domain-neutral documentation list with a descriptive blurb.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Adds a documentation index entry pointing to the new governed re-issuance runbook.
docs/governed-reissuance-runbook.md Introduces the governed re-issuance operator runbook (draft) aligned to R8/R9 and task 7.6 context.
Suppressed comments (1)

docs/governed-reissuance-runbook.md:116

  • codexfactory-routine-code-clearance.yaml is referenced without a repository qualifier, but it doesn’t exist in this repository. To avoid implying it’s a local path, call out that it’s a codexFactory artifact (or provide a resolvable link/path).
* **The runtime.** The composition enumerates six components and the runtime is
  not one of them, although the soak's own semantics treat a runtime change as
  invalidating (`codexfactory-routine-code-clearance.yaml`, `soak_gate`'s
  preamble: *"a mid-soak runtime reseed or image change invalidates the rows
  taken before it"*). A reseed is therefore a **soak-invalidating** event that

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

Comment on lines +84 to +87
Any change to a **declared component** of a reviewing holder's composition. For
the merge-readiness council the declared set is **six components**, enumerated
in codexFactory `hermes/domain/review-councils/merge-readiness.yaml` under
`council.composition_source_map.components`:

@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: 31e4f03872

ℹ️ 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 docs/governed-reissuance-runbook.md Outdated
Comment on lines +301 to +303
When step 5 is performed, return to step 4 and fill the superseding grant
reference and the effective time. **The re-issuance record is not complete until
that return trip has happened.**

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add the activation/projection step after registration

After any real re-issuance, completing the record is not enough to resume convenings: governance/review-authority/register.yaml:27-44,111-118 states that Hermes reads an operator-established projection rather than this file and continues refusing until that projection is re-derived. Because the runbook ends after filling the record and elsewhere calls step 5 the only exit from a park, an operator following it leaves the newly issued grant inactive at runtime. Add the required projection refresh and activation verification after the human register act.

AGENTS.md reference: AGENTS.md:L9-L10

Useful? React with 👍 / 👎.

Comment thread docs/governed-reissuance-runbook.md Outdated
Comment on lines +295 to +299
* **shape-constrained.** `row-mrc-0001` carries nine fields and the reader
enforces exact set-equality over them, plus an enumerated top level. There is
no model field on a row and adding one would be refused. A re-issuance
therefore moves `grant_ref` / `expires_at` / `state` and their grant file —
it does not smuggle the composition onto the row.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Revoke the old grant when replacing the register pointer

On a composition-bump walk, merely moving the row fields and its grant file leaves the grant lifecycle ambiguous. The authoritative S5 ledger says the drift must reach the actual grant records, a revoked grant can never return to active, and the replacement grant must name what it supersedes (openspec/changes/add-wallet-carried-review-authority/tasks.md:625-650). Following the current instruction can therefore either leave the superseded grant active—a validation failure—or set the register row to revoked and prevent the replacement from restoring authority. Specify the atomic acts: revoke the old grant, create a new active grant naming its predecessor, and repoint the row while keeping the new row active and synchronized.

AGENTS.md reference: AGENTS.md:L9-L10

Useful? React with 👍 / 👎.

Step 2's worked example cited the alias-to-exact flip as 2026-08-30. The
roster-change record, its inventory evidence and the codexFactory pull
request all carry 2026-08-31 - the day the act's own UTC instants, commit and
pull request fall on. A runbook whose only example points at a date nothing
else uses is a citation that does not open.

Gates re-run: openspec --all --strict 78 passed / 0 failed; doc-health
single-repo zero new findings against the same pre-branch baseline.

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

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 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (1)

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

docs/governed-reissuance-runbook.md:116

  • The reference to codexfactory-routine-code-clearance.yaml is not a resolvable path in this repository, and the bare filename makes it hard for readers to find the cited soak_gate preamble. Please qualify it with the owning repository and full path (matching how other docs in this repo cite it).
* **The runtime.** The composition enumerates six components and the runtime is
  not one of them, although the soak's own semantics treat a runtime change as
  invalidating (`codexfactory-routine-code-clearance.yaml`, `soak_gate`'s
  preamble: *"a mid-soak runtime reseed or image change invalidates the rows
  taken before it"*). A reseed is therefore a **soak-invalidating** event that

D-1. THE GRANT LIFECYCLE WAS WRONG, AND IT COLLIDED WITH RATIFIED TEXT.
Step 5 said a re-issuance "moves grant_ref / expires_at / state and their
grant file", which reads as mutating the superseded grant back into service.
The ratified core rule is terminal: "A revoked grant SHALL NEVER return to
the active state. Authority resumes only as a NEW grant, which records the
grant it supersedes." New sec. 5.1 spells the atomic acts instead - REVOKE
the superseded grant in place with the schema's revocation block naming the
composition event (class DRIFT, which propagates exactly as CAUSE); MINT a
new grant file; REPOINT the row's grant_ref and expires_at; the ROW's own
state stays active; and do NOT add a row, because the single-row cap bounds
authority rows.

And WHY it is one change, mechanically, rather than by exhortation: the
reader requires a row's grant_ref to name a grant whose state is active and
whose expires_at equals the row's, so revoking without repointing fails
`register-grant-mismatch: grant state 'revoked'` and repointing without
minting backs the row with nothing. THERE IS NO ORDER OF THESE WRITES THAT IS
GREEN HALFWAY - which is the property that keeps a revoked holder from ever
looking authorized.

HONEST LIMIT ADDED: the "records the grant it supersedes" half HAS NO FIELD
YET. The pinned grant schema is additionalProperties: false and carries no
supersedes key; parent_grant_ref means DERIVED FROM and must not be borrowed
for a different relation. So the supersession is recorded in step 4's
re-issuance record and nowhere else, rather than in a field the validator
would refuse.

sec. 0.3's revoke row said "nobody - automatic". R11's point is that
revocation must not WAIT ON a human, not that anything here performs it.
Nothing today writes state: revoked into a grant file: there is no daemon, no
reconciler, no hook. The write is an operator act; what is genuinely
automatic is the REFUSAL. Named honestly, because an operator who believes a
cascade already ran will not go looking for the one it did not.

D-2. THE RUNBOOK STOPPED ONE STEP SHORT OF EXITING A PARK. The runtime does
not read register.yaml - it reads an operator-established PROJECTION, and
"until the projection is re-derived, the runtime still refuses with
review_authority.root_key_mismatch". New sec. 5.2 (step 5b): re-derive
hermes_review_authority_register_projection; carry
revocation_staleness_bound VERBATIM into projected_from.staleness_bound
(declared beside the rows it bounds so a deploy setting cannot loosen it, the
runtime honouring whichever is tighter - "an artifact must never be able to
widen its own trust window"); and VERIFY ONE CONVENING ADMITS, because a
green validator evidences that the FILES are consistent and nothing about
whether the LANE recovered. Step 3's park-exit line and sec. 7's evidence
list now point at 5 AND 5b together.

D-3. Every codexFactory path in sec. 0.1/0.2 now carries its repository. This
runbook lives in openxFactory, where a bare `agent-mixes.yaml` resolves to
nothing.

Gates: openspec validate add-wallet-carried-review-authority --strict valid;
--all --strict 78 passed / 0 failed; doc-health single-repo ZERO new findings
against the same pre-branch baseline (4 critical, 5 error, 38 warning, 12
info, unchanged).

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

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 2 out of 2 changed files in this pull request and generated 1 comment.

Comment on lines +373 to +375
When steps 1–3 are done, return to step 4 and fill the **superseding grant
reference** and the **effective time**. **The re-issuance record is not complete
until that return trip has happened.**
The plan's D.2 asked for this note and it was not written. NOTHING named a
path for task 7.6's runbook - not the task, not rulings-2026-08-29.md, not
the proposal, the design, or either delta spec. The location was chosen from
this repository's own convention (every operator runbook flat in docs/ under
<subject>-runbook.md, registered in README's Documentation index), and a
choice made from convention rather than from an authority is exactly the kind
a later reader wastes time hunting a citation for.

A LEDGER NOTE, NOT A LEDGER MOVEMENT. It is a prose bullet under 7.6; no
checkbox anywhere in this file changes, verified by diffing the checkbox
column against origin/main (identical). 7.6 stays OPEN by the sentence
directly above it - neither ruling is enforced until the change carrying
R6-R12 is ratified - and the walk record remains a separate, argued act.

Gates: openspec validate add-wallet-carried-review-authority --strict valid;
--all --strict 78 passed / 0 failed; doc-health single-repo ZERO new findings
(4 critical, 5 error, 38 warning, 12 info, unchanged).

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 31, 2026 07:17
@brettheap

Copy link
Copy Markdown
Contributor Author

Fix round — all three findings applied (352b9fac, 21aed69e)

D-1 — grant lifecycle: ACCEPTED, and the finding was right about the collision

Step 5 said a re-issuance "moves grant_ref / expires_at / state and their
grant file"
. That reads as mutating the superseded grant back into service, and
the ratified core rule is terminal:

"A revoked grant SHALL NEVER return to the active state. Authority resumes
only as a NEW grant, which records the grant it supersedes and the holder
composition or standing it was issued against."

New §5.1 spells the atomic acts instead: REVOKE the superseded grant in
place with the schema's revocation block naming the composition event (class
DRIFT, which propagates exactly as CAUSE); MINT a new grant file;
REPOINT the row's grant_ref and expires_at; the row's own state stays
active
; and do not add a row — the single-row cap bounds authority rows.

And why it is one change, mechanically rather than by exhortation: the reader
requires a row's grant_ref to name a grant whose state is active and whose
expires_at equals the row's, so revoking without repointing fails
register-grant-mismatch: grant state 'revoked', and repointing without minting
backs the row with nothing. There is no order of these writes that is green
halfway
— which is the property that keeps a revoked holder from ever looking
authorized.

One honest limit surfaced while writing it, and is now stated: the "records
the grant it supersedes"
half has no field yet. The pinned grant schema is
additionalProperties: false and carries no supersedes key; parent_grant_ref
means derived from, a different relation that must not be borrowed. So the
supersession is recorded in step 4's re-issuance record and nowhere else, rather
than in a field the validator would refuse.

§0.3's revoke row corrected too. R11's point is that revocation must not
wait on a human, not that anything here performs it. Nothing today writes
state: revoked into a grant file
— no daemon, no reconciler, no hook. The
write is an operator act; what is genuinely automatic is the refusal. Named
honestly, because an operator who believes a cascade already ran will not go
looking for the one it did not.

D-2 — the park exit: ACCEPTED

The runbook did stop one step short. New §5.2 (step 5b): re-derive
hermes_review_authority_register_projection; carry revocation_staleness_bound
verbatim into projected_from.staleness_bound (declared beside the rows it
bounds so a deploy setting cannot loosen it, the runtime honouring whichever is
tighter — "an artifact must never be able to widen its own trust window"); and
verify one convening admits, because a green validator evidences that the
files are consistent and nothing about whether the lane recovered. Step 3's
park-exit line and §7's evidence list now point at 5 and 5b together, and the
closing section no longer implies step 5 is the whole pointer.

D-3 — path qualification: ACCEPTED

Every codexFactory path in §0.1/§0.2 now carries its repository, with a sentence
saying why: this runbook lives in openxFactory, where a bare agent-mixes.yaml
resolves to nothing.

Also applied here: finding 15 (the 7.6 path-choice note)

21aed69e adds the note the plan's D.2 asked for and I had not written — as a
prose bullet under task 7.6, recording that nothing named a path (not the
task, the rulings, the proposal, the design or either delta spec) and that the
location came from this repository's own docs/<subject>-runbook.md convention.

Zero checkbox changes, verified by diffing the checkbox column against
origin/main:

$ diff <(git show origin/main:…/tasks.md | grep -o "^- \[.\]") <(grep -o "^- \[.\]" …/tasks.md)
IDENTICAL — zero checkbox changes

Gates

$ OPENSPEC_TELEMETRY=0 openspec validate add-wallet-carried-review-authority --strict
Change 'add-wallet-carried-review-authority' is valid

$ OPENSPEC_TELEMETRY=0 openspec validate --all --strict
Totals: 78 passed, 0 failed (78 items)

$ python3 scripts/doc-health.py --single-repo . --previous-report <pre-branch baseline>
new findings: []
Findings: 4 critical, 5 error, 38 warning, 12 info. New regressions vs previous report: 0.

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 3 out of 3 changed files in this pull request and generated no new comments.

Suppressed comments (1)

docs/governed-reissuance-runbook.md:375

  • This cross-reference is incorrect: filling the superseding grant reference depends on completing step 5 (minting the new grant), not just steps 1–3. As written, it could cause an operator to try to complete the R8 record before the superseding grant exists.
When steps 1–3 are done, return to step 4 and fill the **superseding grant
reference** and the **effective time**. **The re-issuance record is not complete
until that return trip has happened.**

@brettheap

Copy link
Copy Markdown
Contributor Author

Merge provenance: admin merge on Brett's explicit standing authorization for this tranche ("check the PRs and merge when ready", 2026-08-31), per the established lane. Adversarial review verdict MERGE-after-fix: D-1 (grant lifecycle spelled as atomic acts, no mutate-the-grant reading), D-2 (step 5b: register-projection re-derivation + P7D + admits-verification), D-3 (repo-qualified paths) applied in 352b9fa/21aed69e with per-finding replies. CI green at the merged head (pytest-suite 15m55s). Lands FIRST by proven order: codexFactory #146 cites this runbook's path twice.

@brettheap
brettheap merged commit 65c3a80 into main Aug 31, 2026
4 checks passed
@brettheap
brettheap deleted the docs/governed-reissuance-runbook branch September 2, 2026 18:58
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