Command Palette

Search for a command to run...

Назад к скиллам
скилл № 16340

bonfire:plan

Run the bonfire planning pipeline stages B-J. Divergence, requirements, adversarial review, code-readiness verdict, and compile to frozen handoff.

БесплатноБез исполняемых скриптов
ZB-urот ZB-ur★ 40 звёзд на GitHub

Установить bonfire:plan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Run stages B through J of the bonfire pipeline. After Stage A approval, converge the planning pipeline mainly in the background. User interaction should drop sharply — return to the user only when a new high-impact ambiguity or contradiction appears.

Core invariant: when this skill completes, the coder must be able to implement without inventing high-impact product meaning.

<execution_context> Read these references before starting: - @$HOME/.claude/bonfire/references/stage-playbook.md - @$HOME/.claude/bonfire/references/subagent-protocol.md - @$HOME/.claude/bonfire/references/handoff-quality-bar.md - @$HOME/.claude/bonfire/references/ecl-schema.md

Throughout this process, bonfire means node $HOME/.claude/bonfire/bin/bonfire-tools.cjs. </execution_context>

Startup

  1. Check pending_reentry:

    • If pending_reentry.target_pipeline == "plan": execute bonfire state-reentry --conflict-type <type>, then bonfire state-clear-reentry. Jump to the target step.
    • If pending_reentry targets a different pipeline: abort.
    • If no pending_reentry: validate pipeline_stage == "plan" or stage-a.status == "passed".
  2. Read state.json to determine current_step. Resume from there.

Stage B — Divergence

  1. bonfire state-step --step stage-b --status running

  2. Parent executes (no agent):

    • Read case.json#stages.preprocess and truth surface snapshot
    • Generate >= 3 materially different options (not style variants)
    • Each option must explain which blind spots it covers
    • Retain exactly one path
  3. Write to case.json#stages.divergence. Render: bonfire render --note stage-b

  4. Gate: >= 3 options, 1 retained → state-step --step stage-b --status passed, state-advance --step stage-b

Stage C — Requirements

  1. bonfire state-step --step stage-c --status running

  2. Parent executes (no agent):

    • Decompose retained option into requirement units
    • Each unit needs success criteria
    • Batch truth-propose: retained_goal, frozen_constraint, dependency_chain, acceptance_semantic
  3. Write to case.json#stages.requirements. Render: bonfire render --note stage-c

  4. Gate: all requirement units have success criteria → advance

Stage D — Critique

  1. bonfire state-step --step stage-d --status awaiting_agent

  2. Spawn bonfire-d-critique:

    Agent({
      subagent_type: "bonfire-d-critique",
      prompt: "<role>...<input>@.bonfire/truth-surface/constraint-ledger-snapshot.json</input>"
    })
    
  3. state-step --step stage-d --status integrating

  4. Parse agent return value as JSON. Validate:

    bonfire delta-validate --agent bonfire-d-critique --file .bonfire/plan/bonfire-d-critique-delta.json
    
  5. Write delta to .bonfire/plan/bonfire-d-critique-delta.json

  6. Execute truth surface mutations:

    • For each proposal: truth-propose
    • For each challenge: truth-update --id <target> --field challenged_by --value d-critique
  7. Render: bonfire render --note stage-d

  8. Gate: >= 1 challenge integrated → advance

Stage E — Closure

  1. bonfire state-step --step stage-e --status running

  2. Parent executes: close dependency chain gaps, convert to dependency-aware execution chain.

  3. Write to case.json#stages.closure. Render: bonfire render --note stage-e

  4. Gate: all dependency_chain entry refs valid → advance

Stage F — Probes

  1. bonfire state-step --step stage-f --status running

  2. Parent executes: run executable validation (repo inspection, scripts, tests, environment checks). Record hypothesis, method, expected signal, kill criteria, result.

  3. Write to case.json#stages.probes. Render: bonfire render --note stage-f

  4. Gate: all probes have results or inability records → advance

Stage G — Red-Blue

  1. bonfire state-step --step stage-g --status awaiting_agent

  2. Spawn bonfire-g-red (input: d-critique delta + snapshot):

    Agent({ subagent_type: "bonfire-g-red", prompt: "..." })
    
  3. Validate delta, write to .bonfire/plan/bonfire-g-red-delta.json. Execute truth-update challenged_by for each challenge.

  4. Spawn bonfire-g-blue (input: g-red delta + d-critique delta + snapshot):

    Agent({ subagent_type: "bonfire-g-blue", prompt: "..." })
    
  5. Validate delta, write to .bonfire/plan/bonfire-g-blue-delta.json. Execute truth-update aligned_by for each alignment, truth-propose for new proposals.

  6. Truth-Freeze Gate: run bonfire stage-g-freeze-gate.

    • Exit 0 → all eligible PROPOSED/CHALLENGED entries are now FROZEN (high_impact_risk stays OPEN by design).
    • Non-zero exit → the command lists CHALLENGED entries without alignment. Return these to G-Blue for defense, or escalate to H-Review. Do not proceed until the command exits 0.
  7. Render: bonfire render --note stage-g

  8. Gate: red/blue complete + residual risks recorded + freeze verification passed → advance. `state-advance --step stage-g

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл bonfire:plan?

Run the bonfire planning pipeline stages B-J. Divergence, requirements, adversarial review, code-readiness verdict, and compile to frozen handoff.

Как установить скилл bonfire:plan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bonfire:plan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bonfire:plan с