Exports encounterReducer and EncounterState for testing. Adds 26 pure-function tests covering all action types: CRUD, turn navigation, HP/AC/conditions, undo/redo, bestiary add with auto-numbering, player character add, import, and event accumulation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>