Repository navigation
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.
…l-in The reference nation page names the people who run the country. The multiplayer nation drill-in stopped at the institutions. - Add the audited public read GET /api/country/[code]/legislature/leaders, with the country code and the path shape pinned in the Rust bridge. - The nation card now names the prime minister and the opposition leader with their party, exactly as the server reports them; a seat the server does not publish stays absent. - Keep the failure posture: a failed read keeps the previous holders and never expires the session.
|
Superseded by #752, which carries this branch's commits plus three bridge fixes that a self-review of the merged batch found: the nation-leadership arm rejected the country code it reads, every country-scoped read passed the country code one slot too early, and the mail recipient search arm rejected the query it reads. All three were device-only failures the automated suites could not see, because the adapter tests use a fake host. Merging this branch on its own would put the nation-leadership read on main in a state where it fails on a device, so it is closed here and lands through #752 instead, with the guards and the tests that keep the slots in place. The feature itself is unchanged: the audited public read |
…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.
Follow-up to #750, completing the nation drill-in the reference nation page has.
The reference nation page names the people who run the country. The multiplayer nation drill-in stopped at the institutions.
GET /api/country/[code]/legislature/leaders, with the country code and the path shape pinned in the Rust bridge.Evidence:
src/ui/MpNations510.test.tsx(the leadership rows ride the nation drill-in),src/mp/nations.test.ts(the projection, the invalid-code refusal, the last-good-holders posture) and the Rust path/allowlist assertions.cargo fmt --checkis clean.Review note: a self-review of the bridge found that this PR's command arm rejected the country code it reads, so the read could not run on a device. The fix (and two Rust tests that pin the detail-slot invariant) lands in #752, which stacks on this branch.
Partial: #510. No physical-iPhone evidence is claimed (#363/#436 stay open).