Skip to content

Propose register-gate-rules-council-seats: the S5 change Brett's OQ-C ruling queued - #717

Merged
brettheap merged 6 commits into
mainfrom
change/register-gate-rules-council-seats
Sep 6, 2026
Merged

brettheap merged 6 commits into
mainfrom
change/register-gate-rules-council-seats

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Lane: hermes-wallet-exercise

The ruling this realizes

codexFactory PR #165, the OQ-C ruling — Brett Heap, in session, 2026-09-05T17:15Z (comment):

RULING for this PR's OQ-C (gate_rules_council has no projected seat, so a signed convening cannot complete) — Brett Heap, in-session, 2026-09-05T17:15Z: operator ratification now, seats later. … Registering gate-rules seats (mint + rows in openxFactory governance/review-authority/register.yaml) is QUEUED as its own S5-family openxFactory change so later convenings are signed.

This is that queued change.

What is performed: NOTHING

No key is minted. No wallet, grant, custody attestation or register row is written. No pin is advanced. No workflow assertion is moved. governance/review-authority/register.yaml is a PERMANENTLY HUMAN-ONLY SURFACE by ratified requirement and a never-clearable floor member by exact path in codexFactory's gate rules, so every write is Brett's operator act — specified, sequenced and gated here as a numbered WALK (tasks §3), performed by nobody in this pull request.

The headline finding — MEASURED, not read

The gate-rules seats cannot be registered against the reader openxFactory pins today. A probe tree (the live governance/review-authority/ plus row-grc-0001, wal-agent-grc-0001, grant-grc-0001, its attestation and two gate-rules seat entries), run through openXwallet/scripts/validate-openxwallet.py at b7b0fbb3e6d614f60a24737c247e45dada9408aa / wallet-v1.4:

ERROR [register-minimal-shape-exceeded] …: 2 AUTHORITY rows; the ratified first
  shape is exactly ONE holder/target/act row
ERROR [register-seat-duplicate] …:seat_keys[5] (lead-security): seat_id
  'lead-security' is already recorded at seat_keys[1]
  1. REGISTER_MVP_SINGLE_ROW = 1. A second body needs a second AUTHORITY row — it cannot descend from row-mrc-0001, because the reader requires a seat entry's council_ref to equal the authorizing row's holder_ref, and that row's holder is agent:merge-readiness-council.
  2. Seat-name uniqueness is GLOBAL, not per council. gate_rules_council seats lead-security, lead-quality and company-policy-lead — three names merge_readiness_council already records. Invisible with one council; fires the moment a second arrives.

Both defects are in opensoft/openXwallet, so the reader widening is that repository's own OpenSpec change (named as a hard prerequisite in tasks §2, with its red-first tests specified). openxFactory moves only the pin (commit: + contract_bundle_tag:; no digest row — the reader is pinned_by_commit_only:) and the consumer gate's LITERAL note counts.

The runtime side is already ready — checked, not assumed: hermes-install's derive_projection keys its duplicate table on (council_id, seat_id), joins each seat to its own row, and reports councils as a sorted set. Nothing in hermes-install needs a change.

The seats, by identifier

Read from codexFactory hermes/domain/review-councils/gate-rules.yaml at origin/main. Nothing invented.

Seat id Layer This change
lead-architect domain REGISTER
lead-security domain REGISTER (name collides — defect 2)
lead-quality domain REGISTER (name collides)
company-policy-lead tenant, unconditional; missing_required_seat: refused REGISTER (name collides)
client-security-compliance-officer named as conjunction_pull_in.persona, no seat id DEFERRED (Q-GRC-4)
intent_owner_role_slot binding: symbolic_until_project_roster DEFERRED (Q-GRC-4)

Each registered seat gets a seat_keys entry; the BODY gets one wallet (wal-agent-grc-0001, five declared keys), one custody attestation, one root grant (grant-grc-0001) and one authority row (row-grc-0001) — the arithmetic wal-agent-mrc-0001 already stands on, and deliberately not a per-seat grant.

Delta

specs/review-authority-intake/spec.md — 7 ADDED requirements, no ## MODIFIED, no ## REMOVED:

  1. A second commissioned body enters the register as its own authority row.
  2. Seat identity is the pair (council_id, seat_id), never the seat name alone.
  3. A body with no declared composition is not issued review authority.
  4. A symbolic seat and a conditionally pulled-in persona are not registered until the council seats them by identifier.
  5. The rule-setting body never clears a candidate that edits the register or the artifacts that confer its own authority.
  6. A register act a pinned reader cannot represent is sequenced behind the reader and never worked around.
  7. One revocation staleness bound governs the whole register.

Nothing MODIFIED: the parent's own scenario "The minimal shape is exceeded → the additional scope is a named successor" is the door requirement 1 walks through, and editing an active sibling's ratified text from outside would be the wrong instrument for a door it already left open.

Also: docs/council-seat-key-mint-runbook.md (Status: draft until ratification, per precedent), the README doc-index entry and the OpenSpec Records block.

Open questions — recommendations only, no decisions

  • Q-GRC-1 — where the four private halves live, given gate_rules_council has no automated lane (its own roster: "a gate-rules convening is an assembled packet process, not an automated lane"; the missing piece is a caller, codexFactory task 5.9a). Recommend minting into codexFactory worker-credentials now, with the attestation naming the OWED job honestly.
  • Q-GRC-2 — the composition pin for a body that has none. gate-rules.yaml carries no composition_source_map and agent-mixes.yaml declares a profile for merge_readiness_council ONLY. Recommend pinning exactly from the same enrolled roster and accepting the two-body coupling. Q8(d) — exact model versions only, never a family — is ALREADY RULED (2026-08-26) and is not reopened here.
  • Q-GRC-3 — expiry horizon for grant-grc-0001. Recommend 2027-06-30T00:00:00Z, matching grant-mrc-0002.
  • Q-GRC-4 — the two deferred seats. Recommend registering neither now, deleting neither, and requiring the codexFactory roster act that binds them to register the key in the same governed act.
  • Q-GRC-5 — does the reader widening retire the single-row cap or raise it? Recommend replacing the scalar with the invariants it stood in for, rather than substituting 2 for 1. openXwallet's decision.

A gap this change WIDENS and does not close

codexFactory's floor names governance/review-authority/register.yaml, contracts/openxwallet-pin.yaml and the openXwallet gitlink — and omits grants/, wallets/, attestations/ (pre-existing, split-openxwallet-repo §8.3, lead-security's 2026-08-26 floor-reachability finding still standing). Tasks §3 adds three files into that unfloored space, one of them the grant conferring the rule-setting body's own authority. Named with an owner in tasks §4.3; not declared closed.

Status

Proposal — Brett ratifies. code_surface is NOT none, so per release-realization it archives only on merged, green realization evidence (tasks §5). Rule 6 landing window applies at merge (this touches openspec/changes/).

