Skip to content

[codex] Build Jussi graph artifacts#3161

Draft
nicholaspai wants to merge 9 commits into
masterfrom
npai/codex/jussi-graph-builder
Draft

[codex] Build Jussi graph artifacts#3161
nicholaspai wants to merge 9 commits into
masterfrom
npai/codex/jussi-graph-builder

Conversation

@nicholaspai
Copy link
Copy Markdown
Member

@nicholaspai nicholaspai commented Apr 6, 2026

What changed

  • added scripts/buildJussiGraph.ts plus a yarn build-jussi-graph entrypoint for generating a Jussi graph bundle from current repo state
  • added src/jussi/buildGraph.ts, checked-in sample graph artifacts, and src/jussi/README.md documenting how to build and inspect the bundle locally
  • added focused graph-builder tests covering node extraction, bridge candidate discovery, latency handling, OFT quoting, and envelope serialization

Why

This makes the Jussi graph build flow reviewable as its own unit on top of current master, instead of coupling it to pending rebalancer route and Binance adapter changes.

Impact

Operators can generate the Jussi graph JSON, rate-limit buckets, and example prices_by_asset payload from the relayer inventory/rebalancer configuration already in this repo.

This PR no longer changes production src/rebalancer behavior; it only adds graph-builder tooling, fixtures, and tests.

Validation

  • yarn build
  • yarn test test/JussiGraph.buildGraph.ts

@nicholaspai nicholaspai force-pushed the npai/codex/rebalancer-binance-weth branch from c7b8244 to 4c1b7e7 Compare April 14, 2026 21:06
Base automatically changed from npai/codex/rebalancer-binance-weth to master April 15, 2026 18:17
@nicholaspai nicholaspai changed the title [codex] Add Jussi graph builder [codex] Build Jussi graph artifacts Apr 15, 2026
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