---
id: dag-and-readiness-v1
prd: null
title: DAG + readiness — depends-on / blocks parsing
type: epic
status: done
features: [scripts]
created: 2026-05-13
---

## Goal

Extend the state builder + CLI so `pnpm work next` / `pnpm work ready` /
`pnpm work blocked` answer "what's actually unblocked right now?"
from the depends-on graph instead of just the first non-done story.

## Stories

- [x] [01 — Frontmatter array parsing + extended state shape](01-extended-state/_story.md)
- [x] [02 — DAG computation: ready + blocked](02-dag-computation/_story.md)
- [x] [03 — CLI ready / blocked subcommands](03-cli-subcommands/_story.md)
