Skip to content

User-proven shielded actions (W-1): the wallet app's private path

Status: Active from 2026-10-29. Authorizes no deployment and no transaction on ce22. Date: 2026-10-29 Source spec: User-proven shielded actions specification, Text Improvement Harness full gate 85.13 on 2026-10-29 (-r1), then 84.20 after one content pass (GPT-6 Astra Pro 87.60, Claude Fable 5.1 81.00, GLM 5.3 84.00; run group user-proven-shielded-actions-spec-20261029-r2), then 85.40 after one improvement pass through openai/gpt-5.6-sol-pro (GPT-6 Astra Pro 86.20, Claude Fable 5.1 82.40, GLM 5.3 87.60; run group user-proven-shielded-actions-spec-20261029-r3), then 86.27 after a second pass on the r3 critiques (GPT-6 Astra Pro 85.60, Claude Fable 5.1 84.60, GLM 5.3 88.60; run group user-proven-shielded-actions-spec-20261029-r4). Locked on 2026-10-30 (M1). Basis: the wallet team's docs/v3-w1-integration.md (private repository postfiatorg/tasknode-apple) and section 3 of the wallet findings handoff.

BLUF

The wallet team's Mac app proves shielded A666 and pfUSDC actions on the device. Shielded rounds today run through a wallet proxy that holds a validator key and drives the round itself. This milestone moves admission and certification to the validators: the gateway relays the user's exact public bytes, once, and holds no key. W-2, the native session, is done (e037829f). On 2026-10-29 the contract, the gateway routes, the pricing reads and their consensus rules, the pool reads, the validator admission service and the readiness read all landed on main. At that pace my optimistic estimate is one to two weeks for what remains of S1 to S7, before the review and the ce22 run.

Owners are marked (this lane) or (wallet team).

S1 — the contract (done)

  • [x] S1.1 (this lane) Versioned request and response fixtures for snapshot, submit and receipt, including a typed terminal rejection (state: rejected with its code and fee).
  • [x] S1.2 (this lane) Canonical vectors: an action of each kind, its intent id under tasknode.private-intent.v1, and its atomic batch id from build_atomic_shielded_action_batch (crates/node/src/consensus_artifacts.rs:1591).
  • The three accepted kinds are in crates/types/src/shielded_bridge_governance.rs:369-536; asset_orchard_ingress_v1 and asset_orchard_egress_v1 are refused.
  • [x] S1.3 (this lane) The deployed identity, verifier and activation manifest: genesis, protocol, revision, proof system, circuit, parameters and verifying keys.
  • [x] Identity, release and the swap and egress verifier pins.
  • [x] Recorded from the deployed release (2026-10-30): private_readiness on all six at 1168 reports build ae70d66d (release), release vote-records-20261030 (87cfe797…), both verifiers on their pins, and atomic batches active from height 483. manifest.json carries these values.
  • [x] S1.4 (this lane) The full A666 and pfUSDC profile: full asset ids, issuers, proof profiles and precision, replacing the retired a651/a652 registry (wallet-proxy/navswap-config-bridge.js:963).
  • The governed swap pair is null: it arrives with ed89c916 behind a governed activation, after the deployed release.
  • [x] S1.5 (wallet team) The normal wallet uses the shared typed action parser and canonical batch bindings in core/src/private_api.rs. Its pinned vector file is byte-identical to S1.2 (SHA-256 02dd5d89282f2da713c98330b296d5598190832a9f94ebdff08e14872449f7c9); positive and negative vectors pass in the Rust core tests.
  • [x] Qualified on the private wallet repository at 07ecd36 (PR 36 open).

Contract fixtures

In crates/node/tests/fixtures/private-actions-v1/, shared types in crates/types/src/private_actions_v1.rs:

  • schema.json: schema postfiat-private-actions-v1, the three routes, admission states, refusal codes and examples.
  • vectors.json: generated and pinned byte for byte by crates/node/tests/private_actions_contract.rs. One action of each kind with its intent id (96 hex, SHA3-384), action hash and atomic batch id for the devnet genesis, and six refusals. The proofs and signatures are placeholders and never verify.
  • manifest.json: devnet identity, release vote-records-20261030 (ae70d66d), verifier pins, atomic-batch activation height 483, all from the deployed release's private_readiness.
  • assets.json: A666 and pfUSDC from live reads on 2026-10-29, each field with its source; the governed pair is null.