Gates: openspec validate register-gate-rules-council-seats --strict clean; --all --strict 96/97 with the one pre-existing failure (disposition-codexfactory-declared-renames) untouched by this branch.

Lane: hermes-wallet-exercise

… ruling queued

codexFactory PR #165's OQ-C ruling (Brett Heap, 2026-09-05T17:15Z) queued
"registering gate-rules seats (mint + rows in openxFactory
governance/review-authority/register.yaml) ... as its own S5-family
openxFactory change so later convenings are signed". This is that change,
and it PERFORMS NOTHING: the register is a permanently human-only surface
and a never-clearable floor member by exact path, so every write is Brett's
operator act, specified and sequenced here as a walk.

Its headline is a MEASURED finding, not a reading. At the pinned reader
(openXwallet b7b0fbb3, wallet-v1.4) the gate-rules seats are unregisterable
for two independent reasons:

  ERROR [register-minimal-shape-exceeded] 2 AUTHORITY rows
  ERROR [register-seat-duplicate] seat_id 'lead-security' is already
    recorded at seat_keys[1]

A second body needs a second authority row and cannot descend from
row-mrc-0001 (whose holder_ref is the other council), and seat-name
uniqueness is GLOBAL while gate-rules seats three names merge-readiness
already records. Both defects live in opensoft/openXwallet, so the reader
widening is that repository's own change; openxFactory moves only the pin
and the consumer gate's literal note counts. The runtime side is already
multi-council ready - hermes-install's derive_projection keys on
(council_id, seat_id) and reports councils as a set.

Four seats are registered by identifier (lead-architect, lead-security,
lead-quality, company-policy-lead); two are deferred with reasons
(intent_owner_role_slot is symbolic, client-security-compliance-officer is
a persona with no seat identifier). 7 ADDED requirements on
review-authority-intake, no MODIFIED and no REMOVED: the parent's own "the
additional scope is a named successor" scenario is the door this walks
through. Five open questions Q-GRC-1..5, each with a recommendation and
none decided; Q8(d) is already ruled and is not reopened.

Lane: hermes-wallet-exercise
Copilot AI lite review requested due to automatic review settings September 6, 2026 09:44

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

Exactly one row moves. `class: sole` — no requirement key this change writes
is written by any other change in the corpus, so it owes no co-modifier
partner's row. `declares` carries both sequenced entries, the second being
the cross-repository openXwallet reader widening this change cannot land
without; `depth: 1` because that change does not exist yet and the sweep
counts resolvable hops only.

Lane: hermes-wallet-exercise

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.

🟡 Changes recommended

The proposal front-matter uses a non-conformant target_release value and the runbook’s | tee command can mask validator failures without pipefail.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR introduces a new OpenSpec change packet (register-gate-rules-council-seats) that documents and sequences the queued operator-only act to mint and register gate_rules_council seat signing keys, along with a reusable operator runbook and README index updates.

Changes:

  • Adds a new S5-family OpenSpec change packet (proposal/design/tasks/spec delta) describing prerequisites, sequencing, and the measured reader defects that currently block the act.
  • Adds an operator runbook for minting and registering council seat signing keys.
  • Updates README doc index and Active changes index to include the new runbook and change packet.
File summaries
File Description
README.md Adds doc-index entry for the new runbook and registers the new change in the Active changes index.
openspec/changes/register-gate-rules-council-seats/tasks.md Adds dependency-ordered tasks, including cross-repo prerequisites and the operator walk.
openspec/changes/register-gate-rules-council-seats/specs/review-authority-intake/spec.md Adds seven new requirements clarifying multi-council register semantics and sequencing constraints.
openspec/changes/register-gate-rules-council-seats/proposal.md Adds the formal proposal, including realization axis declarations and measured defect evidence.
openspec/changes/register-gate-rules-council-seats/design.md Adds design decisions and measurement details supporting the proposed sequencing.
docs/council-seat-key-mint-runbook.md Adds the operator runbook for minting and registering council seat signing keys and updating gate literals.
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 2
  • Review effort level: Lite

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

Comment on lines +229 to +232
git submodule update --init openXwallet
python3 scripts/verify-openxwallet-pin.py
python3 openXwallet/scripts/wallet-yaml-syntax-gate.py .
python3 openXwallet/scripts/validate-openxwallet.py . | tee wallet-gate.log
@@ -0,0 +1,289 @@
---
code_surface: openxFactory — NOT `none`, and the distinction is load-bearing. This proposal's OWN diff is spec text, one runbook and bookkeeping; but its realization moves four openxFactory surfaces and the change MUST NOT archive until they are merged and green: (1) `governance/review-authority/register.yaml` — a SECOND authority row plus FOUR per-seat key entries, written by Brett's operator act on a permanently human-only surface; (2) `governance/review-authority/{wallets,grants,attestations}/` — `wal-agent-grc-0001.yaml`, `grant-grc-0001.yaml`, `custody-attest-wal-agent-grc-0001.yaml`, likewise operator-written; (3) `contracts/openxwallet-pin.yaml` — `commit:` and `contract_bundle_tag:` advance to the openXwallet release that can represent a second council (NO digest row moves: `scripts/validate-openxwallet.py` is pinned by commit only, `pinned_by_commit_only:`); (4) `.github/workflows/openxwallet-consumer-gate.yml` — the REQUIRED check's LITERAL positive assertions (`4 of 4 per-seat signing key(s)`, and a new one for the second wallet's declared keys) move in the same act, because a wildcard there would let a register that lost a body pass the positive proof. NO reader code is written here: the reader lives in `opensoft/openXwallet` and its widening is that repository's own OpenSpec change, named in tasks §2 as a hard prerequisite.
target_release: none — no contract bundle is cut by openxFactory. Nothing under `contracts/openxwallet/` or `contracts/schemas/` is authored or edited here; the pin advance CONSUMES an openXwallet bundle (`wallet-v1.5` or later) rather than publishing one, and no `contracts/manifest.yaml` row or `contracts/CHANGELOG.md` line is owed on this side.
Copilot AI review requested due to automatic review settings September 6, 2026 09:48

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.

🔵 Needs a closer look

The new proposal front-matter uses a target_release value that conflicts with the promoted release-realization vocabulary, and there are a couple of doc/runbook details that should be corrected to avoid operational mistakes.

Review details

Suppressed comments (3)

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

openspec/changes/register-gate-rules-council-seats/tasks.md:111

  • This section mixes a placeholder filename (walk-<YYYY-MM-DD>-register-act.md) with a bare concrete example (walk-2026-09-02-register-act.md) without marking it as an example, which makes the required naming ambiguous.

openspec/changes/register-gate-rules-council-seats/proposal.md:4

  • The front-matter sets target_release: none, but the promoted release-realization contract defines the allowed vocabulary as implemented or a named release. Using none here makes the proposal’s realization axis declaration inconsistent with the spec and can confuse downstream readers that rely on the canonical vocabulary.
