fix(skills): whats-next 1b uses native pql --status filter, no python one-liner

Ad-hoc projections over pql output are the wrong layer — the compact-list
gap is filed upstream (pql FR-1, --fields projection). Until it lands,
use narrow pql invocations and Read spilled output files.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 22:51:19 +02:00
co-authored by Claude Fable 5
parent a391e37714
commit bc5043feb2
+7 -2
View File
@@ -44,10 +44,15 @@ under T-745; the cascade is strictly sequential per D-166, so equivalently the
lowest-numbered non-`done` phase epic):
```bash
pql ticket list --under T-745 2>/dev/null | \
python3 -c "import json,sys;[print(t['id']) for t in json.load(sys.stdin) if t['type']=='epic' and t['status']=='in_progress']"
pql ticket list --under T-745 --status in_progress
```
The result is small (the initiative, the active phase epic, plus any active batch
tickets); the phase epic is the `"type": "epic"` row. Use pql natively — no ad-hoc
python/jq projections over its output. (A `--fields` projection flag is on file
upstream as pql FR-1 for the large-list case; until it lands, Read the spilled
output file when a full-subtree dump is genuinely needed.)
Then list its ready subtree — `--under` gathers the whole phase, `--unblocked` does the
dependency walk (only tickets whose blockers are all `done`/`cancelled`):