S2 — the gateway entry points (app integration done; live cutover pending)

  • [x] S2.1 (this lane) POST /api/private/v1/snapshot, /submit and /receipt behind the browser relay or native session token, with the S1 schemas and size limits (1 MiB action, 2 MiB request, 4 MiB response): wallet-proxy/private-actions.js, wired in wallet-proxy/server.js. submit counts against the mutation rate window; snapshot and receipt are authenticated reads.
  • [x] The snapshot is assembled from the node reads private_pool_snapshot, private_pool_page and private_account_lines (683a5b32). It takes one token from both sources and refuses a mixed tip, pages every section under the wallet's ceilings with all pages pinned to that token, retries once when the tip moves, and takes the pricing claim, policy id and disclosure hash from the node. The complete flags combine the node's flags with whether paging reached each total.
    • The S1 response type has no field for account lines. The gateway reads them under the token and clears complete.assets when a listed asset's line is not usable or disagrees with its asset row.
    • Where a ceiling stops a section, its cursor stays null: the node's cursors mark page ends, not the item where the ceiling stopped.
  • [x] S2.2 (this lane) Durable once-only admission. The gateway recomputes the intent id (SHA3-384, tasknode.private-intent.v1) and the action hash and atomic batch id from the re-serialized action, all three checked against the S1 vectors. It keeps the action text byte for byte, binds the intent to the session principal, the address, the configured domain and the pool, and claims the action hash and batch id with exclusive index files before writing the record (queued) and before any transport. A duplicate returns the record; only a reservation no validator has seen is resent, with the reserved bytes. An acknowledgement means pending; receipt is read-only and reconciles two validator sources.
  • [x] S2.3 (this lane) No key and no validator filesystem access in the HTTP process. Dispatch goes only through the node methods private_action_submit and private_action_receipt on two configured RPC sources, never through transport-peer-certified-batch-round (wallet-proxy/navswap-shielded.js:1421), the data-directory configuration (wallet-proxy/navswap-config-bridge.js:782) or the local Asset-Orchard service (:837).
  • [x] Crash-and-retry: wallet-proxy/test_private_actions.js kills the process after the reservation; on restart the intent is queued, no new batch is built, and the reserved batch is sent once.
  • [x] S2.5 (this lane) Adapt the gateway's dispatch to the S3 methods as they landed (968da908, d7de5ec7). The node wants flat chain_id, genesis_hash, protocol_version, pool_id, session_scope, intent_id, action_json and action_hash, and returns {record} from submit and {record, contract_receipt} from receipt. Only real refusals may be final, and the session_scope the gateway sends is still to be decided.
  • Proven against the real node by crates/node/tests/private_actions_gateway.rs. The test runs two validators, each with the transport service and rpc-serve --allow-private-action-admission, plus the real proxy with both as sources. It opens a native session signed in Rust, takes a snapshot of the empty pool, and submits a user-built ingress v2 that is accepted with finality. The next snapshot shows its commitment and ciphertext; a duplicate runs no second round; changed bytes are refused and an unknown intent stays pending. session_scope is the session principal.
  • [x] S2.4 (wallet team) Normal Release Shield and Unshield use /api/private/v1/. Run 42408358931 at wallet d8b850c passes fresh 65-note recovery, Shield, identical intent after relaunch and Unshield on six isolated validators; its later certificate cleanup failed separately. No public cutover or ce22 transaction is authorized.
  • [x] Qualified on the private wallet repository at 07ecd36 (PR 36 open).
  • S2 is ticked on the gateway side; the routes reach a validator only once S3 deploys the two node methods behind its operator switch.

