-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Problem
When Sugar is running and a task is already complete (e.g., migration already applied), the agent continues burning tokens verifying work that's done.
Current workaround:
sugar stop --forcesugar update <task-id> --status completedsugar run
Proposed Solution
Add a sugar complete <task-id> command that:
- Gracefully interrupts the running agent for that specific task
- Marks the task as completed
- Allows Sugar to continue with other tasks without full restart
Optional Enhancements
sugar complete <task-id> --note "reason"- Add completion notesugar complete --current- Complete the currently running task- Interactive prompt: "Task X is running. Mark as complete? [y/N]"
Use Case
User runs migration manually, sees it's done, wants to skip Sugar's verification and move to next task without wasting API credits.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels