[TOWER] P0: Git commits record nothing — world state goes invisible #435

Open
opened 2026-04-06 13:23:06 +00:00 by Timmy · 0 comments
Owner

Problem

The tick handler moves characters in Evennia (SQLite DB), then runs git add/commit. But there is no file diff — the DB is .gitignored and tick count is in /tmp. Commits succeed (exit 0) but record zero state change.

Impact

231 ticks ran overnight. Only 2 git commits exist (ticks 1-9 from manual testing). The entire night's history is lost in git.

Fix

  1. Write world state to world/tick_state.md each tick (JSON: tick number, time, each character location, move text)
  2. Commit that file to git alongside the DB moves
  3. Verify diff exists before committing

Acceptance

  • Each tick produces a git commit with actual changes
  • git log shows 10+ tick commits with world state diffs
  • World state file is human-readable markdown
## Problem The tick handler moves characters in Evennia (SQLite DB), then runs git add/commit. But there is no file diff — the DB is .gitignored and tick count is in /tmp. Commits succeed (exit 0) but record zero state change. ## Impact 231 ticks ran overnight. Only 2 git commits exist (ticks 1-9 from manual testing). The entire night's history is lost in git. ## Fix 1. Write world state to world/tick_state.md each tick (JSON: tick number, time, each character location, move text) 2. Commit that file to git alongside the DB moves 3. Verify diff exists before committing ## Acceptance - [ ] Each tick produces a git commit with actual changes - [ ] git log shows 10+ tick commits with world state diffs - [ ] World state file is human-readable markdown
Timmy self-assigned this 2026-04-06 13:23:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/timmy-home#435