diff --git a/dot_pi/agent/AGENTS.md b/dot_pi/agent/AGENTS.md index 6f57508..e46017f 100644 --- a/dot_pi/agent/AGENTS.md +++ b/dot_pi/agent/AGENTS.md @@ -16,6 +16,12 @@ - Always use `git --no-pager diff` instead of `git diff` to prevent the pager from blocking non-interactive commands. +## Delegation + +- MUST delegate every requested Git commit, Git push, or Perforce submit to the `submitter` agent through tasker after implementation and validation are complete. +- NEVER run `git commit`, `git push`, or `p4 submit` directly. +- When the user requests individual commits, implement and validate each unit, then invoke `submitter` sequentially before starting the next unit. + ## Code Quality - Inspect relevant code before editing. Start with search, symbols, and targeted reads. diff --git a/dot_pi/agent/pi-tasker.json b/dot_pi/agent/pi-tasker.json index 954a3bc..dba7fbb 100644 --- a/dot_pi/agent/pi-tasker.json +++ b/dot_pi/agent/pi-tasker.json @@ -1,5 +1,8 @@ { "tmux": { "enabled": false + }, + "submission": { + "requireSubmitter": true } }