Track code changes with structured JSON records, state machine enforcement, and AI session handoff for bot continuity