---
code_surface: openxFactory — NOT `none`, and the distinction is load-bearing. This proposal's OWN diff is spec text, one runbook and bookkeeping; but its realization moves four openxFactory surfaces and the change MUST NOT archive until they are merged and green: (1) `governance/review-authority/register.yaml` — a SECOND authority row plus FOUR per-seat key entries, written by Brett's operator act on a permanently human-only surface; (2) `governance/review-authority/{wallets,grants,attestations}/` — `wal-agent-grc-0001.yaml`, `grant-grc-0001.yaml`, `custody-attest-wal-agent-grc-0001.yaml`, likewise operator-written; (3) `contracts/openxwallet-pin.yaml` — `commit:` and `contract_bundle_tag:` advance to the openXwallet release that can represent a second council (NO digest row moves: `scripts/validate-openxwallet.py` is pinned by commit only, `pinned_by_commit_only:`); (4) `.github/workflows/openxwallet-consumer-gate.yml` — the REQUIRED check's LITERAL positive assertions (`4 of 4 per-seat signing key(s)`, and a new one for the second wallet's declared keys) move in the same act, because a wildcard there would let a register that lost a body pass the positive proof. NO reader code is written here: the reader lives in `opensoft/openXwallet` and its widening is that repository's own OpenSpec change, named in tasks §2 as a hard prerequisite.
target_release: none — no contract bundle is cut by openxFactory. Nothing under `contracts/openxwallet/` or `contracts/schemas/` is authored or edited here; the pin advance CONSUMES an openXwallet bundle (`wallet-v1.5` or later) rather than publishing one, and no `contracts/manifest.yaml` row or `contracts/CHANGELOG.md` line is owed on this side.
sequenced_after: [add-wallet-carried-review-authority, openXwallet:widen-register-reader-for-a-second-council]

docs/council-seat-key-mint-runbook.md:232

  • Piping the validator output through tee will typically return tee’s exit code, which can mask a failing validator run if the operator relies on the command’s status. Use pipefail semantics (or an equivalent) so a failing validator stays fail-closed.
python3 openXwallet/scripts/validate-openxwallet.py . | tee wallet-gate.log
  • Files reviewed: 7/7 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Brings d153261 (split-opendox-two-layer-product group 1). No conflict; the
sequenced_after corpus ledger is re-verified consistent at 177 rows after
the merge.

Lane: hermes-wallet-exercise
Copilot AI review requested due to automatic review settings September 6, 2026 09:59
The proposal-origin contract's `.openspec.yaml`, missing from the first
commit — 36 of 37 active changes carry one and this was the exception.

`kind: ad_hoc`, and that was CHECKED rather than assumed: `ideation/staging/`
was listed in full and INDEX.md read; no topic names gate-rules seats,
council seat registration, or a second register body. The two adjacent
topics were each read to confirm they are distinct — `agent-wallet-identity`
is holder identity in general, and `wallet-carried-work-authority` is an
openXwallet grant-schema delta for the AUTHOR and MERGE acts with its own
sibling capability. INDEX.md's one mention of "gate-rules council seats"
sits inside another topic's carried open questions, which is post-proposal
tracking and not an origin.

`approved_by` records AUTHORIZATION TO AUTHOR and not ratification, names
the seven design decisions the authoring session made and flags them for
veto, and restates the measured finding the packet turns on.

`scripts/doc_health/proposal_origin.py::check_change` reports zero findings
against it.

Lane: hermes-wallet-exercise

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.

🔵 Needs a closer look

The proposal frontmatter declares target_release: none, which conflicts with release-realization’s allowed target_release vocabulary and should be corrected before merge.

Review details

Suppressed comments (2)

docs/council-seat-key-mint-runbook.md:232

  • This command pipes the validator into tee, which will typically mask the validator’s non-zero exit status unless the shell has pipefail enabled. Since this step is described as a gate, it’s safer to preserve failure semantics while still capturing the log (matching the workflow pattern of using bash+pipefail).
python3 openXwallet/scripts/validate-openxwallet.py . | tee wallet-gate.log

openspec/changes/register-gate-rules-council-seats/proposal.md:3

  • target_release: is set to none, but release-realization defines the allowed vocabulary as implemented or a named release. Using none here conflicts with the spec and is easy to misread as “no realization axis”. If no contract bundle is cut, implemented is still the correct axis value; keep the explanatory prose in the body instead of encoding it into the header value.
target_release: none — no contract bundle is cut by openxFactory. Nothing under `contracts/openxwallet/` or `contracts/schemas/` is authored or edited here; the pin advance CONSUMES an openXwallet bundle (`wallet-v1.5` or later) rather than publishing one, and no `contracts/manifest.yaml` row or `contracts/CHANGELOG.md` line is owed on this side.
  • Files reviewed: 8/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 6, 2026 10:02

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.

🔵 Needs a closer look

The proposal front-matter uses an out-of-vocabulary target_release: none per release-realization, and the runbook’s tee pipeline can mask validator failures without pipefail.

Review details

Suppressed comments (2)

openspec/changes/register-gate-rules-council-seats/proposal.md:3

  • target_release: none is outside the release-realization vocabulary, which admits only implemented or a named release; using none here makes the proposal contradict the promoted spec and can lead to inconsistent tooling behavior.
target_release: none — no contract bundle is cut by openxFactory. Nothing under `contracts/openxwallet/` or `contracts/schemas/` is authored or edited here; the pin advance CONSUMES an openXwallet bundle (`wallet-v1.5` or later) rather than publishing one, and no `contracts/manifest.yaml` row or `contracts/CHANGELOG.md` line is owed on this side.

docs/council-seat-key-mint-runbook.md:232

  • Piping the validator output through tee masks the validator’s exit status in many shells (the pipeline returns tee’s status), which can make a failing gate look successful. Adding set -o pipefail and capturing stderr keeps both the live log and a reliable non-zero exit code.
git submodule update --init openXwallet
python3 scripts/verify-openxwallet-pin.py
python3 openXwallet/scripts/wallet-yaml-syntax-gate.py .
python3 openXwallet/scripts/validate-openxwallet.py . | tee wallet-gate.log
  • Files reviewed: 8/8 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@brettheap
brettheap marked this pull request as ready for review September 6, 2026 10:25

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

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

RATIFICATION — RULING for lane hermes-wallet-exercise's PR #717 register-gate-rules-council-seats, head 169f84ef

