Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.
日本語の概要は準備中です。原文の説明を表示しています。
Use when an implementation has more workarounds than structure and another patch will not pay. Not for in-place re-derivation: use breaking-driven. Not for one-artifact rewrites: use rewrite-clean-v0.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
| Field | Bound contract |
|---|---|
| Trigger | The implementation accumulated more workarounds than structure and another patch will not pay, or the human says "start over", "scrap it and rebuild", or "restart from scratch". |
| Authority | Reversible local: writes only the failed-branch evidence archive and the new v0 skeleton inside the named restart scope; rollback is undo (delete the written skeleton files and archive entries; original code is never deleted). No remote mutation. No branch deletion, no force push, no history rewrite, no deletion or rewrite of original code. |
| Side effect | Archives failed branches and dead code as evidence, and writes a new v0 skeleton with one vertical loop. Nothing outside the restart scope is written. |
| Done | Three schema-conformant artifacts exist in the restart scope and the v0 loop clears its named first gate. |
All artifacts are written inside the named restart scope directory.
Keep/discard split: <restart-scope>/RESTART-SPLIT.md
Schema: a list of entries, each with:
item: the file, module, or component namedecision: keep or discardevidence_citation: the specific evidence supporting the decision (a surviving test name, a gate result, a schema that survived QA, the complaint text)Evidence archive: <restart-scope>/RESTART-ARCHIVE.md
Schema: a list of entries, each with:
item: the discarded file, module, or componentfailure_note: one line naming what it taught (what not to do, what failed QA, what was scaffold)v0 skeleton: <restart-scope>/v0/ directory containing the skeleton code structured to deliver exactly one vertical loop, plus <restart-scope>/v0/GATE.md naming the first gate.
<restart-scope>/RESTART-SPLIT.md following the artifact schema. Archive discards into <restart-scope>/RESTART-ARCHIVE.md with one-line failure notes. Original code is never deleted or rewritten; the archive records what was discarded and why, not the deletion itself. Done when: both files exist and conform to their schemas.<restart-scope>/v0/ carrying the kept lessons, structured to deliver exactly that one complete vertical loop. Discover the project build and verification commands from the project manifest: read Makefile, justfile, package.json scripts, Cargo.toml, CMakeLists.txt, or equivalent to find the build command and the test or verification command. Record them in the skeleton. Done when: the v0 skeleton exists with one vertical loop structure and the discovered build and verification commands recorded.blocked: no valid restart evidence (no complaint, no workaround record) or the complaint and QA evidence reference a different build or scope than the named restart scope. Nothing written. Report the blocker.partial: an archive or skeleton write failed partway. Report which entries landed and which did not. The completed entries remain in place; the missing entries are named. Do not silently complete or silently delete partial writes.non-converged: the loop does not clear the first gate. Report the failing gate and the evidence. Do not add a second loop, weaken the gate, or reintroduce discarded code.Three artifacts inside the restart scope: the keep/discard split (RESTART-SPLIT.md) with per-entry evidence citations, the evidence archive (RESTART-ARCHIVE.md) of failed branches and negatives with failure notes, and the v0 skeleton (v0/ with GATE.md) containing one complete vertical loop plus its named first gate. Terminal classification is exactly one of done (all artifacts exist and the loop clears the gate), blocked (no valid evidence or scope mismatch, nothing written), partial (an archive or skeleton write failed partway; report landed and missing entries), or non-converged (the loop fails the gate; failing gate and evidence reported).
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.
日本語の概要は準備中です。原文の説明を表示しています。
Use when configuring ADC sampling time, DMA-driven ADC, calibration, or DAC channel setup on bare-metal MCUs. Not for the DMA stream itself: use dma-baremetal.
日本語の概要は準備中です。原文の説明を表示しています。
Use when creating AF_XDP sockets, configuring UMEM and XSK rings, writing an XDP redirect program, or choosing copy versus zero-copy mode. Not for full kernel bypass: use dpdk.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from telemetry: use engineering-retrospective.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a redacted, trimmed agent transcript must be appended to a GitHub PR or issue body, with human approval and preview. Not for automated or model-initiated insertion.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a repo needs agent setup, AGENTS.md added or made lean, CLAUDE.md audited, or agent instructions scored or pruned. Not for remote, credential, publish, deploy, or irreversible changes.
日本語の概要は準備中です。原文の説明を表示しています。