S3 — the validator-owned admission and round service (2–4 days left)

  • [x] S3.1 (this lane) A validator-side service that accepts a verified atomic batch and runs proof, spend, retained-anchor, nullifier, pricing and policy checks before ordinary proposal, vote and apply (968da908, d7de5ec7): crates/node/src/private_action_admission.rs re-verifies each batch against the current state (verify_private_batch) and hands only the exact reserved batch to a round; crates/node/src/private_action_rpc.rs serves private_action_submit and private_action_receipt behind the operator switch.
  • [x] S3.2 (this lane) Proposer routing, height ownership, quorum, catch-up and durable intent reconciliation.
  • Remaining: done. The proposer does not rotate on an idle chain, so the gateway submits to every source (d9095797, unreservedSources in wallet-proxy/private-actions.js:372).
  • [x] Proposer routing and durable reconciliation (968da908): a dispatched record is reconciled from the chain by batch id and never dispatched again, and only the local proposer dispatches.
  • [x] A certified round reaching quorum across two validators, with both sources reconciling the same record (crates/node/tests/private_actions_gateway.rs). A one-validator topology cannot commit a private action: the round needs at least one active peer.
  • [x] A stuck unknown record settles as accepted when its batch later lands (e37d77fd). An operator resolves one that does not land with postfiat-node private-action-resolve (657ce706): settle it from the chain, or abandon it so the wallet can resubmit the same bytes, with the abandoned record kept for audit. The wallet contract reports abandoned as itself (ea2213d0).
  • [x] Height ownership, quorum and catch-up across six validators, shown by S6 (e37d77fd, e5f8f5b8, 14c8e43e): each validator holds the record until it is the proposer, every round is certified 5 of 6, and each receipt is checked against another validator's blocks. After a crash with the record dispatched, the next proposer lands the batch and the crashed validator settles from the chain (catch-up: a validator that misses rounds and syncs blocks before settling is not tested; every round runs with all six).
  • [x] S3.3 (this lane) Retire the HTTP-side certification: transport-peer-certified-batch-round --key-file (wallet-proxy/navswap-shielded.js:1442), the /asset-orchard/swap-batch call (:2317) and the swap execution that certifies it (:2412).
  • [x] Off by default (b9888270): unset, the switch takes the validator-owned admission; the three routes answer 410 and each entry point refuses (requireLegacyShieldedCertification, legacyCertificationRefusal), as does the certifier loop. GET /api/shielded-nav-swap/status reports certification_path.active. Proven by wallet-proxy/test_legacy_shielded_certification.js (both positions) and wallet-proxy/test_legacy_shielded_certification_node_binary.js (two real rpc-serve validators). docker-compose.wallet-public.yml keeps on until S2.4.
  • The shield_batch_* builders (crates/node/src/rpc_cli.rs:2086) may be reused after review; a built batch is never reported as committed.
  • [x] The switch WALLET_PROXY_LEGACY_SHIELDED_CERTIFICATION (4bf643aa, cd4dab07; default off since b9888270; wallet-proxy/legacy-shielded-certification.js). When off, the three legacy routes answer 410 legacy_shielded_certification_retired and the proxy reads no validator key file, data directory or local Asset-Orchard service; the user-proven routes work without them (wallet-proxy/test_legacy_shielded_certification.js). Cutover: the apps on /api/private/v1/, the switch off on the public deployment, then removal.
  • [ ] Remove the legacy code in a later release: candidate for the next validator release (plan), after S2.4 and the public deployment set to off.
  • [x] S3.4 (this lane) Receipts with the action, batch and transaction bindings, inclusion height, block hash, state root, outcome, code, fee and checkable finality evidence (968da908): private_action_receipt returns the S1 PrivateReceiptResponse with the block certificate as validator_quorum_block_certificate_v1. To tick S3: S3.3's code paths unused on the W-1 route and an S6 test through the service.

S4 — finalized public reads (1–2 days left)

  • [x] S4.1 (this lane) A snapshot token pinning one finalized height, block hash and state root, with counts and cursors (683a5b32, private_pool_snapshot in crates/node/src/private_pool_reads.rs).
  • [x] S4.2 (this lane) Paged pool reads: commitments, nullifiers, accepted anchors from the retained tree prefixes, outputs with ciphertexts (683a5b32, private_pool_page; the gateway assembles them in f8b9a838).
  • [x] S4.3 (this lane) Paged receipt and market reads, and asset rows bound to asset_info.
  • [x] Asset rows bound to asset_info and account lines with zero balances (683a5b32, the assets section and private_account_lines).
  • [x] Paged receipt and market reads under the snapshot token (0c396fc8): private_pool_receipts and private_pool_market in crates/node/src/private_pool_receipt_market_reads.rs.
  • [ ] S4.4 (wallet team) Versioned paging and incremental scan in the app, replacing today's ceilings (64 ciphertexts, 2 MiB of ciphertext, 4096 commitments, 16 assets, 1 MiB action, 2 MiB request, 4 MiB response). To tick S4: a missing, duplicated, reordered or mixed-tip page refused in tests.
  • [x] Qualified on the private wallet repository at 07ecd36 (PR 36 open): normal Mac recovery pages ciphertexts in batches of 64 (256 owned notes), and its page tests refuse missing, duplicated, reordered, mixed-tip and looping pages (wallet build ad9b328, run 42396051451). The 2 MiB ciphertext, 4,096 commitment and 16 asset limits stay, so the ceilings are not replaced.

