Connect ordinary bribe payments to player controls

Players can select a non-allied recipient and explicitly pay a whole-spice bribe
outside Mentat and open decision/response windows. The server derives private
payment limits from uncommitted spice and existing joint Truthtrance completion
checks on isolated copies. Target-specific Bureaucrat guards preserve supported
redirect/allow continuations. Reserved bids, sealed spending and incoming escrow
cannot be spent twice. No strategic AI negotiation or mode/publication changes.

The panel separates deferred incoming bribes from spendable supply, disables
stale/invalid selections and uses existing request/version fencing. The chronicle
now describes actual payment and next-Mentat spendability rather than a promise.
Internal guidance and the implementation checklist record this boundary. The
separate Emperor gift/Bureaucrat source ambiguity remains explicitly pending.

Independent review found no material issue. Focused tests cover out-of-turn
payment, JSON escrow/collection, private budgets, invalid targets/amounts,
phase/response gates, reserved bids, joint promises, supported redirection and
rendered controls. Existing Bureaucrat SQLite/all-four legal response tests pass.
The new HTTP test races duplicate submissions and verifies one debit, refreshed
private balances and stale/over-budget rejection.

Types, lint, all 4968 offline tests, production build and 49 HTTP tests
pass on stable source. Preliminary checks caught a typed fixture opener and
semantic-status/internal-link/template lint requirements and the new SSR test
needed the existing Vinext Link alias. All were corrected before the
final4 run. Browser QA used genuine fresh Basic setup with a human payer and
Easy AI recipient: 11 rejected by controls, 4 paid from10 leaving6, one public
payment entry and unchanged recipient spendable10 with4 in escrow after refresh.
Keyboard selection and amount access passed. At390px the panel fits with16px
text and44px-or-larger controls; linked rules and back navigation work. Screenshot
capture timed out; full visual/assistive and all-configuration acceptance remain
open. Browser transport loss was not injected; HTTP concurrency is separately
covered. This is playability evidence, not difficulty calibration.

All 1418 original rooms, 2991 seats and auxiliary rows are
unchanged. SQLite integrity and foreign keys pass. The healthy server was reused
without restart, migration, reset or recurring maintenance.

Private evidence: 20260921-bribe-controls.
Verified source tree: b9a8594c5dcd85f78974c9647f24f5f6eba60a38c9dcd2badcf4529d1e825ae1
This commit is contained in:
Quintine committed 2026-09-21 10:22:18 +10:00
1 parent 7814f740ef
commit 91dcca46fb
16 files changed
+482 -26

No files matched your search

+16 -17
View File
@@ -6,24 +6,23 @@ gated.** Prototypes do not open completion or publication gates.
## Current checkpoint and work
Latest delivered checkpoint: `b2fcef8`, [Storm and Spice Blow practice](INTERACTIVE_INTRODUCTION.md).
Types, lint, **4,954 offline tests** and production build passed. All 1,373 rooms,
2,883 seats and existing auxiliary rows stayed unchanged. The running server was
reused. Earlier checkpoints include `66c41b2` for Kwisatz Haderach inspection,
`ed53eb7` for Storm Cards and `67e429e` for Charity/Revival practice.
The `8f7a62c` policy checkpoint removed the usage cutoff and deferred AI refinement
until feature completion, with three adjacent 75% targets. See the
[implementation history](IMPLEMENTATION_STATUS.md).
Latest delivered checkpoint: `7814f74`, [durable table discussion](TABLE_DISCUSSION.md).
Types, lint, **4,963 offline tests**, production build and **48 HTTP tests** passed.
All 1,373 opening rooms, 2,883 seats and existing auxiliary rows stayed unchanged;
new isolated QA brought the local baseline to 1,418 rooms and 2,991 seats. The
running server was reused. Earlier checkpoints include `b2fcef8` for Storm/Spice
practice and `66c41b2` for Kwisatz Haderach inspection. The `8f7a62c` policy
checkpoint removed the usage cutoff and deferred AI refinement until feature
completion, with three adjacent 75% targets.
Current work: [table discussion](TABLE_DISCUSSION.md) adds public conversation and
private human-seat messages, separate from game state and decision continuation.
Durable history, audience-filtered pagination, exact retries and active-session
fences support communication through refresh and seat recovery. AI conversation
and prose-deal enforcement remain unfinished. Source-bound checks, independent
review, browser and preservation/Git evidence belong to the private checkpoint.
A fresh bounded Terror/Kull audit confirmed existing pending rulings; independent
multiplayer communication proceeds without inventing their outcomes. The full
rules, multiplayer and component acceptance gates remain open.
Current work: [ordinary bribe controls](BRIBE_CONTROLS.md) connect existing engine
payments to named recipients, private deferred balances and authoritative
spending limits. Binding Truthtrance answers, reserved costs and Bureaucrat
continuations remain intact. Source-bound checks, independent review, browser
and preservation/Git evidence belong to the private checkpoint. Strategic AI
negotiation and complete rules/multiplayer acceptance remain open. The independent
Bureaucrat/Emperor gift source review found an unresolved payment-classification
and disclosure boundary; the existing user question remains pending.
A bounded remaining-effect audit found that the reviewed faction/Nexus candidates
still cross recorded pending rulings. Continue independent features rather than