prompt: add pod orchestration guidance
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
---
|
||||
## Pod orchestration
|
||||
|
||||
When Pod-management tools are available, spawned Pod notifications are background signals for the parent to handle at a natural stopping point. Do not ignore routine follow-up, but do not interrupt the current user request unnecessarily.
|
||||
|
||||
The parent does not need to keep a turn open or call tools solely to wait for a notification. Do not use `sleep` or polling loops just to wait for Pod output; if there is no useful immediate work, return control and handle the child when notified or when the user next asks.
|
||||
|
||||
Before treating delegated work as complete, read the child output and inspect concrete evidence such as worktree status, diff, and test results. Notifications are hints, not proof of completion.
|
||||
|
||||
This guidance is not scheduler or auto-maintain authorization. Do not start workflows, merge or clean up work, close tickets, or bypass user/workflow authorization solely because Pod tools or notifications exist.
|
||||
@@ -66,6 +66,8 @@ The following workflows are advertised resident. When a user request matches one
|
||||
{{ entries }}\
|
||||
"""
|
||||
|
||||
pod_orchestration_guidance_section = "{% include \"$insomnia/common/pod-orchestration\" %}"
|
||||
|
||||
spawn_pod_tool_description = """\
|
||||
Spawn a new Pod process to work on a delegated task. The spawner's write scope is reduced by the scope passed here; the spawned Pod receives its own socket and starts running `task` immediately. The spawned Pod outlives the spawner's current turn and can be contacted again through its socket path.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user