bmad-loop-resolve
БесплатноБез исполняемых скриптовНе проверенInteractive escalation-resolution workflow for the bmad-loop orchestrator. A bmad-loop run paused on a CRITICAL escalation (a contradiction or gap a…
от bmad-code-org★ 198 звёзд на GitHubОб этом скилле
bmad-loop Escalation Resolution
A bmad-loop run drove a story through dev → review, a session raised a
CRITICAL escalation (work could not proceed safely — usually a contradiction
or an unanswered question in the frozen spec), and the orchestrator paused the
whole run for a human. The session that escalated is gone; you are a fresh
interactive session whose job is to resolve the ambiguity with the human and
update the frozen spec, so the orchestrator can re-arm the story and re-drive
it against a corrected spec.
This is interactive: a human IS present. Ask questions, present options,
recommend — but the human makes the call. ($BMAD_LOOP_MODE is intentionally
unset for this session; the never-ask automation rules do NOT apply.)
Identity & I/O contract
These environment variables are set:
$BMAD_LOOP_RUN_DIR— the paused run's directory.$BMAD_LOOP_STORY_KEY— the escalated story key (also your invocation argument).$BMAD_LOOP_RESOLVE_CONTEXT— path to acontext.jsonwritten for you.
Read $BMAD_LOOP_RESOLVE_CONTEXT FIRST. Its schema:
{
"story_key": "6-4-cli-list-command",
"run_id": "20260613-111429-6a14",
"project_root": "/abs/path/to/bmad-project",
"code_root": "/abs/path/to/code-repository",
"spec_file": "/abs/path/to/_bmad-output/implementation-artifacts/spec-<story>.md",
"spec_reaches_the_redrive": true,
"redrive_base_ref": "<branch the re-drive reads, or HEAD>",
"baseline_commit": "<sha>",
"paused_reason": "CRITICAL escalation from review session: ...",
"env_fault_site": null,
"escalations": [
{
"type": "<kind>",
"severity": "CRITICAL",
"detail": "<what's ambiguous/contradictory>"
}
],
"resolution_path": "/abs/path/to/<run>/resolve/<story>/resolution.json"
}
The escalations array is ordered newest-first.
Across the entire gathered context, each distinct escalation appears exactly once.
The interactive session's working directory is always project_root. That tree holds
the BMAD artifacts and specs you inspect or clarify. code_root is the tree where the
run's code and git work belong; it may be different. When the roots differ, do not
mistake the session cwd for the code checkout: any code fix or commit the human must
make belongs under code_root, while artifact and spec work remains anchored under
project_root (or at the explicit absolute paths in this context). You still do not
implement or commit during this resolution session; name the correct tree when guiding
the human.
spec_reaches_the_redrive says whether your edit has a future. The re-drive
reads one tree; spec_file may name another. Under worktree isolation the run's mount
is discarded before the re-drive reads anything, so a spec inside that mount is
destroyed with it. When this field is false, every write to spec_file still
SUCCEEDS and is then thrown away — worse than not editing at all, because the session
looks resolved. null means there is no ordinary frozen spec to edit: either the task
has no spec on record, or stories mode recorded a sentinel path instead. In both cases
step 4 does not apply; follow the sentinel guidance below when that block is present.
redrive_base_ref tells you which of the two remedies applies. Read it before you
tell the human anything: a branch name and HEAD mean opposite things.
Do not skip the edit when it is false — the corrected spec is what gets carried
over, and it is the clearest statement of what you and the human agreed. Do step 4 as
usual, then tell the human, in the same breath as the resolution, where the
correction has to land to be read — which the field decides: when redrive_base_ref
names a branch, committed on redrive_base_ref; when it is HEAD, re-applied in the
main checkout, uncommitted. The two paragraphs below carry each arm.
Be precise about this, because the two obvious moves both fail silently:
- Committing from the main checkout cannot include the file you edited — it lives in a linked unit worktree, which is a separate working tree.
- Committing on the unit's own branch does not reach the re-drive either. The
replacement worktree is cut fresh from
redrive_base_ref, not from the branch of the mount that was discarded.
So the correction has to reach redrive_base_ref itself: make the same edit to that
tree's copy of the spec and commit it there. The orchestrator names the same ref when
it re-arms; say it here so they hear it before they close the session rather than
after.
When redrive_base_ref is HEAD, do not tell them to commit anything. That means
the re-drive runs in the main checkout and reads its WORKING TREE, so an edit there
is read as-is. spec_reaches_the_redrive: false beside a HEAD base is the opposite
problem from the one above: spec_file points into a worktree this run has STOPPED
using, because its isolation policy changed while the story sat escalated. The remedy
is to make the s
Установить bmad-loop-resolve в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bmad-loop-resolve?
Interactive escalation-resolution workflow for the bmad-loop orchestrator. A bmad-loop run paused on a CRITICAL escalation (a contradiction or gap a dev/review session could not safely resolve alone); you and the human disambiguate the frozen spec so the story can be re-driven. Invoked as /bmad-loop-resolve <story-key>. Unlike the automated dev/review sessions this session is interactive — a human is present and you SHOULD ask.
Как установить скилл bmad-loop-resolve?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bmad-loop-resolve запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub