Skip to content

Prove the carve: docs/byte-identity-wallet-v1.6.md, the declared path mapping (task 4.6; adapter half measured at a02c6c74) - #3

Merged
brettheap merged 4 commits into
mainfrom
proof/byte-identity-wallet-v1.6
Oct 9, 2026
Merged

brettheap merged 4 commits into
mainfrom
proof/byte-identity-wallet-v1.6

Conversation

@brettheap

@brettheap brettheap commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

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

This pull request realizes the ratified split-openwallet-neutral-core (opensoft/openXwallet#26 → bf2dd4d), group 4, task 4.6: the PROOF, docs/byte-identity-wallet-v1.6.md, a DECLARED PATH MAPPING whose every part can fail (design.md D7, "The proof"). The procedure is this repository's docs/openwallet-cutover-runbook.md, Phase 4. The governing record is opensoft/openXwallet#25. The proof covers this root at 1c68717f1ae4ae132d6942f8c7f533baf292d0b6. That commit pins spec 15c15bbd451a803f0acdb24e5234836db829a2d3 and code 72313daab1f229c049cb90998931564c1904dbbc. The carve commit is 90111df262d6f54f7e82651d860adc12345f83f4, and the carve manifest is the one amended at opensoft/openXwallet@64ca6eac. Part three's second half measured the composed adapter at opensoft/openXwallet a02c6c7487171c110490b234643a7e586ed47153, the head of lane openXwallet-3's rebuild/adapter-group-5 at the run.

The rulings this follows, all Brett Heap's, in session, by multiple choice, labels verbatim:

  • 2026-10-08, the first root tag's name: "wallet-v1.6 (Recommended)". It is allocated and not cut. This PR cuts no tag.

  • 2026-10-08, part three's composed-adapter half: "Start now, neutrality half later (Recommended)". Commit 1 wrote that half as PENDING. Commit 3 runs it.

  • 2026-10-09, where the tag goes: "The root commit carrying the completed proof (Recommended)". The tag waits for three things:

    • (a) this proof landing;
    • (b) the spec re-pin landing;
    • (c) the three rulesets (task 4.7) ACTIVE.

    It goes on root main after (a) and (b). Cutting it is the operator's act (task 4.9).

  • 2026-10-09, the spec pin after the carve: "Re-pin spec to 1506bbdb before the tag (Recommended)", then "Re-pin to the archive merge before the tag (Recommended)". The root's spec pin follows the leg's main through declared post-carve changes. Each change gets its own lockstep root commit, and the release record names the pinned commit. The proof's byte-identity claims stay at the carve layer and A → B.

Commit 1: the proof 624e19610abd57768c0d8d29b0feba4eac9c69ff

This commit adds only docs/byte-identity-wallet-v1.6.md, in the form, voice and failure framing of its precedent docs/byte-identity-wallet-v1.0.md. For each part, it records the exact commands, the directory they run from, and the verbatim decisive output. No script is added to this root. The runbook's five helpers are extracted from its own text, byte-identical to its printed copies. The proof's four checks (mapping.py, per-path.py, three-way-full.py, attribute.py) are embedded in the document. The document's own bash blocks were then re-run, as extracted, in a fresh scratch directory, and every quoted line printed again. The only exceptions are two values that vary by nature: a scratch commit's short id and pytest's elapsed time.

Commit 2: the stale tense lines b86c6a59419358162f43a744f7a738aa6c3ea030

This commit touches only README.md and AGENTS.md.

  • Two lines that the status commit left in the future tense now say what happened. README's Layout note reads "Carved from opensoft/openXwallet", and AGENTS' release-identity bullet reads "all carved from openXwallet". Both used to read "arriving at the carve".
  • The proof is now listed where the root lists its documents: README's Layout block, and AGENTS' "the proof" bullet, in place of the docs/byte-identity-<first tag>.md placeholder.

Nothing else changes.

Commit 3: the adapter half, depth 2 and the spec-pin snapshot c644bf74bc60957eaebff7b58bd1c647b47c3965

This commit touches only docs/byte-identity-wallet-v1.6.md. It turns the PENDING half into measured verdicts.

  • Part three, second half: RUN-GREEN. The carve-commit validator (a worktree at 90111df) and the composed adapter (a02c6c74) ran over the same trees, plain and --strict. Stdout and stderr were taken together, with the exit code appended, and each pair was compared with diff.
    • (i) openXwallet's own tree: EMPTY.
    • (ii) an export of openxFactory's governance/ at c8dde131: EMPTY. The export was deleted after the run, and only its summary lines are quoted.
    • (iii) the 110 fixture trees the five kept suites and two moved suites build: 110/110 EMPTY in both modes, with equal exit codes (52 at 0/0, 58 at 1/1).
    • The self-test alone: EMPTY.
  • How (iii) was caught. The suites build their trees under tmp_path, so a sitecustomize.py outside every clone copies each tree at the moment it is handed to the validator. The suites themselves still pass under the hook: 91 passed; 33 passed, 1 skipped.
  • The prune line. The document expected "one declared line" of difference, nested repositories pruned (not adjudicated): openWallet. Both validators print it, so the diff is EMPTY.
  • Lane openXwallet-3's scripts/neutrality-gate.py agrees: neutrality-gate: IDENTICAL: 4 target run(s) over 2 tree(s) and 117 suite invocation(s) over 7 suite(s), exit 0.
  • Part four gains 4.9. neutral() reports a one-byte change in a scratch copy's pinned core as DIFFERS.
  • Consumer depth 2: RUN-GREEN. 88/88 paths have the same sha256 three ways: the code leg's P, this root's code/P, and openXwallet's openWallet/code/P. openXwallet's contracts/openwallet-pin.yaml files: recompute 8/8 and are part one (b)'s eight strings.
  • The spec-pin note, as policy plus a measured snapshot, in part two (b).
    • 15c15bbd → 1506bbdb: only the change's 5 new files under openspec/changes/bind-approval-posture-vocabulary/ (481 insertions). Helpers 3 and 5 give 0 refusals with those as the additions.
    • 1506bbdb → 19245003 (the archive, already on the leg's main): the change directory renamed under openspec/changes/archive/2026-10-09-…, plus the promoted spec openspec/specs/openxwallet-agent-profile/spec.md (+16 −7). That is a carved row, which the carve helpers refuse as a post-carve change.
    • Nothing outside openspec/ moved, and the code leg did not move.
  • Finding 4, new. Over the code leg's checkout scanned in place, the two validators differ by one count line: repo scan: 1 vs 0, both with 0 errors and exit 0. The cause is repo_scan's skip of the validator's own packaged registry by resolved path.
    • Controls show it follows each validator's location: the carve-commit tree in place differs the other way round, and the leg's bytes exported elsewhere are EMPTY.
    • That tree is none of D5's three kinds, so the verdict covers the three kinds. The finding is recorded as a choice for Brett, and the document does not absorb it.
    • Lane 3's gate cannot see it: its suite mirrors are symlinks, which os.walk does not descend.
  • The opening, the verdict table and the closing section now say what the tag waits for.
  • Finding 1 now points at commit 4.

Commit 4: the runbook's 3c exit code 6b25be50d984adf1a860381908b9460a66a9b079

This commit touches only docs/openwallet-cutover-runbook.md, step 3c: two lines.

  • One line is added: raise SystemExit(0 if ok == len(owned) == 8 and not any(c.get("member_class") == "consumed" for c in contracts) else 1).
  • The # expect: comment now says "and exit 0; anything else exits 1".

Phase 4's text names the check but does not quote it, so it is unchanged. As extracted by the proof's own awk, the fixed snippet behaves as follows:

  • this root: 8/8 … consumed rows left: 0, exit 0;
  • part four's 4.6 mutation: 7/8, exit 1 (the old snippet exits 0);
  • a consumed row left: exit 1.

What is still open

Findings recorded in the document, not absorbed

  1. The runbook's printed 3c three-way check reported by count and had no exit code. On a mutated root manifest it printed 7/8 and exited 0. The proof uses three-way-full.py, which exits 1. Commit 4 gives the runbook's snippet its exit code.
  2. Rule (g)'s message still names "the neutral job envelope", although D4 says it would name the bound vocabulary. The message lines (carve-commit :1136, :1143-1144) are not among hunk (b)'s declared lines, so changing them would have been an undeclared edit. The carve is faithful to the manifest, and the gap between D4's sentence and the manifest is Brett's to close.
  3. The design's counts held at the carve commit.
  4. Byte-identity holds for a tree, not for where a validator stands. See commit 3. Whether D5's "on any tree" sentence is qualified, or the skip changed, is Brett's to close. A change to the skip would move the code leg and re-run this proof.

Verified before pushing. make validate at the head gives manifest ok: openWallet (openwallet), 3 legs, both gitlinks equal to their pins, both tree digests recomputing, 11 copied shape file(s) match their digests, and pins ok. Of the blocks commit 3 adds, the spec-pin snapshot, the adapter setup and trees (i) and (ii) were re-run as extracted from the document's text, in a fresh scratch directory, and printed every quoted line again. The capture, the replay, 4.9 and depth 2 were measured once with the same commands, and the document says their re-run from its text is owed to a follow-up commit. Neither the document nor the runbook contains a host-absolute path.

Rollback (written before the phase, runbook Phase 4): close the pull request. If it has merged, revert it. The proof is documentation and moves no pin, no leg is changed, and nothing is tagged.

Merge method. A merge commit keeps the four commits separate. The runbook requires merge commits only for Phases 1-3, so the method here is the merger's choice. This PR merges on Brett Heap's word.

Codex review is requested with @codex review (posted by the orchestrator).

Refs opensoft/openXwallet#25

🤖 Generated with Claude Code

brettheap and others added 2 commits October 9, 2026 00:25
… mapping (task 4.6; part three's adapter half pending group 5)

The proof of design.md D7 for openWallet's first root release, wallet-v1.6
(ruled "wallet-v1.6 (Recommended)"; allocated, not cut). Every part names its
commands, the directory they run from and its measured output, against the
carve commit 90111df262d6f54f7e82651d860adc12345f83f4, the manifest as amended
at opensoft/openXwallet@64ca6eac, and this root at 1c68717:

- zero, the control: 8/8;
- one (a), the mapping: 232 tracked paths in 232 rows, 128 moved, 0 renamed,
  80 / 38 / 10 per destination, 73 contract rows and 42 negatives, both
  examples/ prefixes;
- one (b), three-way: 8/8;
- two (a), blob and mode at each carve layer, per path: 80/80, 38/38, 10/10;
- two (b), helpers 3 and 5: 0 refusals at each commit B, each pinned leg, the
  lockstep commit and 1c68717;
- three, first half: 21 / 42 / 11 of 11 from the code leg's root, and a
  posture under no binding refused;
- four: every verifier observed refusing a mutated input, including a code
  gitlink and code-pin.yaml that disagree;
- five: make validate, pins ok.

Part three's second half, D5's neutrality gate over the composed adapter, is
PENDING group 5 under the ruling "Start now, neutrality half later
(Recommended)". The section carries the command that fills it. Depths 2 and 3
of the consumer statement are pending groups 5 and 6.

The document records three findings rather than absorbing them:
- the runbook's 3c three-way snippet exits 0 at 7/8;
- rule (g)'s message still names the envelope, because hunk (b) does not
  declare those lines;
- the design's counts held at the carve commit.

No script is added to this root. The proof's four checks are embedded in the
document, and its commands were re-run from its own text in a fresh directory.

Lane: openXwallet-2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…'s docs

Two lines that the status commit e4a7a6a left in the future tense now say
what happened:
- README.md's Layout note now reads "Carved from opensoft/openXwallet" where it
  read "Arriving at the carve";
- AGENTS.md's release-identity bullet now reads "all carved from openXwallet"
  where it read "all arriving at the carve".

The proof is now named where the root lists its documents:
- README.md's Layout block lists docs/byte-identity-wallet-v1.6.md;
- AGENTS.md's "the proof" bullet names it in place of the
  docs/byte-identity-<first tag>.md placeholder, for the first tag, allocated
  and not yet cut.

Nothing else changes.

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 9, 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 22 hours and 33 minutes 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.

1 similar comment
@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 9, 2026

Copy link
Copy Markdown

Reviewer's Guide

This documentation-only PR records a reproducible proof that the wallet-v1.6 carve is a complete, functional, byte-identical, and fully declared path mapping, while preserving explicit pending status for the composed-adapter neutrality and deeper consumer checks; it also updates repository documentation to reflect the completed carve.

Sequence diagram for reproducing the wallet-v1.6 proof

sequenceDiagram
    participant Proof as Proof document
    participant Source as openXwallet carve
    participant Layers as Carve layers
    participant Root as openWallet root
    participant Validator as Verifiers

    Proof->>Source: control.py(CARVE_COMMIT)
    Source-->>Proof: 8/8 owned digests agree
    Proof->>Source: mapping.py(MANIFEST, CARVE_COMMIT)
    Source-->>Proof: 232 paths mapped exactly once
    Proof->>Layers: per-path.py and carve-layer.py
    Layers-->>Proof: blob and mode identity 80/80, 38/38, 10/10
    Proof->>Root: three-way-full.py(SRC, CARVE_COMMIT, CODE_LAYER)
    Root-->>Proof: 8/8 digests agree
    Proof->>Validator: validate-openxwallet.py(.) and --strict
    Validator-->>Proof: 21 positive, 42 negative, 11/11 requirements
    Proof->>Validator: mutated inputs
    Validator-->>Proof: refusal outputs observed
Loading

State diagram for wallet-v1.6 release readiness

stateDiagram-v2
    [*] --> Allocated
    Allocated --> ProofRunGreen: byte-identity proof passes
    ProofRunGreen --> AdapterPending: composed-adapter neutrality pending
    AdapterPending --> DepthChecksPending: group 5 and group 6 consumer checks pending
    DepthChecksPending --> RulesetsPending: rulesets not yet ACTIVE
    RulesetsPending --> ReadyToTag: proof green and rulesets ACTIVE
    ReadyToTag --> Tagged: operator performs task 4.9
    Allocated --> NotTagged: current PR cuts no tag
Loading

Flow diagram for the wallet-v1.6 byte-identity proof

flowchart TD
    A["Recompute carve control\n8/8 digests"] --> B["Validate total functional mapping\n232 paths in 232 rows"]
    B --> C["Compare carve layers\n80 / 38 / 10 paths"]
    C --> D["Verify three-way digests\n8/8 agree"]
    D --> E["Verify declared edits\n0 refusals"]
    E --> F["Run standalone validator\n21 positive, 42 negative"]
    F --> G["Mutate inputs\nand observe refusals"]
    G --> H["make validate\npins ok"]
    H --> I["Proof green\nexcept pending adapter gate"]
    I --> J["Tag wallet-v1.6\noperator act after pending work"]
Loading

File-Level Changes

Change Details Files
Added a reproducible, evidence-backed byte-identity proof for the wallet-v1.6 carve and declared path mapping.
  • Documents pinned source, manifest, carve, leg, and root commits plus reproduction environment.
  • Embeds extracted runbook helpers and independent checks for mapping completeness, three-way digests, per-path blob/mode identity, and declared edits.
  • Records green results for carve control, mapping, digest agreement, path identity, post-carve declarations, standalone validation, mutation refusals, and repository validation.
  • Explicitly marks the composed-adapter neutrality gate and consumer depths two and three as pending, with the follow-up command.
  • Records known runbook/message discrepancies without changing the governed carve or runbook.
docs/byte-identity-wallet-v1.6.md
Updated repository documentation to describe the completed carve and identify the wallet-v1.6 proof.
  • Changed release-identity wording from future-tense arrival to carved provenance.
  • Replaced the proof placeholder with the wallet-v1.6 proof document and noted that its tag is allocated but not cut.
  • Listed the proof in the README layout and changed the carve provenance note.
AGENTS.md
README.md

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 and others added 2 commits October 9, 2026 01:32
… composed adapter at a02c6c74; consumer depth 2 88/88; spec re-pin noted (ruled 2026-10-09)

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

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@brettheap brettheap changed the title Prove the carve: docs/byte-identity-wallet-v1.6.md, the declared path mapping (task 4.6; part three's adapter half pending group 5) Prove the carve: docs/byte-identity-wallet-v1.6.md, the declared path mapping (task 4.6; adapter half measured at a02c6c74) Oct 9, 2026
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-09T01:40:45Z)

LANDING — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-09T01:40:45Z, PR #3 into opensoft/openWallet main

@brettheap
brettheap merged commit 52d7573 into main Oct 9, 2026
3 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-09T01:41:09Z)

LANDED — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-09T01:41:09Z, PR #3 into opensoft/openWallet main → merge 52d7573

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