ワンクリックで
arc-fix
Failure repair with root cause; hand active Lark incidents, risks, follow-ups, task_base, and lifecycle to arc:docs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Failure repair with root cause; hand active Lark incidents, risks, follow-ups, task_base, and lifecycle to arc:docs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | arc:fix |
| description | Failure repair with root cause; hand active Lark incidents, risks, follow-ups, task_base, and lifecycle to arc:docs. |
arc:fix repairs evidence-backed failures. It starts from a failing signal, identifies root cause, applies the smallest fix, and verifies the failing path.
docs/arc-routing-matrix.md.arc:clarify only if the failure report lacks enough evidence to begin.arc:build when the work is planned feature delivery, not repair.arc:docs only when Lark is active for incident docs, risk Base, task_base feature status, follow-up Task, meeting records, or .lark.json.lifecycle[].arc:audit after repair for broader read-only review..ai-code-index/search.sh first for related code paths and tests..lark.json exists, MUST read it before final incident handoff.Begin by stating clearly:
"I am using arc:fix to inspect the failure, identify root cause, patch it, and verify the result."
NO FIX WITHOUT ROOT CAUSE OR EXPLICIT UNCERTAINTY.
NO LARGE REPAIR WITHOUT CURRENT LOCAL TASK DOCS.
NO DEBUGGING WITHOUT PERSISTED EVIDENCE WHEN LOGS CAN BE CAPTURED.
NO SUCCESS CLAIM WITHOUT RERUNNING THE FAILING CHECK OR NAMING THE BLOCKER.
NO LARK INCIDENT UPDATE OUTSIDE arc:docs.
NO LARK-ACTIVE FEATURE FIX WITHOUT task_base UPDATE.
.arc/artifacts/<task>/logs/ or tmp/logs/.arc:task-doc-progress-conventions before code edits for large, multi-step, cross-module, or tracked repair work; task docs must be generated from the latest project state and updated immediately when project files, scope, assumptions, failure evidence, or status change.arc:project-architecture-conventions before code edits, including its default backend architecture, DIP, helper extraction, and ponytail preflight rules.arc:docs..lark.json is absent and the user did not explicitly trigger or confirm Lark.task_base through arc:docs when Lark is active and a fix changes a tracked feature or user-visible flow.arc:task-doc-progress-conventions before code edits and keep local task status current as evidence or project state changes.arc:project-architecture-conventions before code edits; stop and report if ponytail is required but unavailable or conflicting..lark.json exists or the user explicitly triggered/confirmed Lark, hand off to arc:docs with incident summary, severity, root cause, changed feature/flow, verification, task status, and follow-up tasks.arc:task-doc-progress-conventions.task_base rows are linked through .lark.json only when Lark is active.SEV or an equivalent impact scale when relevant.5 Whys or equivalent causal reasoning.Fault Tree.Blameless Postmortem.Mandatory Hypothesis; apply Rationalization Watch against easy but unsupported fixes.Use project-native tests, logs, build commands, browser tooling, and observability. Persist command output and browser/runtime evidence to local files, then use .ai-code-index/ for context and exact search for failure strings.
arc:docs.task_base row is missing or stale.arc:build.| parameter | type | required | description |
|---|---|---|---|
project_path | string | yes | Target repository root |
failure | string | yes | Error, log, repro, screenshot, or failing command |
expected | string | no | Expected behavior |
verification | string | no | Command or flow proving repair |
Fix Packet
- Failure observed
- Evidence/log files captured
- Root cause
- Fix applied
- Verification run
- Regression risk
- Lark / .lark.json / task_base handoff, if applicable
Use .ai-code-index for local search, symbols, profiles, files, stats, refresh, and diagnostics.
Read-only project/AppSec audit: assets, data map, vuln review; Lark risks via arc:docs.
Local SAST/SCA/secrets/DAST automation with data-value re-ranking and Arc handoffs.
Current-state task docs; security/audit handoff to detailed subtasks with roles and caliber.
Apply backend architecture, DIP, usecase result boundaries, zap logging, Go constants, and helper limits.
Add low-cost fmt/time or log.Printf timing probes to Go Gin SSR request paths.