Skip to content

Archive add-multi-key-wallets with the pinned CLI (openxwallet: four MODIFIED requirements promoted; wallet-v1.3) - #27

Merged
brettheap merged 2 commits into
mainfrom
archive/add-multi-key-wallets
Oct 8, 2026
Merged

brettheap merged 2 commits into
mainfrom
archive/add-multi-key-wallets

Conversation

@brettheap

@brettheap brettheap commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openxwallet-2 (openXwallet-2)
Claim: #25 (comment)

Realization task 2.1 of the ratified split-openwallet-neutral-core (PR #26 → bf2dd4d), on Brett Heap's word in session, verbatim: "start realization, archive add-multi-key-wallets first". Governing record: #25.

The act

add-multi-key-wallets — realized as wallet-v1.3 (PR #8 → 6b248d4, tag at that head; consumer completion openxFactory #480) — is ARCHIVED with the pinned @fission-ai/[email protected], installed by scripts/install-pinned-openspec-cli.py from the vendored content-addressed tarball, so this repository's history records which CLI version adjudicated the archive (the obligation #20 names). Its four MODIFIED requirements are now promoted text in openspec/specs/openxwallet/spec.md, so they travel to openWallet as canon.

Specs to update:
  openxwallet: update
Applying changes to openspec/specs/openxwallet/spec.md:
  ~ 4 modified
Totals: + 0, ~ 4, - 0, → 0
Change 'add-multi-key-wallets' archived as '2026-10-08-add-multi-key-wallets'.

A move, not an edit: the four archived files were SHA-256'd before the move and verified after it (tasks.md then gained an "At archive" evidence section). The promoted ## Purpose is intact. The governed wrapper's checks were done by hand and recorded in the commit: realization evidence present, 7 open boxes are all §7 named successors and stay open on purpose.

The bar at this head

Gate Result
verify-contract-pin.py OK
syntax gate exit 0
validate-openxwallet.py plain and --strict 0 errors, 0 warnings; corpus: 21 positive, 45 negative across 13/13 requirements
pytest tests/ -q 106 passed, 1 skipped (the designed baseline-blob skip)
pinned openspec validate --all --strict 5 passed, 1 failed — see below

The one red check, expected and recorded

openspec-cli-pin reports RED on this head because promoting multi-key's text exposes the collision the ratified packet already names (design.md D0/D9, task 8.1):

change/add-composition-drift-cascade
  ✗ [ERROR] openxwallet/spec.md: MODIFIED "Revocation propagates through the chain" omits scenario(s) the current spec still has: "retiring one key does not revoke the wallet".

Nothing in add-composition-drift-cascade is edited by this PR. The cure is a verbatim carry-forward into that MODIFIED block of the promoted scenario retiring one key does not revoke the wallet and the promoted sentence beginning "Retiring one DECLARED KEY of a wallet SHALL stop that key presenting the wallet's authority without revoking the wallet itself" — a rebase onto canon that changes no meaning. Where and when it is done is Brett Heap's ruling, recorded on #25. openspec-cli-pin is not among the ruleset's required checks (wallet-validation, pytest-suite, lane-line).

Refs #25

🤖 Generated with Claude Code

Summary by Sourcery

Archive the multi-key wallet change and promote its requirements into the canonical openxwallet specification.

New Features:

  • Promote multi-key wallet requirements into the canonical openxwallet specification, covering declared key sets, per-key custody, key attribution, retirement, and single-key compatibility.

Enhancements:

  • Archive the add-multi-key-wallets change with recorded integrity checks, realization evidence, and validation results.
  • Rebase the composition-drift-cascade revocation requirement and document the resulting follow-up state.

Build:

  • Record use of the pinned OpenSpec CLI version and archive-time validation gates.

Tests:

  • Record the archive-time syntax, specification validation, and test-suite results.

Chores:

  • Mark the neutral-core realization task for archiving add-multi-key-wallets as complete.

…quirements, wallet-v1.3)

Realized as wallet-v1.3: packet PR #7 (f8ed764; ratification recorded at
225be34, Brett Heap, 2026-08-28), realization PR #8 merged at 6b248d4,
annotated tag wallet-v1.3 at 6b248d4 with the bar re-proven at that head
and the one moved digest (openxwallet-record) recomputed. Consumer
completion is openxFactory PR #480: wal-agent-mrc-0001 declares the four
seat keys, pin and gitlink at wallet-v1.3, and CI's wallet-validation log
carries both positive notes ("5 declared key(s) adjudicated", "4 of 4
per-seat signing key(s) adjudicated and resolved"). hermes-install needed
no change. All of it is the change's own tasks.md "## Realization
evidence".

Archived with the pinned @fission-ai/[email protected], resolved through
scripts/install-pinned-openspec-cli.py and run as `openspec archive
add-multi-key-wallets --yes`: "openxwallet: update", "~ 4 modified",
"Totals: + 0, ~ 4, - 0, → 0". openxFactory's governed wrapper (at
44d8fbaf) was not run - no checkout at that commit was available - so its
substance was done by hand: the realization evidence above, and the open
boxes below. Bytes verified, not assumed: the four archived files
SHA-256-equal the active change's, the delta spec included, so the move
edited nothing (the archived tasks.md is appended to afterwards, below).
The four promoted requirement blocks equal the MODIFIED blocks verbatim;
the other four promoted requirements are untouched. ## Purpose is intact -
it already carries the key-SET wording realization task 6.4 wrote, and the
CLI writes a TBD only for a spec it creates - so nothing was filled. The
rest of the spec diff is the CLI's own whitespace: a blank line after the
Purpose paragraph and after ## Requirements, the trailing blank line
dropped.

