diff --git a/agents/test-bd.json b/agents/test-bd.json new file mode 100644 index 0000000..43dc37a --- /dev/null +++ b/agents/test-bd.json @@ -0,0 +1,10 @@ +{ + "trustedTools": [ + "execute_code" + ], + "hooks": { + "agentSpawn": "bd prime 2>/dev/null || true", + "userPromptSubmit": "true", + "stop": "true" + } +} diff --git a/core b/core index d66b8f4..031dc34 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit d66b8f473f4fda9a31cde21ca2b6c38d2bc606c0 +Subproject commit 031dc349e2114ece99482253e66b76eced7c63d7 diff --git a/prompts/06_tool-plan.md b/prompts/06_tool-plan.md index 3f92930..5fba986 100644 --- a/prompts/06_tool-plan.md +++ b/prompts/06_tool-plan.md @@ -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. --- diff --git a/tools/plan_create b/tools/plan_create index 2431bc9..947daa7 100755 --- a/tools/plan_create +++ b/tools/plan_create @@ -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; }