Завершение активного режима OMC с очисткой состояния
★ 8.5 · vibe-coding
cancel is a Claude Code skill that terminates any active OMC mode — autopilot, ralph, ultrawork, ultraqa, ultragoal, swarm, ultrapilot, pipeline, or team — with proper state cleanup. It is the standard exit path for all OMC modes: when the stop hook detects that work is complete, it instructs Claude to invoke this skill automatically. Each mode is handled differently — autopilot preserves progress for later resumption, ultragoal clears the session-scoped runtime guard while keeping durable plan artifacts, and team waits for all teammates to respond before clearing state. If the MCP state_clear tool is unavailable or cancel is interrupted, a bash fallback can remove state files directly, though it carries explicit restrictions for autopilot and omc-teams. The --force flag bypasses normal flow to escape a stuck state without waiting for the two-hour staleness timeout.
- #mode-management
- #state-cleanup
- #process-control