Chain PR integration and developer handoff¶
- Operator: Codex (
codex) - Date: 2026-10-23 UTC
- For: The chain developer and release owner
BLUF¶
PRs #138–#144 and #49 are merged into public main through
#145. The combined
review found and fixed interactions between recipient validation, rejected
transaction fees, memo history and reserve identity consumers. All nine final
PR checks passed. Nothing was deployed or activated in this session. The
next work is protocol-owner review and exact devnet archive replay of the
merged release binary, followed by the existing release process. This handoff
supersedes the merge queue and pending-CI status in the
October 22 chain handoff.
Current state¶
Source and network status¶
- Public
mainwas verified at124a187b19dc178ef92b5c3cfcfb08100eb69277, the normal merge of #145 at 2026-10-22 23:59:15 UTC. - The tested integration head was
7e7169b65a70234faaac4b6ff252a6684aa81b75. The merged tree is identical to that tested tree. The merge parents are the previous main13c408c8c40f8e00f956b40b68770c5fa62a637band the tested integration head. - All eight original PRs are marked merged. Their original heads and the
reserve guest's pinned source remain ancestors of
main; no squash or force-push was used. #139 was retargeted from the #138 branch tomain. - The last documented, rather than freshly probed, fleet observation is
2026-10-21 12:30:55 UTC: six validators on release
store-handle-20261021, source86706699, binary SHA-256eea96ba6761ed223047d7781663100d34efe5641d36031bd50874bd9c8b41f36, height 1137 with six-way agreement. See Current State and Network Status for subsequent observations. - This session performed no live fleet probe, validator restart, deployment, governance activation, live transaction signing or submission, A666 migration, or website publication. The changes below are merged source; their deployed status was not refreshed.
What was merged¶
| PR | Original reviewed head | Result in the combined source |
|---|---|---|
| #138 | 25ffe212a |
Integrator documentation front door and smaller navigation. |
| #139 | aeb7e9816 |
Coinbase integration plan, comparisons and reviewer guide. |
| #140 | e6c0f7d1c |
Documentation contradictions repaired; the production-genesis supply question remains open. |
| #141 | 285941764 |
Asset-Orchard verifying-key fingerprints and their regeneration check. |
| #142 | 920f7cc47 |
Memo contents in history, shielded-withdrawal account rows, and correct receipt positions for mixed transaction blocks. Index schema v2 requires backfill after deployment. |
| #143 | 593430854 |
Malformed-recipient rejection and an optional mixed-case address checksum that preserves legacy addresses. Admission changes with the binary; execution enforcement has a governance activation height. |
| #144 | 92866ba34 |
Fee claims for authenticated effect failures, a require-memo account flag, and issued_payment_v2. Execution changes have governance activation heights. |
| #49 | d01cb1214 |
NEAR receipt freshness, Aave debt completeness, duplicate committee-key rejection, duplicate manifest-entry rejection, and a reproducible successor candidate identity. Registration remains separate. |
The integration merged those heads in the order shown. The original #49 work already contained regenerated manifests and two identical guest builds from the previous lane. This session preserved that provenance and corrected its consumers; it did not register the candidate on-chain.
Integration repairs beyond the individual PRs¶
- Recipient checks and fee claims now compose.
IssuedPaymentV2initially fell through the recipient validator's wildcard after combining #143 and #144. It now receives the same validation. Transfer/payment execution wrappers, escrow/NFT handling, governance kinds and live/archive replay paths were reconciled so recipient rejection and fee claiming both apply at their independently governed heights. Start with recipient validation, execution entrypoints and node execution actions. - Issued-payment memos reach exchange clients. The shared history helper returns memo contents, hashes, counts and byte totals for native and issued payments. Rust SDK response validation and Python archive fallback accept those issued-payment memo rows. See history construction, SDK validation and Python client.
- Regressions cover the combined behavior.
recipient_failures_claim_fees_with_both_gates_and_replay_identicallycovers all three recipient rejection classes, fee burning, sequence advancement, no amount transfer and identical replay results.issued_payment_v2_uses_recipient_validation_and_exposes_memoscovers the new transaction variant. Both are in the node tests. The Rust SDK tests and Python history tests cover signed memo contents and deposit-tag decoding. Existing exchange-history fixtures were changed to canonical recipients so they remain valid under the stricter admission rules. - Reserve consumers use the reproduced candidate. The profile-rotation builder, route-epoch builder and six-node atomic-swap test were repointed, along with their fixtures. The deployed legacy identity and the earlier successor's historical qualification evidence remain separate.
- Documentation describes the integrated result. Navigation and README
conflicts were resolved, strict-build source links and a stale address
anchor were fixed, and RPC docs now explain issued-payment memo contents
and fee-charging
tec_*rows. The Coinbase plan, comparisons and reviewer guide distinguish included source from the October 21 deployed baseline. The locked research specification was not rescored.
The additional commits are
1ebc0faf8
(integration fixes),
fa3d9b9b4
(reserve fixtures and RPC documentation), and
7e7169b65
(source status in the listing package). Some wrapper reconciliation is in the
normal merge commits preceding them.
A suspected governance replay-order problem was investigated: archive replay reconstructs governance sequentially before executing subsequent blocks. No bug was demonstrated there, so no speculative change was made. Tests also cover inactive rules and legacy account serialization: zero account flags remain omitted from legacy bytes and state commitments.
Reserve candidate provenance¶
The candidate identity remains candidate_not_registered. Its
source is 16d41b5ddd9a3a19921c8304dd1e658ba1f0a721; its ELF SHA-256 is
b64b7666eabf1b251029877a842b5722f041f6a296a1156c715548a05d28dcd5.
The identity file contains the verifying key, profile ID, policy hashes and
reproduction commands. Preserve this source commit in Git history: the build
uses git archive at that exact revision.
The final proof CI rebuilt and checked the immutable legacy guest, the older
public successor with its historical qualification data, and the new
freshness/debt candidate. Do not overwrite program-identity.json,
a666-successor-program-identity.json or elf/ with the candidate build.
Validation and review limits¶
All nine final PR checks passed on 7e7169b65, verified at
2026-10-22 23:58:38 UTC:
| Evidence | Passing checks |
|---|---|
| Rust CI | check and full test (1h 34m 14s). |
| Product security CI | public-tree-hygiene, rust-supply-chain, python-sdk, wallet-and-proxy, evm-contracts, open-reserve-proof-kit (46m 45s). |
| Docs CI | Strict documentation build. |
The release-only official-mainnet-fork job was skipped, as designed for
this PR; it is still required on the exact release revision before tagging.
These links describe the final combined PR run, not a claim about later push
runs. Earlier combined runs exposed a stale docs anchor and old reserve test
pins; both were fixed before the passing run above.
Local validation also passed: locked workspace/all-target check; 733 core Rust tests; 76 focused node/RPC tests; 986 Python tests with 3 skipped and 412 passing subtests; 22 reserve-builder tests using temporary fixture keys; JavaScript address tests; workspace Clippy with warnings denied; strict docs, link and handoff-index checks; and 12 publication/hygiene checks. Those counts describe separate local runs and are not additive to the full CI suite.
This was agent source review plus automated validation. It is not an external
cryptographic audit or two independent human approvals. At handoff time #145
has no formal approving reviews, and GitHub reports main unprotected with
no applicable branch rules. The user authorized the merges, but that does not
establish the reviewer and protection requirements documented in the
release process. Protocol-owner/security review and
repository-admin reconciliation of that policy gap remain outstanding.
Next decision or action¶
- Review the integrated source. Use #145 and the regressions above, especially the #143/#144 interaction and reserve identity consumers. Review the final merged revision rather than treating the original PR branches as the release candidate.
- Qualify the release before deployment. Build from the merged release revision and run the exact height-924 and current-head devnet archive replays. Compare state roots, receipts, fees and sequences; stop on any mismatch. Those archives were unavailable in this review worktree, and synthetic tests do not replace this gate. Follow the release process for second-builder reproduction, signed artifacts, rollback and canary qualification, and release checks.
- Roll out before governance activation. Use the existing
scripts/postfiat-safe-rolloutprocess after release approval. All six validators must run the new binary before activatingrecipient_format_activation_height,rejected_tx_fee_activation_heightorrequire_memo_activation_height. Malformed-recipient admission becomes stricter as soon as the binary is deployed; that part does not wait for execution activation. - Backfill account history after installing the binary. On every node
serving
account_tx, follow the index runbook:
postfiat-node account-tx-index-build --data-dir <validator-data>
postfiat-node account-tx-index-status --data-dir <validator-data>
Confirm usable v2 indexes and the expected retained-history range. The rebuild cannot recover blocks or history already pruned. 5. Keep A666 migration as its own operation. G1 remains open for the live legacy verifier. The StakeHub deprecation gates require G3 public-adapter qualification and G5 controlled migration rehearsal. Use fresh qualification/proofs, issuer and reserve-owner signatures, and fresh 5-of-6 checkpoint votes. These are the StakeHub gates, not the similarly numbered storage milestones. Source merge and candidate reproduction do not register a profile or authorize migration. 6. Resolve the remaining product decisions separately. Production genesis must settle the 100 billion target versus the devnet's 1,000 PFT supply. Website go-live still needs its publication decision. Neither was completed by this integration.