S5 — the pricing claim and egress binding reads (done)

  • [x] S5 (this lane) asset_orchard_pricing_claim and asset_orchard_private_egress_binding (93454729).
  • crates/node/src/asset_orchard_pricing_reads.rs:368 and :533; the claim is built by the function consensus uses.
  • Python: python -m postfiat_rpc --method asset_orchard_pricing_claim and --method asset_orchard_private_egress_binding (python/postfiat_rpc/__main__.py:146-147).
  • The egress read returns ungoverned: finalized state has no governed egress policy yet.

S5b — consensus enforcement of the claim

Consensus checks the epoch, the reserve-packet hash, the band, the tags, the halt flag and the ratio within the band.

  • [x] S5b.1 (this lane) A staleness limit, behind a governed activation (ed89c916): governance keys asset_orchard_pricing_enforcement_activation_height and asset_orchard_pricing_max_nav_age_blocks, refusal asset_orchard_pricing_nav_stale.
  • [x] S5b.2 (this lane) A governed pair, behind the same activation (ed89c916): the pair must be a route in pftl_uniswap_routes, refusal asset_orchard_pricing_pair_not_governed.
  • [x] S5b.3 (this lane) A mode-label check for at-NAV claims, behind the same activation (ed89c916), refusal asset_orchard_pricing_mode_mismatch.
  • [x] S5b.4 (this lane) A governance-registered egress policy, so the policy id and disclosure hash are governed and not only checked for form and bound into the proof (899b26f8).
  • Each record is an amendment of kind asset_orchard_egress_policy_v1:<asset_id>:<disclosure_schema_hash>:<policy_id> whose value is its effective height.
  • The global switch is asset_orchard_egress_policy_activation_height. After it, a private egress must name its asset's governed policy, and its disclosure hash must equal the governed schema hash. Otherwise it is refused as asset_orchard_egress_policy_mismatch or asset_orchard_egress_policy_not_governed.
  • CLI: postfiat-node ratify-asset-orchard-egress-policy and ratify-asset-orchard-egress-policy-activation-height. The egress binding read reports the registry.
  • The disclosure schema and its pinned hash, 7a585bbd…448831, for the a666-egress-v1 and pfusdc-egress-v1 records: disclosure schema v1.

S6 — the six-validator test suite (2–4 days)

  • [x] S6.1 (this lane) Both ingress assets, swap and egress accepted on six validators.
  • [x] Both ingress assets (A666 and a pfUSDC stand-in) accepted on six validators through private_action_submit, the round service and private_action_receipt (crates/node/src/main_parts/tests/private_action_six_validator_tests.rs).
  • [x] A real swap proof and a real private-egress proof accepted through the same path, with pricing enforcement activated by signed governance and a governed route (crates/node/src/main_parts/tests/private_action_proof_six_validator_tests.rs, release-only: cargo test --release -p postfiat-node --bin postfiat-node private_action_proof_six_validator -- --ignored).
  • [x] S6.2 (this lane) Refusals with no unintended state change: invalid proof, stale anchor or NAV, wrong issuer, domain or recipient, replay, inactive governance (shielded_atomic_batch_not_active, crates/node/src/execution_actions.rs:3245), tampered receipt.
  • [x] Inactive governance, wrong domain, an asset/issuer binding mismatch (asset_orchard_ingress_v2_bad_payload), the same action under a new intent, a final rejection after reservation (code, zero fee, no state effects) and a tampered receipt checked against another validator's view. None changes commitments, nullifiers, balances or the tip.
  • [x] Invalid proof (asset_orchard_swap_proof_verification_failed), wrong recipient (asset_orchard_private_egress_bad_payload) and a spent nullifier under a new intent (duplicate_nullifier), each refused at admission with no state change on any validator.
  • [x] Stale anchor (unretained_orchard_anchor), asset_orchard_pricing_nav_stale, asset_orchard_pricing_pair_not_governed and asset_orchard_pricing_mode_mismatch: four real swap proofs, each over a claim or anchor that breaks exactly one rule, under signed pricing enforcement and an 8-block maximum NAV age. Each is refused at admission on all six validators, with nothing dispatched and no state change (crates/node/src/main_parts/tests/private_action_pricing_six_validator_tests.rs, release-only).
  • [x] S6.3 (this lane) Crash after dispatch and lost responses; a new session recovers the same persisted action with no replacement or double spend.
  • Proven with ingress actions. A kill after dispatched settles as unknown, a new session gets the same record, and the next proposer lands the same reserved batch once. A kill after the certified send settles as accepted from the chain.
  • [x] Through the gateway against the live node (crates/node/tests/private_actions_gateway.rs):
    • A proxy killed right after the submit returns queued and restarted on the same store keeps the record. A repeat submit returns the same record, and the validators' round lands it once.
    • A stopped source refuses the snapshot with 503 private_snapshot_unavailable until it serves again.
    • Sources at different finalized heights refuse it with 503 private_snapshot_sources_diverged.
  • [x] S6.4 (this lane, wallet team) Fresh-key full rescan and page boundaries.
  • [x] Lane part (e37d77fd, 110997f1, f8b9a838): a fresh wallet that holds only its note seeds decrypts every retained output from private_pool_page, with an outputs limit of 2 and an assets limit of 1 below the totals, and matches each asset's live total. Retained snapshot points keep every page byte-identical across 15 later blocks, and the gateway pages every section to completeness.
  • [x] Wallet team part: run 42408358931 at wallet d8b850c restores a fresh vault from its public test phrase, recovers 65 real notes in pages of 64 and 1, and passes Shield, the identical intent after relaunch and Unshield. The Linux CLI separately recovers the same 65 notes into a fresh vault.
    • [x] Qualified on the private wallet repository at 07ecd36 (PR 36 open).

S7 — readiness and secret inspection (1–2 days left)

  • [ ] S7.1 (this lane) Readiness published by the running service and the deployed manifest; no mock verifier, copied store, unsafe file signer or proxy-owned key satisfies it.
  • [x] The private_readiness read attests the deployed verifiers and governed activations (556cac38, crates/node/src/private_readiness_read.rs).
  • [x] Published from the deployed release on the devnet (2026-10-30 11:31Z, python -m postfiat_rpc --method private_readiness --pool-id asset-orchard-v1). All six validators give the same answer at 1168 / a20e406e… / 39771b74…:
    • build ae70d66d, profile release;
    • swap asset_orchard.swap.pricing_bound.v4 and egress asset_orchard.private_egress.v2 loaded, matches_pin true;
    • atomic batches effective at 483, active at the next height;
    • pricing enforcement and pricing_max_nav_age_blocks both null, inactive;
    • a666_pfusdc_route null, admission switch off;
    • ready false: asset_orchard_pricing_enforcement_activation_absent, a666_pfusdc_route_absent.
    • The route reason does not mean pftl_uniswap_routes has no A666/pfUSDC route. It has two whose codes match: pftl-a666-ethereum-wA666-usdc-v1 (base A666 521c6c63…, the S1.4 asset) and pftl-a666-ce22-sepolia-wA666-usdc-controlled-20260723-v1 (base a666 300bf48a…). The read needs exactly one.
    • [x] Fixed on main in the commit "Match the governed A666/pfUSDC route by asset id in the private readiness read and report ambiguity". The read now matches by the S1.4 asset ids, as the pricing rule does, and reports a666_pfusdc_route_ambiguous when more than one route matches. The deployed read on validator-0 (11:56Z, ae70d66d) still reports a666_pfusdc_route_absent until the next release.
  • [x] Custody in the read (2026-11-04, merged in 59b1d8a1): custody names the publisher, the store's backend mode and whether the transactional store is active (NodeStore::transactional_storage_active), the validator signer and the state of each key file it signs with, each from the serving process (custody_reasons, key_file_state, crates/node/src/private_readiness_read.rs). A local read (readiness_not_published_by_running_service), a store whose transactional storage is not active (store_not_transactional, also a plain init store), a server with no finality admission flag (validator_signer_none), the plaintext --finality-key-file signer (validator_signer_unsafe_file) and a key file (--finality-key-file, and --finality-proposal-key-file when it differs) not owned by the serving user or with any group or other access (validator_key_file_not_owner_only, validator_key_file_missing, validator_key_file_unreadable) each keep ready false. manifest.json readiness lists the same reasons.
  • [x] A hardened validator signer for rpc-serve, merged in b610061fc (2026-11-05). postfiat-node validator-signer-serve holds the validator key behind a 0660 Unix socket whose peers it checks by kernel-reported uid, rpc-serve --finality-signer-socket signs through it and refuses every key-file read in socket mode, and readiness reports socket with the signer's uid and validator_signer_same_user, validator_signer_unreachable, validator_signer_key_mismatch or validator_registry_unreadable when unmet (the operator policy). A release that keeps --finality-key-file still reports validator_signer_unsafe_file.
    • [x] Durable double-sign guard in the signer (pull request #192, merged in fcfdf595e, review fixes merged in f86d501bb): each consensus message decoded by context, a persist-before-sign floor per (key, kind, phase), the initialization floor --min-height for a key that already signed, one chain domain fixed at --initialize-state, refusal across restart and concurrent requests, fail-closed state (crates/node/src/validator_signer_guard.rs). Readiness reports validator_signer_guard_unavailable and, in socket mode, validator_key_copy_in_data_dir (the operator policy). A key that already signed needs its floor seeded with --min-height at initialization, or the guard cannot refuse its earlier rounds.
  • [ ] Two deployment checks the node does not detect (docs/runbooks/public-rpc-operator-policy.md): the gateway runs as a user other than the validator's, and rpc-serve serves the validator's live store, not a copied data directory.
    • [x] The Python deployment checker and real three-user rehearsal pass on an isolated generated chain on a devnet validator host: expected transactional database observed during the live RPC request, distinct signer/RPC/gateway users and kernel key-read denial. Checker report, from the checker at 8b763dca2, before its key-copy and capability checks. This is not deployment on the production store; that check remains open.
    • [x] Two-user units in the release packet (merged in 7651635f6): deployment-validator-units-stage --signer-shape two-user writes the signer, rpc and transport units, none with a key-file flag (deployment_signer_unit, crates/node/src/batch_snapshot.rs; deploy sheet template); a real two-user deployment is a release-day step on the devnet.
    • [x] The transport validator signs through the signer (merged in 7651635f6): transport-validator-serve --finality-signer-socket (transport_validator_serve, crates/node/src/transport_runtime.rs), and the two-user transport unit uses it, so the key leaves the data directory and readiness no longer reports validator_key_copy_in_data_dir (crates/node/tests/validator_signer_two_user_units_process.rs). This is a runtime change: what is signed stays byte-identical, but the process that holds the key changes, so it needs its own qualification.
    • [ ] FastPay on the two-user shape: No FastPay transfer or unwrap vote, signed apply acknowledgement or fence status can be signed on the two-user signer shape: rpc-serve signs all of them with the validator key file (sign_for_fastpay_committee, crates/node/src/fastpay_recovery_node.rs; crates/node/src/consensus_artifacts.rs), which it cannot read there, and the signer process signs only consensus and transport contexts. Enough validators on that shape and FastPay collects no vote or acknowledgement quorum at all, not only no terminal-status quorum. This lasts until the signer process gets a design that lets it check certified-state evidence itself; a key copy readable by rpc-serve would make the old paths work and defeat the isolation.
  • S7.1 stays open until the governance records exist (the pricing activation and a single governed A666/pfUSDC route), a hardened signer is deployed on the devnet with the signer and its clients (rpc-serve and the transport validator) under two users, and readiness reports ready there; that deployment is a release-day step.
  • [x] S7.2 (this lane) Logs and artifacts inspected for secrets; the gateway holds no wallet or validator key; no remote prover receives openings; no HTTP request or release setting turns off verification.

Secret inspection. crates/node/tests/private_actions_gateway.rs runs two validators and the real proxy (native session, an ingress, a round, a receipt), then checks:

  1. Secrets. 111 files are scanned: the proxy's home, its private-action store and its stdout and stderr, and every file the nodes wrote apart from the key files themselves. These include the stores, blocks, round artifacts, votes, spools and logs. None contains the install secret key, the native session secret, either bearer token, the issuer's or holder's secret key, a note seed, the note opening fields rho, psi and rcm, or the validator secret keys or key-file bytes. Each is checked as raw bytes, lower and upper hex and base64. A planted control file proves the scanner finds them, and findings are reported by path and class only.
  2. No key in the gateway. The proxy runs with a cleared environment. The test checks that its live environment (/proc/<pid>/environ) is exactly the listed variables, with no key-file, data-directory or private-key setting and no validator path or key in any value. It also checks that the proxy holds no file open under a validator data directory (/proc/<pid>/fd, after the flow and at the end), and that private-actions.js names no key file or data directory. Without root, the test cannot deny the proxy read permission on the validator directories, because both run as the same user. The open-file check is a snapshot at those two points, not a trace.
  3. Verification stays on. With every proxy setting at its most permissive value, an ingress with one flipped hex digit in its burn signature passes the gateway's shape checks. Both validators refuse it with their own code (asset_orchard_ingress_burn_rejected), hold no record of it, and add no block. A repository scan of the private-action path (the proxy modules, the node's private_* modules, the readiness, pool and pricing reads, and the rpc-serve wiring) finds no environment variable or CLI flag that could turn verification off.
  4. No remote prover. The ingress carries no proof, and the gateway's private-action path calls only the validators' RPC methods, never the local Asset-Orchard service. The scan in item 1 finds no note opening in anything the gateway or the nodes stored.

