Skip to content

add-multi-key-wallets: a wallet is identified by its key SET - #7

Merged
brettheap merged 1 commit into
mainfrom
change/add-multi-key-wallets
Aug 28, 2026
Merged

brettheap merged 1 commit into
mainfrom
change/add-multi-key-wallets

Conversation

@brettheap

Copy link
Copy Markdown
Contributor

Ratified 2026-08-28 by Brett Heap (operator authority), in-session: "rule option 1 and build it" — one wallet MAY declare several keys as presenters of its single authority.

Why now

add-per-seat-register-entries tasks §7.3 named this successor with a date on it: hermes-install copies the projection's key_id verbatim into an exercise record's presenting_key_ref, so a wallet declaring several keys "MUST be answered before any exercise record carrying a per-seat key is committed to a tree this validator scans — rule (r) refuses a presenting key no wallet declares."

Four seat keys are minted, provisioned, and recorded in openxFactory's register at wallet-v1.2. wal-agent-mrc-0001 declares exactly one key. The register knowing a key is not the wallet declaring it.

What this packet is

Four ## MODIFIED Requirements on the existing capability openxwallet. No new capability, no new kind, no renamed machine key.

  1. A wallet is a key, never a record of a key — re-grounded on the key SET; still never a record of someone ELSE'S key.
  2. Custody is declared and bounds what a signature evidences — per key, with a ceiling no declared key may outrank.
  3. Every exercise is key-attributed — the audience binding resolves against the declared SET; one identifier per wallet.
  4. Revocation propagates through the chain — retirement by state, never by deletion, because four CI-resident seat keys will rotate.

Explicitly NOT ruled in, named as successors: subwallets, per-key grants, delegation chains, shared holders.

Backward compatible. Existing single-key records remain valid — the set has one member. The schema change is additive; four new ERROR codes, zero new warnings (LedgerxFactory runs --strict).

Alignment pass

One adversarial reviewer against the draft: fourteen verdicts, five DEFECT, six CONCERN, three ALIGNED. Every one is recorded in design.md with its disposition — including the two that found this packet's own reasoning false (the custody basis as first written would have silently deleted custody-model-mismatch for the whole estate; D2's rationale cited a rule-(e) bypass that does not exist). Corrected in place, not paraphrased away.

Realization

wallet-v1.3, an ADDITIVE MINOR whose openxwallet-record digest MOVES — the first wallet release since the carve for which that is true. Tracked in tasks.md; not in this PR.

🤖 Generated with Claude Code

…ences

Ratified 2026-08-28 by Brett Heap (operator authority), in-session:
"rule option 1 and build it" — one wallet MAY declare several keys as
presenters of its single authority, each carrying its own custody
declaration and fingerprint; grants stay wallet-level so keys never
multiply authority; audit stays key-attributed; rule (r) extends to
"presenting key is in the wallet's declared key set"; per-key custody caps
what that key's signature evidences.

The trigger has a date on it. hermes-install writes the register-recorded
`key_id` into an exercise record's `presenting_key_ref` — key-seat-*-0001,
four of them — and `wal-agent-mrc-0001` declares exactly one key, so rule
(r) refuses every such record as presented by a key no wallet declares.
The register knowing a key is not the wallet declaring it.

Four MODIFIED requirements on `openxwallet`: the key-set re-grounding
(still never a record of someone ELSE'S key), per-key custody with a
ceiling no key may outrank, the audience binding over the declared set,
and retirement-by-state because four CI-resident seat keys will rotate and
deleting a declaration would retroactively invalidate the acts already
attributed to it.

Explicitly NOT ruled in, and named as successors: subwallets, per-key
grants, delegation chains, shared holders.

One adversarial reviewer ran against the draft and returned fourteen
verdicts — five defects, six concerns, three aligned. All are recorded in
design.md with their disposition, including the two that found this
packet's own reasoning false: the custody basis as first written would
have silently deleted `custody-model-mismatch` for every record in the
estate, and D2's justification for `declared-key-raises-authority` cited a
rule-(e) bypass that does not exist. Both are corrected in place rather
than paraphrased away.

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

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

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap merged commit f8ed764 into main Aug 28, 2026
4 checks passed

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 adds a fully ratified OpenSpec change packet for multi-key wallets, defining that a wallet may declare a set of signing keys that present a single wallet authority, along with the associated custody, attribution, and revocation semantics. It fits into the codebase as a specification-and-plan artifact under openspec/changes/, intended to drive the subsequent realization work (schema/validator/corpus/release).

Changes:

  • Adds the ratified proposal, design rationale, and requirement delta for “add-multi-key-wallets”.
  • Introduces an implementation task list covering schema, validator behavior, corpus fixtures, and release bookkeeping for the upcoming wallet-v1.3.
  • Records alignment-pass findings and dispositions as part of the design document.

Reviewed changes

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

File Description
openspec/changes/add-multi-key-wallets/tasks.md Implementation checklist for schema/validator/corpus/release work needed to realize multi-key wallets.
openspec/changes/add-multi-key-wallets/specs/openxwallet/spec.md Specification delta: modifies four existing requirements to define key-set wallets and per-key custody behavior.
openspec/changes/add-multi-key-wallets/proposal.md Ratified proposal describing motivation, scope, backward compatibility, and expected release impact.
openspec/changes/add-multi-key-wallets/design.md Detailed design decisions (D1–D10), including alignment-pass verdicts and rationale for validator/schema rules.

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

brettheap added a commit that referenced this pull request Oct 9, 2026
…ged on the openWallet root at b0af7c2c

opensoft/openWallet#7 landed and the annotated tag wallet-v1.6 is cut, so
task 4.9 is ticked. Each fact was read from GitHub before it was written.

- tasks.md 4.9 ticked, with a DONE note. The word is Brett Heap's, by
  multiple choice, label verbatim "Land 7 and cut the tag (Recommended)"
  (#25, comment 6086448281). The merge is
  b0af7c2ce53d63786a08a20aa3602a6f90345606 (parents b4580d16 and the release
  commit 88345cc8, landed 2026-10-09T17:43:03Z), gated on `validate`
  completed success for head 88345cc8 with the lockstep-pins step (`pins ok`).
  The tag object is 3acfa611b69503e809043faff5f3622cc008a3eb, message
  "openWallet wallet-v1.6: the first release on the root, pinning both legs",
  and it resolves to the merge. At the tag the root's gitlinks read spec
  1924500354f4 and code 72313daab1f2; neither leg carries a tag. The five
  coordinated values are listed, and the note says the tag came after 4.6
  was green and 4.7's rulesets were ACTIVE.
- tasks.md 5.1, NOT ticked: the sub-bullet now names the merge as the final
  root lane openXwallet-3 re-pins to.
- tasks.md 4.6: one dated "Superseded 2026-10-09" note after the PENDING
  bullet, whose history is left as written: the final root is #7's merge,
  not 52d75736.

Gates, all offline, from this tree: the pinned OpenSpec CLI gate at --strict
(6 passed, 0 failed), scripts/verify-contract-pin.py, the syntax gate, the
validator plain and --strict, the carve-manifest checker and its tests (78
passed), and python3 -m pytest tests/ -q (184 passed, 1 skipped).

Lane: openXwallet-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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