feat: #80 + #81 alliances & space program — 13th & 14th abilities (v0.45.0) #82

Merged
kamilkrzywda merged 1 commits from feat/abilities-alliances-space into master 2026-10-17 19:00:10 +02:00
Owner

Two new durable LLM abilities, appended last to the ABILITIES registry (entries 13 & 14, after contested):

  • #80 — Alliances / mutual-defense treaties (TurnResult.alliances): form/break durable symmetric pacts between two distinct nations; a form sets the pair's relation to ally and a break to neutral (an active war overrides both). Durable in GameState.alliances; the user payload always carries them. Never moves borders.
  • #81 — Space program / satellites (TurnResult.space): launch/deorbit satellites (types recon/comms/navigation/weather) over regions the launching nation owns; each active satellite grants its owner +1 stability per committed turn (mirrored to regionStats, re-derived). Durable in GameState.satellites; the user payload always carries them. Never moves borders.

Both are deterministic and unit-tested (738 unit tests pass; typecheck/lint/build clean). CI runs the full suite including e2e.

Fixes #80
Fixes #81

Two new durable LLM abilities, appended last to the ABILITIES registry (entries 13 & 14, after `contested`): - **#80 — Alliances / mutual-defense treaties** (`TurnResult.alliances`): `form`/`break` durable symmetric pacts between two distinct nations; a `form` sets the pair's relation to `ally` and a `break` to `neutral` (an active war overrides both). Durable in `GameState.alliances`; the user payload always carries them. Never moves borders. - **#81 — Space program / satellites** (`TurnResult.space`): `launch`/`deorbit` satellites (types `recon`/`comms`/`navigation`/`weather`) over regions the launching nation owns; each active satellite grants its owner +1 stability per committed turn (mirrored to regionStats, re-derived). Durable in `GameState.satellites`; the user payload always carries them. Never moves borders. Both are deterministic and unit-tested (738 unit tests pass; typecheck/lint/build clean). CI runs the full suite including e2e. Fixes #80 Fixes #81
kamilkrzywda added 1 commit 2026-10-17 18:57:10 +02:00
feat: #80 + #81 alliances & space program — 13th & 14th abilities (v0.45.0)
CI / build + unit + e2e (pull_request) Successful in 2m20s
283f9e0306
#80: TurnResult.alliances — form/break durable mutual-defense pacts (GameState.alliances; pair relation → ally/neutral, an active war overrides).
#81: TurnResult.space — launch/deorbit satellites (GameState.satellites; +1 stability per active satellite per turn).
Both appended last to the ABILITIES registry (entries 13 & 14, after contested); durable in SQLite via the stateFields loop, mirrored to regionStats, stats re-derived. System + user prompt goldens updated; 738 unit tests passing.
kamilkrzywda scheduled this pull request to auto merge when all checks succeed 2026-10-17 19:00:08 +02:00
kamilkrzywda merged commit f3fb6538d4 into master 2026-10-17 19:00:10 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/History#82