The CLI counted 46/53 boxes. The seven open boxes are 7.1-7.7, the named
successors design D6 declines (subwallets, per-key grants, delegation
chains, shared holders, the cross-surface fingerprint-agreement check,
per-key custody in hermes-install's projection, an independent custody
block on key_reference) - unticked on purpose, as the precedent left its
successors. Sections 1-6 carry no archive-gate row, so the archived
tasks.md gains an "At archive" section recording the bar instead of a
tick. split-openwallet-neutral-core task 2.1 is ticked citing the archive
directory; its PR and merge sha are added later.

The drift-cascade interaction, measured: the pinned gate reads 7 passed,
0 failed (7 items) before the archive and 5 passed, 1 failed (6 items)
after it, the one failure being

  change/add-composition-drift-cascade
    ✗ [ERROR] openxwallet/spec.md: MODIFIED "Revocation propagates through the chain" omits scenario(s) the current spec still has: "retiring one key does not revoke the wallet". Copy them into the MODIFIED block (a MODIFIED requirement replaces the whole block, so archive refuses to drop them).

This is the collision split-openwallet-neutral-core design D0 measured
and D9 assigns; the rebase is that packet's task 8.1, owed in openWallet's
spec leg, and add-composition-drift-cascade is NOT edited here. The
openspec on PATH (1.6.0) reads 6 passed, 0 failed over the same tree, so
the finding is 1.12's strictness. Task 2.2's seven wrapped scenario-bullet
lines stand exactly where D0 put them: openxwallet lines 42, 57, 131, 139,
169, 171 and 223.

Full gate bar at archive (this branch off origin/main bf2dd4d, archive
applied): verify-contract-pin.py OK, 1 vendored file at
openxFactory@30565e48ffe3 (bundle contract-v1.44); syntax gate exit 0;
validate-openxwallet.py plain and --strict 0 errors/0 warnings (21
positive, 45 negative, 13/13 requirements, the same corpus note as before
the archive); pytest tests/ -q 106 passed, 1 skipped (the designed loud
skip: no different, previous validator blob reachable from this
checkout); pinned openspec validate --all --strict 5 passed, 1 failed -
RED on the drift-cascade finding above and on nothing else.

Refs #25

Lane: openXwallet-2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

@codex review

@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 3 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@sourcery-ai

sourcery-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

This PR archives the realized add-multi-key-wallets change with pinned OpenSpec tooling, promotes its four modified requirements into the canonical openxwallet spec, and records provenance, validation results, and the known follow-up collision with add-composition-drift-cascade.

Flow diagram for archiving and promoting multi-key wallet requirements

flowchart LR
    A["Realized add-multi-key-wallets"] --> B["Pinned OpenSpec CLI 1.12.0"]
    B --> C["Archive change as 2026-10-08-add-multi-key-wallets"]
    C --> D["Promote 4 MODIFIED requirements"]
    D --> E["Canonical openxwallet spec"]
    C --> F["Record SHA-256 move evidence and gate results"]
Loading

File-Level Changes

Change Details Files
Archived the realized multi-key wallet change using the pinned OpenSpec CLI and preserved archive-time provenance and validation evidence.
  • Moved the four change files into the dated archive without content changes, then recorded SHA-256 verification and the pinned CLI invocation.
  • Recorded realization and consumer-completion evidence, the intentionally open successor tasks, and the complete archive gate results.
  • Marked realization task 2.1 complete in the governing split change.
openspec/changes/archive/2026-10-08-add-multi-key-wallets/tasks.md
openspec/changes/split-openwallet-neutral-core/tasks.md
Promoted multi-key wallet requirements into the canonical openxwallet specification.
  • Changed the wallet model from a single key to a declared set while preserving single-key compatibility and append-only key declarations.
  • Added requirements and scenarios for per-key custody, presenting-key attribution, duplicate-key rejection, and retired-key behavior.
  • Updated revocation semantics so retiring one key stops only that key while other declared keys retain wallet authority.
openspec/specs/openxwallet/spec.md
Documented the expected pinned-validator collision with the existing composition-drift change rather than resolving it in this PR.
  • Recorded the one strict OpenSpec failure caused by the existing MODIFIED revocation block omitting the newly promoted retired-key scenario.
  • Identified the required follow-up as the separate task 8.1 rebase onto canonical text.
