beads integration (wip); fix plan_create printf; bump core

- agents/test-bd.json: test agent with bd prime agentSpawn hook
- prompts/06_tool-plan.md: prefer beads when context injected at session start
- tools/plan_create: fix printf treating '- [ ]' format as option flag
- submodules: bump core

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-19 07:24:51 +02:00
parent 61959adbbe
commit 0abcb6367c
4 changed files with 14 additions and 2 deletions

10
agents/test-bd.json Normal file
View File

@ -0,0 +1,10 @@
{
"trustedTools": [
"execute_code"
],
"hooks": {
"agentSpawn": "bd prime 2>/dev/null || true",
"userPromptSubmit": "true",
"stop": "true"
}
}

2
core

@ -1 +1 @@
Subproject commit d66b8f473f4fda9a31cde21ca2b6c38d2bc606c0
Subproject commit 031dc349e2114ece99482253e66b76eced7c63d7

View File

@ -1,5 +1,7 @@
# Task Planning
If beads workflow context was injected at session start, prefer `bd` over the tools below.
Plans are markdown checklists living under `{{.OllieMountPath}}/pl/`. Use the four plan tools below in order.
---

View File

@ -31,7 +31,7 @@ FILEPATH="$PLAN_DIR/$FILENAME"
{
printf '# %s\n\n' "$GOAL"
for task in "$@"; do
printf '- [ ] %s\n' "$task"
printf -- '- [ ] %s\n' "$task"
done
} > "$FILEPATH" || { echo "error: failed to write $FILEPATH"; exit 1; }