S8 — the approved ce22 run (with the wallet team)

  • [ ] S8 (this lane, wallet team) After review and the wallet team's HOLD approval: native shield, private swap and unshield bounded at 1 pfUSDC, with exact balances and fees, finality and fleet convergence. To tick it: the run record.

W-2 — the native session (done)

  • [x] W-2 (this lane) POST /api/native-session/v1/open (e037829f): an ML-DSA-65 install identity signed under postfiat-l1-v2/native-session/v1, an HMAC token pfns1.<payload>.<mac> bound to origin, chain id and genesis hash (15 minutes by default), the browser relay's caps, an optional install allowlist, query-string tokens refused on every route. Documented in the web wallet page.
  • [x] docker-compose.wallet-public.yml passes the new environment variables (74992eb5).
  • [x] A rate limit on the open route itself, per source address (74992eb5).
  • [x] A cross-check that a signature from the Rust crypto provider verifies in the proxy (74992eb5): wallet-proxy/fixtures/native-session-rust-vector.json, generated by crates/crypto_provider/examples/native_session_vector.rs.
  • [ ] Gateway hardening for the wallet team's native-session admission ask, on branch w1/native-session-hardening-20261112 (not merged): per-install revocation without a restart (allowlist and denylist re-read), WALLET_PROXY_NATIVE_SESSION_MAX_ACTIVE_INSTALLS, one audit line per open and GET /api/native-session/v1/info (wallet-proxy/native-session.js, wallet-proxy/test_native_session.js). To tick: review and merge.
  • [ ] Individual token revocation. Per-install revocation is on the branch above; a single token cannot be revoked yet.
  • [ ] Route authority health for the wallet team's NAV/private route health ask, on branch w1/route-authority-epoch-20261113 (not merged): navcoin_bridge_routes rows carry authority_epoch, authority_committee_current and authority_committee_unknown_reason matching the newest governed checkpoint-committee epoch (crates/node/src/market_bridge.rs, crates/bridge/src/lib.rs); the flag is not update eligibility (an update moves a route exactly one epoch, with no prepare fence and no open handoff; a route two or more epochs behind has no recovery path today, crates/execution/src/nav_vault_asset_execution.rs); the Rust SDK accepts route report v1 and v2, with a producer contract test (crates/rpc_sdk/src/navcoin_bridge_routes_contract_tests.rs); the web wallet marks a stale route "authority out of date". To tick: review and merge.
  • [ ] FastPay inventory ordering, gateway and wallet (items 3 and 4 of docs/wallets/fastpay-inventory-ordering.md on wallet/second-reading-fixes-20261112), on branch w1/fastpay-inventory-revision-20261113 (not merged; Owned objects pages):
  • [x] The node returns inventory_revision and node_id with each page; the Rust and Python clients accept both.
  • [x] Only on request: include_inventory_revision (crates/node/src/lifecycle_queries.rs); a default page keeps main's shape (owned_objects_default_call_answers_as_before), so an older gateway's grouping is unaffected; the gateway asks for them (wallet-proxy/test_owned_objects_fleet_agreement.js).
  • [x] Item 3, grouping: canonicalReadResult (wallet-proxy/rpc-routing.js) leaves both fields out of the fleet grouping key, and readFleetRpcMajority returns each agreeing validator's pair in source.fleet_revisions (wallet-proxy/test_owned_objects_fleet_agreement.js).
  • [x] Client-side points of the first reading: the gateway passes on only well-formed pairs with endpoint_validator_id, and a revision-only change sends a wallet_update (wallet-proxy/test_wallet_feed_revision_notification.js); the Python client checks node ids and u64 bounds like the Rust validator, and owned_objects_all returns the last page's revision.
  • [x] Node-side points of the first reading: inventory_revision.incarnation, new on every snapshot import (renew_inventory_incarnation, crates/node/src/lifecycle_queries.rs, crates/node/src/batch_snapshot.rs); rpc-serve omits the revision with inventory_revision_unavailable while its owned lane admits legacy applies (gate_owned_objects_inventory_revision, crates/node/src/rpc_cli.rs; crates/node/tests/fastpay_default_rpc.rs); owned_objects recovers a pending ordered journal first, as status does (crates/node/src/tests/owned_objects_inventory_revision_tests.rs).
  • [ ] A v3-only owned lane, so default validators can send the revision.
  • [ ] Item 3, rest: a subscription epoch, and the wallet's pages pinned to a named node.
  • [ ] Item 4: the wallet orders answers by (node_id, inventory_revision).

Mandate deliverables (AGENTS.md)

  • [x] M1 (this lane) Lock the source spec at 86 or above on the full gate, requested as a Task Node task. Third run 85.40 (-r3); fourth run 86.27 (-r4, GPT-6 Astra Pro 85.60, Claude Fable 5.1 84.60, GLM 5.3 88.60) after a second improvement pass; locked on 2026-10-30.
  • Full gate: 85.13 (-r1), then 84.20 (-r2) after one content pass on 2026-10-29. Not locked; not iterated.
  • [x] M2 (this lane) A Python CLI for the new public reads (S4), alongside the S5 commands.
  • python -m postfiat_rpc --method with asset_orchard_pricing_claim, asset_orchard_private_egress_binding, private_pool_snapshot, private_pool_page, private_account_lines, private_pool_receipts, private_pool_market, private_readiness, private_action_submit and private_action_receipt (python/postfiat_rpc/__main__.py:146-153, :213-220, :224-225; client methods in python/postfiat_rpc/client.py).
  • [x] M3 (this lane) A read-only view that consumes the CLI output.
  • python/postfiat_rpc/private_path_ui.py with private_path_ui_assets/: a read-only page on 127.0.0.1 for one validator. It shows readiness with the not-ready reasons, the pool snapshot, the next-height pricing claim, the egress binding and a receipt by intent id. GET only, through the Python RPC client's read methods. python/tests/test_private_path_ui.py: 12 tests. Documented in RPC examples.
  • [ ] M4 (this lane) Retire this document into docs/plans/completed/ and document the path in the existing documentation.

