Skip to content

The council's wallet declares its four seat keys; pin + gitlink to wallet-v1.3 - #480

Merged
brettheap merged 1 commit into
mainfrom
change/multi-key-wallet-pin-v13
Aug 28, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/multi-key-wallet-pin-v13

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

openxFactory's half of the multi-key wave. openXwallet wallet-v1.3 (add-multi-key-wallets, ratified 2026-08-28 by Brett Heap's in-session ruling "rule option 1 and build it") made a wallet identified by its declared key SET; this declares the four council seat keys and moves the pin.

Why the register was not enough

hermes-install writes the register-recorded key_id into an exercise record's presenting_key_ref — deliberately, over the per-convening ephemeral one, because the contract requires that ref to resolve to a wallet key present in the corpus. The pinned validator's rule (r) refuses a presenting key no wallet declares. So before this PR, the first exercise record naming a seat key would have been refused on arrival. The register knowing a key is not the wallet declaring it.

What changes

  • wal-agent-mrc-0001 declares five keys: the operator-vaulted root plus the four CI-resident seat keys. The root key's declaration is byte-untouched — its private half is still retained in the operator's vault and still never enters git, CI or an agent session.
  • Pin + gitlink → wallet-v1.3 (6b248d4). The first pin bump in which the files: block changes at all: every previous one moved commit: and contract_bundle_tag: alone, because no digested contract byte had moved since the carve. One row moves (openxwallet-record.schema.yaml → 20ba39c0…); the other seven were reverified by recomputation at the new commit.
  • The consumer gate gains a second positive assertion beside the register's 4-of-4 note.

Custody: holder_readable, determined not assumed

Each seat key's private half is a 32-byte Ed25519 seed held as an encrypted GitHub Actions secret in codexFactory's worker-credentials environment and read by root_key_from_env() out of the deliberate job's own process environment. That job is the holder's execution context — so the key is readable by it and no authorization outside it is required. holder_readable exactly: evidencing the ENVIRONMENT, ceiling act, in the registry member's own words ("an environment variable or a mounted secret").

The still-open Q10 isolated_per_use_authorized authorizer question is NOT implicated — nothing declared here reaches that member or a ceiling above act.

Fingerprint agreement, proven by computation

Fingerprints are verbatim from the mint record and byte-identical to the register's. did and public_key_multibase are derived from the same published public halves by did:key's own encoding — the encoding key-mrc-0001 already uses. For each of the four, the register's base64url half and the wallet's base58btc half decode to the same 32 bytes, and all four fingerprints recompute from both:

seat fingerprint
lead-quality sha256:a78d5d8f… AGREE
lead-security sha256:39f3088f… AGREE
lead-integration sha256:4d40ee51… AGREE
company-policy-lead sha256:0b6ad4ab… AGREE

The cross-surface check itself is a named successor on review-authority-register-reader; each surface already proves its own fingerprint against its own public half.

Gate evidence (run locally at this head)

OK openxwallet-pin verified: openXwallet@6b248d4050e1f88b3ca75c1290ad2c81f465300c (tag label wallet-v1.3), gitlink read from HEAD, 8 digest(s) recomputed
note  wallet 'wal-agent-mrc-0001': 5 declared key(s) adjudicated (key-mrc-0001, key-seat-company-policy-lead-0001, key-seat-lead-integration-0001, key-seat-lead-quality-0001, key-seat-lead-security-0001)
note  intake register read: governance/review-authority/register.yaml (1 row(s))
note  intake register: 4 of 4 per-seat signing key(s) adjudicated and resolved
note  repo scan: 2 openxWallet artifact(s) validated, 1628 document(s) skipped as another kind
validate-openxwallet: 0 error(s), 0 warning(s)

The gate's whole assertion block was replayed against that log: all assertions hold. Affected local subsets: tests/openxwallet_consumer_gate/, tests/openxwallet_pin/, tests/conformance-gate/ — 85 passed, 2 skipped. CI's pytest-suite is the full-suite proof.

🤖 Generated with Claude Code

…them

