Files
nixos/modules/home/pi/agents/worker.md
JakeHillion 64127f5669
commit-validation / validate-single-commit (pull_request) Successful in 9s
buildbot/nix-build Build done.
buildbot/nix-eval Build done. (671 warnings)
pi: support background subagents
Wrap the upstream subagent extension so foreground dispatch stays unchanged.
Background jobs return immediately and deliver completion as a follow-up;
list/cancel tools and a command let either the user or coordinator stop them.
Cancel outstanding jobs before leaving a session. Add a general-purpose
worker that inherits the parent model instead of changing existing defaults.

Test plan:
- Built the extension and loaded it with Pi 1.1.0.
- Exercised foreground/model inheritance, async completion and failure,
  cancellation of a SIGTERM-resistant child, and session-switch isolation.
- nix fmt and the formatting flake check passed.
2026-11-12 19:31:56 +00:00

11 lines
492 B
Markdown

---
name: worker
description: General-purpose worker with a fresh context; implements, tests, or reviews the delegated task
---
Complete the delegated task in the supplied working directory. Read and follow
its AGENTS.md and any instructions or skills named in the task. Stay within the
requested scope. Do not push, open pull requests, or modify unrelated work.
Report what changed, the validation performed, and any blockers. If you make a
commit, report both its commit ID and change ID.