Add auction custody ADR and auth field clarifications#23
Conversation
📝 WalkthroughWalkthroughAdds ADR 0002 accepting explicit auction custody, a canonical auction state machine, pull-payment settlement rules, required events, cancellation/pause constraints, test and rollout plans; updates ADR registry, ROADMAP, and autonomous-run tracking; and tightens ADR 0001 authorization text. ChangesADR 0002 Auction Custody Acceptance
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
@claude please review this docs-only ADR PR for auction custody, settlement state-machine completeness, payment-accounting dependency clarity, and whether the roadmap links are issue-ready for the follow-up implementation work. |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@claude please verify the latest head |
Summary
DROP_ID_TYPEHASHand clarifying mode-specificpayer, price, auction-field, andpostersemantics.recipienthandoff by keeping signed auctionrecipient == address(0)and deriving settlement recipients fromposter/highestBidder.Closes #21.
Related: #22, #12, #8, #10, #17, #18, #19.
Validation
rg -n "^#|^##|^###" docs\adr\0001-drop-authorization.md docs\adr\0002-auction-custody.md docs\adr\README.md ops\ROADMAP.md ops\AUTONOMOUS_RUN.mdrg -n "P0-AUCT-ADR|P0-AUCT-001|P0-AUCT-002|0002-auction-custody|#21|#22|#12|AuctionStatus|SettledWithBid|SettledNoBid" docs\adr\0002-auction-custody.md docs\adr\README.md ops\ROADMAP.md ops\AUTONOMOUS_RUN.mdrg -n "DROP_ID_TYPEHASH|sale-mode-specific payer violation|fixed-price authorization with non-zero auction fields|auction authorization with non-zero fixed-price field|zero poster|free fixed-price|buy-now|poster == signer|payer != address\(0\)|auctionReservePrice != 0|auctionEndTime != 0|price != 0" docs\adr\0001-drop-authorization.mdrg -n "pendingNoBidNftClaimant|no-bid NFT claim|contract poster|poster-authorized|recipient == address\(0\)|first valid bid|PRRT_kwDOM7REis6IWRh" docs\adr\0002-auction-custody.md ops\AUTONOMOUS_RUN.mdgit diff --checkmake checkpassed with 17 tests and known compiler/NatSpec warnings.powershell -ExecutionPolicy Bypass -File scripts\check.ps1passed with 17 tests and known compiler/NatSpec warnings.6bfa7c7.6bfa7c7.Scope
Docs and roadmap/state only. No Solidity, CI, deployment, or test implementation changes are included in this PR.
Summary by CodeRabbit