Repository navigation
Conversation
sbddesign
left a comment
There was a problem hiding this comment.
Important: the advertised --event-type payment command is rejected by this revision. LedgerEventType in the bundled raw public contract contains only adjustment; generated help lists only that value. At dacd633080658aef37acb75f8c52f54097a2c115, the built binary exits 2 for wallets ledger list WALLET_ID --org ORG_ID --event-type payment --json --no-input.
Correct docs/guides/requests.md, CHANGELOG.md, and the PR description: omit --event-type for payment ledger entries; use --event-type adjustment for adjustments. Keep the upstream snapshot unchanged. Add an assertion for the documented omitted-filter payment path.
The check-only true/false/omission mapping and preservation of filters through cursor/offset pagination match the refreshed public contract. Docs #36 and skills #10 remain correctly scoped to released v0.2.0 with direct API fallbacks. This review does not establish release availability.
sbddesign
left a comment
There was a problem hiding this comment.
Verified the correction at 25eba704eb8280ee3f489bd9c0bf6432120a270b; my Important command-contract finding is closed at this revision. Guide, changelog, and PR table now specify omission for payment ledger entries and --event-type adjustment for adjustments. The added regression verifies omission on the wire and explicit payment exit 2 without another HTTP request.
Independent reviewer gates pass on clean HEAD: formatting, Clippy all targets/warnings denied, cargo-machete, full locked offline tests (131 unit/123 integration), contract check, and maintained whole-package CRAP collection (maximum 19.60, zero violations, 607 measured/177 unmeasured). No live payments. This follow-up reviews the correction, not a new exhaustive review of unrelated code.
Volty has directed replacement PRs from current master to resolve changelog conflicts while preserving published history. This closure applies to the head above; the replacement integrated state requires its own validation and diff comparison. Current-revision CodeRabbit approval remains required before human handoff. CLI support remains unreleased.
Payment and ledger commands lack query filters exposed by the current public API. Refresh the bundled snapshot and generated references.
payments listwallets ledger list WALLET_ID--event-type adjustment(omit for payment entries),--start-date,--end-dateFilters persist across cursor and offset pages. Tests cover omission, both boolean values, invalid values, and multi-page adjustment date filters.
Validation: formatting, Clippy with warnings denied, cargo-machete, full
cargo test --locked(131 unit and 123 integration tests), and contract coverage check pass. Whole-package CRAP passes: maximum 19.604615 (wait_for_payment); zero functions at or above 20. Measured 607 functions; 177 functions have zero instrumented lines and remain unmeasured. Scope includessrc,build.rs, andtests, using cargo-llvm-cov 0.8.5 and Knots 1.16.0.Companions: agent skills #10, docs #36. Both target released v0.2.0 and retain direct API fallbacks. These changes are unreleased; no release, merge, deployment, or live payment is included.
CLI companion: #100. Each PR is independent and can be reviewed separately.
Self-review against the base and Voltage Rust/style guidance is complete. No live backend acceptance or cross-platform run was performed locally. CodeRabbit approval is pending; no
human review wantedlabel.The guide, changelog, and mock HTTP regression use omission for payment entries. Explicit
--event-type paymentexits 2 before HTTP. Published history is preserved with a signed follow-up commit.