# Starfall Haven 0.4.0

## Chronicle Director
- Added an original deterministic story director that schedules incidents from colony state, tension, threat, resources, population, diplomacy, cooldowns, and seeded history.
- Added ten bounded incidents: Aurora Bloom, Salvage Pod, Crop Blight, Crystal Storm, Wayfarers, Passing Exchange, Haven Fever, Distant Probe, Neighbor Delegation, and Quiet Orbit.
- Events fire on the simulation clock; tapping the Chronicle panel does not reroll or duplicate consequences.
- Added bounded effects for resources, mood, threat, and tension.
- Added local narrative fallback, event history, next-event scheduling, and byte-stable version-4 persistence.

## Grok narration
- Added optional Grok 4.6 narration through OpenRouter using a server-side AnimeFu proxy.
- Grok can rewrite only title/story/tone for an already accepted local event. It cannot choose consequences or execute commands.
- Network work runs off the Android main thread with strict request/response bounds and offline fallback.
- Accepted Grok prose is matched to the exact event and persisted.
- OpenRouter credentials are not embedded in the APK or source archive.

## Interface
- Added a touch-first Chronicle panel with tension meter, source indicator, event history, story text, and manual refresh.
- Added a fifth bottom navigation button without overlap at the qualified 1212×540 landscape viewport.

## Compatibility
- Version code/name: 4 / 0.4.0.
- Version-4 saves migrate qualified v1, v2, and v3 saves deterministically.
- Existing package/signing lineage is preserved.
