Problem Statement
When developers interrupt AI mid-task:
- 3 files modified, 2 remaining
- Refactor half-complete
- State is inconsistent
Coming back to continue is difficult - context is lost.
Proposed Solution
Checkpoint System
-
Auto-checkpoint
- Save state after each file modification
- Track: files changed, files remaining, current approach
-
Checkpoint Format
{
"task_id": "implement-auth",
"checkpoint": "2025-01-15T10:30:00Z",
"completed": ["src/auth.ts", "src/middleware.ts"],
"pending": ["src/routes.ts", "tests/auth.test.ts"],
"context": "Implementing JWT auth with refresh tokens",
"next_step": "Add auth middleware to routes"
}
-
Resume Command
cortex resume - continue from last checkpoint
- Restore full context and continue
Success Criteria
🤖 Generated with Claude Code
Problem Statement
When developers interrupt AI mid-task:
Coming back to continue is difficult - context is lost.
Proposed Solution
Checkpoint System
Auto-checkpoint
Checkpoint Format
{ "task_id": "implement-auth", "checkpoint": "2025-01-15T10:30:00Z", "completed": ["src/auth.ts", "src/middleware.ts"], "pending": ["src/routes.ts", "tests/auth.test.ts"], "context": "Implementing JWT auth with refresh tokens", "next_step": "Add auth middleware to routes" }Resume Command
cortex resume- continue from last checkpointSuccess Criteria
🤖 Generated with Claude Code