/synthex:cancel-loopfrom synthex
Mark a running loop as cancelled. The cancel is **polled at the iteration boundary** by the looping command (FR-NL31) — a loop that's mid-iteration when you cancel it will finish that iteration's work, then exit cleanly on the next boundary check. Worst case: one iteration delay.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /synthex:cancel-loop still runs it.
Mark a running loop as cancelled. The cancel is polled at the iteration boundary by the looping command (FR-NL31) — a loop that's mid-iteration when you cancel it will finish that iteration's work, then exit cleanly on the next boundary check. Worst case: one iteration delay.
Idempotent — running this command twice on the same loop is safe. Cancel of a loop in any terminal status is a no-op with a confirmation message.
| Parameter | Description | Default | Required |
|---|---|---|---|
loop_id | Loop-id slug to cancel (positional). | — | Required unless --all |
--all | Cancel every running loop in <project>/.synthex/loops/. Mutually exclusive with loop_id. | off | — |
Run plugins/synthex/scripts/loop-step.sh cancel <loop_id> or ... cancel --all (resolved from the installed plugin root — Claude Code: bash "${CLAUDE_PLUGIN_ROOT}/scripts/loop-step.sh" cancel ...) as ONE Bash call. On other hosts (Codex, Gemini CLI, OpenCode, Grok, Hermes), or if ${CLAUDE_PLUGIN_ROOT} is empty, use the installed plugin root: plugin_root from .synthex/state.json, else the directory two levels above the wrapper you were loaded from. Print its stdout/stderr to the user verbatim. That single call implements everything the rest of this section documents: the refusal paths, the single-loop and --all mutation logic, and the atomic write contract.
loop_id nor --all supplied — refuse: Usage: /synthex:cancel-loop <loop-id> | --all.loop_id and --all supplied — refuse: loop_id and --all are mutually exclusive.loops_dir does not exist — print exactly: No loops in this project. and exit 0. (Not a refusal; mirrors FR-NL30 / E16 idempotency.)loop_id supplied)<loops_dir>/<loop_id>.json does not exist, refuse with: No loop found: <loop_id>. Run /synthex:list-loops to see loops in this project. (FR-NL40 analog)tests/schemas/loop-state-file.ts checks) — a corrupt file or an unknown schema_version refuses with a clear error.status is inspected:
status == "running": mutate to status: "cancelled", exited_at: <UTC ISO 8601 now>, exit_reason: "Cancelled by /synthex:cancel-loop", last_updated updated. Written atomically (<state-file>.tmp.<pid> + mv -f). Prints: Cancelled loop "<loop_id>" (was at iteration <iteration>/<max_iterations>). Exits 0.status is already terminal (completed, cancelled, max-iterations-reached, crashed): does NOT mutate. Prints: Loop "<loop_id>" is already <status> — nothing to do. Exit 0 (FR-NL29 idempotency). The loop just cancelled by THIS invocation, or a previously-terminal one being re-targeted, is excluded from this same invocation's archive scan so repeated cancels of the same id stay idempotent rather than racing the archive hygiene pass.--all supplied)<loops_dir>/*.json (skips .archive/). For each file:
list-loops invocation surfaces the warning).status == "running": mutates as in the single-loop path above. Collects the loop-id and the iteration progress for the summary.Cancelled (<N>):
<loop_id> was at iter <iteration>/<max_iterations>
<loop_id> was at iter <iteration>/<max_iterations>
…
No running loops to cancel. Exits 0 (E16 / FR-NL30 idempotency).Cancellation does NOT interrupt an iteration that is currently executing. The looping command's next call to loop-step.sh advance (or hold) sees status: "cancelled" and exits non-zero, so the loop's iteration loop stops. The user sees the loop stop within at most one more iteration's worth of work.
Every state-file mutation is atomic, so it cannot corrupt state in flight:
status, exited_at, exit_reason, last_updated).<state-file>.tmp.<pid>.mv -f <state-file>.tmp.<pid> <state-file> (POSIX-atomic rename).If the atomic rename fails (e.g., filesystem error), the script refuses with the underlying error and exits non-zero. It does NOT leave a partial .tmp.<pid> file (best-effort cleanup).
.synthex/loops/. Cancellation leaves the file in place with status: "cancelled"; archival happens later.AskUserQuestion. No interactive flow..archive/. They are historical.plugins/synthex/docs/native-looping.md — full iteration framework spec./synthex:loop — start or resume a loop./synthex:list-loops — enumerate running and recent loops.docs/plans/native-looping.md (Task 10, FR-NL29–FR-NL31).What the command file sets; muted values are Claude Code's defaults
haiku7-day visitors to each command page
npx claudepluginhub bluminal/lumenai --plugin synthex22 commands in this plugin
/configure-multi-modelConfigure Multi-Model ReviewConfigure (or re-configure) multi-model review for this project. Multi-model review fans review prompts out to multiple LLM-family proposers (OpenAI, Google, xAI, local Ollama, etc.) and consolidates findings into a single attributed list. This catches errors a single model would miss./configure-teamsConfigure Standing Review PoolsConfigure (or re-configure) standing review pool routing for this project. Standing pools keep reviewers warm between reviews — useful when you run many code reviews per session and want to amortize the reviewer spawn cost./design-system-auditDesign System AuditAudit the frontend codebase for design system compliance — identifying hardcoded values, incorrect component usage, accessibility violations, and opportunities to improve visual consistency./dismiss-upgrade-nudgeDismiss Synthex Upgrade NudgeSilence the synthex SessionStart upgrade nudge for this project. After running this command, the one-line nudge that appears on session start (when synthex has been upgraded across a feature-introducing version threshold) will not print again — even on future sessions where the threshold check would otherwise fire./initInitialize SynthexSet up the Synthex plugin configuration for a project. This command scaffolds the configuration file and document directories needed for the plugin to operate./list-loopsList native-looping loops in this projectEnumerate every loop tracked in `<project>/.synthex/loops/` — running first, then recent terminal-status loops. Output is short, human-readable, and consistent (FR-NL32 / FR-NL33).Other plugins' commands for the same job