Not before

  • No admission on ce22 before S7 and the governed activation of atomic shielded batches.
  • No governed activation of the pricing rules (S5b) before the A666/pfUSDC route exists in pftl_uniswap_routes: after activation, a pair without a route is refused as asset_orchard_pricing_pair_not_governed.
  • No scheduling of asset_orchard_egress_policy_activation_height before governance writes the real A666 and pfUSDC policy records, with an agreed disclosure schema document and its hash.
  • No ce22 run before review and the wallet team's HOLD approval (S8).
  • No two-party exchange: a counterparty, its liquidity and its reservation get their own specification.

Does not change

  • Wire formats. ShieldedAction and its payloads keep their serialization.
  • The custody boundary. Keys and openings stay on the device; validators keep proposal and vote signing.
  • Separate gates. W-4, admission of outside money, and W-5, backing reconciliation.

Mac integration update — 2026-11-07

Task Node task_898a823d2214a3680fbf4b5b34ec35dc governs the normal Mac shield-and-recovery integration. Its evidence is on the private wallet repository at 07ecd36 (PR 36 of that repository, open). This is not live deployment or milestone completion.

  • The normal Mac candidate uses /api/private/v1/ for Shield, saved-intent recovery and whole-note Unshield. Keys, note openings and proof generation stay on the device; it verifies the pinned validators' inclusion certificate and pages ciphertexts through private_pool_page in batches of 64 under one finalized token. Its recovery limits stay at 4,096 commitments, 2 MiB of ciphertext and 256 owned notes. It does not migrate the browser's legacy swap flow or authorize the public cutover.
  • [x] Classify private_readiness, private_pool_snapshot, private_pool_page and asset_orchard_private_egress_binding as public reads in the wallet proxy. These existing node methods are read-only; validator signing and private admission remain authenticated mutations (wallet-proxy/test_public_auth_boundary_regression.js).
  • [x] Correct gateway connection lifecycle: retire sockets at the node's 64-request ceiling and ignore stale socket events without replaying mutations (a6362a955, wallet-proxy/test_rpc_connection_lifecycle.js).
  • [x] Merged to main in f897d5526 (#196) and a11e8d12c (its review fixes). The content first landed as twelve replayed commits, 91d418187 to ff0713595; the two merges record the pull request's history.
  • S2.4 records the run; S7/S8 and public distribution remain open.

References