Repository navigation
feat(mp): show the per-turn campaign income breakdown in the funds details - #750
Merged
Merged
Conversation
…tails The reference status bar shows the per-turn campaign income lines in the funds details: base generation, donor bonus, office bonus, union contribution, state and national tax, and the net per turn. Multiplayer showed only the balance. - Add the audited wide status read, GET /api/client-status?layout=full. The Rust bridge pins the layout and the transport allowlist accepts only the two pinned layouts for that path, because the wide layout runs the reference's enrichment queries and is therefore never polled. - Opening the funds details reads the wide payload on demand and renders the server's own lines; a figure the server did not report reads "not reported". - Keep the failure posture: a failed wide read leaves the details and the session intact.
This was referenced Oct 21, 2026
Egg3901
added a commit
that referenced
this pull request
Oct 22, 2026
Egg3901
added a commit
that referenced
this pull request
Oct 22, 2026
…the bridge repairs (#752) Squash of #752 (with #750 and #751 folded in; the branch was rebased onto main so the already-merged #750 is not duplicated). The hosted verify gate passed on this head (run 39698778862). The branch also repairs three device-only bridge defects a self-review of the merged batch found - the nation-leadership and mail-recipient-search command arms refused the slot they read, and every country-scoped read passed the country code one slot early - so the nation figures, regions, parties, politicians, leadership, race-list and recipient-search reads would have failed on a device. Four guards now hold them in place: the Rust detail-slot invariant, the transport allowlist check and the two TypeScript slot tests, each validated against a reintroduced defect. Partial: #510.
1 of 7 tasks
Egg3901
added a commit
that referenced
this pull request
Oct 22, 2026
Egg3901
added a commit
that referenced
this pull request
Nov 3, 2026
…#753) * feat(mp): open a politician's public profile from the nation drill-in The reference has a politician page; the multiplayer nation drill-in listed politicians without letting a player open one. - Add the audited public read GET /api/politician/{id}. The id is a 24-hex character or NPP id, checked in the adapter and again by the Rust bridge, and it travels in its own bridge slot. - The politicians in the nation drill-in are now entries: opening one shows the profile the server reports - type, office, party, home region, political and national influence, favorability, policies and bio - and Back returns to the nation. - Extend the slot guards to the new read: the Rust detail-slot invariant, the transport allowlist check, and the two TypeScript slot tests. * docs: refresh the remaining MP parity gaps after the world destinations * docs: note the politician drill-in in the parity index * docs: reconcile the roadmap with the MP world-destination batch and its bridge repairs * docs: attribute the campaign income breakdown to #750
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.
Follow-up to #748, closing the one resource-detail row the reference status bar has and multiplayer did not.
The reference status bar shows the per-turn campaign income lines in the funds details: base generation, donor bonus, office bonus, union contribution, state and national tax, and the net per turn. Multiplayer showed only the balance.
GET /api/client-status?layout=full. The Rust bridge pins the layout and the transport allowlist accepts only the two pinned layouts for that path, because the wide layout runs the reference's enrichment queries and is therefore read on demand and never polled.Evidence:
src/ui/MpIncomeBreakdown510.test.tsx(the breakdown is read on demand and shown, a failed wide read stays honest),src/mp/status.test.ts(the breakdown projection and the last-good-view posture) and the Rust testmp_session::tests::full_status_read_pins_the_full_layout.cargo fmt --checkandcargo clippy --all-targets -- -D warningsare clean.Partial: #510. No physical-iPhone evidence is claimed (#363/#436 stay open).