Brett Heap (repository owner, operator), in-session, 2026-09-06T14:13:46Z, verbatim: "lets take them in your recommended order all approved" — given against the lane's board, whose item 3 read "Ratify openxFactory #717 with rulings on Q-GRC-1 to Q-GRC-5." Each question carried one recommendation; each is ruled as recommended.

  • register-gate-rules-council-seats — RATIFIED at head 169f84ef.
  • Q-GRC-1 RULED — (i): mint the four private halves into codexFactory's worker-credentials now, holder_readable; the custody attestation names the OWED job (codexFactory task 5.9a) as the holder execution context and states plainly that it does not exist yet.
  • Q-GRC-2 RULED — pin the composition exactly, from the same enrolled roster (Q8(d) of 2026-08-26 stands; not reopened). The two-body coupling is accepted openly: a roster pin flip revokes both bodies' grants and parks both; re-issuance is a scheduled two-body ceremony with one walk record per body.
  • Q-GRC-3 RULED — expires_at: 2027-06-30T00:00:00Z, the same date as grant-mrc-0002, so one re-issuance ceremony covers both bodies.
  • Q-GRC-4 RULED — register neither deferred seat now; delete neither. intent_owner_role_slot and client-security-compliance-officer are recorded as owed registrations that trigger on a codexFactory roster act, which must register the key in the same governed act.
  • Q-GRC-5 RULED (as this change's recorded ask of openXwallet) — replace the scalar cap with the invariants it stood in for: every row resolves end to end; every seat entry attaches to a row that commissions its body; (council_id, seat_id) is unique. openXwallet decides in its own change.
  • Recording acts follow on this branch: review/ratification-2026-09-06.md, proposal Status: ratified + Ratified: line, the Phase 1 ruling rows ticked. Merge is approved in the same word (Rule 6). The realization sequence stands as the proposal's § Sequencing: (1) openXwallet reader widening as its own change, (2) openxFactory pin advance + consumer-gate literals, (3) codexFactory composition source map and profile, (4) Brett's walk, (5) projection refresh, (6) the first signed convening.
  • Not approved by this word: any mint, wallet, grant, attestation or register row — those are Brett Heap's operator acts in the walk, on the human-only surface.

Copilot AI review requested due to automatic review settings September 6, 2026 14:23
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

Recording acts landed at head 4b213ad9: ratification record (review/ratification-2026-09-06.md), Status: ratified + Ratified: line on proposal.md, Phase 1 ticks (1.1 ratification, 1.2 Q-GRC-1, 1.3 Q-GRC-2, 1.4 Q-GRC-3, 1.5 Q-GRC-4) each quoting the ruling, and the README OpenSpec Records entry updated to ratified — over a catch-up merge of origin/main (four commits, none touching this packet's own directory) so CI is not stale. Nothing minted, nothing written to governance/review-authority/; merge not performed here — awaiting the Lane Collision Protocol Rule 6 landing window.

Gates: openspec validate register-gate-rules-council-seats --strict valid; --all --strict 96 passed / 1 failed (97 items) — the one failure, disposition-codexfactory-declared-renames, is pre-existing on main and unrelated; pytest tests/sequenced_after -q 162 passed; scripts/proposal-support.py . verify ok.

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.

🟡 Changes recommended

Several newly added/updated documents are internally inconsistent with the PR’s “ratified” state and established pipeline/realization-axis conventions (draft/ratified metadata, | tee without pipefail, and target_release: none).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (3)

docs/council-seat-key-mint-runbook.md:16

  • This paragraph still claims register-gate-rules-council-seats is unratified and explains why the runbook is draft, which no longer matches the proposal/ratification state in this PR. It should be updated to reflect that the proposal has been ratified.
**Why this document is `draft` and not `ratified`.** It is authored by a
PROPOSAL. `register-gate-rules-council-seats` is unratified as this is written,
and a runbook that ratifies itself would be the same defect the estate has
already named twice: a described control treated as an existing one. It becomes
`Status: ratified` at task 1.6, on the change's ratification, and not before.

openspec/changes/register-gate-rules-council-seats/proposal.md:3

  • release-realization defines target_release: as either implemented or a named release; none is out of vocabulary for the realization axis. Since code_surface: is non-none, this should use implemented (the openxFactory main line) unless there is an explicit governing exception.
target_release: none — no contract bundle is cut by openxFactory. Nothing under `contracts/openxwallet/` or `contracts/schemas/` is authored or edited here; the pin advance CONSUMES an openXwallet bundle (`wallet-v1.5` or later) rather than publishing one, and no `contracts/manifest.yaml` row or `contracts/CHANGELOG.md` line is owed on this side.

docs/council-seat-key-mint-runbook.md:232

  • python3 ... | tee wallet-gate.log can mask a non-zero validator exit status unless the pipeline is run under pipefail (this repo even has a test asserting that | tee validator steps must run under pipefail). In an operator runbook, it’s safer to make the shell refusal loud by construction.
git submodule update --init openXwallet
python3 scripts/verify-openxwallet-pin.py
python3 openXwallet/scripts/wallet-yaml-syntax-gate.py .
python3 openXwallet/scripts/validate-openxwallet.py . | tee wallet-gate.log
  • Files reviewed: 9/9 changed files
  • Comments generated: 3
  • Review effort level: Lite

Comment thread README.md
Comment on lines +132 to +135
`register-gate-rules-council-seats` §3 against the 2026-08-28
merge-readiness seat-key mint; `Status: draft`, because a runbook authored by
an unratified proposal that ratified itself would be the described-control
defect this estate has already named twice)
Comment on lines +3 to +6
Status: draft
Kind: runbook
Repository context: openxFactory
Backed by: `openspec/changes/register-gate-rules-council-seats/tasks.md` §3,
`client-security-compliance-officer` are recorded as owed registrations
that trigger on a codexFactory roster act, which must register the key
in the same governed act."
- [ ] 1.6 On ratification, flip `docs/council-seat-key-mint-runbook.md` from
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

LANDING — lane hermes-wallet-exercise, session 9f81d930-c4fd-4427-8943-d9e86793fbb7, 2026-09-06T14:48:23Z, PR #717 into openxFactory main

@brettheap
brettheap merged commit a59f2ae into main Sep 6, 2026
10 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

LANDED — lane hermes-wallet-exercise, 2026-09-06T14:48:29Z, PR #717 → a59f2ae

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

CLAIMED — lane hermes-wallet-exercise, session 9f81d930-c4fd-4427-8943-d9e86793fbb7, 2026-09-06T15:09:30Z: tasks 2.1–2.6 [openXwallet] — opening the reader-widening change in opensoft/openXwallet (proposal + row 2.2 RED tests now; fixes 2.3–2.6 after Brett's ratification of that change), per this change's § Sequencing step 1 and Brett's word "lets take them in your recommended order all approved". Sibling search in openXwallet: active changes add-per-seat-register-entries (same reader area — read as the overlap, not claimed), add-composition-drift-cascade, add-multi-key-wallets; open PR #13 (usage-control) unrelated. Rows 2.7–2.9 (openxFactory pin advance + gate literals) follow the openXwallet cut.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

Lead Quality seat return on R1 — ACCEPT AS AMENDED; roster act record § 6 now RECORDED

Discharging the second half of guardrails.roster_change: lead_accepted_recorded that R1 named (this thread, 2026-09-07T12:40:19Z: "the pin enters the roster through a RECORDED roster-change act: Brett Heap's selection (this ruling) + Lead Quality's acceptance produced by the lead-quality seat AT ITS OWN PIN as a seat return").

Return: codexFactory hermes/domain/review-councils/records/2026-09-07-seat-returns/lead-quality.md, at head f24ba1a3 (PR #277).

Position: ACCEPT AS AMENDED. The lead-architect = claude-opus-5 pin is exact and test-enforced, matches lead-security/lead-integration's own enrolled-roster identifier (2:2 split preserved), and the seat-role rationale is honestly disclosed as operator judgment rather than measurement. Q-GRC-2's two-body coupling is recorded in terms matching this thread's own ruling verbatim, checked directly against the API. Nothing found contradicts Q8(d) (exact versions only — confirmed) or the guardrail.

Four conditions are attached rather than an unqualified accept, on the same discipline the 2026-08-29 S5 bench applied to every slot it judged: lead-architect carries less evidentiary support than the other three rows (which ride on the S5 corpus's measured 25/25 and 8/8 read-backs) — it has never been soaked at all. The conditions bind what the pin may be cited for until a soak runs; they do not block the pin's landing, which the record already scoped honestly as unmeasured.

Full grounds and the exact condition text (LQ-C1..C4) are in the codexFactory PR #277 comment and the return itself.

Effect: both halves of the R1 roster act are now performed — the selection (Brett Heap, § 2 of the roster record) and the acceptance (this return, § 6, now RECORDED). No gate-rules convening can run yet regardless — the four seat keys are still Brett's operator walk (tasks 3.2-3.9) — so this does not change what's actionable next; it closes out the one obligation the 2026-09-07 roster act left OWED.

DO NOT MERGE codexFactory PR #277 — carried to Brett.

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

Row 3.1 [codexFactory] LANDED with 5.9a and the R1 roster act: codexFactory PR #277 → 511d95c5, 2026-09-07T16:42:52Z (Brett's conditional word; Lead Quality ACCEPT AS AMENDED, LQ-C1..C4 attached — read them before the walk: no reliance on the pin as measured-adequate before a first soak row; no activation-gate discharge claimed). § Sequencing steps (3′) and (3) are DONE. NEXT = (4) Brett's walk (§ 3.2–3.9 + 2.8's gate-literal flip in the same act; runbook docs/council-seat-key-mint-runbook.md), then (5) projection refresh, (6) the first signed convening = the caller's first run.

@brettheap

Copy link
Copy Markdown
Contributor Author

CLAIMED — lane hermes-wallet-exercise, session f7b1536f (name hermes-wallet-exercise), 2026-09-07T22:58:43Z: § 3 of register-gate-rules-council-seats (tasks 3.2–3.9 — Brett's OPERATOR mint walk, the lane assisting; runbook docs/council-seat-key-mint-runbook.md), plus task 2.8's deferred consumer-gate literal flip in the SAME act (per the 2026-09-07 proposal amendment), the 1.6 runbook Status: flip, and the 3.1 bookkeeping tick citing codexFactory 511d95c5 (composition landed by #277). Sibling search (openxFactory PRs/branches/issues, #717/#751 comments, LANES.md) found no other lane on this act. The register PR touches openspec/changes/ → Rule 6 LANDING/LANDED window when it lands. The mint record (task 3.2) lands in codexFactory hermes/domain/review-councils/records/. Private halves never enter git, CI logs or an agent session — the lane handles public values only.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RULING (Rule 2 form) — Brett Heap, in-session, 2026-09-08T03:20:24Z, verbatim: "B2 as recommended".

Context (lane hermes-wallet-exercise, § 3 register act, task 3.4 custody attestation): the Q-GRC-1 ruling of 2026-09-06 was made against a world where codexFactory task 5.9a (the gate_rules_council convening caller) did not exist and said the attestation "states plainly that it does not exist yet". 5.9a has since LANDED (codexFactory #277 → 511d95c5; .github/workflows/gate-rules-convening.yml, environment: worker-credentials, workflow id 352457764, zero runs, refusing today with seat_signing_unavailable; the four GRC seat secrets are read presence-only — no signing step consumes them yet). The recommendation Brett adopted: the attestation names that job as the holder execution context and states that it EXISTS and has NEVER RUN, that no signing step consumes the secrets yet, and that the context is therefore named and owed rather than observed — a stronger, not weaker, claim than Q-GRC-1 assumed; isolation_claimed: none stands. The walk record carries this ruling verbatim under THE RULINGS AS SPOKEN.

Lane: hermes-wallet-exercise

brettheap added a commit that referenced this pull request Sep 8, 2026
…w and four seat keys (register-gate-rules-council-seats § 3 + 2.8) (#798)

Merged on Brett Heap's word "merge both" (in-session, 2026-09-08T14:17:14Z) via OrganizationAdmin bypass of the review requirement — the standing precedent for review-required PRs Brett authored or ruled on (as with #717/#740/#751). Human-landed by construction: wallet-validation is a never-clearable floor member. Rule 6 LANDING posted on the PR and in LANES.md.

Lane: hermes-wallet-exercise
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — § 3 register act (tasks 3.2–3.9 + 2.8 + 1.6 + 3.1 tick) landed as openxFactory #798 → eea40d1 (2026-09-08T14:17:23Z, Brett "merge both"); the task 3.2 mint record landed as codexFactory #290 → c7b4d96b. Register: 2 row(s), 8 of 8 per-seat signing keys adjudicated and resolved, wal-agent-grc-0001 5 declared keys adjudicated; --strict rc 0. Seats registered and UNEXERCISED; no gate-rules convening has run; projection NOT refreshed by this act. Next in § Sequencing: (5) hermes-install projection refresh seat_count 4→8, (6) first signed convening = the 5.9a caller's first run. 3.10 tick PR and xFactory pin-sync follow.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

CLAIMED — lane hermes-wallet-exercise, session f7b1536f-3ab1-4b19-b070-3bccd97d20ac, 2026-09-08T15:05Z: § Sequencing step (5) / tasks § 4 row 4.1 — the hermes-install register-projection refresh (seat_count 4 → 8, councils gaining gate_rules_council) — as hermes-install Speckit feature 022-register-projection-two-council. On Brett's go, in-session 2026-09-08 ~14:45Z, verbatim "1,2,3 are all approved" (item 2 = this projection refresh).

Scope of the claim, and its bounds: the AGENT act only — the pin/fixture/test/manifest work in opensoft/xFactory-Hermes-Install plus an evidence doc carrying an operator runbook. The AKS QA roll of the refreshed projection is NOT claimed and will NOT be performed — it is Brett's operator act (FR-030). Row 4.1 stays unticked here; this lane will report which § 4 rows become tickable, and on what evidence, once the operator has rolled it. No convening is performed, the eight seats stay UNEXERCISED, and nothing here asserts adequacy of the lead-architect pin (LQ-C1 stands).

Sibling search performed: gh pr list -R opensoft/xFactory-Hermes-Install --state open → one unrelated open PR (#56, 018-ledgerx-hermes-runtime); remote branches matching projection|seat|register|grc → only 019-register-projection-refresher and record/register-projection-refresher-deploy-2026-08-30, both landed 2026-08-30 and dormant; comments on this PR since 2026-09-07T14:00Z read through the 2026-09-08T14:19:26Z LANDED note for § 3 (openxFactory #798 → eea40d17, codexFactory #290 → c7b4d96b) — no other lane has claimed § 4.

Register read at openxFactory main 68712924: 2 rows (row-mrc-0001, row-grc-0001), 8 seat_keys; widened reader is openXwallet wallet-v1.5 (f3eb929b).

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RULING (Rule 2 form) — Brett Heap, in-session, 2026-09-09T00:23:49Z, verbatim: "merge 74, all eight as recommended" — on § Sequencing step (6), the FIRST SIGNED CONVENING of the gate-rules council (lane hermes-wallet-exercise's brief of 2026-09-09). The eight rulings as adopted:

  1. "The first run" = the PRODUCER run of the 5.9a caller (gate-rules-convening.yml: seal + origin-sign the bundle; no seat return is signed — the caller convenes no seat, and legs 3/4 do not exist). Task 4.5 stays open.
  2. A wrapper workflow MAY be added and test_the_caller_lands_unwired_and_that_is_the_recorded_posture flipped — its docstring scopes the unwired posture to "before § Sequencing step 6". workflow_dispatch is NEVER added to the caller itself (design D11).
  3. Packet: re-put the openxFactory SUBSTANTIVE CANDIDATE CLASS — successor to the explicitly re-openable (b-0) ruling of codexFactory records/2026-08-30-gate-rules-openxfactory-option-b.md § 2; reach = openxFactory openspec/changes/** / openspec/specs/** (none of the three CSC surfaces, so the run seals); zero blast radius; the honest LQ-C4 test against an executed precedent.
  4. Claim path: a SEPARATE gate-rules claim job, not a parameter on the PR-shaped council-lane-reusable.yml (merge_readiness_council hard-coded at :473/:491).
  5. The real runtime claim is required — no synthetic job id (the sealed manifest must not assert an identity the runtime never issued; inputs contracted runtime-issued at :127-140).
  6. Verify the domain-content projection BEFORE dispatch (a read), rather than discovering a 404 in the run.
  7. LQ-C1 soak for lead-architect at claude-opus-5 (served-model read-back; 2026-08-31 S5 appendix form) is commissioned AFTER the first producer run and BEFORE any citation of a gate-rules seat output as capability evidence.
  8. Who dispatches: the lane opens the wrapper PR; Brett dispatches — the run reads FACTORY_ORIGIN_SIGNING_KEY.

Also ruled in the same word: hermes-install #74 merged (feature 022, projection two-council fixture/tests/evidence; § 4 task 4.1 ticks after Brett's cluster read).

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

CLAIMED — lane hermes-wallet-exercise, session f7b1536f-3ab1-4b19-b070-3bccd97d20ac, 2026-09-09T00:25:16Z: § Sequencing step (6) first signed convening — codexFactory Speckit feature 043-gate-rules-first-convening (wrapper workflow + unwired-test flip + gate-rules claim job + packet C1 + projection pre-read), per Brett's eight rulings (#717 (comment)). Sibling search: gh pr list -R opensoft/codexFactory --state open (one open PR, #294, unrelated S2612 fix); remote branches matching 043|convening|wrapper|packet (041-gate-rules-convening-caller landed, change/gate-rules-convening-2026-08-26, change/openxfactory-pin-never-clearable, change/packet-absence-hardening — none touching this slice, no 043 branch); comments on openxFactory #717 since 2026-09-08T23:00Z (only Brett's ruling comment of 00:23:56Z). No competing claim found.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

OPERATOR READ (Rule 2 form) — Brett Heap, in-session, 2026-09-09T00:30:47Z, verbatim: "source-revision is 6871292, seat_count 8" — the AKS QA hermes-register-projection ConfigMap annotations, read per hermes-install docs/evidence/register-projection-refresh-2026-09-08.md § 5 step (1). The register projection refreshed on a SCHEDULED tick of CronJob/hermes-register-projection-refresher (no manual Job was created): source revision = openxFactory main 68712924 (the 2-row register after #798/#811), seat_count 4 → 8. § Sequencing step (5) is DONE; § 4 task 4.1 ticks on this evidence (4.2 too, as the firing was scheduled) in a separate Rule 6 PR. hermes-install #74 (feature 022: two-council fixture/tests/evidence; zero production lines — the refresher already read the default-branch head) merged → 985f5027. Runtime posture: seats registered and projected, UNEXERCISED; no gate-rules convening has run (step (6) = codexFactory feature 043, in flight).

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

§ Sequencing step (6) BUILD LANDED — codexFactory #295 → c02abc84 (2026-09-09T01:28:38Z; feature 043 gate-rules-first-convening; 8/8 checks incl. SonarCloud + quality gate). The wrapper .github/workflows/gate-rules-convening-trigger.yml (workflow_dispatch; real runtime claim; projection pre-read; 13 fail-closed refusals) calls the 5.9a caller via workflow_call — caller untouched (D11). Packet hermes/domain/review-councils/convening-packets/2026-09-09-openxfactory-substantive-candidate-class-re-put.md (ruling 3): four seats resolve, no unbound conjunction seat, 6 decision items. Nothing dispatched — per ruling 8 Brett dispatches (subject_pin = the packet PR's HEAD sha 986d735d, --ref main). Pre-read residual: the domain-content review_council row was seeded 2026-07-24 (~6 weeks stale) — reseed recommended before a record cites council_content_digest as current. § 4 tasks 4.1/4.2 ticked via #821 → d41a354; 4.3 OWED; 4.5 stays open (producer run, ruling 1). Next after the run: ruling 7's LQ-C1 soak.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RULING (Rule 2 form) — Brett Heap, in-session, 2026-09-09T03:39:02Z, verbatim: "dispatch now, record the residual" — on the FIRST gate-rules convening (§ Sequencing step (6); codexFactory feature 043, #295 → c02abc84). Adopted: the first producer run is dispatched NOW, by the lane on Brett's word (amending ruling 8's actor for this run — the same GitHub identity; the run reads FACTORY_ORIGIN_SIGNING_KEY in codexFactory's worker-credentials), and the RESIDUAL is RECORDED rather than cured first:

Residual R-0 (recorded): the hermes-install QA domain-content review_council row for layer codexfactory-software-engineering was seeded 2026-07-24 at codexFactory overlay revision 8931ee2e (contract-v1.15) — ~6 weeks behind codexFactory main. The sealed bundle's council_content_digest is that row's archive digest, so it attests the JULY content, not today's. gate_rules_council IS present in that row with the four registered seats (verified 2026-09-09 via az aks command invoke), so admission does not refuse council.unknown. The reseed is planned as its OWN grant-held window (runbook ~/session-prompts/runbook-domain-reseed-codexfactory-2026-09-09.md: hermes-install compatibility-manifest pin PR → RCG grant → repin + seed → it FIRES the 2026-08-23 migration trigger whose re-ruling is a fresh merge_readiness_council convening) — not gated ahead of this dispatch, on Brett's word above. Any record citing this run's council_content_digest carries this residual verbatim.

Dispatch: gh workflow run gate-rules-convening-trigger.yml --repo opensoft/codexFactory --ref main -f rule_packet_ref=hermes/domain/review-councils/convening-packets/2026-09-09-openxfactory-substantive-candidate-class-re-put.md -f subject_pin=986d735df034c44509d2114be63bc4842db7f70c -f candidate_pull_number=295. Run URL follows.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

DISPATCHED — the first gate-rules convening producer run: https://github.com/opensoft/codexFactory/actions/runs/34307939608 (run 34307939608, queued 2026-09-09T03:39:04Z; gate-rules-convening-trigger.yml on main @ c02abc84; packet 2026-09-09-openxfactory-substantive-candidate-class-re-put.md, subject_pin 986d735d = PR #295 head, candidate_pull_number 295). Outcome and the record follow.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

FIRST RUN OUTCOME — run 34307939608 (https://github.com/opensoft/codexFactory/actions/runs/34307939608) REFUSED, fail-closed, nothing sealed: claim job step "Verify the domain-content projection carries this council" → domain_content_read_unauthorized (the runtime answered HTTP 403 for layer codexfactory-software-engineering's materialized review_council content; the lane identity lacks the layer-content read scope). The convene job was skipped; no claim was posted; no bundle exists. This is residual R-2 as forecast on #295 — the refusal named itself before any state changed, which is the behaviour the wrapper was built for. Fix in diagnosis (lane hermes-wallet-exercise): where the lane client's scopes are declared in hermes-install, the governance class of the grant, and whether a rollout is needed; then re-dispatch on Brett's word. Residual R-0 (stale domain-content row) stands, unrelated to this refusal.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

DIAGNOSIS of run 34307939608's refusal (lane hermes-wallet-exercise, 2026-09-09T03:48:41Z): both OIDC hops succeeded (client opensoft-hermes-qa-council-lane, appId 4c007b83-4acb-4d39-8640-f86b482b4959); the 403 is Hermes's own authz — GET /layers/{layer}/content/review_council requires the dedicated app role hermes.layer_content.read (hermes-install layer_content.py:56, scopes.py:72, docs/architecture/api-scopes.md:120); scopes ride the token, and the lane SP holds only hermes.job.execute + hermes.job.read. The app role has never been minted on the live IdP — hermes-install change add-layer-content-read-api task 4.1 (OpsxFactory executes) is still open. Fix = an Entra operator act (Brett): mint the app role on api://opensoft-hermes-qa, assign it to the lane SP, admin-consent. No repo code, no rollout, no manifest regeneration — effective on the next dispatch. Second refusal to pre-empt in the same window: authz.cross_layer_denied unless a hermes_api_principals row binds the lane to layer codexfactory-software-engineering (no convene job has ever run live, so it is unproven). Lane-side PRs in flight: codexFactory — surface the runtime's machine code in the pre-read's failure output (the body was discarded); hermes-install — widen task 4.1 to name the council lane.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

OPERATOR ACT (Rule 2 form) — Brett Heap, in-session, 2026-09-09T05:59:07Z, verbatim: "done, redispatch" — the Entra app role hermes.layer_content.read on api://opensoft-hermes-qa assigned to the council-lane workload identity opensoft-hermes-qa-council-lane (appId 4c007b83-4acb-4d39-8640-f86b482b4959) with admin consent, per the 2026-09-09 diagnosis; the layer-binding read was Brett's to confirm. Re-dispatching the first gate-rules convening producer run with the SAME inputs (packet 2026-09-09-openxfactory-substantive-candidate-class-re-put.md, subject_pin 986d735d = PR #295 head, candidate_pull_number 295), now with #296's refusal-code surfacing on main (6f50112b). Run URL follows.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RE-DISPATCHED — run 34317084150: https://github.com/opensoft/codexFactory/actions/runs/34317084150 (in progress from 2026-09-09T05:59:09Z; gate-rules-convening-trigger.yml on main @ 6f50112b; same three inputs). Outcome follows.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RE-DISPATCH OUTCOME — run 34317084150 REFUSED again, fail-closed, nothing sealed: same step, HTTP 403, domain_content_read_unauthorized; the new notice read runtime refusal code: (no code). Two findings (lane hermes-wallet-exercise, 2026-09-09T06:01:25Z): (1) Entra read-back shows the council-lane SP (objectId 037eb659…) still holds exactly TWO appRoleAssignments on opensoft-hermes-qa, both created 2026-07-26 — no new assignment landed today, so the grant did not take; (2) the runtime's error body is nested — {"error": {"code": …, "message": …, "correlation_id": …}} (hermes-install api/errors.py:50) — so #296's .code read misses it; fixing the jq path to .error.code // .code so the next run names authz.insufficient_scope vs authz.cross_layer_denied. Re-dispatch after the assignment is confirmed present on the SP.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

LAYER BINDING CONFIRMED (read-only via az aks command invoke, 2026-09-09T06:12:36Z): hermes_api_principals binds the council-lane SP 037eb659-7345-4ecf-802b-cfbf33eab3f4 to layer codexfactory-software-engineering (kind service, enabled, since 2026-07-26), so authz.cross_layer_denied is not expected. The ONLY remaining gap for the pre-read is the app role hermes.layer_content.read, which does not yet exist on api://opensoft-hermes-qa (14 roles; the lane SP holds job.execute + job.read only). An idempotent, dry-run-tested grant script is with Brett; re-dispatch follows its read-back PASS.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

OPERATOR ACT (Rule 2 form) — Brett Heap, in-session, 2026-09-09T06:14:37Z, verbatim: "done, redispatch" — app role hermes.layer_content.read created on api://opensoft-hermes-qa and assigned to the council-lane SP (read back by the lane before dispatch). Third dispatch of the first gate-rules convening producer run follows, same inputs.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

THIRD DISPATCH — run 34318204178: https://github.com/opensoft/codexFactory/actions/runs/34318204178 (06:14:39Z). Pre-dispatch read-back: api://opensoft-hermes-qa now has 15 app roles incl. hermes.layer_content.read (id 422a09b6-202b-5a15-ae35-9c2c31aae1bf); the council-lane SP holds job.execute, job.read and layer_content.read. Outcome follows.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

THIRD-RUN OUTCOME — run 34318204178: the projection pre-read PASSED (materialized review_council content carries gate_rules_council at overlay revision 8931ee2e… — the app-role grant took; residual R-2 CLOSED; R-0 stands: overlay revision 8931ee2e is the stale July row). Then the claim step REFUSED, fail-closed, nothing sealed: HTTP 422 convening.subject_pin_unverifiable — the RUNTIME's own GitHub read of pull request opensoft/codexFactory#295 answered HTTP 403, which the runtime treats as a refusal, never an agreement. This is the runtime's GitHub credential (the head/touched-set resolvers' App token), not the lane identity. Diagnosis in progress (lane hermes-wallet-exercise, 2026-09-09T06:16:45Z): App permission (pull_requests: read absent?), expired static installation token in the cluster Secret, or a merged-PR handling gap in the resolver. Two refusals down, each named itself before any state changed.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

DIAGNOSIS of run 34318204178's claim refusal (lane hermes-wallet-exercise, 2026-09-09T06:20:57Z; brief in the lane's scratchpad): root cause is a ratified narrowing in hermes-install. The council credential refresher (feature 018) mints the openxcouncil App installation token with the hard-coded, deliberately non-widenable set NARROWED_PERMISSIONS = {contents: read, metadata: read} (src/hermes_install/lifecycle/github_app.py:62; FR-010 specs/018-council-credential-refresher/spec.md:315). Feature 021's subject-pin head resolver (review_authority/resolvers.py:480) reads GET /repos/{repo}/pulls/{n}, which needs pull_requests: read — a permission 021 never declared. The App itself HOLDS pull_requests: read (installation 149102385, all repos); the mint drops it. Verified pod-side with the live token (never printed): pulls/295 → 403 "Resource not accessible by integration" with rate-limit remaining 14998; commits/986d735d → 200. So: not an expired token (minted 06:15:02Z, refresher green), not rate limiting, not the PR being merged (state is never inspected). No live claim had ever reached this resolver before — run 34318204178 is the first. The codexFactory deploy doc's HERMES_CODEXFACTORY_COMMIT_READ_TOKEN path was retired 2026-08-29 and never carried a working credential.

Fix = a GOVERNED CHANGE in hermes-install (the narrowing is a ratified constant, not config): amend FR-010 + the mint-CLI contract + data-model to admit pull_requests: read, change the constant, rebuild the refresher image, bump the aks-qa overlay digest; the CronJob re-mints within 15 min and the runtime re-reads the token file — no runtime rollout, no operator credential act. Verification: Secret annotation token-permissions gains pull_requests=read; the pod-side probe returns 200; re-dispatch at the SAME pin (the refusal wrote nothing, convene-at-most-once does not block). Awaiting Brett's word to open the amendment.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RULING (Rule 2 form) — Brett Heap, in-session, 2026-09-09T07:14:39Z, verbatim: "open the amendment" — lane hermes-wallet-exercise opens the hermes-install governed change amending feature 018's ratified narrowing so the council credential's minted installation token admits pull_requests: read (the ONE permission feature 021's subject-pin head resolver needs and never declared; the openxcouncil App already holds it). OpenSpec ratifies (proposal PR → Brett's word), Speckit builds (constant + contracts + tests + refresher image + aks-qa overlay digest), the refresher re-mints, then the first gate-rules convening re-dispatches at the same pin. Claim + proposal follow.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

CLAIMED — lane hermes-wallet-exercise, session f7b1536f-3ab1-4b19-b070-3bccd97d20ac, 2026-09-09T07:30Z: hermes-install governed change admit-pull-request-read-to-council-credential (amend the council credential's narrowed permission set to admit pull_requests: read, the one permission feature 021's subject-pin head resolver needs; ratification → Speckit build) on Brett's "open the amendment" (#717 comment 5597784510).

Sibling search: (1) hermes-install open PRs — exactly one, #56 018-ledgerx-hermes-runtime (Ledgerx runtime instantiation, unrelated to the council credential); (2) remote branches matching credential|permission|pull_requests|018|021 — 018-council-credential-refresher, 018-ledgerx-hermes-runtime, 021-verified-subject-pin, deploy/wallet-exercise-018-stamp, deploy/wallet-exercise-021-stamp, all landed feature/deploy branches with no open PR; (3) hermes-install active openspec/changes/ — add-farheap-client-instantiation, add-three-layer-manager-review-gate, realize-crystallization-dispatch-junction, none touching the credential boundary; (4) openxFactory #717 comments since 06:00Z — all this lane's own (the three dispatches, the diagnosis, and Brett's ruling). No sibling claim on the narrowing.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

hermes-install admit-pull-request-read-to-council-credential RATIFIED by Brett Heap 2026-09-09T11:30:44Z ("Ratify as proposed, D4 and D6 as recommended") — record on hermes-install PR #76. Unblocks the first gate-rules convening's claim (run 34318204178's convening.subject_pin_unverifiable): Speckit build → image → overlay digest (OpsxFactory apply) → refresher re-mint → re-dispatch at the same pin.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

RULING (Rule 2 form) — Brett Heap, in-session, 2026-09-09T11:47:39Z, verbatim: "merge 023 when green, OpsxFactory executes § 3" — hermes-install Speckit feature 023 (realizing admit-pull-request-read-to-council-credential § 2) merges on green; § 3 (refresher image az acr build, the five FR-026 pin-site digest stamp, aks-qa overlay apply) is OpsxFactory's execution act for its registered service subject opensoft-aks-qa-hermes-stack — lane hermes-wallet-exercise files the governed request and does not execute it.

Lane: hermes-wallet-exercise

@brettheap

Copy link
Copy Markdown
Contributor Author

ORG MOVE LANDED (~13:0xZ–13:3xZ): codexFactory is now codeXfactory/codexFactory. Effect on § Sequencing step (6): the 4th dispatch now ALSO waits on the ceremony re-issuing (a) the council-lane federated credential for subject repo:codeXfactory/codexFactory:ref:refs/heads/main, (b) the openxcouncil App installation on org codeXfactory (runtime PR reads), (c) runtime/CIR repository references. Posted as dependencies on codexFactory #279 (the org-move tracking issue) for lane provenance-autonomous-merge — this lane answers questions, does not author there. OpsxFactory § 3 (#207) proceeds independently. xFactory #244 → PR #374 OPEN (validate + lane-line green; merge-master-approval RED from the move — not ours).

Lane: hermes-wallet-exercise

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