Skip to content
Back to skills

Mav Block Propagation

ASecurity

Idempotent, resumable propagation of a `blocked-by:#N` block from an ejected story to every transitive downstream story in the epic DAG. Triggered when agent-code-reviewer ejects a PR for human handling.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
testingbashcode-review

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add thermiteau/maverick --skill mav-block-propagation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mav Block Propagation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mav Block Propagation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thermiteau-mav-block-propagation/badge)](https://www.skillsdirectory.com/skills/thermiteau-mav-block-propagation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mav-block-propagation
description: Idempotent, resumable propagation of a `blocked-by:#N` block from an ejected story to every transitive downstream story in the epic DAG. Triggered when agent-code-reviewer ejects a PR for human handling.
user-invocable: false
disable-model-invocation: true
---

# Block Propagation

When an agent-code-reviewer ejects a PR for human handling, every
downstream story that depended on it is transitively broken. Without
propagation, downstream stories keep branching off and stacking on top of
a broken base, producing PRs that cannot merge or merge into a broken
tree. The `blocked-by:#N` label is the mechanism that stops every
instance from trying.

## Running a propagation

The entire marker-write-walk-clear protocol is one idempotent, resumable
CLI command:

```bash
uv run maverick bprop run <repo> <epic> --ejected <story>
```

It writes the `maverick-bprop` marker on the epic, walks the DAG's
transitive descendants of the ejected story, applies `blocked-by:#<story>`
and posts a block comment on each (skipping any already labelled),
mirrors each story to `blocked` in the epic state, and deletes the marker
when the walk completes. Re-running after a crash resumes exactly where
the walk stopped — never perform the walk by hand.

If cold-start hydration finds a `maverick-bprop` marker on the epic, a
prior instance died mid-walk: re-run the command above with the marker's
`ejected` story **before any other epic work**. A partially-applied block
set invites downstream PRs to merge against a broken base.

## Cancelling in-flight subagents

A block is useless if a subagent is already deep into a now-blocked
story. After the walk:

1. Check `.maverick/worktrees/` for any worktree whose branch refers to a
   now-blocked story.
2. For each: stop the subagent, release its claim (see
   `mav-multi-instance-coordination`), **do not push** its work.
3. Destroy the worktree. Do not attempt to salvage in-progress work — the
   base is broken; the work cannot be preserved usefully.

## Block-on-entry checks

Three places must re-check block state at entry:

| Location | Check | Behaviour on block |
| --- | --- | --- |
| Cold-start target resolution | Target has `blocked-by:#N`? | Abort cleanly — report to user |
| Wave selection | Story has `blocked-by:#N`? | Exclude from wave |
| Per-story re-verify (just before coding) | Story gained `blocked-by:#N` since wave start? | Abort story; release claim |

The per-story re-verify catches the race where a block lands *after* a
wave started but *before* every subagent picked up its story.

## Unblock semantics

Maverick never auto-unblocks — the ejection was explicitly delegated to a
human, so unblocking is a human decision (remove the `blocked-by:#N`
label). Wave selection re-reads labels each pass, so a removed label lets
the story run on the next wave.

## Rules

- **Never silently ignore a block.** If your target carries
  `blocked-by:#N`, abort and report — don't modify, push, or claim.
- **Never remove a `blocked-by:#N` label from inside the workflow.**
  Maverick only applies and reads.
- **Always re-check at entry.** Another instance may have applied or
  removed a label since your run started.

<!-- maverick-plugin-version: 5.3.1 -->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.