feat: refactor turn processing and world state management; remove obsolete files and enhance database interactions
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -30,6 +30,15 @@ Status: COMPLETE
|
||||
- Interpreter contract and first interpreter module created
|
||||
- Docker container builds are passing for app and frontend
|
||||
|
||||
## Phase 0 Structural Cleanup (April 2026) — COMPLETE
|
||||
|
||||
- Deleted turns/processTurn.ts (was a pointless shim over runTurnManager)
|
||||
- Deleted truthEngine.ts (was a thin wrapper over rulebookEngine.validateWithRulebook)
|
||||
- Extracted world/seedWorld.ts — seed world logic out of app.ts; app factory is now lean
|
||||
- Fixed db.listTurns() to return real actions and validation results (previously always empty arrays)
|
||||
- Fixed worldState.rulebookId persistence — active rulebook now survives restarts
|
||||
- Generalized has_<item_id> in applyActions — no longer hardcoded to key_1 only
|
||||
|
||||
---
|
||||
|
||||
# Phase 1 — Intent Interpreter Boundary Hardening
|
||||
|
||||
Reference in New Issue
Block a user