write_strategic_summary
Compress recent game history into a compact strategic summary that persists to disk, enabling long-term memory and continuity across turns and session restarts.
Instructions
Write a strategic summary for long-term memory.
Call this every 5-10 turns to compress recent history into a compact
strategic context. This persists to disk and survives session restarts.
Args:
turn: Current turn number.
summary: 2-3 sentences summarizing your empire state and situation.
goals: Current long-term goals (victory target, expansion plans).
threats: Major threats (hostile neighbors, barbarians, resource gaps).
opportunities: Current opportunities (weak neighbors, settle spots).
key_decisions: Important recent decisions and their rationale.
Returns:
Confirmation string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn | Yes | ||
| goals | No | ||
| summary | Yes | ||
| threats | No | ||
| key_decisions | No | ||
| opportunities | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |