Commit 1733f3ce247b
dots/pi/agent/prompts/task.md
@@ -0,0 +1,21 @@
+---
+description: Turn a rough goal into an atomic task brief, confirm once, then execute
+argument-hint: "<goal>"
+---
+Goal: $@
+
+Before making changes, inspect the repository as needed and write a brief of at
+most 15 lines:
+- Outcome (user story)
+- Sources to read and decisions already fixed
+- Done-when requirements
+- Task-specific guardrails
+- Deliverable
+- Gaps or assumptions marked `?`
+
+Infer what you can from the repository and goal. Ask me exactly once using
+AskUserQuestion to approve the brief or provide edits. If I provide edits,
+apply them to the brief and treat the edited brief as approved; do not ask for
+confirmation again. If I cancel, stop. After approval, execute without routine
+check-ins. Ask again only for a required safety confirmation or a material
+blocker not identified in the brief.
dots/Makefile
@@ -54,7 +54,7 @@ claude-compat : ~/.claude
# Sessions are special: redirected to ai-sync for syncthing sharing.
all += pi-agent pi-agent-settings pi-agent-auth nono-profiles
-pi-agent : ~/.pi/agent/extensions ~/.pi/agent/agents ~/.pi/agent/README.md ~/.pi/agent/keybindings.json ~/.pi/agent/modes.json ~/.pi/agent/models.json ~/.pi/agent/sessions
+pi-agent : ~/.pi/agent/extensions ~/.pi/agent/agents ~/.pi/agent/prompts ~/.pi/agent/README.md ~/.pi/agent/keybindings.json ~/.pi/agent/modes.json ~/.pi/agent/models.json ~/.pi/agent/sessions
nono-profiles : ~/.config/nono/profiles/pi-nono-local.json ~/.config/nono/profiles/pi-nono-github-ro.json
pi-agent-settings : pi-agent
@$(dotfiles)/pi/agent/ensure-settings.sh