Support Basic movement promises before shipment

Allow clean active Basic ground-movement questions before or after shipment. Enumerate ordinary reserve amounts, native physical allocations, destinations and pledged payment splits through the actual declaration and shared physical commit. Detached projection stops before income/arrival effects and never counts shipment as ground fulfillment. Joint movement No and shipment Yes retain a legal next action rather than invalid End guidance.

Preserve exact pending ordinary reserve and native Guild permission/rate declarations when checking the remaining route. Voluntary wrong destination, force splitting or fee loss cannot release Yes through an opponent response. Guard unsupported sources before full speculative continuation. Existing live payment, cancellation, income and entry paths remain. Persistent busy-safe controls display reinforcement and both obligations; all four existing profiles use the same legal witness without strategy refinement.

Verify 19 files165/165, types/lint/build, six original-action gameplay/control/table-rendering programmes and four profiles with16 accepted actions. Genuine sources19/37/24/19 retain classic Arrakeen10 reinforced to11, native zero-board Emperor/CHOAM starts and original Guild5/15/5 reserve/cross transport. Second-card/counter cases explicitly transfer conserved originals. Bounded review repaired source guarding, funding completeness and exact pending-frame behavior. Stop an observed expensive search, reorder complete candidates by useful proximity and conservatively prune dead-end final moves; twelve new engine cases pass in3.2s. Correct a display-template lint issue.

Earlier phases/waiting turns, native transport/relocation preparation, No-Field/module sources, broader interactions, full modes, comprehensive assurance and deployed acceptance remain open. No strategic tuning or saved-room/reset/restart/deployment operation.
This commit is contained in:
Quintine committed 2026-10-24 15:10:49 +11:00
1 parent b5a53da712
commit f0b2ac82d9
18 files changed
+637 -34

No files matched your search

+2 -2
View File
@@ -104,9 +104,9 @@ void test('the Basic profile permits a clean active post-shipment respondent wit
assert.equal(movementPromiseTargetAvailable(g, 'target'), true);
assert.equal(movementPromiseTargetAvailable(g, 'asker'), false);
});
void test('movement question profile rejects an unspent shipment, exhausted turn and active opposing response', () => {
void test('movement question profile permits an unspent shipment but rejects an exhausted turn and active opposing response', () => {
const unused = movementBoundary(); unused.players[0].shipped = false;
assert.equal(movementPromiseTargetAvailable(unused, 'target'), false);
assert.equal(movementPromiseTargetAvailable(unused, 'target'), true);
const ended = movementBoundary(); ended.movementRemaining = ['asker'];
assert.equal(movementPromiseTargetAvailable(ended, 'target'), false);
const response = movementBoundary(); response.response = { kind: 'fremenMovement', owner: 'target', location: 'carthag:11', amount: 1, passed: [] };