docs(work): scaffold dag-and-readiness-v1 epic + stories
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"updated_at": "2026-05-13T05:56:35.878Z",
|
"updated_at": "2026-05-13T05:59:55.392Z",
|
||||||
"epics": {
|
"epics": {
|
||||||
"agent-workflow-docs-v1": {
|
"agent-workflow-docs-v1": {
|
||||||
"status": "done",
|
"status": "done",
|
||||||
@@ -79,6 +79,30 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dag-and-readiness-v1": {
|
||||||
|
"status": "in-progress",
|
||||||
|
"title": "DAG + readiness — depends-on / blocks parsing",
|
||||||
|
"stories": {
|
||||||
|
"01-extended-state": {
|
||||||
|
"status": "in-progress",
|
||||||
|
"title": "Frontmatter array parsing + extended state shape",
|
||||||
|
"ac_total": 4,
|
||||||
|
"ac_completed": 0
|
||||||
|
},
|
||||||
|
"02-dag-computation": {
|
||||||
|
"status": "todo",
|
||||||
|
"title": "DAG computation — ready + blocked story sets",
|
||||||
|
"ac_total": 3,
|
||||||
|
"ac_completed": 0
|
||||||
|
},
|
||||||
|
"03-cli-subcommands": {
|
||||||
|
"status": "todo",
|
||||||
|
"title": "CLI ready / blocked subcommands",
|
||||||
|
"ac_total": 5,
|
||||||
|
"ac_completed": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"frontend-conformance-v1": {
|
"frontend-conformance-v1": {
|
||||||
"status": "done",
|
"status": "done",
|
||||||
"title": "Frontend conformance rules v1",
|
"title": "Frontend conformance rules v1",
|
||||||
|
|||||||
17
docs/work/dag-and-readiness-v1/01-extended-state/_story.md
Normal file
17
docs/work/dag-and-readiness-v1/01-extended-state/_story.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
id: 01-extended-state
|
||||||
|
epic: dag-and-readiness-v1
|
||||||
|
title: Frontmatter array parsing + extended state shape
|
||||||
|
type: technical-story
|
||||||
|
status: in-progress
|
||||||
|
feature: scripts
|
||||||
|
depends-on: []
|
||||||
|
blocks: [02-dag-computation]
|
||||||
|
---
|
||||||
|
|
||||||
|
## Tasks
|
||||||
|
|
||||||
|
- [ ] Story scaffold
|
||||||
|
- [ ] Extend parseFrontmatter to parse array values like `depends-on: [a, b]`
|
||||||
|
- [ ] Extend buildState to include depends_on + blocks per story entry
|
||||||
|
- [ ] Update existing tests; add new array-parsing tests
|
||||||
16
docs/work/dag-and-readiness-v1/02-dag-computation/_story.md
Normal file
16
docs/work/dag-and-readiness-v1/02-dag-computation/_story.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
id: 02-dag-computation
|
||||||
|
epic: dag-and-readiness-v1
|
||||||
|
title: DAG computation — ready + blocked story sets
|
||||||
|
type: technical-story
|
||||||
|
status: todo
|
||||||
|
feature: scripts
|
||||||
|
depends-on: [01-extended-state]
|
||||||
|
blocks: [03-cli-subcommands]
|
||||||
|
---
|
||||||
|
|
||||||
|
## Tasks
|
||||||
|
|
||||||
|
- [ ] computeReadyBlocked(state) — pure function
|
||||||
|
- [ ] Tests
|
||||||
|
- [ ] Wire into buildState output
|
||||||
18
docs/work/dag-and-readiness-v1/03-cli-subcommands/_story.md
Normal file
18
docs/work/dag-and-readiness-v1/03-cli-subcommands/_story.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
id: 03-cli-subcommands
|
||||||
|
epic: dag-and-readiness-v1
|
||||||
|
title: CLI ready / blocked subcommands
|
||||||
|
type: technical-story
|
||||||
|
status: todo
|
||||||
|
feature: scripts
|
||||||
|
depends-on: [02-dag-computation]
|
||||||
|
blocks: []
|
||||||
|
---
|
||||||
|
|
||||||
|
## Tasks
|
||||||
|
|
||||||
|
- [ ] `pnpm work ready` — prints ready stories
|
||||||
|
- [ ] `pnpm work blocked` — prints blocked stories with waiting_on
|
||||||
|
- [ ] Update `pnpm work next` to use the ready set
|
||||||
|
- [ ] CLI smoke tests
|
||||||
|
- [ ] Final verification + closeout
|
||||||
21
docs/work/dag-and-readiness-v1/_epic.md
Normal file
21
docs/work/dag-and-readiness-v1/_epic.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
id: dag-and-readiness-v1
|
||||||
|
prd: null
|
||||||
|
title: DAG + readiness — depends-on / blocks parsing
|
||||||
|
type: epic
|
||||||
|
status: in-progress
|
||||||
|
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
|
||||||
|
|
||||||
|
- [ ] [01 — Frontmatter array parsing + extended state shape](01-extended-state/_story.md)
|
||||||
|
- [ ] [02 — DAG computation: ready + blocked](02-dag-computation/_story.md)
|
||||||
|
- [ ] [03 — CLI ready / blocked subcommands](03-cli-subcommands/_story.md)
|
||||||
Reference in New Issue
Block a user