Watching for replies
Picking up the owner's answers without a mention, and resuming runs that were dropped.
Watching for replies¶
The owner should never have to mention an agent to make it notice an answer. Two watches close that gap: an hourly reply watch on the tracker, and a ten-minute wait watch on chat threads where an agent waits for someone else.
Check in code, think only when needed¶
Most ticks find nothing. A model session that starts only to say "nothing new" still costs money and machine time, many times a day. So each watch runs in two layers:
- Gate (a plain scheduled script, no model): runs every read-only check in code and saves the raw results. If nothing needs action, it moves the watermark and writes one log line.
- Session (the model): starts only when the gate finds something, or when a check itself fails. It reads the gate's saved results instead of repeating the checks.
The gate raises an alert after two failures in a row, so a broken gate is not mistaken for a quiet day.
Reply watch (hourly)¶
- If another run of the watch is live, stop. Read the watermark; the new watermark is the run start time.
- Delegation hygiene: issues waiting on the owner or on others that have no agent delegate are given one, because the relay ignores undelegated issues.
- List new comments by the owner (including relayed ones) since the watermark, excluding automatic session scaffolding.
- A comment needs action if its issue is an agent-run project issue, a decision card, a "needs you" step, or In Review/Waiting with the latest agent comment asking the owner for something. Skip it if an agent already replied after it, or a running session is on that issue. If the comment mentions the agent, give the normal dispatch 30 minutes before treating it as dropped.
- For each, do what the reply asks or implies: apply a decision, close a fulfilled "needs you" step, continue the work. Read back every write and post a short result comment.
- Resume dropped runs: find dispatches that failed or stopped midway. Before resuming, check the issue and sibling sessions for a delivered result; if one exists, report its status instead of repeating the work.
- Duplicate and orphan sweep: merge confirmed duplicates within the hour and give every new parentless issue a parent or a one-line reason.
- Missing asks: an issue that has been In Review for over an hour, whose latest agent comment does not open with what the owner must do, gets one short comment: what is needed, the recommendation, and what happens if there is no reply.
- One-click answers that were missed: if the relay skipped the owner's reaction (for example a thumbs-up on an agent's proposal), start the session that the reaction should have started.
A comment from the owner counts as answered only by a later agent comment in the same thread, or in a session started after it. An agent comment elsewhere on the issue does not count.
Wait watch¶
When an agent ends a turn waiting for a reply in a chat thread (from a colleague or from another AI agent), it registers the wait: the issue, the thread, who it waits for, and what to do next. Every ten minutes during the day, the wait watch reads each registered thread:
- New message from the counterpart: start a session on the issue with that message. "New" means newer than the last handled message, never "who posted last": a short note from the owner in the thread does not answer the counterpart.
- Each counterpart message is its own request. The session that handles it closes only that request, or marks it as passed on to a person.
- Expired wait: close it once and start one session to decide: register again, draft a nudge for the owner, or drop it.
- Save the intent to start a session before starting it, and read it back when the outcome is unclear, so that nothing starts twice.
Per-issue reminder routines are not needed. One registry and one watch cover every wait.
Before calling a request dropped¶
A session can start and answer inside the watch's gap. Re-read the comments and the list of live sessions right before treating a request as dropped.
Recurring issues¶
Recurring issue instances may be created long before they are due, and may not start an agent session on their own (a session with no human creator can be rejected by the relay). A watchdog routine runs twice a day:
- List open recurring instances due in the last two days whose template is delegated to an agent. Match by due date, never by creation date.
- If one template has several open instances, run the latest and mark the older ones as superseded.
- If an expected instance is missing, create it once and record the miss.
- Skip instances that already have a real agent answer or a live session.
- Run each remaining instance, then post the result on it.