openspec/changes/archive/2026-10-08-add-multi-key-wallets/tasks.md
openspec/changes/split-openwallet-neutral-core/tasks.md

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-08T17:43:53Z)

RULING for lane openXwallet-2's PR #27 (head 299242ae7d1d53c2d13aead89e6d218466b3b216) — Brett Heap (openXwallet operator authority), in session, 2026-10-08T17:43:53Z, by multiple choice, label verbatim: "Rebase drift-cascade now, then land (Recommended)".

What it authorizes: a second commit on this PR that rebases add-composition-drift-cascade's MODIFIED block Revocation propagates through the chain onto the text this archive promoted — carrying forward VERBATIM the promoted scenario retiring one key does not revoke the wallet and the promoted sentence beginning "Retiring one DECLARED KEY of a wallet SHALL stop that key presenting the wallet's authority without revoking the wallet itself", keeping every addition that change makes of its own. No meaning changes; the delta is rebased onto canon so the pinned openspec-cli-pin gate reads green before this PR lands. This pre-performs split-openwallet-neutral-core task 8.1 where the text lives today, so the cascade travels to openWallet already rebased. Then: land under Rule 6.

Refs #25

…xt (Brett Heap: "Rebase drift-cascade now, then land")

Ruled by Brett Heap (openXwallet operator authority), in session,
2026-10-08T17:43:53Z, by multiple choice, label verbatim: "Rebase
drift-cascade now, then land (Recommended)". Recorded on PR #27:
#27 (comment)

A MODIFIED requirement replaces the whole promoted block, so once
add-multi-key-wallets' archive promoted wallet-v1.3's text,
add-composition-drift-cascade's MODIFIED "Revocation propagates through
the chain" would have silently erased what multi-key added to it; the
pinned 1.12.0 refuses exactly that. The block is rebased onto canon,
carrying forward VERBATIM, at the position canon holds them, the only two
things the promoted block had and the delta lacked (checked block against
block: the multi-key archive promoted nothing else into this requirement):

- the first paragraph's closing sentence, "Retiring one DECLARED KEY of a
  wallet SHALL stop that key presenting the wallet's authority without
  revoking the wallet itself or the authority its other declared keys
  still present, and that retirement SHALL be checked at exercise for the
  same reason every other revocation is." - appended to the paragraph
  after "rather than trusting issuance.", with canon's line breaks;
- the scenario "retiring one key does not revoke the wallet" (WHEN / THEN /
  AND / AND, four bullets), third, after "revocation is checked at use",
  as in canon.

Drift-cascade's own four paragraphs and four scenarios are byte-unchanged
(checked block against block), no meaning changes, and the agent-profile
delta is untouched (SHA-256 unchanged; the gate never named it). Recorded
as a dated note on drift-cascade task 1.1 (no box ticked) and on
split-openwallet-neutral-core task 8.1, left unticked: the rebase it asks
for is pre-performed here, so only 4.4's subject rewrite remains for
openWallet.

Pinned gate (validate-openspec-cli-pin.py --all --no-cache --tarball
<the vendored 1.12.0>): before, 5 passed, 1 failed (6 items), the
"omits scenario(s) the current spec still has: 'retiring one key does not
revoke the wallet'" error; after, "Totals: 6 passed, 0 failed (6 items)"
and "every target validated --strict clean". The openspec on PATH (1.6.0)
reads 6 passed, 0 failed.

Scratch-copy archive dry run (a copy of openspec/ outside the tree, pinned
1.12.0, `openspec archive add-composition-drift-cascade --yes`): with the
PRE-rebase delta it aborts "openxwallet MODIFIED failed for header
"### Requirement: Revocation propagates through the chain" - current spec
contains scenario(s) not present in the modified block: "retiring one key
does not revoke the wallet". ... Aborted. No files were changed."; with
the rebased delta it succeeds, "~ 1 modified" to openxwallet and to
openxwallet-agent-profile, "Totals: + 0, ~ 2, - 0, → 0", and the result
still carries multi-key's sentence and scenario. It was not archived in
this tree.

Bar after the rebase: verify-contract-pin.py OK; syntax gate exit 0;
validate-openxwallet.py plain and --strict 0 errors/0 warnings (21
positive, 45 negative, 13/13 requirements - unchanged); pytest tests/ -q
106 passed, 1 skipped (the designed loud baseline-blob skip); pinned
openspec validate --all --strict 6 passed, 0 failed.

Refs #25

Lane: openXwallet-2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-08T17:51:31Z)

LANDING — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-08T17:51:31Z, PR #27 into opensoft/openXwallet main

@brettheap
brettheap merged commit c1c97e5 into main Oct 8, 2026
7 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-08T17:51:52Z)

LANDED — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-08T17:51:52Z, PR #27 into opensoft/openXwallet main → merge c1c97e5

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.

1 participant