Yield On Wait
Do not spend agent time watching a spinner. If the only remaining action is a
long wait, checkpoint the wait and move to other useful work.
Trigger
Use this skill when a wait is likely to exceed about two minutes:
- CI checks or release workflows
- image builds or package publishes
- infrastructure plan, apply, sync, or provisioning
- certificate, DNS, or load-balancer readiness
- runner pickup or job queue latency
- delegated work in another lane
- any process where the next action depends on an external status change
Checkpoint
Before switching away, write a durable checkpoint with:
- awaited artifact: PR, run, job, deploy, ticket, process ID, or URL
- where to check it
- current evidence and last known status
- resume condition for success
- failure condition and first diagnostic step
- exact next action after success or failure
- owner and deadline if the wait can stall indefinitely
The checkpoint is the working memory. It must be specific enough that another
agent can resume without the original conversation.
Yield
- For short waits, use a bounded in-turn poll.
- For longer waits, prefer closing or pausing the current item with evidence so
far and creating a scoped verification tail. The tail body should be the
checkpoint: awaited artifact, check location, resume condition, and
success/failure actions.
- Switch to the next queued or unblocked work item.
- Prefer work that is independent of the parked wait.
- At natural boundaries, poll parked waits before pulling more work.
- If a parked wait becomes the only remaining work, requeue a scoped
verification tail instead of holding the original directive open.
Checkpoint As Queue Item
When a queue exists, the durable queue item is usually a better carrier than
the current turn's memory. Use this shape:
- close or mark the broad item with evidence completed so far
- create a narrow verification tail at the right priority
- include the exact artifact link or ID, check command, success condition,
failure condition, and next action
- let the next worker resume from the tail without needing the original thread
This prevents a wait from becoming "work in progress" that survives only in a
single process or conversation.
Resume
When the wait completes:
- read the checkpoint first
- verify the real artifact, not only the status label
- continue the recorded success or failure path
- update the checkpoint or close it with trajectory evidence
Anti-Patterns
- watching CI or deploy logs for long stretches without doing other work
- switching away without a checkpoint
- checkpointing only "waiting on CI" with no run link, resume condition, or
next action
- leaving parked waits without a stall alarm or bounded follow-up
- holding a broad directive open when the only remaining step is a long wait
that could be represented as a scoped verification tail
- treating green CI as a product or deploy verification when the user asked for
a real artifact
Done Standard
A yielded wait is complete only when the real awaited artifact has been checked
or a scoped blocker tail exists with enough evidence for someone else to
resume.
1---2name: yield-on-wait3description: Use when CI, deploys, image builds, infrastructure applies, certificates, queues, or other long-running waits would otherwise stall an agent. Requires a durable checkpoint before switching work.4---56# Yield On Wait78Do not spend agent time watching a spinner. If the only remaining action is a9long wait, checkpoint the wait and move to other useful work.1011## Trigger1213Use this skill when a wait is likely to exceed about two minutes:1415- CI checks or release workflows16- image builds or package publishes17- infrastructure plan, apply, sync, or provisioning18- certificate, DNS, or load-balancer readiness19- runner pickup or job queue latency20- delegated work in another lane21- any process where the next action depends on an external status change2223## Checkpoint2425Before switching away, write a durable checkpoint with:2627- awaited artifact: PR, run, job, deploy, ticket, process ID, or URL28- where to check it29- current evidence and last known status30- resume condition for success31- failure condition and first diagnostic step32- exact next action after success or failure33- owner and deadline if the wait can stall indefinitely3435The checkpoint is the working memory. It must be specific enough that another36agent can resume without the original conversation.3738## Yield3940- For short waits, use a bounded in-turn poll.41- For longer waits, prefer closing or pausing the current item with evidence so42 far and creating a scoped verification tail. The tail body should be the43 checkpoint: awaited artifact, check location, resume condition, and44 success/failure actions.45- Switch to the next queued or unblocked work item.46- Prefer work that is independent of the parked wait.47- At natural boundaries, poll parked waits before pulling more work.48- If a parked wait becomes the only remaining work, requeue a scoped49 verification tail instead of holding the original directive open.5051## Checkpoint As Queue Item5253When a queue exists, the durable queue item is usually a better carrier than54the current turn's memory. Use this shape:5556- close or mark the broad item with evidence completed so far57- create a narrow verification tail at the right priority58- include the exact artifact link or ID, check command, success condition,59 failure condition, and next action60- let the next worker resume from the tail without needing the original thread6162This prevents a wait from becoming "work in progress" that survives only in a63single process or conversation.6465## Resume6667When the wait completes:6869- read the checkpoint first70- verify the real artifact, not only the status label71- continue the recorded success or failure path72- update the checkpoint or close it with trajectory evidence7374## Anti-Patterns7576- watching CI or deploy logs for long stretches without doing other work77- switching away without a checkpoint78- checkpointing only "waiting on CI" with no run link, resume condition, or79 next action80- leaving parked waits without a stall alarm or bounded follow-up81- holding a broad directive open when the only remaining step is a long wait82 that could be represented as a scoped verification tail83- treating green CI as a product or deploy verification when the user asked for84 a real artifact8586## Done Standard8788A yielded wait is complete only when the real awaited artifact has been checked89or a scoped blocker tail exists with enough evidence for someone else to90resume.