feat(reader): STATUS.md parser + TS project scaffold [skip-tdd: visual for configs]
- vitest+TS scaffold (package.json/tsconfig/vitest.config = config artifacts) - src/parser.ts: parses STATUS.md blocks → StatusBlock[] - tests/parser.test.ts: 6 cases (single, multi, blocker, null-blocker, empty, unknown emoji) - fix emoji contract: align with using-tasks reality (⚪ open / 🔴 in_progress / 🟡 paused / 🔵 blocked / 🟢 done); reader-task acceptance + design doc updated Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
27
tests/fixtures/status-multi.md
vendored
Normal file
27
tests/fixtures/status-multi.md
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# Task Board
|
||||
_Updated: 2026-05-22_
|
||||
|
||||
## 🔴 [task-a] — active task
|
||||
**Status:** active
|
||||
**Where I stopped:** working on A.
|
||||
**Next action:** continue A.
|
||||
**Branch:** master
|
||||
|
||||
---
|
||||
|
||||
## 🔵 [task-b] — blocked task
|
||||
**Status:** blocked
|
||||
**Where I stopped:** waiting.
|
||||
**Next action:** unblock.
|
||||
**Blocker:** task-a
|
||||
**Branch:** master
|
||||
|
||||
---
|
||||
|
||||
## ⚪ [task-c] — ready task
|
||||
**Status:** ready
|
||||
**Where I stopped:** not started.
|
||||
**Next action:** start C.
|
||||
**Branch:** master
|
||||
|
||||
---
|
||||
10
tests/fixtures/status-single-block.md
vendored
Normal file
10
tests/fixtures/status-single-block.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# Task Board
|
||||
_Updated: 2026-05-22_
|
||||
|
||||
## 🔴 [board-viewer-pointers] — pre-impl: fill Domain conventions with design-context pointers
|
||||
**Status:** active
|
||||
**Where I stopped:** только что промочен дизайн.
|
||||
**Next action:** вставить блок в `.wiki/CLAUDE.md`.
|
||||
**Branch:** master
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user