PRD: Hybrid AMM design — house + CBC + off-chain bin manager#119
Draft
JaeLeex wants to merge 1 commit into
Draft
PRD: Hybrid AMM design — house + CBC + off-chain bin manager#119JaeLeex wants to merge 1 commit into
JaeLeex wants to merge 1 commit into
Conversation
This was referenced Jul 8, 2026
JaeLeex
marked this pull request as draft
July 8, 2026 12:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prds/2026-07-07-hybrid-amm-design.md: the hybrid AMM design decided at the 07-03 standup — Uniswap-v3-style bins layered onto the shared CLOB (reverse-Osmosis), split into two new on-chain modules (house,cbc) plus the Nunchi-run off-chain automated bin manager.perpetuals/ROADMAP.md§1), and how the design stays robust to the on-chain vs. gossiped-book question raised in feat(clob): add spot order book module #117's review.Stacking
jae/spot-clob-module(feat(clob): add spot order book module #117) so the design can reference the landed book types (ClobOperation,PlaceOrderParams, digest-backedMarketId/AssetId). Docs-only diff; retarget tomainonce feat(clob): add spot order book module #117 merges.housecrate →cbccrate → perps interactions. Nothing here delays the devnet.Review asks
The eight open questions at the bottom of the PRD — most load-bearing: crate split (Q1), v1 intent codec fields (Q2), allocation rule (Q3), and settlement-time policy enforcement if book placement moves off-chain (Q7).