Repository navigation
Group 6 of split-openwallet-neutral-core: consume openXwallet xwallet-v1.0 through the nested openWallet chain - #1290
Conversation
…nWallet/code/ Task 6.1 of openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25), as amended by measurement in opensoft/openXwallet#42. - The openXwallet gitlink and contracts/openxwallet-pin.yaml move together to xwallet-v1.0 (815b86cef18c6227f649d2cefedb05720069362b, the merge of opensoft/openXwallet#40), the adapter's first release. It mounts the openWallet root at wallet-v1.6 (b0af7c2c) and its code leg at 72313daa. - files: every path gains the prefix openWallet/code/; all eight sha256 values are unchanged, recomputed 8 of 8 over openXwallet/openWallet/code/ and from the code leg's objects at 72313daa. - pinned_by_commit_only: the two openXwallet entrypoints stay; the corpora and READMEs re-path to openWallet/code/contracts/; the core's validator and syntax gate join (6 members become 8). - digest_source re-points to openWallet/contracts/manifest.yaml, the openWallet root manifest that publishes the eight rows. - No openWallet commit is recorded, root or leg (ONE chain). - tests/openxwallet_pin: the real pin now carries 8 path-only members. Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task 6.2 of openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25), as amended by measurement in opensoft/openXwallet#42. In one commit, as the task requires: - openxwallet-consumer-gate.yml: the init names openXwallet, then openXwallet/openWallet, then its code leg, as three steps; never the openWallet spec leg, which nothing in the gate reads. - tests/openxwallet_consumer_gate/test_gate_invocation.py: SCOPED_INIT_RUN becomes SCOPED_INIT_RUNS, the three lines in order, each before the pin verifier. - scripts/verify-openxwallet-pin.py: the one remediation trailer (FR-004) names the three commands. - Its held-equal copies move with that literal: OPENXWALLET_REMEDIATION_FALLBACK in scripts/validate-trust-anchor.py (held byte-identical by tests/trust-anchor/test_openxwallet_pin_refusal.py), and the trailer literal in tests/openxwallet_pin/test_verify_pin.py. As amended, the other workflows that verify the pin after a one-level init gain the two nested init lines: clearing-dispatch-gate.yml, signed-execution-chain-gate.yml and pytest-suite.yml. Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-pin.py Task 6.3 of openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25), as amended by measurement in opensoft/openXwallet#42. The pin records no openWallet commit (ONE chain), so the gitlink and checkout checks pin openXwallet alone, and the pinned_by_commit_only members, which carry no digest, were fixed by nothing below that level. A new check, run after the openXwallet checkout check and before the digests, walks NESTED_CHAIN = ("openWallet", "code"). At each level it reads the gitlink the level above records at its verified commit (git ls-tree, from objects), then requires the level initialized, then requires its checked-out HEAD to equal that gitlink. The nested refusals reuse the six ratified codes (pin-gitlink-mismatch, pin-submodule-uninitialized, pin-checkout-mismatch) and add none; the detail names the level. The success note names the nested revisions it stood behind. tests/openxwallet_pin/test_verify_pin.py: the scratch wallet is a chain of three repositories, and each level is observed refusing: root and code leg uninitialized, the root recorded nowhere, and a stale checkout and a moved gitlink at each level. A new test checks the shipped chain. Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task 6.4 of openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25), as amended by measurement in opensoft/openXwallet#42. In one commit, as the task requires: - scripts/validate-trust-anchor.py: OPENXWALLET_REGISTRY_PATH becomes ROOT / "openXwallet" / "openWallet" / "code" / "contracts" / "openxwallet" / "openxwallet-custody.registry.yaml"; rule (f)'s docstring names the path and the nested parity the verifier now checks. The registry's bytes and digest do not change. - tests/trust-anchor/test_openxwallet_pin_refusal.py: the asserted literal moves; the scratch wallet becomes the three-repository chain the verifier's NESTED_CHAIN names, so nested parity holds before each single mutation; and a new test refuses an uninitialized code leg by name. The held-equal fallback trailer moved with the verifier's literal, in 6.2's commit, so the two never disagree at any commit. Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Task 6.6 of openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25), checked, not assumed, as amended by measurement in opensoft/openXwallet#42. The prepare job's root-gitlink parity step runs openxFactory/scripts/verify-openxwallet-pin.py --aggregation-root, whose verify() now checks nested-checkout parity (6.3). With main's init block it refuses pin-submodule-uninitialized at openXwallet/openWallet; so the prepare init gains openWallet and its code leg, by name, each guarded on its .gitmodules declaring the path, never the spec leg. The finalize job runs no verifier and reads no wallet bytes, and is unchanged. doc-health-py314.yml is unchanged too: tests/doc-health passes with the nested chain absent and present. Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…cabulary from the code leg A surface the group-6 tasks did not name, measured and named by the amendment to openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25, amended in opensoft/openXwallet#42). scripts/validate-signed-execution-chain.py PINNED_WALLET_DIR re-paths from openXwallet/contracts/openxwallet, which at xwallet-v1.0 holds only the adapter's three grant-review negatives, to openXwallet/openWallet/code/contracts/openxwallet, where the shipped schemas now live. Its remediation names the three scoped init commands. tests/signed_execution_chain/test_chain_reader.py decides whether to require the pinned vocabulary from the reader's own PINNED_WALLET_DIR. Lane: openXwallet-2 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nxwallet-pin.py A surface the group-6 tasks did not name, measured and named by the amendment to openXwallet's split-openwallet-neutral-core (opensoft/openXwallet#25, amended in opensoft/openXwallet#42). 6.2's trailer and 6.3's nested parity move the verifier's lines, so scripts/doc_health/pin_shapes.py's machine-checked citations into it move with them, re-measured at this head: 194 to 225, 219 to 250, 227 to 258, 392 with 396 to 500 with 504, and 443 to 551. Without this, tests/doc-health/test_pin_shape_adapter.py fails two tests. The prose cites beside them in comments move too (pin_shapes.py, test_pin_shape_adapter.py, test_modified_block_currency_self_gate.py); they fail nothing. The promoted openspec/specs/document-lifecycle/spec.md also cites the verifier's and the pin's lines. It is left alone here: those stale cites are a named successor for openxFactory's own OpenSpec flow. Lane: openXwallet-2 Co-Authored-By: Claude Opus 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 23 minutes by commenting |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Reviewer's GuideThis PR upgrades openXwallet consumption from wallet-v1.5 to xwallet-v1.0, where the neutral-core contracts and corpus are reached through the nested openWallet/code chain. It relocates the pin’s paths, updates all runtime readers and workflows, and adds object-level nested gitlink/check-out parity checks while keeping initialization scoped and excluding the spec leg. Sequence diagram for nested pin verificationsequenceDiagram
participant Gate as Consumer gate
participant Verify as verify-openxwallet-pin.py
participant Git as Git objects and checkouts
participant Code as openWallet/code
Gate->>Git: git submodule update --init openXwallet
Gate->>Git: git -C openXwallet submodule update --init openWallet
Gate->>Git: git -C openXwallet/openWallet submodule update --init code
Gate->>Verify: verify()
Verify->>Git: Verify openXwallet gitlink and HEAD
Verify->>Git: _verify_nested_chain()
Git->>Git: Read openWallet gitlink with git ls-tree
Git->>Git: Check openWallet/.git and HEAD
Git->>Git: Read code gitlink with git ls-tree
Git->>Code: Check code/.git and HEAD
Verify->>Code: Recompute eight digests
Verify-->>Gate: Pin verified or refusal
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-09T21:49:29Z) Review requested from openxFactory's lanes. This is group 6 of openXwallet's OpenSpec change
|
|
|
Lane: openxwallet-2 (openXwallet-2) (lane openXwallet-2, 2026-10-09T22:09:26Z) LANDING — lane openXwallet-2, session 7b8ff3df-688a-4d67-83d5-4c7cd179ed8b@Eagle, 2026-10-09T22:09:26Z, PR #1290 into opensoft/openxFactory main |
…currency-dispositions Re-levels the ratified packet onto openxFactory main, which moved past the merge base 9a272c6 by #1290 (a8ab303, openXwallet-2's nested-chain group 6: contracts/openxwallet-pin.yaml, the openXwallet gitlink, verify-openxwallet-pin.py, scripts/doc_health/pin_shapes.py, five workflows and their tests) and #1287 (85516e0, .browser-ui-repair-source in the domain secret scan's SKIP_DIRS). No conflict. tests/doc-health/test_pin_shape_adapter.py auto-merged with both sides' intent kept: main's re-measured verify-openxwallet-pin.py line citations (:194 -> :225, :443 -> :551) and this branch's live openspec-cli record count (5 -> 3). Neither side touches the other's surface: main moves no line of contracts/openspec-cli-pin.yaml, README.md or this packet. Lane: codexfactory-1 (codeXfactory-1) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main moved past PR-1 (#1284): #1290, group 6, consumes openXwallet at xwallet-v1.0 under its nested openWallet chain, which moves the `openXwallet` gitlink. No conflict; nothing in it touches this family. Lane: codexfactory-2 (codeXfactory-2) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main's openXwallet group 6 (#1290): openXwallet at xwallet-v1.0, its pin re-pathed under openWallet/code/, and the nested-chain checkout in the gates. No council-convening file changes. Lane: codexfactory-2 (codeXfactory-2) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Takes #1290, #1287 and #1288 for the landing round. None of them touches the release surface: contracts/manifest.yaml, contracts/releases/, contracts/CHANGELOG.md and contracts/README.md are unchanged, and no contract-v4.1 inventory member moved. The three manifest rows whose files moved (openspec-cli-pin, openxwallet-pin, domain-factory-conformance-validator) carry no per-file sha256. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…into the Phase 5 binding branch PR-2 and PR-3 have landed. This merge takes main's code and corpus as landed, and Phase 5's own files: - resolution.py: the order keeps A4 after step 5, then PR-2's `declared = _council_and_class(...)`; - the README keeps PR-3's snapshot row and Phase 5's corpus and binding rows; the two test files keep both sides; evidence.md is main's, followed by § Phase 5; - every vector under vectors/assignment and vectors/resolution that main carries is main's, byte for byte. The retry vectors are PR-3's builder output, and Phase 2's admission vectors are PR-2's. Phase 5's binding is NOT yet on them: the next commits re-author Phase 2's through scratch author_admission_vectors.py and regenerate the retry vectors from the builder (`tests/council_convening/assignment_vectors.py`), never by hand. At this commit the self-test reports those vectors as identity-map-missing, as expected; - openXwallet moves to main's pin 815b86cef (#1290). Lane: codexfactory-2 (codeXfactory-2) Co-Authored-By: Claude Opus 5.5 <[email protected]>



Lane: openxwallet-2 (openXwallet-2)
Claim: opensoft/openXwallet#25 (comment)
Group 6: openxFactory consumes openXwallet
xwallet-v1.0through the nested openWallet chainThis is group 6 of openXwallet's OpenSpec change
split-openwallet-neutral-core(opensoft/openXwallet#25). It implements tasks 6.1–6.6 as amended by measurement in opensoft/openXwallet#42 (29f6cd6e).wallet-v1.5toxwallet-v1.0, the adapter's first release. The pinned commit is815b86cef18c6227f649d2cefedb05720069362b, the merge of Rebuild openXwallet as the openxFactory adapter over a pinned openWallet (split-openwallet-neutral-core §5, tasks 5.1–5.7) openXwallet#40, reached through the annotated tag objectb15368b0.openXwallet/openWallet(b0af7c2c,wallet-v1.6) and its code leg atopenXwallet/openWallet/code(72313daa).Base:
mainat9a272c6dbb1392c818c3b9bf43686977d63bb625.What changes, per task
6.1:
contracts/openxwallet-pin.yamland theopenXwalletgitlink, in one commitcommit:is815b86ce…, which equalsgit -C openXwallet rev-parse 'xwallet-v1.0^{commit}';contract_bundle_tag: xwallet-v1.0.files:: each of the eight paths gains the prefixopenWallet/code/. No sha256 value changes. All eight were recomputed 8 of 8 overopenXwallet/openWallet/code/and from the code leg's objects at72313daa, and they equal thewallet-v1.5values.pinned_by_commit_only::scripts/validate-openxwallet.py,scripts/wallet-yaml-syntax-gate.py) stay.openWallet/code/contracts/….openWallet/code/scripts/validate-openxwallet.pyandopenWallet/code/scripts/wallet-yaml-syntax-gate.pyare added.digest_source:points atopenWallet/contracts/manifest.yaml. That is the openWallet root manifest, which publishes the eight rows atcontract_bundle_version: wallet-v1.6.6.2: the scoped init reaches three named levels, never
--recursiveopenxwallet-consumer-gate.yml: the init is three steps,openXwallet, thengit -C openXwallet submodule update --init openWallet, thengit -C openXwallet/openWallet submodule update --init code. It never initializes the spec leg.tests/openxwallet_consumer_gate/test_gate_invocation.py:SCOPED_INIT_RUNbecomesSCOPED_INIT_RUNS.scripts/verify-openxwallet-pin.py: the remediation trailer (FR-004) names the three commands.OPENXWALLET_REMEDIATION_FALLBACKinscripts/validate-trust-anchor.py(the 6.4 amendment), and the trailer literal intests/openxwallet_pin/test_verify_pin.py.clearing-dispatch-gate.yml,signed-execution-chain-gate.ymlandpytest-suite.yml.6.3: nested-checkout parity through both levels in
scripts/verify-openxwallet-pin.pyNESTED_CHAIN = ("openWallet", "code"), a verifier constant rather than a pin field.tests/openxwallet_pin/test_verify_pin.pybuilds its scratch wallet as a chain of three repositories and observes each level refusing.6.4: the trust-anchor registry literal
OPENXWALLET_REGISTRY_PATHbecomesROOT / "openXwallet" / "openWallet" / "code" / "contracts" / "openxwallet" / "openxwallet-custody.registry.yaml".tests/trust-anchor/test_openxwallet_pin_refusal.py: the asserted literal moves, the fixture becomes the three-repository chain, and a new test refuses an uninitialized code leg by name.6.5: the gate's literal assertions do not move.
9 of 9, the five-keywal-agent-mrc-0001note, the six-keywal-agent-grc-0001note andrepo scan:are all unchanged and green (results below).6.6:
doc-health-reusable.yml, prepare job only (checked, not assumed)verify()first, so its init now reachesopenWalletand itscodeleg. Both are guarded on their.gitmodulesdeclarations.doc-health-py314.ymlis unchanged too:tests/doc-healthpassed 2157 of 2157 with the nested chain absent and with it present.The amendment's other named surfaces
scripts/validate-signed-execution-chain.pyPINNED_WALLET_DIRmoves toopenXwallet/openWallet/code/contracts/openxwallet, withtests/signed_execution_chain/test_chain_reader.py.scripts/doc_health/pin_shapes.py's machine-checked citations into the verifier are re-measured at this head: 194→225, 219→250, 227→258, 392/396→500/504, 443→551. The prose cites beside them move too.Gate results on this head (
bcc1685f)Local runs. No
governance/content is quoted; register counts are the gates' own literals.wallet-validation(openxwallet-consumer-gate.yml), everyrun:step as the workflow runs itpython3 scripts/verify-openxwallet-pin.pyOK openxwallet-pin verified: openXwallet@815b86ce… (tag label xwallet-v1.0), gitlink read from HEAD, nested parity openXwallet/openWallet@b0af7c2ce53d, openXwallet/openWallet/code@72313daab1f2, 8 digest(s) recomputedopenXwallet/openWalletuninitializedREFUSE pin-submodule-uninitialized: openXwallet/openWallet/.git does not existREFUSE pin-submodule-uninitialized: openXwallet/openWallet/code/.git does not existb4580d16)REFUSE pin-checkout-mismatch: … openXwallet@815b86cef18c records b0af7c2c…75b990dc)REFUSE pin-checkout-mismatch: … openXwallet/openWallet@b0af7c2ce53d records 72313daa…REFUSE pin-gitlink-mismatchopenXwalletchecked out at the wrong commitREFUSE pin-checkout-mismatchxwallet-v1.0vswallet-v1.5over the same tree--strict;corpus: 21 positive example(s), 45 negative confirmation(s) across 13/13 requirements;validate-openxwallet: 0 error(s), 0 warning(s)9 of 9×1, five-key note ×1, six-key note ×1,repo scan:×1; every forbidden line ×0wallet-v1.5run; disjointness0 shared; 0 findingsclearing-dispatch-gatepinned openXwallet decoders read from openXwallet/scripts/validate-openxwallet.pysigned-execution-chain-gatepinned openXwallet vocabulary read from openXwallet/openWallet/code/contracts/openxwalletvalidate-trust-anchor.py, plain and--strictvalidate-trust-anchor: 0 error(s), 0 warning(s)doc-health-reusableprepare, emulated against a scratch aggregation, nested chain absent beforehandb0af7c2cand72313daa; parityOK. Main's init block refusespin-submodule-uninitialized(rc=2)openspec-cli-pin(--all --no-cache)@fission-ai/[email protected] verified against its content address; every target validated --strict with 0 UNDISPOSITIONED failures(one pre-existing accepted disposition)council-convening,former-id-arrival(9a272c6d..bcc1685f, 7 commits),release-tag-gate,verify-openxdox-pin,verify-opendox-pin,validate-openreposhape-pinformer-id arrival gate passed; release-tag:no release surface changeFull suite:
pytest tests/ -m "not postgres"main9a272c6d(wallet-v1.5)tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]hits a 30-secondsubprocess.TimeoutExpiredon a heavily loaded host. Run alone, it fails identically onmain.Known, not changed
contracts/manifest.yaml:2491(the trust-anchor registry row'sconsumption_ruleprose) still names the old registry path,openXwallet/contracts/openxwallet/openxwallet-custody.registry.yaml. Editing it may imply a contract-version bump, so it needs a ruling. No gate reads it.openspec/specs/document-lifecycle/spec.md:316-344cites line numbers inscripts/verify-openxwallet-pin.pyandcontracts/openxwallet-pin.yamlthat this change moves. Under the amendment's ruling 2 they are a named successor for openxFactory's own OpenSpec flow, and this pull request leaves that spec alone.Review routing
This pull request touches the pin (
contracts/openxwallet-pin.yaml) and the/openXwalletgitlink. Both are on codexFactory's merge-gatenever_clearable_pathsfloor, so it needs operator clearing. It also touches CODEOWNERS-routed surfaces, which need @brettheap's approval:.github/workflows//contracts/openxwallet-pin.yaml/scripts/verify-openxwallet-pin.py/openXwallet🤖 Generated with Claude Code
Summary by Sourcery
Adopt openXwallet xwallet-v1.0 and securely consume its neutral core through the scoped openWallet-to-code submodule chain.
New Features:
Bug Fixes:
Enhancements:
CI:
Documentation:
Tests: