Skip to content

Stewardship log while the maintainer is away #131

Open

Description

@PastaPastaPasta

The maintainer (kwvg) is away. Until he is back, pull requests in this repository are reviewed and merged by a steward: an AI agent (Claude) acting for PastaPastaPasta. Merges appear under that account, and each one has a comment below. This issue is the record for kwvg to read on his return.

Rules

  • The steward reviews and merges. It writes no feature code and does not push to PR branches. Authors never approve or merge their own PRs.
  • The standard is kwvg's reviews on sdk%fix: range-check decoded lengths, apply Dash Core's decode-time caps #57 to primitives%fix!: check operator keys under the payload's BLS scheme #129, applied as written. A finding he raised once is a blocker the second time. His reviews are never dismissed or edited.
  • Class A: makes the SDK accept, refuse, decode or encode what the reference implementation does, inside existing types and APIs. Steward decides.
  • Class B: a new typed message, payload or primitive that a named consumer needs, in the style of the existing ones. Steward decides.
  • Class C: a new public abstraction (trait, macro, wrapper, feature flag, crate, dependency) or a reshaping of existing types. Needs a written proposal and a unanimous council of three models (Claude Fable 5.2, Claude Opus 5.5 and GPT 6.1 Sol). So does any change to operative crypto in dash-pkc, a PR he never reviewed that adds more than about 300 lines of library source, and a thread of his that the author disputes. If the council is not unanimous, it does not merge and the question is listed below.
  • Class D: conflicts with one of his rulings (state or tunables, devnets or builders, a BLS scheme chosen at run time, a consensus-level choice made inside the SDK, check-order parity, debugging allowances, handler policy, V1 transport). Nothing in class D merges.
  • Before a merge: just comb passes on every commit, CI is green on the exact head including the Codecov patch checks, and a model from a different family than the author has reviewed the diff. Merges are made with contrib/git_merge.py.
  • The steward does not publish, tag or bump versions, does not change AGENTS.md, the style guide, the PR template, lint or CI policy or the MSRV, and does not force-push develop.
  • To undo a merge: git revert -m 1 <merge sha>. Each entry below gives the command.

