fix(template): use reliable workplan discovery in step 2

Glob with pattern 'workplans/*.md' from repo root fails silently.
Changed instruction to Glob(pattern="**/*.md", path="workplans/")
with Bash ls as fallback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 20:13:31 +01:00
parent 00272842ca
commit 98e991b49f

View File

@@ -24,8 +24,9 @@ If the call fails, the API is offline: `cd ~/the-custodian/state-hub && make api
**Step 2 — Scan local workplans**
Read every file matching `workplans/*.md` in this repo. For each one with
`status: active`, extract and note:
Read every `.md` file under `workplans/`. Use `Glob(pattern="**/*.md", path="workplans/")`
or Bash `ls workplans/` to discover them. For each file with `status: active`,
extract and note:
- The workplan title and ID
- All tasks whose `status` is `todo` or `in_progress`