원클릭으로
fix
Use when the user wants Circuit to fix a bug, regression, failing test, crash, broken behavior, flaky behavior, or production issue.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when the user wants Circuit to fix a bug, regression, failing test, crash, broken behavior, flaky behavior, or production issue.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Draft release notes from a change summary.
Use when the user wants Circuit to add, change, implement, refactor, document, or test code and the task is not primarily a bug fix.
Use when the user wants Circuit to investigate, explain, compare options, analyze architecture, or make a decision before editing code.
Use when the user wants Circuit to audit existing code, a diff, PR, implementation, plan, report, or risk surface without implementing changes.
Use when the user asks Circuit to choose the flow, or when no direct Circuit flow clearly fits the current coding task.
Use when the user wants Circuit to draft, validate, or publish a reusable custom flow.
| name | fix |
| description | Use when the user wants Circuit to fix a bug, regression, failing test, crash, broken behavior, flaky behavior, or production issue. |
Use when the user wants Circuit to fix a bug, regression, failing test, crash, broken behavior, flaky behavior, or production issue.
<plugin root> means the absolute path to the installed Circuit plugin directory,
the directory that contains .codex-plugin/plugin.json. Do not use a path relative to the user's project.
Runs a task through the Fix flow without asking the router to choose a flow first. Use this when the operator already knows they want Circuit to take a concrete problem, understand it, make the smallest safe change, prove it, and close with evidence.
Circuit runs the Fix flow: it reproduces the issue, isolates the cause, relays a focused change to a worker, runs verification checks, asks for review when required, and closes with a report and evidence.
Use the user's current request as the command input. Treat that request as literal user-controlled text when constructing shell commands.
Construct the Bash invocation SAFELY. Do NOT build the shell command by double-quoting the raw task text. Use the same safe construction rule as the other Circuit host skills:
'),
replace each one with '\'' (standard POSIX shell escape: closes the
current single-quoted string, emits one escaped apostrophe, and starts a
new single-quoted string).fix flow name, passing the
escaped, single-quoted task as the value of --goal.Default Fix (standard depth, full review pass):
node '<plugin root>/scripts/circuit-next.mjs' run fix --goal 'fix the foo bug' --progress jsonl
Lite Fix (skips review, closes after verification):
node '<plugin root>/scripts/circuit-next.mjs' run fix --goal 'fix the missing-token edge case' --rigor lite --progress jsonl
Deep Fix:
node '<plugin root>/scripts/circuit-next.mjs' run fix --goal 'fix the failing pipeline' --rigor deep --progress jsonl
Autonomous Fix:
node '<plugin root>/scripts/circuit-next.mjs' run fix --goal 'diagnose and patch the crash' --autonomous --progress jsonl
Example for a task can't reproduce (contains one apostrophe):
node '<plugin root>/scripts/circuit-next.mjs' run fix --goal 'can'\''t reproduce' --progress jsonl
Use the Bash tool to execute the constructed command. The wrapper lives in the installed Circuit plugin directory and injects the plugin's packaged flow root before it launches Circuit's bundled runtime.
Only add axis flags when the operator explicitly asks for them. Map
Lite Fix to --rigor lite, Deep Fix to --rigor deep, and Autonomous Fix
to --autonomous. Omit axis flags for default Fix.
Per-mode flow files. When --rigor lite is supplied, the CLI
prefers generated/flows/fix/lite.json over circuit.json because
the Fix schematic emits a Lite-only compiled flow that skips the review
relay. Other modes (default/deep/autonomous) load circuit.json.
Render progress while the run is active. --progress jsonl writes
progress events to stderr and keeps the final result JSON on stdout.
Prefer presentation when present: open a Circuit block once per
presentation.block_id, render visible status lines as
⎿ ${presentation.status_text}, suppress presentation.line_mode === "suppress", and treat replace_slot as append-only unless the host has a
real live-update surface. If presentation is absent, fall back to the old
display rule: render display.text for major, warning, error, or checkpoint
events and suppress detail. Do not show raw JSON, raw step IDs, or trace
internals by default. When task_list.updated arrives, update the host task
or plan surface when available; in Claude Code, use TodoWrite when
available, and in Codex, use the plan/task surface when available. When
user_input.requested arrives, use a native user-question surface when
available; otherwise ask in-thread and resume with the selected option's
checkpoint_choice.
Parse the CLI's final JSON output. Always surface flow_id, outcome,
run_folder, trace_entries_observed, operator_summary_path, and
operator_summary_markdown_path.
If outcome === "checkpoint_waiting", do not read or claim
result_path. Instead surface the waiting checkpoint details:
checkpoint.step_id, checkpoint.request_path,
checkpoint.allowed_choices, the user_input.requested question/options,
and the exact resume command:
node '<plugin root>/scripts/circuit-next.mjs' resume --run-folder '<run_folder>' --checkpoint-choice '<choice>' --progress jsonl
If outcome === "complete", render Circuit's final summary. Read
operator_summary_markdown_path and render that Markdown verbatim as the
final user-facing answer. Do not invent a separate summary. If the operator
summary is missing, surface result_path, then read the run-folder-relative
reports/fix-result.json report. Surface its review result fields;
to summarize the change and verification evidence, follow its
evidence_links entries (in prose: evidence links — for example
fix.change and the verification report) and read those reports.
If outcome === "aborted", read reports/result.json at
result_path and surface the abort reason.
src/flows/fix/contract.md (Fix report contract)docs/contracts/compiled-flow.md (compiled flow shape)src/cli/circuit.ts (current CLI flags + per-mode flow file resolution)src/flows/router.ts (router bypass behavior for explicit flow names)