Questions for kwvg

  1. Operator signatures on legacy payloads. Signable::verify on ProUpServTx and ProUpRevTx picks the BLS scheme from the payload version (OperatorKey::verify; it was verify_operator in primitives%feat!: decode v24 special transactions as the reference implementation does #88, and primitives%fix!: check operator keys under the payload's BLS scheme #129 moved it without changing the rule). The reference implementation verifies under the scheme active at the block (CheckHashSig, VerifyInsecure). A version 1 ProUpServTx mined on mainnet after v19 (for example at block 1991126) is legacy-encoded and signed under the basic scheme, and verify refuses it. The same happens when the masternode's stored key is legacy-encoded and the payload is version 2 or 3. Found while reviewing primitives%feat!: add payload sign hashes, read signatures of any length #121, whose corpus holds such transactions. Not changed by any merged or open PR. The operator key itself is read under the payload version in the reference, so the key check added in primitives%fix!: check operator keys under the payload's BLS scheme #129 does not depend on this. Question: how should the caller name the scheme here? Until answered, any proposal goes to a council as class C.

  2. Check-table rows that pin which error is reported first (case::x_before_y). develop has them in several modules (proregtx.rs, proupsharetx.rs, netinfo.rs), and primitives%fix: check net info entries after purposes and the reward #109 says the order of checks is not something to match. Question: are new rows of this kind wanted? Until answered, new PRs add none, and the ones on develop are left alone.

  3. The lockfile pins dtolnay/rust-toolchain@stable, a branch that upstream rebuilds on top of master, so the pinned commit leaves the ref and CI fails until the pin is refreshed (sdk%chore(ci): refresh actions.lock after rust-toolchain@stable moved #133). Question: keep the branch ref and refresh it with --accept-moved when it breaks, or pin a ref that does not move? Until answered, the steward refreshes it with your recipe, as in sdk%chore(ci): refresh actions.lock after rust-toolchain@stable moved #133.

  4. BIP152 short IDs. Typed cmpctblock, getblocktxn and blocktxn messages were merged in p2p_core%feat!: type the block, tx and BIP152 compact block messages #135, without the short-ID computation. The keys are the SHA-256 of the header and nonce, and an ID is the low 48 bits of SipHash-2-4 over the transaction's instance hash (blockencodings.cpp#L21-L51). The one consumer, the rust-dashcore node's compact block relay, can compute it itself. No consumer is blocked, so under these rules the proposal did not go to a council, and the computation stays in the node. The proposal was a ShortIdKeys newtype taken once from a cmpctblock with short_id(instance_hash) on it, which would add bitcoin_hashes (for SipHash) to dash-p2p-core. The case against it is one consumer and a new dependency edge. The case for it is that a wrong byte order or hash choice still gives plausible IDs and fails only as missed reconstructions. The instance hash differs from the txid only for a version 2 asset unlock. Question: do you want the short-ID computation in dash-p2p-core, and in what form? Until answered, it stays downstream.

  5. ECDH on secp256k1 keys (pkc%feat: add typed ECDH on secp256k1 keys #140, an external PR for feat(pkc): typed ECDH on secp256k1 keys #137). It adds EcdsaSecretKey::ecdh_shared_secret, the SHA-256 of the prefixed X coordinate as in libsecp256k1's default, and ecdh_shared_point, the raw x || y. Both return Zeroizing arrays. It also adds two entries to the CodeQL model maint/codeql/rust/pkc.model.yml. Operative crypto in dash-pkc is class C under these rules whatever its size, and CodeQL policy is yours. The consumer, Dash Platform (DashPay contact encryption, DashConnect), does this today with its own secp256k1 dependency and an exported scalar. No consumer is blocked, so it did not go to a council. The closest code of yours is BlsSecretKey::dh_exchange, which returns the unhashed point as the BlsDhBytes byte bag and is tested against vectors. pkc%feat: add typed ECDH on secp256k1 keys #140 differs in name and return types, adds a hashed form, and has no reference vector. Question: do you want ECDH on the ECDSA keys, and in what shape? Until answered, pkc%feat: add typed ECDH on secp256k1 keys #140 stays open and unmerged.

Activity

  1. PastaPastaPasta commented on Nov 14, 2026

    @PastaPastaPasta
    MemberAuthor
    #126 primitives%fix!: refuse governance object signatures over 96 bytes  merged 2026-11-14 at ed326129
    class: A   reviewers: GPT 6.1 Sol, high
    decided by: steward
    kwvg's review: reviewed, changes made since
    his open threads: three, all settled in the code (below)
    judgment calls: three (below)
    revert: git revert -m 1 f480538feb4e6f5b3e2a0221a97e773fc5a25a4c
    

    His threads, all from the review at 7b552ac:

    • Shorten the GovObject doc and drop the layout block: the doc is "Governance object." and the block is gone.
    • The tautological test: the GovObject-level tests are gone. codec_base_bounds_a_limited_field in codec.rs checks the field: limit form on a stand-in struct, with an empty field, a field at the limit and a count over it.
    • No changelog entry for an unreleased crate: no commit touches CHANGELOG.md. The wording is in the description's "Breaking Changes".

    The threads are left unresolved on GitHub and the review is not dismissed, so both read as he left them.

    Judgment calls:

    1. codec_base! is exported and gains a field: limit form. I classed that as A, not as a new public abstraction. It only passes the limit on to impl_vec!'s form from p2p_core%feat!: bound inventory, locator and address counts #119, whose description named this field as the follow-up, and his review of this PR asked for a test of the form and did not question it. He did not see the final head.
    2. No test or corpus row decodes a GovObject with a 97-byte signature. The bound on GovObject itself rests on the macro test plus the one line sig: Self::MAX_SIGNATURE_SIZE. That is what his thread asked for; the corpora hold signatures of 0 and 96 bytes.
    3. The history was folded from six commits to two after his review (the macro form with its test, then the bound). The tree is identical to 8ad5a62, the head that answered his threads.

    Proof: just comb passed on both commits, run by the steward. CI and every Codecov patch and project check were green on ed32612. The independent review had no findings.


    🤖 Posted autonomously by Claude on behalf of pasta.

  2. PastaPastaPasta commented on Nov 14, 2026

    @PastaPastaPasta
    MemberAuthor
    #132 primitives%fix!: correct the names of revocation reasons 1 to 3  merged 2026-11-14 at 8b25917b
    class: A   reviewers: GPT 6.1 Sol, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: two (below)
    revert: git revert -m 1 a4ea791e64e67d4053c6b328b43fe49df6f7f99d
    

    What it is: one commit, ten lines in pkgs/primitives/src/support.rs. RevocationReason named codes 1 to 3 KeyCompromise, ChangeOfKeys, ViolationOfService. The reference names them termination of service, compromised keys and change of keys (providertx.h#L396-L401). They are now TerminationOfService, CompromisedKeys, ChangeOfKeys. The codes, the codec and the check on an unknown reason are unchanged. The consumer is a block explorer that shows the names.

    Judgment calls:

    1. ChangeOfKeys keeps its name and moves from code 2 to code 3, so code written against the old enum compiles and means a different code. The alternative was a name that differs from the old one for code 3 as well, which would have turned the silent change into a compile error at the cost of not using the reference's name. I took the reference's names; the description's "Breaking Changes" states the move first. The independent review found that the description had missed it.
    2. No test pins the names. A review bot asked for one and the author declined it as a restatement of the table, which follows the tautological-test rule. It is also the reason this error was on develop unnoticed: nothing but a reading against the reference checks a name.

    Proof: just comb passed on the commit, run by the steward. CI and every Codecov patch and project check were green on 8b25917. The independent review's two findings were both on the description and were corrected before merge.


    🤖 Posted autonomously by Claude on behalf of pasta.

  3. PastaPastaPasta commented on Nov 14, 2026

    @PastaPastaPasta
    MemberAuthor
    #129 primitives%fix!: check operator keys under the payload's BLS scheme  merged 2026-11-14 at 1193b7e3
    class: A, with a reshaping asked for in review   reviewers: GPT 6.1 Sol, high
    decided by: steward
    kwvg's review: reviewed, changes made since
    his open threads: five, all settled in the code (below)
    judgment calls: three (below)
    revert: git revert -m 1 f748a78f34053c73602a0ba663d03e51def55eed
    

    What it is: the ProRegTx, ProUpRegTx and ProUpSharedRegTx checks refused an operator key only when it was null. They now also refuse a key that is not valid under the scheme the reference reads it with: legacy for a version 1 ProRegTx or ProUpRegTx, basic otherwise (providertx.h#L188, #L354, #L542, bls.h#L495-L515). The validity rule is dash-pkc's is_canonical; nothing in dash-pkc changes.

    His threads, from the review at 75dab82:

    • Cryptographic tests do not belong in dash-primitives, and the same tests were repeated in three structs (three threads): all removed. The check tables keep each payload's null_operator row, and one row in proregtx.rs where a version 2 payload from the chain is set to version 1.
    • The KeyEdit enum, flagged before in primitives%feat!: decode v24 special transactions as the reference implementation does #88: gone, with nothing in its place.
    • Wrap the operator key in a struct with a version-based is_valid as an inherent function, and add a commit that folds in verify_operator: OperatorKey sits beside OperatorSig, with is_valid(version). The second commit moves verify_operator into OperatorKey::verify, and ProUpServTx and ProUpRevTx take an OperatorKey as their Signable::Key.

    Judgment calls:

    1. The reviewer asked for a row showing a key that is valid under the legacy scheme refused under the basic one, for ProRegTx and for ProUpSharedRegTx. I did not ask the author for it. It needs a scheme-specific key fixture, which is the test his first thread removed as dash-pkc's to own. The corpus rows run the check on version 1 and version 2 payloads, so both branches execute, but no test in this crate shows that direction refusing.
    2. is_valid(version) picks the scheme from the payload version. The reviewer first read that as a scheme chosen at run time and withdrew it on re-check: the type carries no scheme, the choice ends in a compile-time scheme parameter as verify_operator already did, and it is the function his thread asked for.
    3. OperatorKey::verify keeps the rule that the signature scheme follows the payload version. That rule is question 1 in this issue's list and is still open. This PR moves it without changing it; the key check does not depend on it, because the reference does read the key under the payload version.

    Proof: just comb passed on both commits, run by the steward. CI and every Codecov patch and project check were green on 1193b7e. The independent review ran three times: on the first ready head, on its own findings after I disputed three of them, and on this head. The first ready head (60cedb5) went back for a test that could not fail, a duplicated row and a history fold.


    🤖 Posted autonomously by Claude on behalf of pasta.

  4. PastaPastaPasta commented on Nov 15, 2026

    @PastaPastaPasta
    MemberAuthor
    #122 p2p_core%feat!: type the BIP37 and BIP157 messages  merged 2026-11-15 at 7ce7bcf2
    class: B, with two class-C questions   reviewers: GPT 6.1 Sol, high; Claude Fable 5.2, high; Claude Opus 5.5, medium
    decided by: council, unanimous: is `BloomFlags` open or closed, and may `dash-p2p-core` depend on `bitcoin-units` for `start_height`; steward for the rest
    kwvg's review: reviewed, changes made since
    his open threads: one, settled by aligning with upstream (below)
    judgment calls: six (below)
    revert: git revert -m 1 d8cfd142dbc7518022142c44bb52ea8100387ffd
    

    What it is: the ten BIP37 and BIP157 messages, which dash-p2p-core carried as raw bytes, become typed messages, and dash-primitives gains TxMerkleNode. This undoes the compact filter regression listed in #40.

    His review at 31a4a44 offered two options: defer the PR for bitcoin-p2p-messages and undo #39, or align with upstream semantics and leave a TODO for the substitution. The second was taken. Names, fields and field order follow rust-bitcoin at 94c6f791. Each module has one TODO(pasta) naming the types upstream's can replace, PartialMerkleTree, FilterHash and FilterHeader. The description says why the others stay.

    Council (Claude Fable 5.2, Claude Opus 5.5, GPT 6.1 Sol, all high; unanimous in round 2, 2026-11-14; recorded in #122 and below):

    • BloomFlags is an open enum_map! enum with Unknown, so it reads every byte, as the reference does. Upstream's enum is closed. That is the one place this PR departs from upstream, and it is why BloomFlags and FilterLoad stay this SDK's types.
    • bitcoin-units becomes a direct dependency of dash-p2p-core, for start_height: BlockHeight in getcfilters and getcfheaders. Your earlier file (228e54c) had it, and upstream types the field the same way.

    Judgment calls:

    1. The bitcoin-units dependency. The council accepted it, but on a strict reading the "consumer is blocked without it" test for class C is not met: the crate could use its own height type.
    2. CFCheckpt is typed although no node code reads its fields yet. A reviewer first raised it under p2p_core%refac!: gate all inner values of encodable types, apply getter policy to crate, restrict make_num! behind {get,set}ters #92 and withdrew it, for three reasons: the variant was already public as bytes, Known Issues #40 lists the stubs as a regression, and your file typed it.
    3. filterload refuses a filter over 36,000 bytes, and filteradd an element over 520 bytes, while reading. The reference refuses both while deserialising (bloom.h#L76-L78, net_processing.cpp#L5584-L5589), so I treated them as the same fault at the same stage, not handler policy. The two bounds are public associated constants, FilterLoad::MAX_FILTER_SIZE and FilterAdd::MAX_DATA_SIZE, in the form addr.rs uses. The node needs them to build a filter, since new takes any length.
    4. Hash function count, tweak and filter types are not checked. The reference checks the count and the filter type after reading, and never checks the tweak.
    5. Reviewers could not verify without a node that the block hashes and filters in the corpora are what mainnet returns, or that the programs print these bytes. That rests on the author's runs. They did check by hand that both merkleblock rows hash to the merkle root of block 2,000,000, and that the cfheaders hashes and the header chain recompute from the filters in the rows.
    6. Two nits were left in contrib:
      • contrib/cfilter.py:31 lacks the two blank lines before def field. CI's lint does not flag it.
      • parse_args and main are the same twelve lines in both scripts.

    Proof: just comb passed on all three commits, run by the steward. CI and every Codecov check were green on 7ce7bcf.

    Reviews:

    • Full reviews at 9f937a5 by GPT 6.1 Sol (high) and Claude Fable 5.2 (high). Both found no conformance fault; Sol withdrew the two findings I disputed.
    • The range 9f937a5..7ce7bcf holds only the nine changes the steward asked for. Claude Opus 5.5 (medium) checked it. The Sol re-check of that range failed on a rate limit and was not repeated.
    • The disclosure names both Claude Opus 5.5 and GPT 6.1 Sol as authors, so no reviewer came from a family that wrote none of the code.

    One mistake of mine: deleting the branch closed #128, which was stacked on it. I restored the branch at 7ce7bcf and reopened #128. Its base stays on that branch until the author rebases it onto develop.


    🤖 Posted autonomously by Claude on behalf of pasta.

  5. PastaPastaPasta commented on Nov 16, 2026

    @PastaPastaPasta
    MemberAuthor
    #133 sdk%chore(ci): refresh `actions.lock` after `rust-toolchain@stable` moved  merged 2026-11-16 at ec78d9e3
    class: A (CI upkeep; no library code)   reviewers: Muse Wonder Full 1.0, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: three (below)
    revert: git revert -m 1 59464246886a3d7790f8b1099705353b5b690690
    

    What it is: develop was red at d8cfd14 for a reason outside any PR. dtolnay/rust-toolchain rebuilds its stable branch on top of master, so b725eda5, the commit actions.lock pinned it to, was no longer on the ref (compare). The stable jobs failed at "Set up job" and Lint failed its lockfile check (run 43672876347). The commit is the output of your gh actions-lock recipe, plus --accept-moved. The tool refuses to write without that flag when a pin has left its ref.

    Judgment calls:

    1. I treated a pin refresh made with your own recipe as upkeep, not a change to the CI layout, and merged it as steward. Your merge of the dependabot bump in sdk%chore(ci): bump the actions group across 3 directories with 5 updates #99 is the precedent.
    2. The tool also moved two other pins and renamed a repository, and they were kept rather than removed by hand:
      • taiki-e/install-action@v2 and Mic92/niks3-action@v1 moved forward along their tags, made by their maintainers, and each old pin is an ancestor of the new one.
      • jlumbroso/free-disk-space is now lumbroso-commons/free-disk-space in the lockfile and in six workflows. It is the same repository (ID 506133999) at the same commit, transferred to an organisation of which jlumbroso is a member.
    3. There was one reviewer from another model family, not two. The change is 19 lines of lockfile and uses: references with no library code. The reviewer checked every new pin against GitHub and found nothing beyond two nits. One was that the command adds --accept-moved to your recipe. The other was that the pin will break again the next time upstream rebuilds stable, which is question 3 in this issue's body.

    Proof: CI on ec78d9e had 52 checks passing and 3 skipped, Lint's lockfile check included. There is no Rust change, so the CI run on the head was the proof.


    🤖 Posted autonomously by Claude on behalf of pasta.

  6. PastaPastaPasta commented on Nov 16, 2026

    @PastaPastaPasta
    MemberAuthor
    #121 primitives%feat!: add payload sign hashes, read signatures of any length  merged 2026-11-16 at 306bb5ba
    class: B (sign hashes), A (signatures of any length)   reviewers: GPT 6.1 Sol, high; Claude Fable 5.2, high; Claude Opus 5.5, high; Muse Wonder Full 1.0, high
    decided by: steward
    kwvg's review: reviewed (changes requested at ac060298, 24a9853b and 7510d89f), changes made since
    his open threads: none; all ten settled in the code as he asked
    judgment calls: five (below)
    revert: git revert -m 1 a1d09d4d729ccc977dd5e06ab7004bee533f9014
    

    What it is: sign hashes for the special transaction payloads, written as Signable the way your review asked. Owner and collateral signatures of any length are now read, so a transaction carrying one decodes as the reference decodes it. Every hash is checked against signatures the reference produced: mainnet and testnet transactions in corpus/sighash.json5, and a few regtest transactions inline for kinds that no public block holds yet.

    Judgment calls:

    1. The quorum-signed digests (asset unlock and the two quorum-signed provider payloads) are inherent methods, not Signable, because the signing key is not in the payload. That was already the shape at 7510d89, the head you last reviewed, and you did not comment on it.
    2. The Evo registration vector is inline as one 34,430-character line. primitives%feat!: decode v24 special transactions as the reference implementation does #88 allows regtest vectors inline and keeps corpus/ for public networks. I asked for this vector, because no other one reaches the Evo branch of the JoinSig digest.
    3. The inline regtest vectors rest on a testnet scan, from 1565132 to 1591381, that found no transaction of those kinds. Reviewers could not repeat the scan, so that rests on the author's run. The test doc and the description give the range, and a TODO(pasta) asks for testnet rows once some exist.
    4. Commitment::sig_hash was left out. It had no consumer in this PR, and the digest code was otherwise complete.
    5. Two later commits each add a name to an import line that an earlier commit of this PR wrote. I did not count that as an edit of an earlier commit: the name arrives with its first use, and your own stacks do the same (for example d12bc90 and cadc806 on provider/mod.rs).

    Breaking: as_bytes on both signatures keeps its type, but it returns None for every length except 65, so a caller that reads None as "unsigned" now also gets None for a signature of another length. A ProRegTx or ProUpRegTx with such a signature now passes Transaction::check; only Signable::verify refuses it. The description says this.

    Found while reviewing: question 1 in this issue's body, on the scheme OperatorKey::verify picks for legacy payloads. #121 does not change it.

    Proof: fork CI ran just comb on each of the five commits (run 43797699376). CI and every Codecov check were green on 306bb5b.

    Reviews:

    • After my first pass, two rounds of full reviews by GPT 6.1 Sol (high) and Claude Fable 5.2 (high). Findings I disputed went back to the reviewer, and each was withdrawn.
    • The range cd3d05f..306bb5b holds only the five changes I last asked for and the rebase onto 5946424. Claude Opus 5.5 (high) and Muse Wonder Full 1.0 (high) each checked it, and both called it mergeable as is.
    • The authors were Claude models, so Sol and Muse were the reviewers from other families.

    🤖 Posted autonomously by Claude on behalf of pasta.

  7. PastaPastaPasta commented on Nov 16, 2026

    @PastaPastaPasta
    MemberAuthor
    #128 p2p_core%feat!: type the ChainLock, InstantSend and masternode messages  merged 2026-11-16 at 2ab35eee
    class: B   reviewers: Claude Opus 5.5, high; Claude Fable 5.2, high; Muse Wonder Full 1.0, high (council)
    decided by: council, unanimous: would you accept it given your rulings, and is it correct
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: four (below)
    revert: git revert -m 1 eda56fb2774f189e6a9f2beed4589e4f71dfdba7
    

    What it is: clsig, isdlock, mnauth, spork and platformban decode to typed messages instead of raw bytes. Signatures stay byte bags, and nothing verifies one. An isdlock with more than 48,780 inputs and a spork signature longer than 65 bytes are refused while reading. Both bounds are the reference's. Every corpus section is printed by a program run in the reference's net_tests at v24.0.0, and the testnet clsig and isdlock rows are live locks.

    Why a council: it adds over 300 lines of library source that you never reviewed. Under this issue's rules the council stands in for the single independent review.

    Judgment calls:

    1. The spork signature is a role-free Vec<u8>, not a newtype. develop already has signatures shaped this way (gov/object.rs:159, provider/proupsharetx.rs:49), and the one consumer takes a slice.
    2. decode_payload refuses trailing bytes, which the reference's handlers leave unread. That has been develop's behaviour since e12661a, and this PR extends it to five more commands.
    3. An isdlock with a null txid, with no inputs or with duplicate inputs decodes. The reference refuses those after reading, in TriviallyValid. Here they are left to the caller, and the description says so. The input count is the one check made while reading, because it bounds the allocation.
    4. My first pass called the isdlock input bound the SDK's own. It is the reference's MAX_INPUTS (lock.h L23-L31), and the reference's handler refuses an oversized lock straight after reading it (net_instantsend.cpp L247-L257). A council member caught the error. The commit message and the description were corrected before merge.

    Breaking: P2pMsg::ClSig, IsdLock, MnAuth, Spork and PlatformBan hold the typed messages instead of Vec<u8>. A payload that does not decode as its message is now refused.

    Declined: thepastaclaw's note asking for docs on constructors that accept what the decoders refuse. No bounded payload on develop carries such a note, and it withdrew the note on the final head.

    Proof: fork CI ran just comb on both commits (run 43888567082). CI and every Codecov check were green on 2ab35ee.

    Reviews:

    • All three council members accepted it on first review. Agreeing on the change list took a third round, after the isdlock wording in point 4 was corrected.
    • The range 20bdabb..2ab35ee holds only those changes and the rebase onto a1d09d4. I checked it myself. thepastaclaw approved the final head.
    • The authors were Claude models, so Muse was the reviewer from another family.

    🤖 Posted autonomously by Claude on behalf of pasta.

  8. PastaPastaPasta commented on Nov 18, 2026

    @PastaPastaPasta
    MemberAuthor
    #136 sdk%build: clear RUSTSEC-2026-0543 and RUSTSEC-2026-0544  merged 2026-11-18 at d3342347
    class: A (build chore in the unpublished dash-dev crate)   reviewers: Muse Wonder Full 1.0, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: two (below)
    revert: git revert -m 1 3fd31ae31264f874ceadc4bc59bfe024819fc4f7
    

    What it is: two new RustSec advisories turned the lint_cargo advisories check red on develop and on every open PR. libz-sys moves to 1.1.33, which fixes RUSTSEC-2026-0544. chrono (RUSTSEC-2026-0543, unmaintained, no fixed release) is removed from dash-dev. That drops 17 more crates that only it pulled in. bsdk-util now computes its log timestamp and runtime string from std::time, with the same output. .cargo/deny.toml is unchanged.

    Judgment calls:

    1. Your bsdk-util logging code now holds a days-to-civil-date conversion in place of chrono. The alternatives were an ignore entry in deny.toml, which the steward does not change, or another date crate, which adds a dependency. A reviewer checked the conversion against gmtime for every day from 1970 to 9999. The output differs from chrono's only before 1970 (clamped to the epoch) and after 9999 (no + sign), and the only caller passes the current time.
    2. Times before 1970 were left clamped. thepastaclaw disputes this on logging.rs:62, and the thread is left open for you. Extra hardening of dev tooling has been declined before.

    Also in it: dash-dev now has [dev-dependencies] with the workspace rstest, for its first tests: two rstest tables pinning the timestamp and runtime formats.

    Proof: fork CI ran just comb on the commit (run 44235959186). CI and every Codecov check were green on d334234.

    Reviews: one independent review, from a model family other than the author's, with no blocker. Its two should-fix points (rstest tables and plain names in the date conversion) were folded into the commit. I checked the range from dedf4e6 myself.


    🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

  9. PastaPastaPasta commented on Nov 18, 2026

    @PastaPastaPasta
    MemberAuthor
    #135 p2p_core%feat!: type the block, tx and BIP152 compact block messages  merged 2026-11-18 at e22e6a5a
    class: B   reviewers: Claude Opus 5.5, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: three (below)
    revert: git revert -m 1 d93f2a968340b588a854ce8d9047c2c779214f59
    

    What it is: block and tx decode with the existing dash-primitives decoders. cmpctblock, getblocktxn and blocktxn decode to new structs in msg/compact.rs. A cmpctblock whose short IDs and prefilled transactions together exceed 65,535 is refused while reading the counts. A prefilled index or a getblocktxn running index that does not fit u16 is refused while reading. All three bounds are the reference's. The compact.json5 rows are a testnet peer's cmpctblock and blocktxn replies for two blocks and the getblocktxn we sent between them, each printed by a program run in the reference's net_tests at v24.0.0. The consumer is the rust-dashcore node's message reader and its compact block relay. About 220 lines of library source, under the size that calls for a council.

    Judgment calls:

    1. CmpctBlock::new and its deserialization take any list lengths, so encode can write a cmpctblock that decode refuses. The reference's writer does the same. This matches what was decided on p2p_core%feat!: type the ChainLock, InstantSend and masternode messages #128 for IsdLock and Spork. GetBlockTxn::new is different: it takes only strictly increasing indexes, because an unordered list would make encode subtract past zero.
    2. Short-ID computation (SipHash over the header and nonce) is not in the SDK. It is question 4 in this issue's body. The node computes short IDs itself until you decide.
    3. The structs are named after their P2pMsg variants (CmpctBlock, GetBlockTxn, BlockTxn), as GetHeaders and GetBlocks are, and not rust-bitcoin's HeaderAndShortIds, BlockTransactionsRequest and BlockTransactions. ShortTxId avoids the BIP324 ShortId already in the crate.

    Breaking: P2pMsg::Block, Tx, CmpctBlock, GetBlockTxn and BlockTxn hold the typed messages instead of Vec<u8>. A payload that does not decode as its message is now refused.

    Declined: two thepastaclaw suggestions on the final head. A consuming BlockTxn::into_transactions: no message on develop has a consuming accessor, and none goes in before a consumer needs it. A per-command note and test for trailing-byte refusal: that has been develop's behaviour since e12661a, tested once on the shared guard, as on #128.

    Proof: fork CI ran just comb on both commits (run 44390013114). CI and every Codecov check were green on e22e6a5.

    Reviews:

    • One independent review found no wire defect. It checked field order, widths and bounds against the reference at v24.0.0, and recomputed both blocks' merkle roots and every short ID in the rows.
    • My review asked for five changes: headline struct docs, no block/tx corpus in this crate (one rstest for the variant mapping instead), the bound test split without a branch, and two description fixes. I checked the range from 9d117ce myself. It holds only those changes.
    • The authors included Claude, GPT and Muse models, so no single reviewer was from an uninvolved family. The reviewer was the one available when the other families were at their limits.

    🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

  10. PastaPastaPasta commented on Nov 19, 2026

    @PastaPastaPasta
    MemberAuthor
    #139 pow%doc: document the opt-level for debug builds  merged 2026-11-19 at 7404a262
    class: A (documentation)   reviewers: Claude Opus 5.5, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: two (below)
    revert: git revert -m 1 bd2970cb557631b0d975ca81b5ec51b7ee02825d
    

    What it is: a Debug Builds section in the dash-pow README. It tells workspaces to set [profile.dev.package.dash-pow] opt-level = 3, because Cargo ignores the profiles of dependencies and the X11 SIMD code is tens of times slower unoptimized. It is an external contribution and closes #134.

    Judgment calls:

    1. perf(dash-pow): X11 slow in unoptimized builds #134 is closed with documentation and no code change, which is what its author proposed there.
    2. The contributor's commit is unsigned. Every earlier commit on develop carries a signature, but nothing in the repository requires one and git_merge.py accepted it. The merge commit is signed.

    Also in it: the description was moved into the template at my request. Its "commented my code" and "added tests" boxes are ticked on a README-only change. I left them as written rather than ask for another edit.

    Proof: CI's lint_commit and every other check passed on 7404a26. The title check failed at first on the original title; it passed after a close and reopen, because that check does not re-run when the title is edited. An external branch gets no fork just comb run, and a README change has no code for it to build.

    Reviews: an independent review measured the claim with an X11 probe crate, counting instructions. A debug build of dash-pow costs 33 times a release build, and the documented setting brings it within 1.7 times. thepastaclaw found no blockers.


    🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

  11. PastaPastaPasta commented on Nov 19, 2026

    @PastaPastaPasta
    MemberAuthor
    #138 num%perf: divide `Arith256` by `u64` with schoolbook division  merged 2026-11-19 at f9923a97
    class: A   reviewers: Claude Opus 5.5, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: two (below)
    revert: git revert -m 1 84e9b684e9a79e590fa2ddca4b1500e836d99476
    

    What it is: Arith256 / u64 divides limb by limb with a u128 remainder instead of widening the divisor and running the bit-serial 256-bit division. The quotient is the same, and a zero divisor still gives zero. It is an external contribution, for DGW retargeting, which does about 24 of these per header.

    Judgment calls:

    1. A performance change with no benchmark. The description's timings are from the author's own sync and are not reproducible from the repository. thepastaclaw asked for commands to reproduce them, and the author declined. I did not ask for a benchmark, since benchmarks with nothing to compare against have been declined before. The merge rests on correctness alone.
    2. The contributor's commit is unsigned, as on pow%doc: document the opt-level for debug builds #139. The merge commit is signed.

    Proof: an independent review compared the new division with the wide one on about 2.4 million pairs, including the limb boundaries, with no difference. div_matches_wide_divisor now takes the dividend as a case. Its new row, most significant limb u64::MAX - 1, the others u64::MAX, divided by u64::MAX, drives the carried remainder to its bound in every step. CI, including lint_commit and Codecov, was green on f9923a9. An external branch gets no fork just comb run, and CI tests this single commit.

    Reviews: my review asked for an invariant comment in place of the explanatory one, the boundary row and a template description. All three are in the final head, and I checked the range from 289b89c myself. thepastaclaw found no blockers.


    🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

  12. PastaPastaPasta commented on Nov 27, 2026

    @PastaPastaPasta
    MemberAuthor
    #141 sdk%build: clear RUSTSEC-2026-0592  merged 2026-11-27 at 6979342f
    class: A (build chore, lockfiles only)   reviewers: GPT 6.2 Sol, high
    decided by: steward
    kwvg's review: never reviewed
    his open threads: none
    judgment calls: one (below)
    revert: git revert -m 1 89b1491024f6dee749acccaa2fbac871cf338af1
    

    What it is: RUSTSEC-2026-0592 (url 2.5.8 and earlier: Url::origin() recurses without limit on nested blob: URLs) turned the advisories check red on develop. url moves to 2.5.9 and form_urlencoded to the 1.2.3 it requires. Only Cargo.lock and MODULE.bazel.lock change, and .cargo/deny.toml is unchanged. url is reached only through built in dash-dev's build script.

    Judgment call: there was no separate per-commit just comb run. The PR is one lockfile-only commit, and CI tested that exact commit, so CI stands as its proof. This is the same as for #138 and #139.

    Proof: cargo update -p url reproduces the Cargo.lock byte for byte, and both checksums match crates.io. MODULE.bazel.lock changes only those two pins, their generated references and the recorded Cargo.lock digest. cargo deny check advisories fails on 84e9b68 and passes on 6979342. CI was green on 6979342.

    Reviews: one independent review, from a model family other than the author's, with no blocker. Its two notes, naming both dependency paths and adding the reviewer to the disclosure, were description edits made before merge. thepastaclaw found no blockers.


    🤖 Posted autonomously by Claude (claude-opus-5-5) on behalf of pasta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions