Repository navigation
The council's wallet declares its four seat keys; pin + gitlink to wallet-v1.3 - #480
Merged
Merged
Conversation
…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]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
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-0001as additional wallet-declared keys (alongside the root key reference). - Bump the OpenXwallet pin to
wallet-v1.3and 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_idinto an exercise record'spresenting_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-0001declares 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.wallet-v1.3(6b248d4). The first pin bump in which thefiles:block changes at all: every previous one movedcommit:andcontract_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.Custody:
holder_readable, determined not assumedEach seat key's private half is a 32-byte Ed25519 seed held as an encrypted GitHub Actions secret in codexFactory's
worker-credentialsenvironment and read byroot_key_from_env()out of thedeliberatejob'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_readableexactly: evidencing the ENVIRONMENT, ceilingact, in the registry member's own words ("an environment variable or a mounted secret").The still-open Q10
isolated_per_use_authorizedauthorizer question is NOT implicated — nothing declared here reaches that member or a ceiling aboveact.Fingerprint agreement, proven by computation
Fingerprints are verbatim from the mint record and byte-identical to the register's.
didandpublic_key_multibaseare derived from the same published public halves bydid:key's own encoding — the encodingkey-mrc-0001already 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:lead-qualitysha256:a78d5d8f…lead-securitysha256:39f3088f…lead-integrationsha256:4d40ee51…company-policy-leadsha256:0b6ad4ab…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)
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'spytest-suiteis the full-suite proof.🤖 Generated with Claude Code