Add the Living Market AMM - #1
Merged
Merged
Conversation
rozgo
force-pushed
the
agent/living-market-amm
branch
from
August 14, 2026 22:00
eb36db9 to
4a44ab8
Compare
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.
What changed
wasm-pack 0.13.1to0.15.0Why
Axionomy could previously express only fixed linear rate effects. A genuine AMM requires settlement quantities computed from authoritative pre-state reserves, plus atomic minimum-output enforcement. The new expression law keeps those semantics serializable, replayable, and kernel-owned without opaque callbacks.
The browser engine also had to be rebuilt to expose the new problem; Chrome DevTools caught that a stale WASM catalog could otherwise fall back to Maze.
User impact
Studio now demonstrates endogenous price discovery in a genuinely closed economy. Users can step through heterogeneous exchange activity, compare no-whale and thin-liquidity counterfactuals, inspect exact causal contribution, and trace every visual value back to replayed accounts and receipts.
Validation
cargo test --workspacecargo clippy --workspace --all-targets -- -D warningspnpm test:uipnpm buildwithwasm-pack 0.15.0