Repository navigation
Carve the openwallet_root rows from openXwallet@90111df and pin both legs at their carve, in one commit (task 4.5) - #2
Conversation
The wallet standard was carved out of openxFactory at the NAMED CARVE COMMIT 30565e48ffe3d8a9773e10af33425701845e10f6, over twelve path sets, with full path history and no renames. This commit is the scaffold on top of that carve: the carved bytes underneath are untouched, so they stay diffable against their origin and this layer stays reviewable on its own. All eight digested artifacts carry the sha256 openxFactory recorded at the carve commit, unchanged. Zero renames of kind: values, capability ids, finding codes or filenames; zero corpus edits. A move whose diff is not provably empty cannot be bisected against, and openxFactory's later atomic consume-and-shed rests on nothing else. The one artifact this repository does not own is vendored at a digest pin, at the IDENTICAL repository-relative path it holds in openxFactory: contracts/schemas/hermes-job-envelope.schema.yaml, from which validator rule (g) reads the approval-scope vocabulary. The path is load-bearing — ENVELOPE_SCHEMA_PATH is ROOT-relative and the validator's bytes are inside the floor, so an identical path is why the validator needed no source edit at all. It arrives by SCAFFOLD rather than by carve, so the empty-diff proof is about carved bytes only. contract_pin.yaml records it and NAMES its verifier; scripts/verify-contract-pin.py fails closed and carries its remediation in the refusal, and it runs as the FIRST step of wallet-validation because main() checks only that the file EXISTS — presence, not identity. The manifest registers that file as a CONSUMED member, which is how the publisher-marker rule is met without claiming ownership of an openxFactory contract; the release surface excludes it by DECLARED FIELD, never by a contracts/schemas/ path heuristic that would break the day this repository publishes a schema of its own there. Two prose edits, both outside the floor and both enumerated so the diff is checkable: the eleven moved requirements now read openXwallet SHALL, and each promoted spec's Purpose placeholder is written for real. A requirement naming the wrong repository is not a pure move, and neither is a Purpose naming another repository's archiving change. wallet-validation.yml is the one carved file this commit edits, and the edit is the verify step. It is declared in the proof record so it is never mistaken for drift; the byte-identity floor covers the contract bytes, the two validators and the corpus, not this workflow. Realizes P2 of the ratified openxFactory change split-openxwallet-repo (PR #391) through Speckit feature 017-openxwallet-carve. Co-Authored-By: Claude Fable 5 <[email protected]>
docs/byte-identity-wallet-v1.0.md records both halves against the NAMED CARVE COMMIT, with the commands that produced them and repo-relative paths only, so a third party holding just the two repositories can reproduce every claim rather than take one. Part zero is the control, and it comes first: the eight recorded digests already described the carve commit's bytes BEFORE the carve. Without that, a post-carve match would prove the manifest stale rather than the carve faithful. Part one is three-way, not two-way — carved bytes, this repository's manifest, and openxFactory's manifest at the carve commit — so a manifest that had been helpfully corrected would show up as a failure instead of a pass. Part two is recorded per path rather than as one aggregate claim, because "the diff was empty" hides which paths were compared. It is then re-established by git blob hash with file mode, which is immune to the build artifacts a working- tree diff can pick up: 100/100 identical at the carve layer, 97/100 after the scaffold, and the three exceptions are enumerated rather than discovered. The count the ratified shorthand lost is corrected in the open: 32 negatives in the core family plus 4 in the agent profile is the ratified 36, and the validator independently agrees at 36 across 13/13 requirements. Asserting 36 in the core family alone would fail against a correct carve. The record also carries what argument alone could not: the validator returns exit 0 on a MUTATED vendored schema, because main() checks only that the file exists. That is the gap the verify step closes, demonstrated rather than asserted — and the verifier is shown refusing, with both remediation lines, because a verifier that has never refused is not known to refuse. The cutover runbook's proof table is filled with the same results. Co-Authored-By: Claude Fable 5 <[email protected]>
wallet-v1.1: two additive-minor behaviours in the validator, ONE auditable diff on top of the byte-identical wallet-v1.0. Realizes P2b (group 4, tasks 4.1-4.7) of the ratified openxFactory change split-openxwallet-repo, designs D4 and D3 under clarifications N4, at openxFactory f9457d6f. Speckit feature 013-nested-repo-prune-register-note. D4 -- repo_scan no longer descends into any directory below the scan root carrying a .git entry, FILE or directory. A consumer must point this validator at its own checkout ROOT, because check_register joins the SCAN TARGET with governance/review-authority; before this the sweep walked into every nested repository and adjudicated its carried YAML as live records of the consuming tree. SKIP_DIR_NAMES could not close it: the filter matches a path COMPONENT named .git, and a submodule checkout has no such component -- its .git is a FILE. The rule is GENERAL and names no consumer (4.2): hard-coding one consumer's directory into the product's validator is the coupling the split removes, and it would miss every other nested repository. As written it closes the same pre-existing hole for installs/omnigent-install, where it drops 87 files out of openxFactory's sweep with the error and warning sets unmoved. main()'s argparse is UNCHANGED (4.3): no --exclude, because an exclusion the caller supplies is one the caller can omit. D3 -- check_register emits one f.note naming the register relative to the scan root and the rows read. It was silent on success before, so a read could only be inferred from a conjunction of absences. A NOTE and never a warning (4.5): report() reds a --strict run on warnings and LedgerxFactory runs --strict. Relative, so the consumer gate's positive-proof test can assert the line across checkout locations. Unchanged: every finding code, every existing message, --strict semantics, report(), main()'s argparse, and all eight digested artifacts -- 8/8 sha256 still equal the carve commit's manifest rows, and the diff over contracts/openxwallet*/ is empty. The 17 positives and 36 negatives (32 core + 4 profile) adjudicate identically, proven by running the recovered previous version against this tree and diffing its finding set. 18 new tests in tests/nested_repo_prune/, collected by the required pytest-suite; the suite grows 4 -> 22. Written first and confirmed red (8 failed / 10 passed), green after. All six gates exit 0. End to end against a real openxFactory checkout: both notes fire, exit 0. The wallet-v1.1 tag and its digests file are 4.8, an operator act that follows the human merge. Co-Authored-By: Claude Fable 5 <[email protected]>
wallet-v1.1: the sweep prunes nested repositories, and the register read says so
Realizes add-per-seat-register-entries through Speckit feature 014-per-seat-register-entries. GATED on that packet's ratification — it is Status: draft, held for Brett, and this branch must not merge first. It exists so the ratification decides a built thing rather than an intention. check_register read two top-level keys and ignored every other one, which is why openxFactory's governed revocation_staleness_bound sat inside a REQUIRED check unadjudicated, and why the four minted council seat keys could not be recorded at all. The top level is now a CLOSED read set; the bound is required and validated under hermes-install's own grammar, so a value accepted here is one that repository's projection can carry. seat_keys is read and ENFORCED: seven fields checked as exact set equality, the fingerprint recomputed from the public key, canonical 43-character base64url (which refuses a 64-hex private seed by shape — the plausible catastrophic paste), duplicates refused rather than resolved by file order, the authorizing row required ACTIVE and unexpired by computed time, and both council spellings required to denote one body. The note counts entries ADJUDICATED, never parsed: the consumer gate asserts on that line, and a count of len(seat_keys) would prove parsing and nothing else. The cap is retained at one and re-grounded — it bounds AUTHORITY rows — so four keys under one row complete the first shape instead of exceeding it. Proven, not asserted: all eight contract digests recompute unchanged (and the nine in openxFactory's pin files: block); the four real public halves adjudicate 4 of 4 clean against a copy of the live register tree; the current unedited register still passes, so neither landing order can produce a mixed state. Suite 22 -> 69. Co-Authored-By: Claude Fable 5 <[email protected]>
Realizes add-multi-key-wallets (ratified 2026-08-28, PR #7). ADDITIVE MINOR, and the first wallet release since the carve in which a digested contract byte moves: openxwallet-record.schema.yaml only, the other seven proven unchanged by recomputation. `keys:` is an OPTIONAL list of ADDITIONAL declared keys beside `key_reference`. The declared set is their union, so a record omitting it declares a set of one and takes exactly the code path it took before — backward compatibility by construction, not by a compatibility branch. Each entry requires its own did, fingerprint and custody. Rule (r) resolves a presenting key against the SET. `custody-model-` `mismatch` keeps its code and compares against the custody of the key that SIGNED — where signing means a VERIFIED proof named it, because the existing fallback reads the record's own unverified attribution block and keying custody on that would move the lie one field over. Four new codes: `declared-key-duplicate`, `declared-key-raises-authority`, `declared-key-fingerprint-mismatch`, `presenting-key-evidence-cap`. Zero new warnings — LedgerxFactory runs `--strict`. `custody-model-unknown` and `revoked-chain-exercised` take new subjects rather than new names; one harness-only code, `examples-invalid`, refuses a colliding packaged key id and can never fire on a consumer's tree. Two things the alignment pass forced that are worth naming here. A key is RETIRED BY STATE, never by deletion: this validator re-adjudicates every file in a scanned tree on every run, so deleting a rotated key's declaration would rewrite the verdict on acts already attributed to it, and four CI-resident seat keys will rotate. And the fingerprint is RECOMPUTED from `public_key_multibase` where an entry declares one — `did:key`'s own encoding decodes to the same 32 bytes every other surface fingerprints, so the join token is proven rather than decorative. `custody-model-mismatch` shipped UNPROBED by the corpus, so moving its basis could have deleted it silently for the whole estate. negative/exercise-single-key-custody-not-the-wallets.yaml is that regression proof. All nine new negatives are named probes in the validator and in the suite, because every new invariant attributes to a requirement other fixtures already cover. `test_the_previous_version_adjudicates_the_corpus_identically` flipped direction and says why: a reader cannot adjudicate a tree whose rules it lacks, so the comparison is now THIS reader over the recovered PREVIOUS corpus, harness codes excluded. Bar: pin verify, syntax gate, validator plain and --strict (0/0), pytest 90 passed, openspec validate --all --strict 5 passed. Co-Authored-By: Claude Fable 5 <[email protected]>
wallet-v1.3: the declared key set (realizes add-multi-key-wallets)
The CHANGELOG and add-multi-key-wallets design record wallet-vN.M.digests.yaml (over member_class: owned rows) as an operator act that follows the human merge, done "as at wallet-v1.0 and wallet-v1.1". No such file exists anywhere in this repository's history, on any tag, or as a GitHub release asset for v1.0, v1.1 or v1.2 -- the obligation was recorded in prose but never discharged. This commit cuts the two outstanding inventories the multi-key report's release-surface rule requires one of per tag: wallet-v1.2 (missing, digests unchanged from the carve) and wallet-v1.3 (the record schema's digest moves). Format mirrors openxFactory's contracts/releases/*.digests.yaml precedent (schema_version/kind/bundle_tag/repository/digest_algorithm/digest_source/ path_order/entries), scoped to openXwallet's own eight owned rows, entries sorted bytewise by path. Every digest was recomputed from the raw git blob at each tag's commit and cross-checked against contracts/manifest.yaml's recorded sha256 for that tag; all eight match at wallet-v1.2, and seven of eight match at wallet-v1.3 with only openxwallet-record.schema.yaml moving to sha256:20ba39c07564c93b8ffe47382126677a165771244d28fb0c4976ab950173c40a. wallet-v1.0 and wallet-v1.1 inventories remain outstanding under the same finding and are not cut here -- out of the scope Brett asked for. Co-Authored-By: Claude Fable 5 <[email protected]>
Cut the wallet-v1.2 and wallet-v1.3 release digest inventories
wallet-v1.3's cut (PR #10) found that no wallet-vN.M.digests.yaml had ever existed for v1.0 or v1.1, despite the CHANGELOG and add-multi-key-wallets design/tasks prose asserting the file was already an established operator act "since wallet-v1.0". This completes the ledger: cuts contracts/releases/wallet-v1.0.digests.yaml and wallet-v1.1.digests.yaml by the identical procedure (entries from each tag's own contracts/manifest.yaml, sha256 recomputed over the raw git blob at the tag commit, bytewise path order). Verified by recomputation: all eight digests at wallet-v1.0 and wallet-v1.1 are identical to the wallet-v1.2 values already merged -- the byte-identity floor holds across all three unchanged releases. Corrects the record at source rather than rewriting it: every place the CHANGELOG or the add-multi-key-wallets design.md/tasks.md asserted the v1.0/ v1.1 inventories already existed now carries a dated correction note beside the original sentence, per the house amend-with-a-note pattern. Co-Authored-By: Claude Fable 5 <[email protected]>
Backfill the wallet-v1.0 and wallet-v1.1 release digest inventories
…ctive-row obligation — the defect openxFactory's S5 register act found `check_register`'s docstring and the text of `register-no-active-row` both say the obligation falls on an ACTIVE review-class grant. The closing loop never read the grant's `state`: it filtered on `REVIEW_ACT_TOKEN in scope.acts` and nothing else, so a correctly REVOKED review-class grant was refused for having no backing active row — while `REGISTER_MVP_SINGLE_ROW = 1` caps the register at exactly ONE authority row and forbids the row the finding demands. The consequence is larger than one false finding: no consuming tree could represent a RE-ISSUANCE at all. Revocation is terminal under the ratified drift-cascade rule (a revoked grant never returns to the active state; authority resumes only as a NEW grant), so the runbook's §5.1 act necessarily leaves a revoked predecessor beside its active successor in the scanned tree. The absent-register branch of the same function carried the same gap and is corrected with it — the two branches state one obligation, and a consumer's finding must not depend on whether it has cold-started its register yet. Found by openxFactory's S5 register act (PR #583, record openspec/changes/add-wallet-carried-review-authority/walk-2026-09-02-register-act.md): grant-mrc-0001 revoked for declared-composition drift, grant-mrc-0002 issued against the changed composition, row-mrc-0001 repointed — a correct tree that went red on a REQUIRED check. THE NARROWER VARIANT, deliberately. Both spots skip `state == "revoked"` and not the broader `!= "active"`, which would also exempt a grant merely STAMPED `expired` while this reader has no inverse check for stored-expired-with-a-future `expires_at` — N8 is that stored state is checked AGAINST computed time and never trusted, so a state the reader cannot contradict must not switch an obligation off. `revoked` is the terminal fact §5.1 re-issuance produces and is backstopped by `revocation-unrecorded`, which refuses a grant stamped `revoked` carrying no `revocation` block. NO PROTECTION IS WEAKENED. This loop is only the grant -> row direction. The row -> grant direction is untouched and still appends the grant's state to its mismatch list, so a row pointing AT a revoked grant is still refused by `register-grant-mismatch`; `_revoked_ancestor` still refuses every exercise up a revoked chain. What is exempted is exactly a revoked grant NO row names. RED THEN GREEN. tests/register_reissuance/test_revoked_grant_exemption.py (six tests on the S5 act's own shape): 5 failed, 1 passed against the unfixed reader — the one that passed is the protection-preserved probe, whose behaviour does not move — and 6 passed after. Three packaged self-test probes were added in the sibling style so the reader self-tests this fix inside the REQUIRED check every consumer runs: register-revoked-grant-exempt and the absent-register sibling both red on the unfixed reader, register-revoked-grant-still-mismatches green on both. RELEASE BOOKKEEPING (AGENTS.md rule 6; the tag is NOT cut here). Change class NONE for contract content, in the sense wallet-v1.0 used it: no per-file `contract_schema_version` moves and none of the eight digested artifacts is touched. `contracts/manifest.yaml` moves `contract_bundle_version` to wallet-v1.4 and nothing else. `contracts/releases/wallet-v1.4.digests.yaml` was CUT BY RECOMPUTATION by the procedure of the v1.2/v1.3 cut (7194930) — manifest rows with `member_class: owned`, sha256 over the raw file bytes, `git_mode` from the index, entries sorted bytewise by path, every value cross-checked against the manifest's recorded digest — and the generator was proven by reproducing wallet-v1.3.digests.yaml byte-for-byte from this tree first. It differs from wallet-v1.3.digests.yaml in exactly ONE line, `bundle_tag`. No file in this release needs the tag's own commit sha, so there is no chicken-and-egg: the annotated wallet-v1.4 tag remains the operator act that follows the human merge. GATES, all green on this tree: verify-contract-pin.py OK; wallet-yaml-syntax-gate clean; validate-openxwallet.py plain and --strict 0 error(s) 0 warning(s); python3 -m pytest tests -q 96 passed; openspec validate --all --strict 5 passed. Cross-checked against the discovering act: this reader against openxFactory act/register-act-2026-09-02 gives 0 error(s) (1 before), and against openxFactory main 82d23fa8 gives 0 error(s) with and without the fix — no behaviour change in the pre-act world. No governing OpenSpec change, by the ratifying human's in-session ruling of 2026-09-02: "option 1, I tag and approve myself". A reader that refuses a correct tree is a defect, not a contract decision — no requirement moves and no finding code is added or removed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012RQo21NbWtnTVsb6JU67at
…ctive-row obligation (#14) wallet-v1.4: the register reader exempts REVOKED grants from the no-active-row obligation — the defect openxFactory's S5 register act found
…performer Realizes the bookkeeping half of task §4 (openxFactory row 2.6) of the ratified `widen-register-reader-for-a-second-council`, and records the realization evidence for §3. THE RELEASE VALUE IS ALLOCATED AT REALIZATION, never reserved (AGENTS.md rule 6): `wallet-v1.5`. Change class ADDITIVE MINOR for the bundle and REDUCING for the reader's refusal set — the distinction matters to a consumer and is stated rather than averaged, because one refusal is REMOVED and another's trigger narrows while no contract byte moves at all. FOUR OF THE FIVE COORDINATED VALUES LAND HERE. Per-file `contract_schema_version` unchanged on all eight artifacts and proven so; `contract_bundle_version` bumped in `contracts/manifest.yaml`, the only line that moves in that file; `contracts/releases/wallet-v1.5.digests.yaml` cut BY RECOMPUTATION — manifest-owned rows selected by the DECLARED FIELD `release_surface: false` and never by a path heuristic, sha256 over raw bytes, bytewise path order, every value cross-checked against the manifest — and differing from its predecessor in exactly ONE line, `bundle_tag`. The procedure itself is verified rather than trusted: the same run against `wallet-v1.4` reproduced that committed file BYTE-FOR-BYTE, so this is a recomputation and not a copy with a string edited. THE FIFTH VALUE IS THE CUT ACT, AND THIS SLICE DOES NOT PERFORM IT. Recorded in tasks.md 4.1 with its performer: an ANNOTATED tag `wallet-v1.5` at the MERGE COMMIT this pull request produces on `main` — never a branch head, never a force-movable ref — cut by the lane coordinator (lane `hermes-wallet-exercise`) on Brett Heap's word, AFTER the human merge, as at every release since `wallet-v1.0`. It cannot ride a realization commit, because the tag addresses a commit that does not exist until the merge. THE MIGRATION NOTE IS THE POINT OF THE CHANGELOG ENTRY (Q-WRR-1, AGENTS.md rule 2). `register-minimal-shape-exceeded` is a REMOVED refusal: named, with what a consumer pinning the string must do (delete the assertion — the fact it adjudicated no longer exists), why retirement beat re-scoping, and the citation table. That table carries FOUR rows where design D5 measured two: realization found this repository's OWN feature-014 Speckit spec and its `tests/per_seat_register_entries/` assertion, the second of which would have gone red. Both are handled in the reader commit. The ruling is unaffected — no consumer outside this repository pins the string and openxFactory's gate matches `register-*` by wildcard — but "measured unpinned" now rests on a search that is actually complete. The entry states SEPARATELY that `register-seat-duplicate` is a KEPT code whose TRIGGER narrows, which is a different compatibility class. THE EVIDENCE FILE IS THE PROOF, not the prose. `realization-evidence-2026-09-06.md` records the gate bar before and after (104 passed + 2 xfailed -> 107 passed, and every other gate green in both states), the MUTATION proof that the six new self-test probes bite inside the required check, and the two READ-ONLY CONSUMER CHECKS no local gate covers: openxFactory's LIVE register at `origin/main` (9ffc6252) reads BYTE-IDENTICALLY under the pinned and the widened reader, plain and `--strict`, which is openxFactory task 2.9's neutrality gate measured on the live bytes rather than on a fixture; and the #717 design-D5 probe tree moves from four errors with `5 of 8` adjudicated to rc=0 with `8 of 8` — the literal that repository's consumer gate moves to. The pinned column of that check reproduces design D0's transcript code for code and count for count, so the design document's quotation is checkable rather than quotable. Rows ticked: 1.8, 1.9, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 4.2, 4.3. Rows deliberately LEFT OPEN: 4.1 (the operator's tag cut), 4.4 (realization evidence closes only with the openxFactory pin advance — a reader release no consumer pins has widened nothing), all of §5 (another repository's acts) and all of §6 (the archive gate, which waits on `add-per-seat-register-entries` archiving first). Lane: hermes-wallet-exercise
Copyright 2026 Opensoft, Inc. README gains a License section. Lane: provenance-autonomous-merge
Add the Apache License 2.0
…pin both legs at their carve, in one commit The root's one lockstep commit (cutover runbook phase 3b, split-openwallet-neutral-core task 4.5). Its second parent is the pure carve layer: the 10 openwallet_root rows of openXwallet docs/openwallet-carve-manifest.yaml (as amended at 64ca6ea), carved from a fresh mirror with git filter-repo 2.47.0, one exact --path per row and no globs or renames, with 16 commits of their history. Nine rows arrive verbatim, blob- and mode-identical to the carve commit: LICENSE, contracts/CHANGELOG.md, the six contracts/releases/wallet-v1.*.digests.yaml records and docs/byte-identity-wallet-v1.0.md. None of the ten paths existed here before. The one moved_with_declared_edit row, contracts/manifest.yaml, changes on its 67 declared lines and on no other, at the carve commit's line numbers. The manifest field edits fall in three classes: - carved_from: (:52-54) names opensoft/openXwallet at 90111df262d6f54f7e82651d860adc12345f83f4; - each of the eight owned rows' path: gains code/, so it names the bytes this root's code gitlink holds, and its source_path: becomes openWallet-code/contracts/..., spelled <repository>/<path> as the consumed row spelled openxFactory/contracts/... (:76-77, :106-107, :119-120, :132-133, :145-146, :158-159, :171-172, :184-185); - the consumed hermes-job-envelope row and its comment block are removed (:197-244). The envelope does not travel, so contracts: holds exactly the eight owned rows. contract_bundle_version stays wallet-v1.5. Both legs move with their pins, the lockstep invariant: - spec: the gitlink and contracts/spec-pin.yaml commit name 15c15bbd451a803f0acdb24e5234836db829a2d3, opensoft/openWallet-spec main at the merge of its carve; tree_sha256 112391978d5ad4a0bb254f5171d03369372929a042ed2b70f7afb4d431693025; - code: the gitlink and contracts/code-pin.yaml commit name 72313daab1f229c049cb90998931564c1904dbbc, opensoft/openWallet-code main at the merge of its carve; tree_sha256 ee05d60d65a85d97142d5ee33f236b8fe8f999e626f2452276891ea89e312b5e. No workflow here names a leg by @<sha>, so none moves. Measured on this commit before pushing: - the carve layer: 10 row(s), 10 path(s); missing 0, extra 0, blob/mode mismatch 0; - each pinned sha is a commit in its leg (cat-file -t); - make validate: naming ok, manifest ok, pins ok; - helper 3 (--diff-algorithm=histogram): 10 carved row(s); 1 edited on declared lines only; 0 declaring edits left unapplied; 0 refusal(s); - the exact declared-line check: 67 declared lines in 10 runs, 177 undeclared lines preserved in order; 0 refusal(s); - three-way: 8/8 root-manifest digests equal the code leg's bytes; consumed rows left: 0. Refs opensoft/openXwallet#25 Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ine check as helper 5 The cutover runbook's owed fix, kept out of the lockstep commit so that commit stays one auditable diff. Helper 3 (declared-edits.py) reads changed lines from `git diff -U0` hunk headers, so its answer depends on git's diff algorithm. Under the default, an undeclared blank line between two declared runs can be folded into one replaced hunk. At the code leg's commit B (opensoft/openWallet-code 75b990dc), the helper as printed refused scripts/validate-openxwallet.py lines 182, 255 and 2559, three blank lines that still stand in the new text, and exited 2. - Helper 3 now passes --diff-algorithm=histogram, and its doc-comment says why. Re-run at the same commit it gives 80 carved row(s); 4 edited on declared lines only; 0 declaring edits left unapplied; 0 refusal(s). - Helper 5, declared-lines-exact.py, is added verbatim from the copy that judged the code leg at phase 1. It runs no diff: every run of a carved blob's undeclared lines must stand unchanged and in order. "What a line is" now says it is the authority when it and helper 3 disagree, and that it judges only the lines of carved rows. The helpers' heading counts five. - Its one-line invocation sits next to helper 3's at 1b, 1c, 2c and 3c. Measured: the five helpers extracted from this file are byte-identical to the ones that ran. Helper 5 and helper 3 (histogram) each give 0 refusal(s) at the code leg's commits A and B, at the spec leg's commit B, and at this root's lockstep commit. Refs opensoft/openXwallet#25 Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s counts after the manifest amendment AGENTS.md and README.md said "pre-carve" and that both pins name the legs' scaffold commits. They now say the root is carved (task 4.5), name both carve merge commits, and leave the first wallet-v* tag to the operator. The runbook's Phase 4 row two (b) names helper 5 beside helper 3, and each pre-amendment count (0.3, the mapping table, 1b, 1c) carries a note with the figures measured at the amended manifest, 64ca6eac. Lane: openXwallet-2 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
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 2 days and 1 hour by commenting |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's GuideThis PR lands the task 4.5 root carve as an auditable merge-based lockstep change: it imports the ten declared root paths from the named upstream commit, edits the manifest to reflect ownership and provenance, advances both leg pins with matching gitlinks and digests, hardens the runbook’s declared-line checks, and updates repository status documentation. The reported validation evidence covers carve completeness, digest and pin integrity, lockstep diffs, and helper results. Sequence diagram for the auditable merge-based carvesequenceDiagram
participant Operator
participant Upstream as openXwallet
participant Root as openWallet root
participant Code as openWallet-code
participant Spec as openWallet-spec
participant Checks as Validation helpers
Operator->>Upstream: git-filter-repo carve at 90111df
Upstream-->>Root: 10 paths in carve layer
Operator->>Root: merge --allow-unrelated-histories
Root->>Root: edit contracts/manifest.yaml
Root->>Code: update code gitlink and code-pin.yaml
Root->>Spec: update spec gitlink and spec-pin.yaml
Root->>Checks: declared-edits.py
Root->>Checks: declared-lines-exact.py
Checks-->>Root: 0 refusals
Root->>Root: make validate
Root-->>Operator: pins ok and digests recompute
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
|
Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-08T21:47:19Z) LANDING — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-08T21:47:19Z, PR #2 into opensoft/openWallet main |
…c2ce53d, the release merge that carries the wallet-v1.6 tag (ruled) The `openWallet` gitlink and `commit:` in contracts/openwallet-pin.yaml move together, from 1c68717f1ae4 (the merge of opensoft/openWallet#2) to b0af7c2ce53d63786a08a20aa3602a6f90345606, the merge of opensoft/openWallet#7 (task 4.9: the wallet-v1.6 release commit, a manifest bump, contracts/releases/wallet-v1.6.digests.yaml and the CHANGELOG). Brett Heap ruled "Release commit on b4580d16, tag its merge (Recommended)". The annotated tag `wallet-v1.6` is on that merge (`git cat-file -t wallet-v1.6` is `tag`, and `wallet-v1.6^{commit}` is b0af7c2ce53d), so `contract_bundle_tag` goes from null to `wallet-v1.6`. It stays a label beside the commit, never the referent. The comments above both fields say so. What did not move: `legs.code.commit` stays 72313daab1f2, because the release commit moves no gitlink. The eight `files:` digests stay, recomputed 8 of 8 from openWallet/code, and so do the six `pinned_by_commit_only:` members, the carve commit, and every script and test. Between the two pins the root's spec gitlink moved from 15c15bbd to 1924500 (opensoft/openWallet#4 and #5); this repository neither records nor initializes it (design.md D6). The move also takes in the root's proof, docs/byte-identity-wallet-v1.6.md (#3, #6). This commit is the revision measured. The gate results and the new Evidence row follow in the next commit, which is docs only. Lane: openXwallet-3 Co-Authored-By: Claude Opus 5.5 <[email protected]>



Lane: openxwallet-2 (openXwallet-2)
Claim: opensoft/openXwallet#25 (comment)
Realization of the ratified
split-openwallet-neutral-core(opensoft/openXwallet#26 →bf2dd4d), group 4 phase 3: the ROOT's carve layer, its manifest field edits, and both leg pins in ONE commit. It is done on Brett Heap's words in session, verbatim: "install git-filter-repo and start group 4", then "land it when green, then do phase 3". Governing record: opensoft/openXwallet#25. Runbook: this repository'sdocs/openwallet-cutover-runbook.md, phase 3 (task 4.5). Land with a MERGE COMMIT (precondition 0.6). Never squash or rebase: the lockstep commit's second parent is what keeps the declared edit auditable. This PR follows phases 1 and 2, which have both landed: opensoft/openWallet-code#2 →72313daab1f229c049cb90998931564c1904dbbcand opensoft/openWallet-spec#2 →15c15bbd451a803f0acdb24e5234836db829a2d3.Commit 1: the lockstep commit
b48bcb20b31dece4d582444cf01f617a799d297dIts first parent is root
main2b8e223. Its second parent is the pure carve layer3c44089. The carve layer came from a fresh--mirror --no-localclone of opensoft/openXwallet, with a branch at the CARVE COMMIT90111df262d6f54f7e82651d860adc12345f83f4andgit filter-repo2.47.0 run with one exact--pathperopenwallet_rootrow ofdocs/openwallet-carve-manifest.yaml(as amended at64ca6ea). There are 10 rows, no globs, no--path-rename, and 16 commits of history. It is merged here with--allow-unrelated-histories.LICENSE,contracts/CHANGELOG.md, the sixcontracts/releases/wallet-v1.*.digests.yamlanddocs/byte-identity-wallet-v1.0.md. None of the ten paths existed in this root before.contracts/manifest.yamlchanges on its 67 declared lines and no others, at the carve-commit blob's line numbers:carved_from:(:52-54) now namesopensoft/openXwalletat90111df262d6f54f7e82651d860adc12345f83f4.path:gainscode/, so it names the bytes this root'scodegitlink holds. Eachsource_path:becomesopenWallet-code/contracts/…, spelled<repository>/<path>the way the consumed row spelledopenxFactory/contracts/…(:76-77, :106-107, :119-120, :132-133, :145-146, :158-159, :171-172, :184-185).hermes-job-enveloperow and its comment block are removed (:197-244).contracts:now holds exactly the eight owned rows, andcontract_bundle_version: wallet-v1.5is unchanged.spec: the gitlink andcontracts/spec-pin.yamlcommit:are15c15bbd451a803f0acdb24e5234836db829a2d3;tree_sha256is112391978d5ad4a0bb254f5171d03369372929a042ed2b70f7afb4d431693025.code: the gitlink andcontracts/code-pin.yamlcommit:are72313daab1f229c049cb90998931564c1904dbbc;tree_sha256isee05d60d65a85d97142d5ee33f236b8fe8f999e626f2452276891ea89e312b5e.@<sha>, so none moves.The two audit diffs of this commit:
git diff HEAD^2 HEAD -- contracts/manifest.yamlis the declared edit: 1 file, +18 / −66.git diff HEAD^1 HEAD -- spec code contracts/spec-pin.yaml contracts/code-pin.yamlis the lockstep move: 4 files, +6 / −6.Nothing else differs from either parent.
Commit 2: the runbook's owed helper fix
a51f05b65dc9be649c93d741e0989bcb25504fb5This commit touches only
docs/openwallet-cutover-runbook.md, and is kept separate so the lockstep commit stays one auditable diff.declared-edits.py) reads declared lines fromgit diff -U0hunk headers, so its result depends on git's diff algorithm. Under the default algorithm, at the code leg's commit B it refusedscripts/validate-openxwallet.pylines 182, 255 and 2559. These are blank lines that still stand in the new text.--diff-algorithm=histogram, and its doc-comment says why.declared-lines-exact.pyis added verbatim as the fifth helper. It runs no diff and is the authority when it and helper 3 disagree. Its one-line invocation sits next to helper 3's at 1b, 1c, 2c and 3c.Commit 3: post-carve status
e4a7a6a9d23fdc219a70fce83813b724b4c04cfcThis commit touches only
AGENTS.md,README.mdanddocs/openwallet-cutover-runbook.md, and no command or helper code changes. The status paragraphs inAGENTS.mdandREADME.mdsaid "pre-carve" and that both pins name the legs' scaffold commits. They now say the root is carved (2026-10-08, task 4.5), that the content arrived at90111df262d6f54f7e82651d860adc12345f83f4, that both pins and both gitlinks name the legs' carve merge commits (15c15bbd451a803f0acdb24e5234836db829a2d3and72313daab1f229c049cb90998931564c1904dbbc), and that the firstwallet-v*tag is still the operator's act. In the runbook, Phase 4 row two (b) now names helper 5 beside helper 3, and each count that predates the manifest amendment at64ca6eac(the row counts, the mapping table, 0.3, 1b and 1c) carries an italic note with the figures measured against the amended manifest: 1892 declared edit lines on 9 rows, and 4 edited rows on the code leg. The rehearsal record is untouched.make validatestill printspins ok.Verified before pushing
Each line below is the measured output.
openwallet_root: 10 row(s); 10 path(s) at carve-src; missing 0, extra 0, blob/mode mismatch 0, 16 commits.cat-file -t→commit,commit), and each leg'sorigin/mainequals its pin.make validate:manifest ok: openWallet (openwallet), 3 legs; both gitlinks equal their pin'scommit:; both tree digests recompute;11 copied shape file(s) match their digests;pins ok.10 carved row(s); 1 edited on declared lines only; 0 declaring edits left unapplied; 0 refusal(s).contracts/manifest.yaml: 67 declared line(s) in 10 run(s); 177 undeclared line(s) preserved in order: True, thenopenwallet_root: 0 refusal(s).8/8 root-manifest digest(s) equal the code leg's bytes; consumed rows left: 0.Rollback (written before the phase, runbook phase 3): close the pull request. If it has merged, revert the one root commit (here, this PR's merge commit). The legs keep their arrivals and are pinned by nothing else. Nothing outside this repository reads the root yet: openXwallet mounts it only in its adapter rebuild.
Codex review is requested with
@codex review(posted by the orchestrator).Refs opensoft/openXwallet#25
🤖 Generated with Claude Code
Summary by Sourcery
Complete the openwallet root carve and lockstep leg pin update while strengthening the audit trail for declared edits.
New Features:
Bug Fixes:
Enhancements:
Documentation: