[projman] Cannot resume agent work after failure #237

Closed
opened 2026-01-28 15:23:07 +00:00 by lmiranda · 0 comments
Owner

Problem

When agents fail mid-task, there is no way to resume from where they left off. Have to start fresh or manually complete the work.

Current Behavior

  • Agent hits permission block or error
  • Agent stops with partial work done
  • To continue: must start new agent from scratch
  • New agent has no context of previous progress
  • Wastes tokens re-reading files, re-analyzing

Expected Behavior

  • Agent checkpoints progress periodically
  • On failure, can resume from last checkpoint
  • Context preserved: files read, decisions made, work completed
  • Resume command: /sprint-resume <agent-id>

Suggested Solutions

  1. Task tool resume parameter - Already exists but needs better integration
  2. Checkpoint files - Save agent state periodically
  3. Work manifest - Track what was done vs what remains
  4. Incremental commits - Commit work-in-progress for recovery

Acceptance Criteria

  • Can resume failed agent from last good state
  • Context preserved across resume
  • Partial work is not lost
## Problem When agents fail mid-task, there is no way to resume from where they left off. Have to start fresh or manually complete the work. ## Current Behavior - Agent hits permission block or error - Agent stops with partial work done - To continue: must start new agent from scratch - New agent has no context of previous progress - Wastes tokens re-reading files, re-analyzing ## Expected Behavior - Agent checkpoints progress periodically - On failure, can resume from last checkpoint - Context preserved: files read, decisions made, work completed - Resume command: `/sprint-resume <agent-id>` ## Suggested Solutions 1. **Task tool resume parameter** - Already exists but needs better integration 2. **Checkpoint files** - Save agent state periodically 3. **Work manifest** - Track what was done vs what remains 4. **Incremental commits** - Commit work-in-progress for recovery ## Acceptance Criteria - [ ] Can resume failed agent from last good state - [ ] Context preserved across resume - [ ] Partial work is not lost
lmiranda added the Component/BackendType/FeaturePriority/High labels 2026-01-28 15:23:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#237