Skip to content

feat(mp): add the IMF destination to the multiplayer world menu - #755

Merged
Egg3901 merged 1 commit into
mainfrom
feat/nav-parity-matrix
Nov 3, 2026
Merged

Egg3901 merged 1 commit into
mainfrom
feat/nav-parity-matrix

Conversation

@Egg3901

@Egg3901 Egg3901 commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

World > IMF in the multiplayer drawer: facility capital, paid in, open board overrides, board and active bailouts. Read-only (the audited read carries no board action). Uses the signed-in GET /api/imf/overview; the Rust bridge refuses every detail slot and query on it and the allowlist pins the path. Part of #510 (partial).

Evidence: MpImf510.test.tsx (3), parseImfOverview tests, slot guards, Rust assertions in mp_session::tests. No physical-device claim.

🤖 Generated with Claude Code

The reference has an IMF page; multiplayer had no way to see the facility,
its board or the active sovereign bailouts.

- Add the audited signed-in read GET /api/imf/overview. It takes no
  parameters: the Rust bridge refuses every detail slot and any query, and the
  allowlist pins the exact path.
- World > IMF shows liquid capital, what has been paid in, open board
  overrides, the board and each active bailout. A world with no IMF says so.
  The destination is read-only because the read carries no board action.
- An expired session returns to the reconnect state like other signed-in
  reads; a failed read keeps the session ready.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Egg3901
Egg3901 merged commit 7d37256 into main Nov 3, 2026
1 check passed
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