Watchdog
Continuity checks are timed or evidence-triggered interventions that
keep an agent workflow from going idle, drifting, or entering needless
bureaucracy. They operationalize the refocus doctrine.
Use this when
- Authoring a watchdog policy for a long-running rig (artifact-pool
edges, stale-owner detection, periodic reminders).
- Choosing the intervention level for a stale-owner situation: is
this a wake, a refocus, or an alignment checkpoint?
- Drafting wake/refocus/alignment-checkpoint message text that
prevents cadence pollution and bureaucracy theater.
- Deciding cadence — scan vs wake intervals, conservative vs
aggressive nudging.
Don't use this when
- The agent is actively working and closing artifacts. Prefer no-op.
- The intervention is masking bad startup or workflow design — fix the
underlying cause, don't compensate via watchdog.
- The work has a clear next-action handoff already in queue. Use queue
nudges instead of a watchdog policy.
The 3-level intervention stack
| Level |
Goal |
When |
What it does |
| Wake |
Restart motion |
Owner appears idle, stale, blocked, or missing a next handoff |
Small liveness nudge — does NOT reframe the work |
| Refocus |
Correct drift |
Output shows mode drift, approval regression, weak stop-condition reasoning |
Medium alignment nudge — re-centers on role, north star, current approved workstream, coordination mode, stop conditions; does NOT interrupt valid work |
| Alignment checkpoint |
Rebuild shared map |
Phase boundary, lifecycle mutation, product-intent decision, confusing contradiction |
Larger deliberate pause — agent runs full refocus before proceeding |
cron, timers, and rig watchdog are scheduling substrates. They
should NOT imply that every tick means the same semantic action. The
intervention level is chosen by evidence, not cadence.
Current best practice for refocus message text
A well-shaped refocus message:
- Starts with: finish current action first.
- Names the intervention kind: wake, refocus, or alignment checkpoint.
- Names the current approved workstream or says none is known.
- Says what continuity means: continue, verify, hand off, or explicitly park.
- Names stop conditions: scope/risk/posture changes, failed gate, contradictory evidence, or no continuity chain naming a sensible next step.
- Does NOT convert itself into a fresh approval gate.
- Does NOT wake delivery seats unless an approved workflow exists and the owner is stale.
Failure modes (7; verbatim)
- Cadence is too frequent and pollutes the workstream.
- Watchdog wakes the wrong seat instead of the stale owner.
- Refocus text is too rule-shaped and creates brittle behavior.
- Watchdog compensates for bad startup or workflow design instead of revealing it.
- Refocus is misread as a new top-priority task and interrupts the current action.
- Refocus becomes bureaucracy theater: an already-approved workflow stops for re-approval.
- Repeated static nudges teach agents to answer the reminder instead of progressing the artifact.
Artifact-pool loop edges (the first evidence-aware pattern)
The first evidence-aware watchdog use that should remain small and
explicit:
- Consumer-pool wake: if a ready artifact exists, wake the consumer loop head.
- Producer-edge repair: if upstream completion exists but the downstream artifact is missing, wake the producer loop head.
Scan cadence and wake cadence are separate. Worked example (the numbers
are illustrative; the scan-vs-wake separation is the durable rule): scan every
30 seconds, wake at most every 600 seconds while work remains actionable.
This is not a generic workflow engine. It's a guardrail against cold
pools and missing edge artifacts.
Active surface
Daemon rig watchdog is the active host coordination surface for new
work. History records only loud evaluations (sent / terminal);
quiet skip reasons are NOT recorded — POC parity so agents are not
woken about scheduler polls.
Future shape (current limit)
The mature primitive should be evidence-aware: inspect durable
queue/workflow state, pane activity, transcript/context growth, and
known workstream frontier; classify the intervention as no-op / wake /
refocus / alignment-checkpoint; prefer no-op for active owners; render
message text from the active orientation graph instead of hard-coding
static policy.
Until queue substrate, activity state, and lifecycle evidence are fully
productized at this level of granularity: keep config-layer use small
and explicit, prefer one workflow watchdog plus targeted exception
handling over many per-seat nag loops.
See also
refocus skill — the doctrine this primitive operationalizes; full and light trace templates
queue-handoff skill — durable handoff via queue items; watchdog is complementary (watchdog wakes; queue routes)
looping-workflows skill — operating discipline for self-driving rig-shaped loops; uses watchdog policies for loop edges
1---2name: watchdog3description: Use when configuring `rig watchdog` policies, authoring wake/refocus/alignment-checkpoint messages, or choosing the right intervention level for a stale-owner situation. The 3-level continuity-check stack (wake / refocus / alignment-checkpoint), the discipline that prevents cadence pollution and bureaucracy theater, and the artifact-pool loop-edge pattern for evidence-aware waking.4---56# Watchdog78Continuity checks are timed or evidence-triggered interventions that9keep an agent workflow from going idle, drifting, or entering needless10bureaucracy. They operationalize the refocus doctrine.1112## Use this when1314- **Authoring a watchdog policy** for a long-running rig (artifact-pool15 edges, stale-owner detection, periodic reminders).16- **Choosing the intervention level** for a stale-owner situation: is17 this a wake, a refocus, or an alignment checkpoint?18- **Drafting wake/refocus/alignment-checkpoint message text** that19 prevents cadence pollution and bureaucracy theater.20- **Deciding cadence** — scan vs wake intervals, conservative vs21 aggressive nudging.2223## Don't use this when2425- The agent is actively working and closing artifacts. Prefer no-op.26- The intervention is masking bad startup or workflow design — fix the27 underlying cause, don't compensate via watchdog.28- The work has a clear next-action handoff already in queue. Use queue29 nudges instead of a watchdog policy.3031## The 3-level intervention stack3233| Level | Goal | When | What it does |34|---|---|---|---|35| **Wake** | Restart motion | Owner appears idle, stale, blocked, or missing a next handoff | Small liveness nudge — does NOT reframe the work |36| **Refocus** | Correct drift | Output shows mode drift, approval regression, weak stop-condition reasoning | Medium alignment nudge — re-centers on role, north star, current approved workstream, coordination mode, stop conditions; does NOT interrupt valid work |37| **Alignment checkpoint** | Rebuild shared map | Phase boundary, lifecycle mutation, product-intent decision, confusing contradiction | Larger deliberate pause — agent runs full refocus before proceeding |3839`cron`, timers, and `rig watchdog` are scheduling substrates. They40should NOT imply that every tick means the same semantic action. The41intervention level is chosen by evidence, not cadence.4243## Current best practice for refocus message text4445A well-shaped refocus message:4647- Starts with: **finish current action first**.48- Names the intervention kind: wake, refocus, or alignment checkpoint.49- Names the current approved workstream or says none is known.50- Says what continuity means: continue, verify, hand off, or explicitly park.51- Names stop conditions: scope/risk/posture changes, failed gate, contradictory evidence, or no continuity chain naming a sensible next step.52- Does NOT convert itself into a fresh approval gate.53- Does NOT wake delivery seats unless an approved workflow exists and the owner is stale.5455## Failure modes (7; verbatim)56571. Cadence is too frequent and pollutes the workstream.582. Watchdog wakes the wrong seat instead of the stale owner.593. Refocus text is too rule-shaped and creates brittle behavior.604. Watchdog compensates for bad startup or workflow design instead of revealing it.615. Refocus is misread as a new top-priority task and interrupts the current action.626. Refocus becomes bureaucracy theater: an already-approved workflow stops for re-approval.637. Repeated static nudges teach agents to answer the reminder instead of progressing the artifact.6465## Artifact-pool loop edges (the first evidence-aware pattern)6667The first evidence-aware watchdog use that should remain small and68explicit:6970- **Consumer-pool wake**: if a ready artifact exists, wake the consumer loop head.71- **Producer-edge repair**: if upstream completion exists but the downstream artifact is missing, wake the producer loop head.7273**Scan cadence and wake cadence are separate.** Worked example (the numbers74are illustrative; the scan-vs-wake separation is the durable rule): scan every7530 seconds, wake at most every 600 seconds while work remains actionable.7677This is not a generic workflow engine. It's a guardrail against cold78pools and missing edge artifacts.7980## Active surface8182Daemon `rig watchdog` is the active host coordination surface for new83work. History records only loud evaluations (`sent` / `terminal`);84quiet skip reasons are NOT recorded — POC parity so agents are not85woken about scheduler polls.8687## Future shape (current limit)8889The mature primitive should be evidence-aware: inspect durable90queue/workflow state, pane activity, transcript/context growth, and91known workstream frontier; classify the intervention as no-op / wake /92refocus / alignment-checkpoint; prefer no-op for active owners; render93message text from the active orientation graph instead of hard-coding94static policy.9596Until queue substrate, activity state, and lifecycle evidence are fully97productized at this level of granularity: keep config-layer use small98and explicit, prefer one workflow watchdog plus targeted exception99handling over many per-seat nag loops.100101## See also102103- `refocus` skill — the doctrine this primitive operationalizes; full and light trace templates104- `queue-handoff` skill — durable handoff via queue items; watchdog is complementary (watchdog wakes; queue routes)105- `looping-workflows` skill — operating discipline for self-driving rig-shaped loops; uses watchdog policies for loop edges