Repository navigation
contrib: import libbitcoinpqc releases as one verified main-line commit - #360
Conversation
Delete contrib/devtools/update-libbitcoinpqc-subtree.sh. Its git subtree --squash flow creates a squash commit that holds only the subtree plus a merge, which libbitcoinpqc-subtree-check.sh rejects, and #268 imported without it. The runbook's import recipe makes one main-line commit with the git-subtree-dir and git-subtree-split trailers, as #268 did. It runs in one set -euo pipefail block, and every check runs before git rm: - Git 2.45 or later, for git merge-tree with trees; - no staged, unstaged, untracked or ignored files under the prefix; - old_split equal to the split HEAD records; - a good signature from operator-01 on the release tag, checked against a throwaway keyring in a nested subshell whose trap tolerates a failing gpgconf; - a tag header that names the requested tag and points at a commit; - no dropped downstream delta: merging the qbit subtree into the new release with the old release as base must give the new release's tree. The tag object ID is pinned right after the fetch. The pin list, the PR checklist, the common failures, the developer notes and the PR template point to the new procedure. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Restore contrib/devtools/update-libbitcoinpqc-subtree.sh under its name and make it do the verified one-commit import instead of git subtree pull --squash. Before the tree changes it requires a clean worktree and index with no untracked or ignored files under the prefix, Git 2.45 or later, a release tag with a good signature from operator-01 whose tag object names the tag and points at a commit, a release that descends from the current split unless --allow-downgrade is given, and no dropped downstream delta unless each listed path is named with --accept-upstream. It commits with the caller's GnuPG environment, keeping the git-subtree-dir and git-subtree-split trailers, runs the subtree check and undoes the commit if the check fails. The subtree check now looks only at non-merge commits that change the prefix, so a commit or merge message that quotes the trailer cannot be picked. ci/checks/test_update_libbitcoinpqc_subtree.py runs the helper and the check against scratch repositories with a throwaway signer. The runbook, the devtools README, the developer notes and the PR template describe the helper again, and the PR template asks for the peeled commit of the release tag. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The helper read LIBBITCOINPQC_TEST_SIGNER_CERT and _FINGERPRINT from the environment, so an exported test value silently replaced operator-01. Those variables are now ignored; the tests pass --test-signer-cert and --test-signer-fingerprint together, and the helper prints "TEST SIGNER IN USE: not for real imports" when they are used. The delta check reads paths with git diff-tree -r -z --no-renames and merge-tree -z --name-only, lists conflicted paths apart from qbit changes the release lacks, and maps merge-tree's path~<object> entries back to the real path. A rename, a non-ASCII path or a file/directory conflict can then be accepted by the name the helper prints. A release whose tree equals the vendored tree is refused with a clear message instead of a failed commit. One EXIT trap removes scratch files and, if a commit fails, restores the prefix with git clean -fdx. The scanner's subtree-metadata search uses --no-merges and a pathspec, as the lint does. The runbook section is now "Refresh The Subtree" and says a first import is a maintainer task outside the helper. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A release that upstreams qbit's approved downstream delta has a tree equal to the vendored tree. The pathspec on the import search could not see an import commit that changes no file, and the identical-tree refusal blocked it, so the pin could never move to such a release. Drop the pathspec from the lint, the helper and the scanner, keep --no-merges, and record such a release with an import commit that only moves git-subtree-split. A commit that merely quotes the trailer can then only make the check fail closed. The lint resolves the exact refs/tags/<tag> instead of a suffix match, and the helper checks that the commit the lint verified is the tag's commit, undoing the import otherwise. Re-running an already imported tag still runs the subtree check, and an undo that fails says how to recover. The tag signer stays pinned to the first VALIDSIG field, the signing subkey, as validate_release_artifacts.py does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The subtree lint now fetches the release tag object into a private ref and requires what the import helper requires: a good signature from operator-01's pinned signing subkey, checked against a throwaway keyring, and a tag header naming the tag and type commit. Both scripts share this check through test/lint/libbitcoinpqc-release-tag.sh, so a hand import from an unsigned tag no longer passes CI. The lint fetches the whole upstream history, which is about 1 MB, because a --depth fetch marks the qbit checkout shallow. The helper sets its done marker only after the subtree check passes and verifies the tag's commit. Until then any exit, an interrupt included, undoes the import commit. Both scripts read the tag object from a private ref, not FETCH_HEAD, and delete the ref on exit. They search for the newest import in topological order, so a skewed committer date cannot pick an older import; the scanner does too. The test-signer options are refused unless the remote is a local repository, after insteadOf rewriting. The lint no longer reads LIBBITCOINPQC_PATH, and the helper makes a relative remote path absolute before changing directory. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd3285c9c2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The helper exits at its Git version check before it reaches the worktree checks, so on an older Git the four cleanliness tests and the remote-form refusal test failed instead of skipping. They now carry the same HAVE_GIT_2_45 guard as the other helper tests, and test_refuses_old_git still covers the version check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
lint-shell-locale.py requires export LC_ALL=C as the first command of every shell script, and test/lint/libbitcoinpqc-release-tag.sh had none. Both scripts that source it already export it, so this changes nothing at run time. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring in the 46 commits that main lacks from 1.x.x, including the test fix 23e76df (#137) that the C++ checks need, so that #360 can retarget to 1.x.x. On 1.x.x, #268 moved the libbitcoinpqc pin to the signed v0.3.2 tag (peeled 1965d0da1e) and dropped the crossbeam-epoch lockfile exception, because v0.3.1 took that fix upstream. The resolution keeps this branch's verified import and all its checks: the shared release-tag check, the pinned signer, the fixed prefix and the private tag ref. It takes #268's pin as the default tag in the helper, in the subtree check and its usage text, in contrib/devtools/README.md and in the runbook. It drops the approved-lockfile code from the subtree check and keeps #268's runbook notes on the stack burn and the v0.3.2 error codes. The subtree check now accepts no downstream delta, so the runbook and the README follow it. A change to the subtree ships through a new upstream release tag, Common Failures quotes the check's real messages, gives a restore that works and adds the helper's signature, tag header, delta and downgrade failures, the helper's tag argument is shown as optional, and v0.3.1 is listed among operator-01's signed tags. This merge also makes the shellcheck directive in test/lint/libbitcoinpqc-release-tag.sh file-wide. The export LC_ALL=C added in c3c70a8 had left the SC2034 directive covering only that line, which failed lint-shell. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The deferred low-severity findings are tracked in #369. |
Bring 1.x.x (9574775) into the signed-commit rollout so the pull request can open against 1.x.x, as #360 did: main is 46 commits behind and lacks CI fixes such as #137. A merge keeps the branch's 23 signed commits instead of re-signing them in a rebase. Conflicts: - ci/release/test_publish_local_release.py: run_publisher() keeps both 1.x.x's asset_list_sequence (#170) and the branch's branch_tips, unprotected_branches, branch_rules and cwd parameters. - doc/subtrees/libbitcoinpqc.md: keep #268's v0.3.2 pin and its no-downstream-delta text, plus the branch's note that the subtree check searches every parent and its Signing The Import section. Drop the branch's checklist bullet about keeping the RUSTSEC-2026-0204 Cargo.lock delta, since #268 removed that exception and the lint now accepts no delta. Also update the release-process prerequisite: qbit-guix.sigs main must still be protected with deletion and non_fast_forward rules, which the publisher checks. Its public-main and signed-commits rulesets, applied on 2026-11-09, provide them, and their templates live under contrib/guix/repo-templates/qbit-guix.sigs/rulesets/. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring 1.x.x (594b934) into the signed-commit rulesets branch, so the pull request is mergeable again now that #360's verified libbitcoinpqc import helper, its shared release-tag check and its runbook are on 1.x.x. Keep #360's procedure and only what this branch adds on top. Conflicts: - .github/PULL_REQUEST_TEMPLATE.md: take #360's one-main-line-commit helper line and keep the branch's line that the import keeps its subtree trailers and lands through squash-sign. - ci/scanners/test_run_scanners.py: keep both new test classes, #360's LatestGitSubtreeMetadataTest and the branch's history-scan tests. Fit the branch's text to #360: - doc/subtrees/libbitcoinpqc.md: Signing The Import now says the helper's import is one main-line commit whose trailers squash-sign keeps, and drops the claim that the import procedure is still being fixed. The paragraph on the subtree check now says only that #360's import search walks every parent, because with merge-commit merges the import commit is the merge's second parent. - ci/scanners/run-scanners.py: the shallow-history docstring no longer says the subtree check fetches with --depth=1, which #360 removed. Fix the subtree-signing steps in public-branch-and-rulesets.md. Older Git, such as 2.43, has no git subtree -S and fails with "unknown switch S". git subtree makes the squash commit with git commit-tree, which ignores commit.gpgsign, so that commit would be created unsigned without an error. The doc now says to check that git subtree -h lists -S, --[no-]gpg-sign and to upgrade Git if it does not, to run git subtree pull --squash -S --prefix=<prefix> <repository> <ref>, and to confirm with git log --show-signature -2 that both new commits are signed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…it (#360) * Import libbitcoinpqc releases as one checked main-line commit Delete contrib/devtools/update-libbitcoinpqc-subtree.sh. Its git subtree --squash flow creates a squash commit that holds only the subtree plus a merge, which libbitcoinpqc-subtree-check.sh rejects, and #268 imported without it. The runbook's import recipe makes one main-line commit with the git-subtree-dir and git-subtree-split trailers, as #268 did. It runs in one set -euo pipefail block, and every check runs before git rm: - Git 2.45 or later, for git merge-tree with trees; - no staged, unstaged, untracked or ignored files under the prefix; - old_split equal to the split HEAD records; - a good signature from operator-01 on the release tag, checked against a throwaway keyring in a nested subshell whose trap tolerates a failing gpgconf; - a tag header that names the requested tag and points at a commit; - no dropped downstream delta: merging the qbit subtree into the new release with the old release as base must give the new release's tree. The tag object ID is pinned right after the fetch. The pin list, the PR checklist, the common failures, the developer notes and the PR template point to the new procedure. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Make the libbitcoinpqc import a tested helper Restore contrib/devtools/update-libbitcoinpqc-subtree.sh under its name and make it do the verified one-commit import instead of git subtree pull --squash. Before the tree changes it requires a clean worktree and index with no untracked or ignored files under the prefix, Git 2.45 or later, a release tag with a good signature from operator-01 whose tag object names the tag and points at a commit, a release that descends from the current split unless --allow-downgrade is given, and no dropped downstream delta unless each listed path is named with --accept-upstream. It commits with the caller's GnuPG environment, keeping the git-subtree-dir and git-subtree-split trailers, runs the subtree check and undoes the commit if the check fails. The subtree check now looks only at non-merge commits that change the prefix, so a commit or merge message that quotes the trailer cannot be picked. ci/checks/test_update_libbitcoinpqc_subtree.py runs the helper and the check against scratch repositories with a throwaway signer. The runbook, the devtools README, the developer notes and the PR template describe the helper again, and the PR template asks for the peeled commit of the release tag. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Pin the import signer and report delta paths by their real names The helper read LIBBITCOINPQC_TEST_SIGNER_CERT and _FINGERPRINT from the environment, so an exported test value silently replaced operator-01. Those variables are now ignored; the tests pass --test-signer-cert and --test-signer-fingerprint together, and the helper prints "TEST SIGNER IN USE: not for real imports" when they are used. The delta check reads paths with git diff-tree -r -z --no-renames and merge-tree -z --name-only, lists conflicted paths apart from qbit changes the release lacks, and maps merge-tree's path~<object> entries back to the real path. A rename, a non-ASCII path or a file/directory conflict can then be accepted by the name the helper prints. A release whose tree equals the vendored tree is refused with a clear message instead of a failed commit. One EXIT trap removes scratch files and, if a commit fails, restores the prefix with git clean -fdx. The scanner's subtree-metadata search uses --no-merges and a pathspec, as the lint does. The runbook section is now "Refresh The Subtree" and says a first import is a maintainer task outside the helper. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Let the import pin advance when the tree does not change A release that upstreams qbit's approved downstream delta has a tree equal to the vendored tree. The pathspec on the import search could not see an import commit that changes no file, and the identical-tree refusal blocked it, so the pin could never move to such a release. Drop the pathspec from the lint, the helper and the scanner, keep --no-merges, and record such a release with an import commit that only moves git-subtree-split. A commit that merely quotes the trailer can then only make the check fail closed. The lint resolves the exact refs/tags/<tag> instead of a suffix match, and the helper checks that the commit the lint verified is the tag's commit, undoing the import otherwise. Re-running an already imported tag still runs the subtree check, and an undo that fails says how to recover. The tag signer stays pinned to the first VALIDSIG field, the signing subkey, as validate_release_artifacts.py does. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Verify the release tag signer in the subtree lint too The subtree lint now fetches the release tag object into a private ref and requires what the import helper requires: a good signature from operator-01's pinned signing subkey, checked against a throwaway keyring, and a tag header naming the tag and type commit. Both scripts share this check through test/lint/libbitcoinpqc-release-tag.sh, so a hand import from an unsigned tag no longer passes CI. The lint fetches the whole upstream history, which is about 1 MB, because a --depth fetch marks the qbit checkout shallow. The helper sets its done marker only after the subtree check passes and verifies the tag's commit. Until then any exit, an interrupt included, undoes the import commit. Both scripts read the tag object from a private ref, not FETCH_HEAD, and delete the ref on exit. They search for the newest import in topological order, so a skewed committer date cannot pick an older import; the scanner does too. The test-signer options are refused unless the remote is a local repository, after insteadOf rewriting. The lint no longer reads LIBBITCOINPQC_PATH, and the helper makes a relative remote path absolute before changing directory. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Skip the Git-dependent refusal tests on Git older than 2.45 The helper exits at its Git version check before it reaches the worktree checks, so on an older Git the four cleanliness tests and the remote-form refusal test failed instead of skipping. They now carry the same HAVE_GIT_2_45 guard as the other helper tests, and test_refuses_old_git still covers the version check. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Set LC_ALL=C in the shared libbitcoinpqc release-tag check lint-shell-locale.py requires export LC_ALL=C as the first command of every shell script, and test/lint/libbitcoinpqc-release-tag.sh had none. Both scripts that source it already export it, so this changes nothing at run time. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
## Summary This lands the v1.0.1 release branch on `main` as one commit, the same way `main` received v1.0.0 in #135. The `v1.0.1` tag will then be created on the resulting `main` commit. - **Source:** release branch `1.x.x` at `a7a70660ad6ecadbf77b89bc2fe85ba068a86a71`, this PR's head before the signed squash. `main` (`70fea84f5b`) is an ancestor of that commit, so the squash has exactly its tree: `35a01d570ceef5984ae84e15d4dc74adecb587be`. - **Signing:** the release coordinator squashes the head into one commit and signs it with `squash-sign`. The tree does not change. - **Rebuilt head:** this branch replays the 75 commits of `1.x.x` since `main` (`70fea84f5b..a7a7066`) with their trees, messages and authors unchanged, so their SHAs differ from `1.x.x`'s. The one change: #268 (`e374ba24cf`) is split into its pure libbitcoinpqc v0.3.2 import, which carries the subtree's directory and split (`1965d0da1e`) trailers, and the rest of #268. That way the squash keeps the subtree trailer that `test/lint/libbitcoinpqc-subtree-check.sh` needs on `main`. Without it, the check would find v0.1.1's split `ac72d1ffa0` and fail. The final tree is still `35a01d570ceef5984ae84e15d4dc74adecb587be`. ## Validation of this tree (on `a7a70660ad`) - Full Validation [43271045040](https://github.com/Qbit-Org/qbit/actions/runs/43271045040): passed. - Required Merge Gate [43271044819](https://github.com/Qbit-Org/qbit/actions/runs/43271044819): passed. - Core Checks [43271044808](https://github.com/Qbit-Org/qbit/actions/runs/43271044808), including the `mainnet publication posture` job: passed. - Nightly CI [43273463067](https://github.com/Qbit-Org/qbit/actions/runs/43273463067): dispatched on this commit. Its scanner results are triaged, and one job is being re-run after a runner infrastructure failure. - The release notes are `doc/release-notes-1.0.1.md`, from #181. The freeze and the changes since v1.0.0 are tracked in #174. ## Review Please review the release as a whole against `v1.0.0` (`git diff v1.0.0 a7a7066`), or through the individual `1.x.x` PRs listed in #174 and the release notes. This PR adds nothing beyond `1.x.x` at `a7a70660ad`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Squashed commits: 5aa60b3 fix: resolve finalized mainnet CI failures (#137) b83f87d wallet: avoid deferred keypool unlock deadlock (#143) 0716a7c qt: move PSBT signing off GUI thread (#145) 141a9de Build versioned RPC docs pages (#148) 73c064a test: stabilize REST chaininfo comparison (#149) 508c6ea wallet: default -fallbackfee to the minimum relay fee (#151) 6f703b6 wallet: publish descriptor top-ups after commit (#144) f9172e8 wallet: show fee-only change-only self-transfers (#150) 6de89ab qt: show consumed PQC usage when a generated proof fails verification (#129) (#161) 9084d83 fuzz: seed qbit targets and verify replay and mutation (#164) df533c5 qt: preserve and display consumed PQC usage in transaction signing flows (#167) fc835f4 ci: run classifier tests in Required Merge Gate (#160) 2053d83 release: fail closed when the release asset list cannot be read (#170) 7f11260 ci: harden the Required Merge Gate check-run poller (#171) 5b80d5f ci: validate maintained source in scheduled heavy workflows (#165) 4873900 wallet: batch P2MR counters across mixed descriptors (#163) 19043e0 script: cache successful P2MR PQC signature checks (#162) b262cd0 ci: forward IBD workflow timeout inputs to the harness flags (#159) 4b89e4a doc: correct the v1.0.0 release trust record (#175) 0d2de1e fuzz: repair stale pqc_sign_refused coverage anchor (#176) 0954b74 qt: keep fee-bump PQC usage visible without a notification backend (#177) 3ccf788 qt: keep Encrypt Wallet responsive during existing-wallet encryption (#178) 6d6cc7d wallet: close races around CWallet::EncryptWallet (#183) 54f6737 qt: answer address labels from the table model during wallet encryption (#182) 1339e6b doc: fix pipe rendering and tighten P2MR v1 consensus profile (#252) 422ba0e doc: document bounded30 usage-dependent security margin and raw-key counter limits (#264) 981605a script: cache verified P2MR data-signature checks (v1.0.1) (#265) a5292af policy: bound P2MR runtime stack bytes (#263) d3b02f4 net: bound the size of headers messages we send (#266) 0c60e64 Squashed 'src/libbitcoinpqc/' changes from ac72d1ffa0..1965d0da1e 2f6992b subtree: import libbitcoinpqc v0.3.2 signer stack scrub (#268) cbb1961 crypto: clear stack released by PQC secret-key operations (#270) 260ac73 wallet: take descriptor locks before EncryptWallet's transaction (#277) 243065c mining: reset cached block checks in IPC submitSolution (backport bitcoin/bitcoin#33745) (#289) bc9f1bd wallet: keep the SQLite lock when probing loaded wallet files (#297) 95b8b9f wallet: fail a send whose inputs a concurrent call spent (#298) ad3d708 depends: Update Qt to 6.8.4 and fix macOS accessibility use-after-free (#347) 660034c fuzz: re-anchor PQC coverage checks after #270 and run them in CI (#342) b178391 wallet: deferred P2MR keypool refill at startup and unlock; Lock() waits for key copies (#299) 6700285 test: fix race in p2p_auxpow_headers_size (#358) f6c2013 qt: fix send confirmation re-entrancy and dialog deletion during confirmation (#348) 1fe12ea wallet: fallback-fee follow-ups for #151 (discard rate, GUI warning, default test, help texts) (#346) d21acc4 ci: bind the Required Merge Gate to its own event's runs, fail drafts, keep both sides of renames (#345) a4e1f26 qt: keep PSBT signing results across shutdown, close and unload (#344) e783923 test: keep wallet_p2mr_deferred_keypool_tests within time limits under sanitizers (#361) 1538eed ci: run runner selection on GitHub-hosted Ubuntu (#362) 1b8d10f qt: ignore PSBT Sign while a signing attempt is in progress (#353) 01a9ab3 contrib: import libbitcoinpqc releases as one verified main-line commit (#360) 5b42181 guix: ship macOS debug symbols as dSYM bundles (#343) 6f080f0 wallet: remove deleted plaintext keys from the wallet file after encryption (#300) 98dbe5b wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock (#301) dff82fb ci: allowlist fuzz-seed format tags in the gitleaks scan (#367) c7c9fbd ci: retry the cargo-audit database fetch and fix the clang analyzer scan (#368) 8ee5231 contrib: add the rulesets for qbit-guix.sigs main (#371) f8ababf contrib: add public tools to stage, sign and combine release checksums (#374) c4d88af contrib: keep the release key policy in one place and tighten key-policy continuity checks (#375) 78405ad wallet: keep the lock state when changing the passphrase (#379) ea99d08 ci: keep the 32-bit ARM nightly unit-test shards within their time limit (#377) cb1f507 ci: run the mainnet publication posture check on every mainnet line (#385) 6582427 qt: wait for open dialogs before shutdown and wallet unload (#354) 7953475 qt: keep the GUI responsive during wallet encryption started outside it (#352) 0d87213 doc: replace the release docs with a runbook, a publisher reference and a release issue form (#376) 3de5e93 net: only use service bits learned from a direct connection when deciding which addresses to avoid (#380) 565eb46 photon: bound inbound relay state per peer and check blocks before submission (#381) 7b7066f ci: parse gpg status output on newline only and reject other line separators (#387) b1b0860 net: budget per-peer time spent validating rejected transactions (#386) 3ae934c photon: announce blocks under the low-order bits of their hash (#410) faaaaa8 wallet: refill P2MR keypools before walletpassphrase returns (#411) 9e74401 wallet: fail descriptor key encryption when the plaintext record is not erased (#418) e8a796d ipc: return false from submitSolution for a missing or undecodable coinbase (#419) 396940d net: request transactions held back by the validation budget later, and limit each connection's share of the pool (#422) 6ca0132 net, validation: attribute received blocks to their sender and check recovered blocks (#414) c65bea2 qt: add a play-money poker lobby based on Satoshi's 2009 design (#378) b3b5096 script: limit standard hashing of large P2MR stack elements (#415) ca5d4b5 release: prepare v1.0.1 (#181) b1c6d4e net: pass held-back transaction announcements on at most once per retry delay (#425) Co-authored-by: Claude Fable 5 <[email protected]> Co-authored-by: Alexander Miller <[email protected]> Co-authored-by: Sjors Provoost <[email protected]> Co-authored-by: Fabian Jahr <[email protected]> Co-authored-by: Dan Hepworth <[email protected]> git-subtree-dir: src/libbitcoinpqc git-subtree-split: 1965d0da1eb4d9e196613b8f3a5d0d866a221c53
## Summary Merges `1.x.x` (through #425, 51 commits, the v1.0.1 work) into `1.1.0`, which has not moved since the v1.1.0-rc1 prep (#256) on 2026-10-27. After this, `1.1.0` is `1.x.x` plus the PQ transport line (#233, #249, #255, #256). ## Sync point This commit is the squash of the merge of `1.x.x` at `a7a70660ad6ecadbf77b89bc2fe85ba068a86a71` into `1.1.0` at `1b6e6b677ddd7e965a374cf3419bde4dd09747e4` (reviewed merge commit `2f01f54d8dbc3984fbdc848b4d96eb220d75464e`, tree `d588767f7af07c937ea4d6525313897e9c9daf6e`). A squash does not record `1.x.x` as a parent, so the next sync must name that `1.x.x` commit as its merge base (`git merge-tree --merge-base=<that commit>`, or a local join commit with it as second parent) instead of using the base Git finds, which stays at `45e9e72c2d` and would raise every conflict below again. ## Conflict resolutions | Files | Resolution | | --- | --- | | `CMakeLists.txt`, `doc/man/*.1` | Keep v1.1.0-rc1. | | `src/init.cpp` | Keep both `-mlkemportable` and `-txvalidationbudget`. | | `required-merge-gate.yml`, `test_merge_gate_poller.py` | Both lines independently taught the gate to read only its own event's runs. Took the `1.x.x` implementation (#345) whole and re-added the `1.1.0` triggers, the PQ CI contract step and the `1.1.0` ruleset template. | | `ci.yml`, `core-checks.yml` | Took the `1.x.x` spelling of the identical `--no-renames` change and its mainnet-line rule (already covers `1.1.0`); kept the PQ jobs, the apt cache and the fuzz tooling step. | | `ci-nightly-heavy.yml` | Kept the job catalog; carried the 300 minute ARM shard limit (#377) into it. `test_scheduled_validation_contract.py` now reads the catalog. | | `classify_merge_profile.py` | Kept the `1.x.x` operator-key routing and the PQ unit and functional file sets. | | `release-process.md`, `test_verify_mainnet_ci_posture.py` | Took the `1.x.x` runbook and the removal (#376, #385). | | `.github/rulesets/1.1.0.json` | Not a conflict: matched to the `1.0.0` template, which the ruleset check from `1.x.x` requires. | ## Testing (local, x86_64 Linux, Release build) - Build: clean. - Unit tests: 187 of 188 pass, `script_assets_tests` skipped as usual. - Functional, in `--v2pqtransport` mode and again in default mode: every `p2p_v2_*`, `feature_pq_*`, `rpc_net`, `rpc_pqtransport`, and the 12 functional tests `1.x.x` added or changed (including `p2p_tx_validation_budget` and `p2p_auxpow_headers_size`). All pass. - `ci/checks/test_*.py`, `ci/release/test_*.py`, PQ canary, fuzz coverage anchors, seed check, PQ doc token lint: pass, except `test_verify_testnet_release_posture.py`, which fails identically on both parents on this host. Not run locally: the full functional suite, sanitizers, non-x86 and macOS jobs, fuzz replay. ## Follow-ups, not in this PR - Man pages keep the October date and are not regenerated; do that when the next release candidate is cut. - `test/rpc_docs/test_site_builder.py` fails on `1.1.0` before and after this merge (`getpqtransportinfo` is missing from the sample manifest). - `1.x.x` does not contain the v1.0.1 release commit on `main`; nothing here depends on it. Squashed commits: 4fb9dbe doc: fix pipe rendering and tighten P2MR v1 consensus profile (#252) d38cbd8 doc: document bounded30 usage-dependent security margin and raw-key counter limits (#264) 02a465d script: cache verified P2MR data-signature checks (v1.0.1) (#265) aa8ea86 policy: bound P2MR runtime stack bytes (#263) a1e8bd9 net: bound the size of headers messages we send (#266) e374ba2 subtree: import libbitcoinpqc v0.3.2 signer stack scrub (#268) 330b370 crypto: clear stack released by PQC secret-key operations (#270) b27130a wallet: take descriptor locks before EncryptWallet's transaction (#277) 21fee6e mining: reset cached block checks in IPC submitSolution (backport bitcoin/bitcoin#33745) (#289) 9c831be wallet: keep the SQLite lock when probing loaded wallet files (#297) 635919d wallet: fail a send whose inputs a concurrent call spent (#298) a5967f6 depends: Update Qt to 6.8.4 and fix macOS accessibility use-after-free (#347) baf158a fuzz: re-anchor PQC coverage checks after #270 and run them in CI (#342) dd86425 wallet: deferred P2MR keypool refill at startup and unlock; Lock() waits for key copies (#299) ee85afc test: fix race in p2p_auxpow_headers_size (#358) e112622 qt: fix send confirmation re-entrancy and dialog deletion during confirmation (#348) 863e6b1 wallet: fallback-fee follow-ups for #151 (discard rate, GUI warning, default test, help texts) (#346) 621b330 ci: bind the Required Merge Gate to its own event's runs, fail drafts, keep both sides of renames (#345) b5486bf qt: keep PSBT signing results across shutdown, close and unload (#344) 49b5013 test: keep wallet_p2mr_deferred_keypool_tests within time limits under sanitizers (#361) 993ab75 ci: run runner selection on GitHub-hosted Ubuntu (#362) 9574775 qt: ignore PSBT Sign while a signing attempt is in progress (#353) 594b934 contrib: import libbitcoinpqc releases as one verified main-line commit (#360) 535f69f guix: ship macOS debug symbols as dSYM bundles (#343) ea571b8 wallet: remove deleted plaintext keys from the wallet file after encryption (#300) 3a12925 wallet: re-encrypt plaintext PQC keys in encrypted wallets on unlock (#301) b10c761 ci: allowlist fuzz-seed format tags in the gitleaks scan (#367) 0a936d6 ci: retry the cargo-audit database fetch and fix the clang analyzer scan (#368) d647580 contrib: add the rulesets for qbit-guix.sigs main (#371) 26ebfc9 contrib: add public tools to stage, sign and combine release checksums (#374) d6a72d6 contrib: keep the release key policy in one place and tighten key-policy continuity checks (#375) bdc43f3 wallet: keep the lock state when changing the passphrase (#379) 33cb6e8 ci: keep the 32-bit ARM nightly unit-test shards within their time limit (#377) e26c22e ci: run the mainnet publication posture check on every mainnet line (#385) 73c704b qt: wait for open dialogs before shutdown and wallet unload (#354) dfbf4b8 qt: keep the GUI responsive during wallet encryption started outside it (#352) 843ba29 doc: replace the release docs with a runbook, a publisher reference and a release issue form (#376) c53393d net: only use service bits learned from a direct connection when deciding which addresses to avoid (#380) 9fc25e0 photon: bound inbound relay state per peer and check blocks before submission (#381) 3723aeb ci: parse gpg status output on newline only and reject other line separators (#387) 9935217 net: budget per-peer time spent validating rejected transactions (#386) a811585 photon: announce blocks under the low-order bits of their hash (#410) 1efb3ae wallet: refill P2MR keypools before walletpassphrase returns (#411) e9f4499 wallet: fail descriptor key encryption when the plaintext record is not erased (#418) 694c26d ipc: return false from submitSolution for a missing or undecodable coinbase (#419) 2f2ad3e net: request transactions held back by the validation budget later, and limit each connection's share of the pool (#422) 273353b net, validation: attribute received blocks to their sender and check recovered blocks (#414) 889d3e2 qt: add a play-money poker lobby based on Satoshi's 2009 design (#378) 6a3421d script: limit standard hashing of large P2MR stack elements (#415) 29c0ec9 release: prepare v1.0.1 (#181) a7a7066 net: pass held-back transaction announcements on at most once per retry delay (#425) 2f01f54 Merge 1.x.x into 1.1.0 Synced-From: 1.x.x@a7a70660ad6ecadbf77b89bc2fe85ba068a86a71 git-subtree-dir: src/libbitcoinpqc git-subtree-split: 1965d0da1eb4d9e196613b8f3a5d0d866a221c53 Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Alexander Miller <[email protected]> Co-authored-by: Sjors Provoost <[email protected]> Co-authored-by: Fabian Jahr <[email protected]> Co-authored-by: Dan Hepworth <[email protected]>
## Summary A pull request lands as one signed commit made by `squash-sign apply`. That commit has the same tree as the head that was reviewed, but GitHub records checks per commit, so Full Validation and Core Checks run again from scratch, for hours, on a tree that already passed. Label changes do the same. This lets a pull request run skip the expensive jobs of `ci.yml` and `core-checks.yml` when GitHub's own records show that the tree under test (the tree of the pull request's merge commit) already passed the same workflow, routed the same way, in this pull request, against an unchanged base. The gate jobs (`Full Validation Gate`, `Core Checks Gate`) still run and report, so `Required Merge Gate` passes within minutes. A real change, a moved base, or anything else that changes the tree runs everything, as before. How it decides (`ci/checks/tree_pass_marker.py`; the workflows only wire it up): - A passing full run saves a marker: a cache entry whose key names the workflow, the routing, a salt, the tree, and the run and attempt that saved it, plus an artifact of that run named for the key. The entry is only looked up, never restored. - A skip needs GitHub's records of that run, not the marker's word: a `pull_request` run of the same workflow file on this head branch, whose head had this head's tree; the gate job and the save job green in the attempt that saved and in the latest attempt; the artifact present and not expired. - The run must belong to this pull request against an unchanged base: this is the only pull request ever opened from its head branch; neither its timeline nor its issue events hold an event that moved its base, or that deleted or restored its head branch; and the run was created after the pull request was. - No later run of the pull request may have failed or be unfinished, whatever its head tree was. - Any doubt, lookup failure, timeout or unexpected answer runs everything. What never skips: pushes, merge groups, dispatches, fork pull requests, drafts, a pull request labelled `ci:full-run`, re-runs (attempt 2 and later), the lints that read commit history (`lint commit range`: commit messages, scripted diffs, subtrees), and the suite that tests this mechanism (`same-tree skip contract`). `doc/development/ci-same-tree-skip.md` has the rules, what remains possible, and how to turn it off. It also says how often to expect a skip: of the last 40 pull requests merged into `1.x.x`, eight had no base movement between their last green full run and their merge, so about one landing in five would have skipped; the others get a new merge tree and a full run, which is correct. **This is a draft on purpose.** It has not run on GitHub yet. The plan below is what marking it ready will exercise; I will record the results here before asking for it to land. ## Testing - [ ] Built locally. Not applicable: no source changes. - [x] Ran focused unit or functional tests for the changed area: `ci/checks/test_tree_pass_marker.py`, 117 tests, and the 11 other `ci/checks` suites. - [x] Ran lint or formatting checks relevant to this change: ruff, codespell, actionlint, lint-files, the utf8 lint, and the `commit_msg`, `scripted_diff` and `subtree` lints; zizmor shows nothing beyond the base. - Each rule fails a test when it is removed or weakened (185 mutations by the author, further sets in the independent reviews of each revision). - Read-only replays against real runs and pull requests of this repository: a draft run and a retargeted pull request (#360) are refused; an ordinary pull request (#387) binds. Not run, because it needs GitHub: the cache and artifact behaviour, `filter=latest` during a queued re-run, the workflow token's permissions, gpg and the tag fetch on the hosted runner, and the contract job's duration there. ### Validation plan on GitHub Prerequisites: the `ci:full-run` label exists; `1.x.x` stays still between steps; the pull request is not retargeted and no second one is opened from the branch. | Step | What is done | Expected | | --- | --- | --- | | 0. Draft | This pull request, as it is now | Core Checks runs in full, including `same-tree skip contract`, and saves a marker; Required Merge Gate fails "is a draft" | | 1. Full run | Mark ready | Full Validation runs everything; `lint commit range` logs each subtree as good; markers and their artifacts are saved | | 2. Same tree, new commit | Push a commit with the same tree | Both workflows skip, citing step 1's run; `lint commit range` and the contract job still run; both gates green; Required Merge Gate green within minutes | | 3. Re-run | "Re-run all jobs" on step 2's Full Validation run | Runs in full: an attempt after the first never skips | | 4. A later failed run | With `ci:full-run` on, a run of the same tree fails or is cancelled; then the label comes off | The next run runs everything, naming the run that did not pass | **Results on GitHub (13 November).** - **Step 1.** Full Validation passed on its second attempt (run 43445634045). In the first, the TSan job failed on `wallet_p2mr_deferred_keypool_tests` (#429, a timing test), and the failed job was re-run. - **Step 2.** On a commit with the same tree, Full Validation skipped in 80 seconds: "skipping the expensive jobs: run 43445634045 attempt 2 already passed this tree with the same routing". `lint commit range` still ran and both gates were green. Core Checks ran in full: "running everything: no pass marker for this tree". Its marker, saved seven and a half hours earlier, had been evicted. The repository's Actions cache held 9 GiB of its 10 GiB limit, and nothing in it had last been used more than two hours before. So a marker here lives about two hours, and the skip needs the landing push within that time of the full run. A missing marker means a full run, never a wrong skip. - **Steps 3 and 4 were not run on GitHub** (the operator's decision, 15 November): each costs a full run. The rules they exercise are covered by `ci/checks/test_tree_pass_marker.py` (`test_a_rerun_always_runs_in_full`, `test_a_later_run_of_this_tree_that_did_not_pass_stops_the_skip`). - The signed commit runs in full: the markers of 13 November are gone. ## Target Branch - [x] This PR targets `main` or a maintainer-requested release branch such as `0.1.x`. It targets `1.x.x`, where the change is wanted first. ## Risk / Review Notes - [x] Consensus, script, crypto, wallet, P2P, release, CI, or security-sensitive behavior changed. - [ ] No consensus, script, crypto, wallet, P2P, release, CI, or security-sensitive behavior changed. Notes: CI only. A wrong skip would let a tree land without its tests, which is why every rule fails closed and why the mechanism's own tests can't be skipped by it. `ci/checks/` and `.github/workflows/` are gate code: once `Key Policy Gate (1.x.x)` is required, this pull request needs a `gate.SHA256` approval signed by the base policy's quorum. ### Key Policy Gate The `Key Policy Gate` check is red on this pull request, and that is expected. The gate refuses a change to its code (here: `ci.yml`, `core-checks.yml` and two files under `ci/checks/`) without approvals signed by three mainnet signers. No ruleset requires the gate yet, and the operator decided on 13 November to land this pull request before one does, without collecting signatures. The rulesets that require the gate are applied only after this one, #372 and the `signed-landing` workflow have merged. ## Docs / Process Impact - [x] I updated public docs because this PR changes user-visible behavior, integration guidance, release/process guidance, or expected validation: `doc/development/ci-same-tree-skip.md`. - [ ] No public docs update needed. Reason: 🤖 Generated with [Claude Code](https://claude.com/claude-code) Squashed commits: 2ed0c6a ci: skip Full Validation and Core Checks for a tree that already passed 7633b7b Merge remote-tracking branch 'origin/1.x.x' into kiwidream/ci-skip-same-tree 529ec7c ci: a commit with the same tree, for step 2 of the validation plan Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed (#423) ## Summary A pull request lands as one signed commit made by `squash-sign apply`. That commit has the same tree as the head that was reviewed, but GitHub records checks per commit, so Full Validation and Core Checks run again from scratch, for hours, on a tree that already passed. Label changes do the same. This lets a pull request run skip the expensive jobs of `ci.yml` and `core-checks.yml` when GitHub's own records show that the tree under test (the tree of the pull request's merge commit) already passed the same workflow, routed the same way, in this pull request, against an unchanged base. The gate jobs (`Full Validation Gate`, `Core Checks Gate`) still run and report, so `Required Merge Gate` passes within minutes. A real change, a moved base, or anything else that changes the tree runs everything, as before. How it decides (`ci/checks/tree_pass_marker.py`; the workflows only wire it up): - A passing full run saves a marker: a cache entry whose key names the workflow, the routing, a salt, the tree, and the run and attempt that saved it, plus an artifact of that run named for the key. The entry is only looked up, never restored. - A skip needs GitHub's records of that run, not the marker's word: a `pull_request` run of the same workflow file on this head branch, whose head had this head's tree; the gate job and the save job green in the attempt that saved and in the latest attempt; the artifact present and not expired. - The run must belong to this pull request against an unchanged base: this is the only pull request ever opened from its head branch; neither its timeline nor its issue events hold an event that moved its base, or that deleted or restored its head branch; and the run was created after the pull request was. - No later run of the pull request may have failed or be unfinished, whatever its head tree was. - Any doubt, lookup failure, timeout or unexpected answer runs everything. What never skips: pushes, merge groups, dispatches, fork pull requests, drafts, a pull request labelled `ci:full-run`, re-runs (attempt 2 and later), the lints that read commit history (`lint commit range`: commit messages, scripted diffs, subtrees), and the suite that tests this mechanism (`same-tree skip contract`). `doc/development/ci-same-tree-skip.md` has the rules, what remains possible, and how to turn it off. It also says how often to expect a skip: of the last 40 pull requests merged into `1.x.x`, eight had no base movement between their last green full run and their merge, so about one landing in five would have skipped; the others get a new merge tree and a full run, which is correct. **This is a draft on purpose.** It has not run on GitHub yet. The plan below is what marking it ready will exercise; I will record the results here before asking for it to land. ## Testing - [ ] Built locally. Not applicable: no source changes. - [x] Ran focused unit or functional tests for the changed area: `ci/checks/test_tree_pass_marker.py`, 117 tests, and the 11 other `ci/checks` suites. - [x] Ran lint or formatting checks relevant to this change: ruff, codespell, actionlint, lint-files, the utf8 lint, and the `commit_msg`, `scripted_diff` and `subtree` lints; zizmor shows nothing beyond the base. - Each rule fails a test when it is removed or weakened (185 mutations by the author, further sets in the independent reviews of each revision). - Read-only replays against real runs and pull requests of this repository: a draft run and a retargeted pull request (#360) are refused; an ordinary pull request (#387) binds. Not run, because it needs GitHub: the cache and artifact behaviour, `filter=latest` during a queued re-run, the workflow token's permissions, gpg and the tag fetch on the hosted runner, and the contract job's duration there. ### Validation plan on GitHub Prerequisites: the `ci:full-run` label exists; `1.x.x` stays still between steps; the pull request is not retargeted and no second one is opened from the branch. | Step | What is done | Expected | | --- | --- | --- | | 0. Draft | This pull request, as it is now | Core Checks runs in full, including `same-tree skip contract`, and saves a marker; Required Merge Gate fails "is a draft" | | 1. Full run | Mark ready | Full Validation runs everything; `lint commit range` logs each subtree as good; markers and their artifacts are saved | | 2. Same tree, new commit | Push a commit with the same tree | Both workflows skip, citing step 1's run; `lint commit range` and the contract job still run; both gates green; Required Merge Gate green within minutes | | 3. Re-run | "Re-run all jobs" on step 2's Full Validation run | Runs in full: an attempt after the first never skips | | 4. A later failed run | With `ci:full-run` on, a run of the same tree fails or is cancelled; then the label comes off | The next run runs everything, naming the run that did not pass | **Results on GitHub (13 November).** - **Step 1.** Full Validation passed on its second attempt (run 43445634045). In the first, the TSan job failed on `wallet_p2mr_deferred_keypool_tests` (#429, a timing test), and the failed job was re-run. - **Step 2.** On a commit with the same tree, Full Validation skipped in 80 seconds: "skipping the expensive jobs: run 43445634045 attempt 2 already passed this tree with the same routing". `lint commit range` still ran and both gates were green. Core Checks ran in full: "running everything: no pass marker for this tree". Its marker, saved seven and a half hours earlier, had been evicted. The repository's Actions cache held 9 GiB of its 10 GiB limit, and nothing in it had last been used more than two hours before. So a marker here lives about two hours, and the skip needs the landing push within that time of the full run. A missing marker means a full run, never a wrong skip. - **Steps 3 and 4 were not run on GitHub** (the operator's decision, 15 November): each costs a full run. The rules they exercise are covered by `ci/checks/test_tree_pass_marker.py` (`test_a_rerun_always_runs_in_full`, `test_a_later_run_of_this_tree_that_did_not_pass_stops_the_skip`). - The signed commit runs in full: the markers of 13 November are gone. ## Target Branch - [x] This PR targets `main` or a maintainer-requested release branch such as `0.1.x`. It targets `1.x.x`, where the change is wanted first. ## Risk / Review Notes - [x] Consensus, script, crypto, wallet, P2P, release, CI, or security-sensitive behavior changed. - [ ] No consensus, script, crypto, wallet, P2P, release, CI, or security-sensitive behavior changed. Notes: CI only. A wrong skip would let a tree land without its tests, which is why every rule fails closed and why the mechanism's own tests can't be skipped by it. `ci/checks/` and `.github/workflows/` are gate code: once `Key Policy Gate (1.x.x)` is required, this pull request needs a `gate.SHA256` approval signed by the base policy's quorum. ### Key Policy Gate The `Key Policy Gate` check is red on this pull request, and that is expected. The gate refuses a change to its code (here: `ci.yml`, `core-checks.yml` and two files under `ci/checks/`) without approvals signed by three mainnet signers. No ruleset requires the gate yet, and the operator decided on 13 November to land this pull request before one does, without collecting signatures. The rulesets that require the gate are applied only after this one, #372 and the `signed-landing` workflow have merged. ## Docs / Process Impact - [x] I updated public docs because this PR changes user-visible behavior, integration guidance, release/process guidance, or expected validation: `doc/development/ci-same-tree-skip.md`. - [ ] No public docs update needed. Reason: 🤖 Generated with [Claude Code](https://claude.com/claude-code) Squashed commits: 2ed0c6a ci: skip Full Validation and Core Checks for a tree that already passed 7633b7b Merge remote-tracking branch 'origin/1.x.x' into kiwidream/ci-skip-same-tree 529ec7c ci: a commit with the same tree, for step 2 of the validation plan Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
libbitcoinpqc releases are imported as one verified main-line commit, as #268 did by hand. The old
git subtree pull --squashflow made a squash commit plus a merge, whichlibbitcoinpqc-subtree-check.shrejects. This is also the import shape the signed-commit rollout lands with a single signature, keeping its subtree trailers.contrib/devtools/update-libbitcoinpqc-subtree.shnow does the verified import. Before the tree changes, it requires:--allow-downgradeis given;--accept-upstream.It commits with the caller's GnuPG environment and keeps the
git-subtree-dirandgit-subtree-splittrailers. It then runs the subtree check. Any failure, an interrupt included, undoes the import commit.test/lint/libbitcoinpqc-subtree-check.sh:refs/tags/<tag>.test/lint/libbitcoinpqc-release-tag.sh, so a hand import from an unsigned tag no longer passes CI.Identical trees: a release whose tree equals the vendored tree, because it upstreams qbit's delta, is recorded by an import commit that only moves
git-subtree-split.The scanner's subtree-metadata search follows the same rules.
Docs: the runbook ("Refresh The Subtree"), the devtools README, the developer notes and the PR template, which now asks for the peeled commit of the release tag.
Testing
python3 -m unittest ci/checks/test_update_libbitcoinpqc_subtree.py, which runs the helper and the lint against scratch repositories with a throwaway signer: 42 tests OK.python3 -m unittest ci/scanners/test_run_scanners.py: 14 tests OK (on 1.x.x's version of the suite).Five local
/code-review mediumpasses; the last found no correctness bug in the import path.Built locally.
Ran focused unit or functional tests for the changed area.
Ran lint or formatting checks relevant to this change.
Not run. Reason: no C++ or build change.
Target Branch
Retargeted from
mainto1.x.x, where development lands:mainis 46 commits behind and lacks the test fix in #137, so its C++ checks fail on any PR.1.x.xis merged in. The libbitcoinpqc pin follows #268 (v0.3.2), the old lockfile exception is gone, and the runbook says a downstream delta can't land.mainor a maintainer-requested release branch such as0.1.x.Risk / Review Notes
Notes: This changes the import tooling and the CI lint for
src/libbitcoinpqc, not the vendored code. Wiring the lint's new checks into the required merge gate waits for #345.Docs / Process Impact
libbitcoinpqc Subtree Checklist (if
src/libbitcoinpqcchanged)Not applicable:
src/libbitcoinpqcis unchanged.Follow-ups (not in this PR)
old_splitfetch exits silently.--allow-downgrade.TAG_REFis shared across worktrees.real_pathand~hexnames; a staleLIBBITCOINPQC_PATHin the scanner.Merge order
Merge this before the signed-commit rulesets PR. That PR also edits
doc/subtrees/libbitcoinpqc.mdand the PR template.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.