openXwallet wallet-v1.3 (`add-multi-key-wallets`, ratified 2026-08-28 by
Brett Heap's in-session ruling "rule option 1 and build it") made a wallet
identified by its declared key SET. This is openxFactory's half.

WHY THE REGISTER WAS NOT ENOUGH. hermes-install writes the
register-recorded `key_id` into an exercise record's `presenting_key_ref`
— deliberately, over the per-convening ephemeral one, because the contract
requires that ref to resolve to a wallet key present in the corpus. The
pinned validator's rule (r) refuses a presenting key no WALLET declares,
so before this commit the first exercise record naming a seat key would
have been refused on arrival. The register knowing a key is not the wallet
declaring it.

wal-agent-mrc-0001 now declares FIVE keys: the operator-vaulted root, plus
the four CI-resident seat keys. The root key's declaration is
byte-untouched — its private half is still retained in the operator's
vault and still never enters git, CI or an agent session, which is the
exit the mint record took.

CUSTODY IS `holder_readable` FOR ALL FOUR, determined rather than
assumed. Each private half is a 32-byte Ed25519 seed held as an encrypted
GitHub Actions secret in codexFactory's `worker-credentials` environment
and read by `root_key_from_env()` out of the `deliberate` job's own process
environment. That job IS the holder's execution context, so the key is
readable by it and no authorization outside it is required: the registry
member's own words, ceiling `act`, evidencing the ENVIRONMENT. The
still-open Q10 `isolated_per_use_authorized` authorizer question is NOT
implicated — nothing declared here reaches that member or a ceiling above
`act`.

Fingerprints are VERBATIM from the mint record and byte-identical to the
register's. `did` and `public_key_multibase` are DERIVED from the same
published public halves by did:key's own encoding, the encoding
key-mrc-0001 already uses. Agreement is proven by computation, not
asserted — for each of the four, the register's base64url half and the
wallet's base58btc half decode to the SAME 32 bytes, and all four
fingerprints recompute from both:

  lead-quality         sha256:a78d5d8f… AGREE
  lead-security        sha256:39f3088f… AGREE
  lead-integration     sha256:4d40ee51… AGREE
  company-policy-lead  sha256:0b6ad4ab… AGREE

The pin and gitlink move to wallet-v1.3 (6b248d4). This is the FIRST pin
bump in which the `files:` block changes at all: every previous one moved
`commit:` and `contract_bundle_tag:` alone, because no digested contract
byte had moved since the carve. One row moves —
openxwallet-record.schema.yaml — and the other seven were reverified by
recomputation at the new commit rather than carried on trust.

The consumer gate gains a SECOND positive assertion beside the register's
4-of-4 note: that wal-agent-mrc-0001's FIVE declared keys were
adjudicated, named and counted literally. The two prove different facts,
and only the second one is what rule (r) needs.

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

@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 updates openxFactory’s OpenXwallet consumption to wallet-v1.3 and aligns local governance artifacts and gates with the new multi-key wallet model by declaring the four council seat keys in the council wallet record and asserting their adjudication.

Changes:

  • Declare the four council seat signing keys in wal-agent-mrc-0001 as additional wallet-declared keys (alongside the root key reference).
  • Bump the OpenXwallet pin to wallet-v1.3 and update the one moved digest (openxwallet-record.schema.yaml).
  • Extend the consumer gate workflow and its tests to assert the wallet’s declared-key adjudication (in addition to the register assertion).

Reviewed changes

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

File Description
tests/openxwallet_consumer_gate/test_gate_invocation.py Adds a test intended to pin the new workflow assertion for 5 wallet-declared keys being adjudicated.
governance/review-authority/wallets/wal-agent-mrc-0001.yaml Declares the four council seat keys on the live council wallet record under keys:.
contracts/openxwallet-pin.yaml Pins OpenXwallet to wallet-v1.3 and updates the moved digest entry accordingly.
.github/workflows/openxwallet-consumer-gate.yml Adds a second positive gate assertion requiring the wallet-declared key set adjudication note for wal-agent-mrc-0001.

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

Comment on lines +249 to +253
assert "5 declared key" in assertion, (
"the gate does not assert the COUNT of wal-agent-mrc-0001's declared "
"keys; the count is what distinguishes a wallet that declares the four "
"seat keys from one that lost them")
assert "adjudicated" in assertion
@brettheap
brettheap merged commit 16994e2 into main Aug 28, 2026
4 checks passed
@brettheap
brettheap deleted the change/multi-key-wallet-pin-v13 branch September 2, 2026 18:55
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