Cancel
Required: active workflow state, cancellation intent. Output: cleared state, safe stop summary.
Why This Exists
cancel exists so a request to stop ends the right thing: OMH clears the state this session owns, and work the host owns stops through the person's own host command, so nothing reads as stopped before a record or the host's own reply says it is.
Contract: references/full-contract.md (examples, sibling boundaries, full artifact details).
Workflow Lane
- Current lane: Automation and status - schedules, status, health, and ops review.
- If intent belongs to another lane, hand back to
omh-routingor name the adjacent workflow. - Shared product, routing, compatibility, and evidence rules:
skill_view(name='omh-routing', file_path='references/skill-common-rail.md').
When to Use
Use to cleanly end active adapted workflow state.
Strong routing signals: cancel, $cancel, stop the workflow, abort the run, cancel the loop
Catalog Metadata
Category: operator
Phase: state-cleanup
Hermes role: tracker
Quality tier: evidence-gated
Reasoning demand: light
Quality bar:
- Name each thing to stop and its owner: OMH state (workflow lifecycle, plan checklist, OMH goal) or host work (the running turn, background processes, delegations, a Hermes /loop or /goal).
- Clear OMH state with its own commands:
omh state clear --workflow <name>(--session-refwhen session-bound), on Hermesomh_todo action=clear, andomh goal cancel --goal <id>; an OMH loop stops through its linked goal, and one without a goal has no cancel record. - Hand host work to the person's own stop command; on Hermes
/stop(in a CLI or TUI session it ends every background process, and the classic CLI its background delegations too; on a messaging platform it interrupts the running turn rather than ending every background process),/loop stop,/goal pauseor/goal clear,/heartbeat clear,/pause(all new work on a gateway). - Report an OMH clear as done only from its command result, and a host stop as requested until the host's own reply to it is seen.
- List what exists before clearing:
omh state status(workflow state) andomh goal board(goals); on Hermes a scheduled job's stop is also the person's command:hermes cron pause <job_id>stops later runs andhermes cron runs <job_id>shows whether the run ended; wherehermes cron --helplistscancel(Hermes 0.22.6 and later),hermes cron cancel <job_id>stops the live run and leaves the schedule, and on an older Hermes there is no per-job live stop, so report the live run as still going.
Handoff policy:
Run directly in Hermes/runtime state; never delegate cancellation to a coding executor.
Safety rules:
- Never end, kill, or signal a host process, background job, or delegation from this workflow, through the terminal or any other tool (on Hermes,
process_manageincluded); that stop is the person's own host command. - Clear only what this session owns; another session's plan, workflow state, or goal stays as it is.
Completion Checklist
- Every stopped item is named with its owner: OMH state or host work.
- Each OMH clear cites its command result; each host stop stays requested until the host's reply is seen.
- Nothing outside this session's own state was cleared, and no host process was ended by OMH.
Recovery Notes
- If a session-bound clear is refused for a missing --session-ref, report the refusal rather than clearing without it.
- If the host's reply to a stop never appears, keep the stop requested and ask the person what it said.
Runtime Evidence
Preferred harness for this skill: goal-execution.
omh runtime record --skill cancel --harness goal-execution --status started
Record observed delegation results; otherwise return not_available or not_observed.
Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.
- Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.
Preserve workflow intent and stop conditions; verify before claiming completion.
Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.
Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.
Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.