jobs
Installation
SKILL.md
agy jobs
Manage background staffer/research/review/implement jobs. State is per repository in .agy-staff/. Only ask runs synchronously.
This file lives at <plugin-root>/skills/jobs/SKILL.md:
node "<skill-dir>/../../companion/agy-companion.mjs" <command> [args]
Collect the result
Default flow: prepare the prompt → dispatch → wait for the final result → validate as needed. While a job is running, do not proactively call observe/status, read logs or inspect intermediate artifacts. Do not query progress for routine updates or create sleep/observe loops. Observe only when the user explicitly asks for progress; diagnose after receiving a failure or a result requiring intervention.
- Keep the returned job id. Start
wait <id> --timeout 10min the background, using the same unsandboxed context as launch. Use a separate wait for each job; never wait for several jobs serially in one shell. - For wait, branch on the exit code: