Connect live Nexus offer withdrawal and named alliance history
An unallied sender can withdraw its unanswered offer during an ordinary Nexus. The table names the outgoing recipient and keeps this distinct from breaking a formed alliance. The chronicle now records named proposals, withdrawals and breaks. Existing authoritative quote, timing locks, readiness, physical custody, Nexus-card forfeiture and request/version handling remain unchanged. Full-table rendering checks cover owner/recipient/observer controls, replacement, withdrawal, incoming offers, break, blocked timing and JSON continuation. A production SQLite race permits exactly one acceptance or withdrawal at a version; a stale withdrawal cannot break an alliance formed by the accepted request. Private restored views and seat credentials remain intact. All four current AI profiles retain legal participation; no strategy or calibration changes. Independent review found no material issue. Types, lint, all 4973 offline tests, production build and 49 HTTP tests passed on stable source. Browser QA used a fresh three-human Basic lobby, genuine setup and a controlled later-Storm boundary with existing Spice Cards reordered; actual Storm/Worm resolution opened the Nexus. This is a focused position, not a full-game sample. Browser proposal, refresh, keyboard withdrawal, retained incoming invitation, acceptance, break and named chronicle entries passed. At390px the page375px and withdraw339px by46px fit, with16px text. Final refresh restored no offers or alliances. No screenshot was captured; full visual/assistive and all-configuration acceptance remain open. Browser lost-response injection was not performed. All 1459 original rooms, 3081 seats and auxiliary rows are unchanged. SQLite integrity and foreign keys pass. The healthy server was reused without restart, migration, reset or recurring maintenance. Full rules and expansion completion remain gated. The goal retains deferred full AI development, three adjacent approximate75% targets, no usage cutoff, selective subagents and verified Git pushes. Private evidence: 20260921-nexus-offer. Verified source tree: e44e61b651e66cad23326bcca3ba2eecd6bb5a779a16e0273db8d0039f453511
This commit is contained in:
1 parent
91dcca46fb
commit
2b071a44a2
11 files changed
+301
-17
No files matched your search
@@ -210,6 +210,8 @@ export function GameTable({
|
||||
exitDisabled?: boolean;
|
||||
}) {
|
||||
const me = g.players.find((p) => p.id === g.me)!;
|
||||
const outgoingAlliance = g.allianceOffers[me.id];
|
||||
const outgoingAllianceName = g.players.find((p) => p.id === outgoingAlliance)?.name;
|
||||
const shipmentAvailable = nexusGuildShipmentAvailable(g);
|
||||
const movementAvailable = nexusGuildMovementAvailable(g);
|
||||
const guildCunning = nexusGuildCunningActive(g);
|
||||
@@ -3392,6 +3394,15 @@ export function GameTable({
|
||||
<p className="muted">
|
||||
A sandworm has opened a Nexus. Alliances may change now.
|
||||
</p>
|
||||
{outgoingAlliance && !me.ally && (
|
||||
<div className="nexus-offer">
|
||||
<p className="notice">
|
||||
Your alliance offer is to {outgoingAllianceName ?? 'a player no longer seated'}.
|
||||
You remain unallied until both players agree.
|
||||
</p>
|
||||
{actionButton('Withdraw your alliance offer', { type: 'alliance' })}
|
||||
</div>
|
||||
)}
|
||||
<label>
|
||||
Alliance partner
|
||||
<select
|
||||
|
||||
Reference in new issue
Block a user