bmad-loop-resolve

Resolves CRITICAL escalations in paused bmad-loop runs by updating frozen specs interactively.

6|Updated Aug 29, 2026
One-click install
npx skills add https://github.com/HordRicJr/Akomagni --skill bmad-loop-resolve-hordricjr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-loop-resolve
Source: https://github.com/HordRicJr/Akomagni/tree/main/bmad-core/.agents/skills/bmad-loop-resolve
Command: npx skills add https://github.com/HordRicJr/Akomagni --skill bmad-loop-resolve-hordricjr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an automated bmad-loop run pauses because a dev or review session hit a CRITICAL escalation — a contradiction or gap in the frozen spec it could not safely resolve alone — this Skill provides an interactive session where a human disambiguates the spec so the orchestrator can re-arm the story and resume the run. ## Core Features & Use Cases - Escalation triage: Reads the run's context.json, frozen spec, and escalation details, then presents the ambiguity to the human with 2-4 concrete resolution options and a recommendation. - Frozen spec amendment: Updates the <frozen-after-approval> block and affected acceptance criteria so a fresh dev session has exactly one correct reading, without touching orchestrator state like sprint-status.yaml or spec status fields. - Patch-restore handling: For review-stage intent gaps with a saved patch, supports amending the intent and recording a restore_patch so the orchestrator resumes review on the already-written change instead of re-implementing. - Sentinel and ambiguous-file resolution: Handles stories-mode sentinels (unresolved/ambiguous story files) by clarifying upstream SPEC.md or stories.yaml entries, and resolves duplicate story-file matches by cleanup. - Use Case: A bmad-loop run pauses on story 6-4 because the frozen spec never stated whether the CLI list command should output JSON or plain text. You invoke /bmad-loop-resolve 6-4-cli-list-command, review the escalation with the human, amend the spec to mandate JSON output, and write the resolution marker so the orchestrator re-drives the story. ## Quick Start Run /bmad-loop-resolve <story-key> for the paused story and work with me to resolve the escalation recorded in the run's context file.

Frequently Asked Questions about bmad-loop-resolve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resolve a CRITICAL escalation in a paused bmad-loop run?

Invoke /bmad-loop-resolve with the escalated story key. The session reads the run's context.json, presents the ambiguity with resolution options, and after the human decides, updates the frozen spec and writes a resolution.json marker so the orchestrator can re-arm the story.

What is a frozen spec in the bmad-loop workflow?

A frozen spec is the authoritative story specification containing a frozen-after-approval block that dev and review sessions treat as the fixed intent. Escalations typically occur when this block is silent on or contradicts a case the implementation encountered.

Can the resolution resume review on already-written code instead of re-implementing?

Yes, when a review-stage intent gap saved the attempted change as a patch and restore_supported is true. Amend the intent to match the implementation and record restore_patch in resolution.json; the orchestrator re-applies the patch and resumes at the review step.

What happens if a story could not even be planned in stories mode?

The run leaves a sentinel file like <id>-unresolved.md instead of a frozen spec. Resolution then means clarifying the upstream SPEC.md or the story's entry in stories.yaml with the human; the orchestrator deletes the sentinel and re-plans the story from scratch.

What should I do if the escalation cannot be resolved in the session?

Do not write the resolution marker. Exiting without it leaves the story escalated and the run paused, which is the safe default; the orchestrator will not re-arm a story that has no recorded resolution.