Skip to content

add the composable instrument matching kernel - #18

Open
0xgleb wants to merge 2 commits into
docs/composable-instrumentsfrom
feat/instrument-kernel
Open

add the composable instrument matching kernel#18
0xgleb wants to merge 2 commits into
docs/composable-instrumentsfrom
feat/instrument-kernel

Conversation

@0xgleb

@0xgleb 0xgleb commented Jul 18, 2026

Copy link
Copy Markdown
Member

Motivation

The composable-instrument ADR needs an executable package boundary that lets permissionless instrument implementations reuse one orderbook without trusting wrappers to settle generic positions correctly.

Solution

  • Rename the Move and backend packages to nth and extract fixed-point quantity types into the standalone units package.
  • Add a bounded generic CLOB, market-owned account-bound net positions, and non-droppable fill obligations with a private settlement cursor.
  • Prove the external interface with independent linear and expiring instrument wrappers plus adversarial lifecycle tests.
  • Run all three Move packages in CI with every action pinned to an immutable commit SHA.

Made with Cursor

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 25025064-0a1e-4f5b-ac1c-2ac09c4a1d09

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/instrument-kernel

Comment @coderabbitai help to get the list of available commands.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant