OpenProgram Docs

Always-on Agents

Internal check-in prompts and their reply/call subtrees are omitted from the conversation DAG using their runtime speaker identity, including older stored turns. Reports and ordinary user messages remain visible; the original execution records are retained.

Ticker at the next due wake Wake at most one thing Goal main chain, normal tools Check-in hidden side branch read-only tools nothing to say: no trace Report message, unread dot, desktop, channels
  1. Tickerat the next due wake
  2. Wakeat most one thing
  3. Goalmain chain, normal toolsorCheck-inhidden side branch, read-only toolsnothing to say: no trace
  4. Reportmessage, unread dot, desktop, channels

Always-on is the always_on section of a saved Agent (AgentSpec); no assistant object, no other settings. Every conversation using the Agent is one assistant, with its own Goal, check-ins, open work and reports. openprogram/runtime/conversation/always_on/ decides only which conversations wake, when, what a wake does, and where reports go.

Where each piece lives
PieceLives inReused from
Configurationagent.jsonAgent management, revisioned saves
AssistantOwner conversationSession store, chat UI
Standing goalChat GoalGoal continuation, verification, budgets
Wake scheduleticker.pyWorker service startup
Quiet hours, wake daysschedule.pyLocal clock
Check-inBackground turnCanonicalAgentAdapter, TurnRequest
ReportsReport file, main-chain message, frameDesktop notification bridge, SessionStore.append_message
Report preferencespreferences.jsonNew
Costlast_wake.cost, daily spendUsage ledger
Channel deliverydelivery.pyruntime.channel_link, bindings, channel sessions
Messages to other conversationssend_messageJob runner, notices
LearningAgent's memory spaceMemory policy, session-end extraction
RulesConversation's permission mode and rulesPermission rules, approval cards
Status, Wake nowActivity panelActivity rows and pages

Configuration

All fields
FieldType, defaultMeaning
enabledbool, falseConversations wake on schedule
goalstring up to 4000, ""Standing objective; empty: research only
wake_minutesint 5–10080 or null, nullFixed interval; null: the wake ladder
researchbool, trueCheck in when no Goal is unfinished
autonomy"report" or "act", "report"Whether a check-in may start a Goal
channelsup to 10 {channel, account_id, peer_id, label}, []Channel conversations that also get each report
quiet_hours{start, end} differing local "HH:MM", or nullDaily stretch without scheduled wakes; end before start crosses midnight
wake_daysnon-empty weekdays, Monday 0, all sevenDays scheduled wakes may happen
check_in_model"" or "provider/model"Empty: the conversation's model
notify{finding, approval, done} of {desktop, channels}, all trueRoutes per report kind; omitted stays on
daily_budget_usdnumber above 0 or null, nullCheck-in cap per local day

Saved through the Agent editor's draft and revision check; normalized by validate_always_on() in agent_registry/manager.py. Older agent.json without the section: disabled. A saved section keeps its wake_minutes. Duplicating an Agent forces enabled off.

Which conversations wake

Owner conversation
Not archived, and a web chat (source empty or web), channel conversation, or older home conversation (source always_on). Never agent or imported.
Joined
Has wake state, updated after enabled_at, or just switched to the Agent (POST /api/sessions/{id}/agent calls join())
First wake
One interval after joining; without one, the ladder's first step (one hour)
Stopping one
Archive it. Every archive path also pauses its Goal of origin always_on, check_in, handoff or scheduled under the Goal lock (chat.pause_always_on, reason conversation_archived). Unarchiving restores it and its next wake is now; with no Goal to restore, a wake already past is rescheduled from now. An ordinary Agent's or sub-agent's conversation is left alone.
Turned on again
A next_wake_at before the new enabled_at restarts from that moment
Older home conversation
When enabled_at is first recorded, _adopt_home() copies applied_goal, last_check_in_at, last_wake, next_wake_at from <agent dir>/always_on/state.json

Ticker

ticker.py starts with the worker. Per enabled Agent, each tick:

  1. Record a missing enabled_at.
  2. List conversations (at most 500).
  3. Finish any check-in an earlier worker left.
  4. Join newly eligible ones.
  5. Wake those past next_wake_at.

Disabled Agents: automatic Goals paused with reason always_on_off, then enabled_at cleared; a Goal whose lock is held keeps it set and is retried next tick. The first tick after turning on restores them. A Goal stopped both ways waits for the last undo. A restart keeps the saved schedule; a per-conversation lock prevents concurrent wakes.

Wake

wake(session_id, reason), for a due conversation or Wake now. Records the outcome and next wake. First match wins. Unknown or non-owner conversation, which includes a Try chat (agent_trial): WakeRefused. The ticker reads the conversation itself before joining or waking it, so an index row older than the flag changes nothing.

The ten outcomes
OutcomeWhenThen
1 disabledenabled offScheduled wakes stop; Wake now refused
2 quietScheduled, in quiet time (saved earlier, or the clock moved)Next wake: end of quiet time
3 busyA turn or check-in is running here, or, for a scheduled wake with daily_budget_usd that would start a check-in or a Goal of origin check_in, handoff or scheduled, a check-in of the same Agent is running anywhereRetry in 5 minutes; a self-set wake stays one. A running check-in keeps its last_wake.
4 goal_startedgoal non-empty, differs from applied_goal, no Goal unfinishedChat Goal, origin: "always_on", goal.chat.start_from_controls(); continuation and verification take over
5 goal_in_progress, goal_pausedA Goal is unfinished and not stuckLeft alone; a user's pause is never overridden
5a goal_startedA stuck Goal of origin always_on, check_in, handoff or scheduled, paused with execution_failed or restart_policy, under its own and the daily budget, with automatic_resumes below 3, its last turn neither cancelled nor missing from the execution storechat.resume_unattended(), then start_from_controls(). A completed turn or a person's Resume clears the count.
5b falls throughAny other stuck Goal: status paused_recoverable, blocked, stalled, budget_exhausted, capped, error or failed, not paused by a stopAn automatic Goal posts one approval report per stop (stuck_goal_reported holds goal, run, status and reason). A user's Goal is silent. Both go on to the steps below, so check-ins run.
6 idleresearch offNothing
7 skippedNo head yetNo check-in: its side branch would be the only history, and a later lookup falls back to every stored message
8 budgetScheduled, daily_budget_usd spentNext local midnight, past quiet time
9 skippedScheduled, not self-set, after a first check-in: no standing goal, open work, unfinished todo, or main-chain message since the last check-in apart from reportsNo model call
10 check_inOtherwiseReturns at once; last_wake.outcome becomes nothing_new, reported or interrupted
One step up after a scheduled wake that sets no next time No step: self-set, Wake now, quiet, busy, budget 1 h 2 h 5 h 10 h 20 h 50 h 100 h, repeats user turn ends: step 0, next wake in one hour
  1. 1, 2, 5, 10, 20, 50, 100 hours; the last repeatsOne step up after a scheduled wake that sets no next timeNo step: self-set, Wake now, quiet, busy, budget
  2. User turn endsstep 0, next wake in one hour
RuleBehaviour
Next wakenext_wake_after(): wake_minutes, else WAKE_LADDER_HOURS at wake_step; both past quiet time by schedule.next_allowed()
User turn endsnote_user_turn(), ladder only. A future self-set wake stays. A turn with an automation mark or a runtime prompt does not count.
Goal turnsCarry goal.chat.STANDING_GOAL_NOTE (one objective, finished once its requirements hold; recurring work belongs to check-ins), or a routine-shaped goal repeats every turn
Changed goalApplies once the current Goal ends; /goal clear at once
Quiet time
AspectRule
Holds backScheduled wakes only; not a running Goal, handoffs, Wake now
Quiet whenWeekday outside wake_days, or time in [start, end) (wraps when end < start), worker's local clock
next_allowed()Checks midnights and end over eight days: quiet time ends only there
Scheduled tasks on their own branch
A run no window started scheduled run, check-in, Goal turn, chat-app message A page a tab in the App, behind the user's work no App window: the driver's own browser, no sign-ins A question ask_user_question is not offered when nobody answers a person in a chat app is asked there A terminal no App window: refused, names bash A window command refused unless it names a window The run ends the pages it opened close scheduled run and check-in
  1. A run no window startedscheduled run, check-in, Goal turn, chat-app message
  2. A pagea tab in the App, behind the user's workno App window: the driver's own browser, no sign-ins
  3. A question

    ask_user_question is not offered when nobody answers

    a person in a chat app is asked there
  4. A terminal

    no App window: refused, names bash

  5. A window command

    refused unless it names a window

  6. The run endsthe pages it opened close: scheduled run and check-in
AspectRule
Branchruntime/scheduler/task_branch.py; meta names the task. First run off the head, or at ROOT in a conversation the task started, later at its tip. Marked scheduled_task: hidden from clients, shown with its task by list_agents.
RunBackground turn, empty history plus the last result that said something. always_on_report is not offered: the reply is the report. Overflow ends the run; the conversation is not compacted.
[nothing new] or an empty replyTells nobody; recorded as quiet; the chat draws no bubble for a reply that is only the mark, or one that opens with [could not check]. For an always-on Agent the mark is looked for in its last model round, so a progress line before it does not count, unless the run sent a file
[could not check]Counts as a failure
Nobody thereA run needs neither a window nor a person. Its page opens in an App window when one is connected, otherwise in the browser the tab driver starts itself, with no window and none of the App's sign-ins (host/resources/background_browser.py). ask_user_question is not offered to a turn with no person behind it (permissions/policy.py nobody_answers), and a tool that needs approval is refused at once. The terminal is a pane of an App window: without one it refuses and names bash
Reaching a windowAn interface command from a run no window started is refused unless it names its window, so the user's window is not moved under them. Every module that reaches an App window is listed with what a run without one gets from it (tests/contracts/agent/test_app_window_users.py); a new one fails the test until it is listed
Pages a run openedWhen a scheduled run or a check-in ends, the tabs that run opened close: browser_tabs_opened keeps the execution in opened_in, and runtime/scheduler/run_finish.py close_run_tabs, called when the execution settles, however it ended, and when the Worker hears a scheduled run's ending, calls tabs.close_run_tabs_soon. A conversation keeps at most TABS_PER_CONVERSATION, 8, tabs its agents opened; once one more has opened, the least recently used closes (Driver._keep_within_limit), never the one in front of the user. Browser tab driver
Pages of a run in its own processThe process closes them itself and waits for it before it exits (cron/worker.py), since a closing left to a thread is cut off by the exit
Previous run still goingRecorded as skipped: leaves the failure count alone, and skips in a row share one row. A webhook answers 409 previous_run_active; a watch keeps the change for its next check. An unfinished run in the execution store counts while its process exists or it is paused, so the guard holds across a Worker restart and a dead child does not block later firings
Conversation archivedNo turn starts and the task branch is untouched. Recorded as skipped; the firing is used. A waking reminder notifies without its turn
One-time taskFires once. Changing its time clears the firing, so it fires at the new time. A claim left starting by a process that died fires at the next tick
Any other replyreport_scheduled(): main-chain message after the head, or the first one at ROOT in a conversation that has only the task's branch, unread dot, notification, the chat's bound channel when notify.finding.channels is on, never the picked channels; an inbox entry marked with the task until the conversation is opened (inbox)
End of a runruntime/scheduler/run_finish.py. Only a terminal execution is an ending: a pause, an effect still being settled, or a turn held during a version switch records nothing and sends nothing. One execution counts once.
Who finishes itThe turn's own process, the Worker that continued it after a restart, the next Worker for a run that outlived its own (run-endings/) and the replay of a held turn, all the same way
Restart cannot continue itEnds as a failure. A child Job whose caller was waiting on it also ends once no run above it is left, as an errored Job; a run whose parent is alive is never held back by that parent.
User stopped it, or its task was deletedRecords nothing
The Worker finding the run's turnThe run's process adds its turn to the conversation's run log, often a conversation the Worker loaded earlier: the chat the task was set in, or the task's own conversation after an earlier run. A lookup by id that misses, and the relay when the process exits, read in what another process added (RunTables.take_up_other_process_turns)
A stop for a run in its own processThe Worker cannot reach that turn's driver, so the control service writes the stop into the execution's function log (execution/control/stop_requests.py). The run's process reads it every half second while its turn runs and stops the turn itself, a running tool included, which then ends cancelled the usual way
Its process exited without an endingKilled or crashed: when the relay of the process that started it sees it gone, and on each tick for any other, the Worker ends the turn interrupted (time_limits.end_runs_of_exited_processes, recovery with continuable=False) and records a failed run
Its pages and commandsClosed, and the command the turn was waiting on is stopped; one left in the background goes on
Worker stoppingA Worker that is stopping leaves the turn to the next one, which continues it
Told firstThe user is told before the row is written; a report that raises stays in run-endings/ with its failure count and is retried each tick, five attempts in all, after which only the row is saved.
Failurestask_runs.py keeps 20 runs and the consecutive count. The third in a row sends one message; recovery none.
Catch-upEach tick after the first of a Worker looks for the latest time of a recurring task after its lower bound: the latest of last stamp, created_at and updated_at. Under 12 hours old: one run. Older: one missed row dated at that time, which leaves the failure count alone, shares a row with the misses before it and advances the stamp.
Catch-up limitsWall-clock minutes, so a time skipped at spring-forward counts. Not for @reboot, a watch, a monitor or a disabled task. An entry with no updated_at does not catch up and gets one at its next firing. A firing that could not start keeps its stamp, so it is not retried.

Self-scheduled wakes

AspectRule
Toolalways_on_schedule(reason, in_minutes | at), in check-ins and ordinary turns
Limitsruntime.schedule_wake(): five minutes to thirty days, past quiet time
Check-ins offRefused in plain words with research false; state unchanged
KeptA wake that finds a self-set time still ahead, such as Wake now, leaves time and reason alone. Quiet and budget move a due self-set wake and keep its kind and reason. A Goal a check-in leaves behind starts first; the self-set time then returns.
Storednext_wake_at, next_wake_kind: "self", reason
None setThe wake recorded when the check-in started stands
Fixed times"Every day at 9" stays with scheduler and reminders

Check-in turn

Start wake() records check_in first Side branch from the head, hidden read-only tools, no run slot Finish finish_check_in() nothing_new nothing to say reported a report was written interrupted cut off by a restart
  1. Startwake()records check_in first
  2. Side branchfrom the head, hiddenread-only tools, no run slot
  3. Finishfinish_check_in()
  4. nothing_new: nothing to sayreported: a report was writteninterrupted: cut off by a restart
Turn settings
SettingEffect
branch_from head, advance_head=FalseStarts from the conversation's head; transcript, head and next context untouched
Contextprepare(tail_tokens=16000): the active summary (not counted) plus the newest steps that fit, measured as the model receives them and cut at step boundaries (context/session_dag/tail.py). A step is a user message, a reply, or one call with its result, and a kept call keeps its reply. A newest step above the budget is left out too. When anything is left out, a note before the tail points to read_conversation.
OverflowAuto-compact and overflow recovery are skipped; an overflow fails the turn, recorded as interrupted.
background=TrueNo status, unread dot, model, context size, title, inbox drain or branch name. Never delivered by bound_reply.
No run slotThe owner can type meanwhile. Skipped by foreground.active_foreground_task: authority runtime_authority(local_owner_authority(), "always_on"), non-interactive.
PermissionsConversation's mode and rules, none added. A call needing approval is refused; the prompt says to ask with a report of kind approval.
model_overridecheck_in_model, else the conversation's picked model
tools_overrideread, grep, glob, list, web_search, web_fetch, read_conversation, list_agents, memory_search, memory_get, task_list, open_work, get_goal, always_on_report, always_on_schedule. web_search is dropped when the conversation's web search choice is off, or, with no conversation choice, when the Agent's is, which includes a selected tool list that leaves it out; web_fetch stays, as in a normal turn.
Memory recallLooks for the standing goal and the owner's latest message, not the check-in prompt (recall_query); with neither, no recall
ReachThe owner's authority, without its private-address access: web_fetch uses the strict client. Paths the dangerous-path check names, in any letter case and through symlinks, and every profile's data folder are refused in every mode, directly and in search results; other files outside the working directories stay readable.
autonomy="act" addscreate_goal, task_start, task_step, send_message. A resulting Goal runs on the main chain under normal tools and permissions. Wake starts it: the check-in's end brings the next wake to now, and a Goal of origin always_on, check_in, handoff or scheduled with no live or accounted turn starts once through chat.start_from_controls; a conflict retries like a busy session. Origins other than always_on take identity.outside_text: page scripts and destructive deletes refused, as in a turn a message started.
Left outMCP tools: not classifiable read-only by name. Screen tool: it would wait on a Screen Recording prompt nobody can answer.
Prompt, finish and restart
AspectBehaviour
SchemasA list by name ships full schemas, having no tool_search
Auto modeRuns readers and always-on tools without review: permission classifier's safe list
Prompt statesPrevious check-in time, standing goal, autonomy, that the user does not see it, that what it reads is data, report preferences, when the next check-in comes
Prompt asksReview memory, open work and the conversation; look for anything new; report once with a kind when worthwhile, else end with one line
Prompt quotesLatest 20 reports, newest first, 100 characters per line, fenced as data, not to repeat unless changed. With picked channels, up to 10 report titles from the Agent's other conversations, also fenced. For the latest 5 messages the user retried or edited, the other versions (up to 4 each) and the reply each got, fenced, with the rule that what any version answered is answered: the check-in reads only the version the user has open.
finish_check_in()Counts reports by execution_id, reads usage, records last_wake, clears check_in, hides the branch with store.mark_merged(). Nothing reported and head unmoved: restores updated_at, so the sidebar order stays.
FailureAn interrupted check-in that had not reported restores last_check_in_at from check_in.previous_check_in_at, so step 9 still sees what it never looked at. Each one that is not a restart cut (a different boot, or no finish while the Worker stops), a turn someone cancelled, or a refusal during a version switch adds to check_in_failures; a check-in that finishes clears it silently.
Failure noticeThe third failure, or the first with error_reason auth, authz or blocked, sends one approval report outside the lock, and check_in_failure_noticed keeps it to one; an unsent report is retried at the next failure. error_retryable picks its wording, an account failure leaves out the provider's text, and with wake_minutes it does not promise slower tries. Until that report is due, wake_step goes back to previous_wake_step, or stays lower if a user message reset it; afterwards the ladder climbs.
RestartA different check_in.boot finishes as interrupted, "Cut off by a restart", by whichever of the ticker, wake(), status() looks first. The execution itself ends through the restart intent, which is on disk and answered once; a self-update does not pause a check-in to continue it. No resume and no fresh turn in its place; Wake now is the retry.

Cost and budget

Source
Usage ledger, by the turn's execution id: default_ledger.query(filters={"execution_id": ...})
last_wake.cost
input_tokens, output_tokens, usd (null when unpriced)
spend
Gains usd for the local day the check-in started, and for each automatic turn of a Goal of origin check_in, handoff or scheduled, once its usage has settled; status() returns today_cost_usd
One at a time
With daily_budget_usd, a scheduled check-in, or a Goal of those origins left without a runner, waits while another of the Agent's check-ins is running, because a cost is known only when the check-in ends. A run can pass the limit by at most its own cost. Wake now is not held
Automatic Goal limit
With daily_budget_usd, those Goals get the rest of the day as max_cost_usd; at 0 none is created or started

Reports

always_on_report(title, body, links, kind), toolset always_on, outside the default set. loop_runner offers always-on tools only where agent_for_session() finds an always-on Agent; elsewhere they refuse.

KindMeaningWaits in the inbox until
finding (default), doneSomething found; work finishedseen_at: the conversation opens (pending.mark_seen() through mark_session_read) or was on screen on arrival
approvalThe user must decideA newer message a person wrote on the main chain. Runtime rows, rows spoken by the runtime and rows with an automation mark (handoff, reminder) do not count; a steering message does
RouteBehaviour
Report fileAppended with kind and the turn's execution id
Framealways_on_report, with session_id, kind, notify_desktop
DesktopAttention bridge, kind report, keyed by report id; only with no App window focused and notify_desktop true. Click opens the conversation.
FallbackThe App answers reminder_shown with the report id. No answer in 6 s and the conversation not on screen: the Worker posts one system notification. notify_desktop false: none.
Unread dotturn_writer.mark_session_unread(), at once, unless a client shows the conversation in a window that is not hidden. A hidden window keeps its focus, and opening a chat there clears nothing
Sourcereport_source is task for a scheduled result, check_in only when the reporting execution is the running check-in (read at report time and kept on the row), otherwise absent. The chat view's time line derives its phrase from it; a message without report_title predates this and shows the time alone.
Messagepost_report_message(): assistant message after the head, Agent id, metadata always_on_report, kind, report_title and report_source, text from delivery.report_message() (body and labelled links; title-only reports keep report_markdown(); channels keep the raw form).
PostingAn open chat gets it as a transcript_update. append_after_head() reads the head and appends under one lock. _post_when_free() waits on a daemon thread up to an hour for running turns.
After a Worker startrecover_reports() posts unposted reports under an hour old, oldest first, each waiting only for what is left of its hour.
notify[kind]desktop sets notify_desktop; channels gates channel targets. Message, dot and Activity row always happen.

Inbox

Source
always_on/pending.py: every conversation of an Agent that is on or has always-on state, so turning off empties nothing (500 per Agent), plus every conversation a scheduled task reports into; last 20 reports each
Scheduled results
A report with task_id is news like a finding; its item carries task_id and the task's title, and the Inbox draws it with the calendar instead of the Agent's avatar
Shown
The Tasks page's Inbox tab, the count on the sidebar's Tasks row, Waiting for you atop every Activity panel
Order
Newest first; older than seven days drops out
Refresh
Clients read again on focus and on an inbox change, signalled when a report is written or seen or a person writes in a conversation (change notification)

Report preferences

AspectRule
Shape{id, text, at}, at most 50, belonging to the Agent
Recordingalways_on_preference(text); same text ignoring case keeps the row. Absent from check-ins, scheduled runs, sub-agents, handoffs and automatic Goal turns
ActivityLists them with delete. "Don't report things like this" posts Don't report: <title>
Check-inListed under "The user told you what to report and what to leave out"
Scheduled runThe same list in the run note of an always-on Agent's task; what it leaves out counts as nothing new

Handoffs

AspectRule
Toolsend_message, the tool every agent uses to give work to a conversation that exists (agent collaboration). The earlier handoff tool and its own replay are gone.
OfferedTo a check-in with autonomy="act" (runtime.ACT_TOOLS)
DeliveryA tracked Job; a busy target gets it queued; the answer returns to the sender as a notice with no timeout (results, busy targets)
LimitsFour hops along a chain (agent.max_hops), twenty sends per conversation per hour (agent.max_sends_per_hour), no message to a conversation already waiting up the chain (limits)
Archived targetRefused when addressed; nothing is sent
Stored entriesticker.start_in_worker() moves what the old tool left in handoffs.json onto send_message (handoff_migration.py, stored hand-offs)
Old turns📨 and ↩️ rows stay in transcripts. Their marks, automation="handoff_message" and "handoff", keep their meaning when such a turn continues after a restart: bound_reply.attach() sends nothing for a 📨 turn, both take identity.outside_text, and a Goal saved with handoff_chain still marks its turns handoff

Built-in Agents

agent_registry/builtin_agents.py: ordinary saved Agents. No catalog, picker, team object or kind field; the switch alone groups them on the Agents page and composer menu, and moves a user's Agent too. The New Agent dialog makes a blank record. Sources: Bot template references.

GroupAgentsAlways-on
ChatAssistant (main, default); fixed-parameter specialists with no prompt: Decision, Lightweight helper, CoordinatorOff
Always-onButler (butler) and ten job Agents derived from it: Chief of Staff, Spec Writer, Bug Reproducer, PR Producer, PR Verifier, Research Desk, Inbox Triage, Career Scout, Knowledge Keeper, WriterOn from install. No conversation, no wakes, no cost.
PartJob Agent
Chat turnsA conversation turn of an always-on Agent also gets guides/messaging.md: short messages in plain prose, files for what you keep. A turn with a channel recipient also learns which app reads it: no tables, numbered choices. In those conversations every exit (reply, streamed paragraph, chat_send, report) writes a table one line per row, and the streamer holds a table until it is complete. Goal verifiers, sub-agents, self-update steps and Program calls do not
System promptJob, Deliverable, Never, Done when, Working style (ends with how to hand a step over), First task. English in both languages; names and descriptions bilingual, picked at install.
ToolsA selected policy of built-in tools. Producer may edit; verifier has no edit, write, apply_patch. builtin_patch() adds always_on_report, always_on_schedule, always_on_preference, save_routine. Butler: automatic, like Assistant, with web_search.
Memory, own spaceOff: Bug Reproducer, PR Producer, PR Verifier. Read-only: Spec Writer, Writer. Read and write: the rest and Butler.
Always-onOn, autonomy: "report", no fixed interval; a report due at a fixed time is a scheduled task. Research off, so never checking in: the four engineering Agents and Writer. Earlier records keep saved intervals.
hold_outboundOff; the never-list hands mail and messages over as drafts
Template autonomyExisting controls
Observe onlyresearch on, autonomy: "report", Ask mode
DraftThe same with hold_outbound on
Act with approvalautonomy: "act", Ask mode: every outbound action is an approval card
Scheduled unattendedautonomy: "act", Auto mode, a standing goal
Installation
AspectBehaviour
create_builtin_agents()Creates built-ins neither saved nor in the registry's builtins list (manager.installed_builtins(), record_builtins()), then records all ids. A deleted built-in stays deleted.
UpdatesA SHA-256 over the saved fields a definition sets, including the four always-on settings it writes, is looked up in _KNOWN_FINGERPRINTS, which lists every shipped version in each language, as installed and with the always-on settings later releases rewrote in place.
MatchingA known fingerprint that is not the current one is updated in its own language, every hashed field landing on the current definition; no match counts as edited and stays. Name, model and the owner's other always-on settings are not hashed and are kept.
AssistantFirst in BUILTINS, default when none exists; keeps a new record's defaults, gets only its description
Runs atServer startup. Setup and openprogram chat call ensure_default_agent(), which also makes an empty Assistant if every Agent was deleted. Registry reads install nothing.
CreatesNo conversations or titles: the user does; built-ins cooperate through handoffs

Channel delivery

Delivery details
StepBehaviour
Channelstelegram, slack, discord, wechat. Unknown channels and empty ids rejected, duplicates dropped.
peer_idThe id channel sessions store; Slack and Discord use scoped <channel>_<user>
Targets offereddelivery.channel_targets(), returned by GET /api/agents/{id}/always-on: the Agent's channel conversations, labelled by peer name, and peer bindings. No account: every account. A whole channel or account: nothing until someone talks there.
SendingTargets are the picked channels plus the chat's bound conversation, each once. With notify[kind].channels on: one deliveries row per target as sending; a daemon thread (retries can take tens of seconds) sends bold <Agent name> · <title>, body and links through channel_link.send_message()
Outcomesent, or failed with error (the kind; an exception is unknown) and a one-line detail. store.update_report(), then always_on_update. A failed send never removes the report or fails the tool.
Copy in the channel's conversationA target with a conversation other than the reporting one (alias first, as inbound routing; else the Agent's newest conversation for that peer) has it as session_id on its row. _post_when_free() adds the report there too; a target with none gets no copy. An approval is answered by a user message after it in either conversation.
RetriesOnly SendResult.connect_failed (no connection was made and no earlier piece of the message went out): the row stays sending, tried again after 1 and 10 minutes. Each pass is saved.
After a restartOne interval after a Worker start, the ticker runs recover_reports() once over reports older than that start. sending rows under an hour old are resent, at least once; older rows become failed with error interrupted.

Runtime state

State files
FileHolds
always_on.json, session directoryjoined_at, applied_goal, last_check_in_at, last_wake (at, reason, outcome, cost, error), wake_step, next_wake_at, next_wake_kind, next_wake_reason, check_in while running (msg_id, execution_id, at, reason, boot, head_id, updated_at)
always_on_reports.jsonl, session directoryid, at, kind, title, body, links, session_id, execution_id, deliveries. Newest 200.
always_on_wake_log.jsonl, session directoryOne row per firing, with its final outcome: at, reason, outcome, cost, error. A check-in writes its row when it ends. A wake that raises writes failed, and a scheduled one retries in 5 minutes. A real file beside the session log, because it is written at every firing. Newest 500.
<agent dir>/always_on/state.jsonenabled_at (cleared when off), spend ({date, usd})
<agent dir>/always_on/preferences.jsonReport preferences
<state dir>/always_on/handoffs.jsonWhat the removed handoff tool left, until the Worker moves it (handoffs)

Apart from configuration: wakes never bump the revision or conflict with an editor draft. Written atomically under a lock per conversation, per Agent, or one for handoffs. Deleting a conversation deletes its state and reports.

Learning and rules

Learning
With Memory set to Read and write on This Agent, the session-end writer extracts preferences and corrections into the Agent's space.
A posted report never ends writing for its conversation and is not a source itself; a branch whose last user row came from the scheduler is skipped, finished or cut off. What one conversation owes stays in open work. The Always-on tab flags any other memory setting and never changes it.
Rules
Approvals wait as cards with a needs-input notification

Surfaces

SurfaceContent
Agents → Always-on tabConfiguration, channel targets
Activity rowNo group of its own. The work chart's first row is the next wake: an interrupted check-in or a used-up budget first, then quiet hours and the cadence. Before the first run the main agent's row has an Always-on line instead.
Activity pageStanding goal, current Goal, wake days, quiet hours, last wake with outcome and cost (error and retry when interrupted), today's spending, preferences, reports with kinds and deliveries, Wake now
Tasks → InboxThe sidebar's Tasks row counts it; the tab lists decisions and news (Tasks page). Same list under Waiting for you atop every Activity panel.
WebSocketalways_on_report, always_on_update, transcript_update, all with session_id
Pythonopenprogram.runtime.conversation.always_on: wake(), status(), report(), join(), schedule_wake(), add_preference(), remove_preference(), agent_for_session(), channel_targets(); always_on.handoff_migration.migrate(); always_on.schedule.is_quiet(), next_allowed()
HTTP and status()
EndpointEffect
GET /api/always-on/pending{items}: conversation, Agent, kind, title, body, time; task_id and task_title for a scheduled task's result
GET /api/agents/{id}/always-onSaved configuration and channel_targets
PATCH /api/agents/{id}Accepts always_on like any section
GET /api/sessions/{id}/workStatus and reports, with open work and Scheduler tasks
POST /api/sessions/{id}/always-on/wakeWake now
POST /api/sessions/{id}/always-on/preferences{text} adds a preference
DELETE /api/sessions/{id}/always-on/preferences/{preference_id}Removes one
POST /api/sessions/{id}/agentSwitches the conversation's Agent
status()Configuration, running, last_wake, next_wake_at, next_wake_reason, quiet_now, today_cost_usd, preferences, reports

Alternatives

FeatureGrok BotdotsHere
One job per assistantEach Bot has one jobOne personal assistant with a goalalways_on.goal, per conversation, finished by verification
Works on a scheduleRoutines; schedules follow-upsProactive research; sets wake-upsalways_on_schedule, wake_minutes, wake_days, quiet_hours
Looks through what it knowsNone listedMemory, past chats, connected appsRead tools of a check-in; MCP stays out
Speaks firstMessages in the Bot's chat; learns when to pingTexts the user; per-task notification choicealways_on_report, unread dot, per-kind routes, preferences
Stays quiet otherwiseBack only for approvalUnwatched background researchHidden side branch, model-free skips, earlier reports quoted, daily budget
Assistants work togetherMessage and hand offNone listedsend_message, hop limit
Does little aloneOutgoing mail and Slack wait as draftsRead-only defaultsautonomy: "report", read-only check-ins; send_message and act keep permission mode and cards
Desktop peers and open-source agents
ProductWork while awaySeeing what is scheduled
Claude CodeRoutines on a schedule in the cloud; no standing goalA list of routines
CodexPersistent mode: goal, status, completion criteria, next check-in written before sleep. Automations run scheduled local tasks.A list; no calendar
DeepSeek HarnessScheduled tasks plugin (experimental): delay, time, interval of a minute or more, daily, weekly or cron with IANA zone; delivered into the original conversation; only while the app is open; cannot pause. No standing goal or background agent.A tasks page with delivery records; no calendar
OpenProgramOne standing goal per conversation, channels, quiet hoursTasks page: an Inbox of what needs the user beside the scheduled tasks as a list or a calendar (month, week, day, agenda) with Schedule-X
Open source
Daimon (MIT; scheduled passes that speak only when it matters), Gobii (per-agent schedules; SMS, email, webhook, cron triggers), aidaemon (daemon with goal scheduling and heartbeats), OpenClaw HEARTBEAT.md
Followed
A standing goal is one objective that ends (Codex persistent mode; ChatGPT scheduled tasks, which pair a task with a goal). Where peers are thinner, the choice here stands.
Shared shape
A goal that ends, check-ins by code, reports only with something to say
None reused
Each is a product around one chat channel; the parts here already existed

Roadmap

Where this design is going, and why. This section describes the target; what has shipped is listed under Implementation status.

Principles

PrincipleMeaning
One settingAn always-on Agent is an Agent that looks after its conversations on its own; never a second kind of object
Look, then speakA look leaves no trace in the conversation; its only output is a short report, and only when something is worth saying
Conversation is the unitThe Agent wakes per conversation and never creates one; the user does
Outside text is dataPages, mail and earlier reports never become instructions
Cheap and containedA background look never compacts the owner's conversation, never waits for an approval, and reads a bounded tail
One reason per firingRan, found nothing, skipped, missed, failed or cut off; the user can see which
Promise kept or refusedA shown next wake is real; sent means it will arrive or be reported as failed
Stopping means one thingArchive stops all work from that conversation; off stops always-on work; user-started work continues; undo restores what the stop paused
Only a person clears a decisionAutomatic turns never clear a waiting decision
Measured need firstNo new cards, consent gates or panels without one; permission prompts keep shrinking

Settled rules

TopicRuleWhy
Check-in cut by a restartNever resumed; recovery ends itA check-in is cheap to repeat; cost after the cut is not counted
Time limitsCheck-in 15 minutes; scheduled run and scheduled command 2 hours, counted from admission and not reset by a restart. time_limits.stop_overdue runs on each always-on tick and stops, with reason time_limit, every run it can reach; a scheduled run in its own process keeps its own timer. A sub-agent shares its caller's clock; a Retry or Create branch has its own.Read-mostly check-ins are short; the longest kept scheduled run took 54 minutes, so 2 hours stands
Stopped at a limitA check-in ends interrupted with the reason in last_wake.error. A run still stopping a minute later is ended without it, its turn slot freed and its own process killed if it has one and the command it was waiting on stopped; one left in the background goes on. A stuck thread ends the same way. A scheduled run or command records a failed run. A command's limit is kept in running-commands.json, so the next Worker still enforces it.Unlike a user's stop, nobody asked for it
Handoff from a check-inAllowed only for the speaker runtime/always_onScheduled runs are also background turns and stay refused
Failed check-inRestores the last look and the ladder step; restart cuts restore too but do not count toward the noticeOne mechanism also covers idle conversations
Marker on automatic turnsautomation on the user row, valued handoff_message (📨), handoff (↩️) or wakedisplay would change rendering
Origin of an automatic GoalCheck-in, handoff or scheduled, set from the speaker; the standing Goal keeps its own origin; a user Goal stays emptyStops, budget and the Goal starter need to tell them apart
Unposted reports after restartPosted once per Worker start if under one hour oldA restart must not extend the existing wait; older reports stay in Activity
Delivery rows stuck sendingResent under one hour; older rows become failed, cut off by a restartPrevents a flood on the first scan
Cron catch-upBuilt; deployed after a credential-free rehearsalBounded by a lower-bound stamp, and missed rows ship with it
Webhook during a runAnswers 409 previous_run_active; a watch hash is written only after spawnThe caller can retry and a watch fires again on its next poll
Channel-side stop/stop cancels the session's root executions through the execution store, outside the session lockA channel turn exists only in the execution store until it reaches the session graph

Keep, borrow, own

AreaKeepBorrowOurs
Waking and schedulingLadder plus agent-set next wake; model-free skip; claim on disk before start; log-backed state documents; three failures, one message; untrusted event fence12-hour catch-up and missed rows from Maus routines; skipped rows from Maus and OSA routines; fixed run limit from OpenDots runner; failure classes from Maus recoveryDurable restart intents; one reason per firing on one surface; a crash matrix at each durable step; a wake log and an alive line; one starter for an automatic Goal left with no runner
Proactive reportsHidden branch with report-only output; three-sentence reports; no expiry card; pending split by what clears itMaus separation of manners from format; source caption; the only-a-hint warning on read-only markers in OpenDots connectionsBound-conversation reach; same-finding memory across conversations, quoted only with picked channels; reply routing that mirrors a handoff into the target
Long-lived memory and contextSummary as a DAG splice; cited memory with transactional writes; authority on memory sourcesStable step cut and recall by id from OSA memory, for the check-in tail; marking cancelled requests and attributing claims from Maus summaries; routine runs are not memory sources, from Maus memoryBackground turns never compact on either path and read a bounded tail; one preference list covers check-ins and scheduled runs
Identity and teamDurable handoff chains; reports as plain messages; always-on as an Agent settingMaus ancestor refusal; owed-reply carry-through from OSA direct messages; atomic template install from OSA templates; handoff messages stay in the Bots' own chats, from Grok chat, applied to delivery turns onlyThe automation marker; failure notes for a target that could not answer
Tools, permissions, safetyNo card ever waits in a check-in; name-fixed lists excluding MCP and bash; one-shot hold_outbound, off by default; the identity gate cannot be widened by modeOnly a person's own line is the request, from Maus provenance; Maus fencing of earlier output; private-address block from OSA security, for check-ins onlyA gate only where read text crosses into a full-power turn, shipped with that crossing; automatic Goals spend from the Agent's daily budget; turns with no window open their own browser tab
ChannelsNon-delivery reported in the App; files through a recorded tool callOSA fence-aware split; OSA handling of 401, 404 and 409; /stop and /helpConnect-only retry rule; durable state reduced to existing report rows; phone reach through chat apps, without a native app
Product surfaceVisible and deletable preferences; cost per check-in; hidden check-insSay what stopping keeps and where it runs, from MausOne stop rule; a promise is kept or refused
Chat formStable bubble rule, cap of 4; --reply-gap fix; report captionsNothing; an explicit send tool, fake pacing, the Maus table card and the OpenDots labelled fake user bubble are rejectedA messaging guide with an explicit chat-turn signal; flatten_tables for chat apps

Maus is OpenMausBot and OSA is open-super-agent.

The outside-text gate is a guard against mistakes, not a security boundary: a script interpreter or a find with a delete action can get past bash-text matching. The dangerous-path check narrows exfiltration but does not stop an unlisted secret reaching a public URL.

How a batch is built

RuleMeaning
ScopeOne worktree, one agent, one merge; affected tests only; both language docs updated with each behaviour change
ReleaseDeploy to the development instance, verify there, archive test chats. A batch whose check names a rehearsal or kill-and-resume does that first and is deployed only after it passes. Stable gets it with the next official release
RehearsalStart the Worker under an empty environment on a copy of the data without auth/, keys, executions.db, channels/, mcp_tokens/ or mcp_servers.json, and drive the tick path, with no new port or profile; assert that no channel adapter started
CompareAn old-versus-new page and a yes before code, one page per wave; any behaviour change needs it, not only a visible one; mockups keep the real look
PeersBefore borrowing from a peer, pull that clone and read the borrowed file at its latest commit
QueueBatches that change openprogram/runtime/conversation/always_on/runtime.py run one at a time, in listed order; other batches in a wave may run in parallel unless the order column names a batch

Batches and their status

Weekly routine

PartWhat happens
TriggerA recurring task on the stable instance, Mondays at 09:00 local, in one dedicated conversation of the Main Agent. No report on Monday means the Worker or the task is broken
PeersCompare each repository from its recorded baseline to its latest commit, and read the pages listed below. Long compares are read in windows, because one call caps at 250 commits
HealthA read-only report that starts nothing and spends nothing: scripts/testing/always_on_weekly.sh
UpdateRewrite this page in both languages and advance the peer baseline only after the read. Runs in its own worktree and changes nothing else
BuildBuilding a batch and the checks that start processes or spend money happen in a normal session the owner opens from the report

Peers to read

PeerPages
OpenMausBotRepository; routines, recovery, read and draft, provenance, summaries, memory, approval levels, reply habits
open-super-agentRepository; routines, events, direct messages, groups, memory, approvals, channel adapters, changelog, security, channels, event docs
OpenDotsRepository; runner, store, agent, connections, security, readme
Grok BotOfficial: routines, chat, approvals, how it works, settings, mobile, changelog
OpenAI DotsOfficial: release notes, FAQ, getting started, workspaces. Third-party: NYU, DataCamp. Facts read only from excerpts are labelled so

Health report

ReadFromActs on
Firings by outcome per AgentWake log and task runsRising failed or cut-off
Cost per check-in and per day, budget stopslast_wake and daily spend, including automatic GoalsAn Agent above its usual, or prompts above the bounded tail
Unsettled restart intents, runs paused with no intentExecution storeMust be 0 after batch 1
Delivery rows sending for over an hourReport rowsMust be 0 after batch 39
Longest scheduled run and check-inExecutionsInput to the batch 41 limits
Reports against nothing-newReport rowsReports over half of looks suggest noise
Stored handoffs not yet movedhandoffs.migrated.jsonAny entry still pending after a Worker start
Watch-list triggersThe watch list on this pageA trigger met moves the item into the plan

Checks that start processes or spend

CheckResult
Always-on, scheduled-run and crash-matrix testsAny failure blocks new batches
Credential-free tick rehearsalAny unexpected firing blocks new batches
Live smoke test, which spends model costAny failure blocks new batches

Updating this page

StepWhat to do
1. DoneMark merged batches done and remove their bugs from the list.
2. New bugsAdd confirmed bugs in severity order. A bug needs a code path, a fix and a test; otherwise it goes under open questions with the test that settles it.
3. Peer changesFor each peer change that touches an area, rewrite that area's row in place, in both languages.
4. BaselineAdvance the peer baseline and pull the clones to match.
5. Next weekPick next week's batches: open bugs first, then the next wave in order, at most one Compare page per wave.
6. ReportReport in plain words, in one verdict: what is done, what is left, what needs a yes.

Left out

Left outWhy
Resuming check-ins after restartA look is cheap to repeat
A 24-hour limit on everything pausedBreaks background sub-agents
Event receipts, dedupe and queueNo bug or measured loss; a dedupe would lose a retry after a 409
Durable inbound queue, general outboxNo confirmed bug; replay could double-run, because dedupe lives only in memory
Native mobile app, push relay, Grok-style desktop suppressionChat apps reach phones; a new service has no measured need
Inline channel buttonsThree adapters and Slack interactive events; numbered choices work
30-minute approval expiry cardsAdds approval machinery against the fewer-prompts direction
Global pause, long-absence auto-pauseOff and archive already stop
Auto-created conversations for a handoffThe user creates conversations; a new one would start paid wakes
Run retention and node deletionThe log only appends, so the gain is tiny until a log rewrite exists
Grok's rate ceilingOur cap is money and already exists
Send tool, split marker, fake pacingSix delivery paths; pacing simulates time that never passed
Report fold, line-safe report splitSaved reports are short and it would touch shared transport
Model-authored widgets, table cards, read cursor, New divider, avatars, receiptsNew surface with no need
Live model-graded prompt evaluationContract and unit tests first
A separate bot object, a second roadmap documentOne concept, one document
Peers beyond the five namedOut of scope

Watch list

ItemWhat it would doTrigger
Read-only connected tools in check-insA per-tool read-only marker, limited to report mode or an explicit Agent settingA user asks, or a recorded check-in lacked a connected tool
Weekly idle check-inLooks within 30 days of the last user message, with research onA user reports a missed finding in an idle conversation
One document per reportStops rewriting the whole report document into the logReport state above 1 MB in one conversation, or a measured slow write
Memory expiry, tidy passMaus-style tidyingMemory size measurably hurts prompts

Implementation status

Not implementedDetail
Cloud computer per conversationWork runs on this machine with the conversation's folder and sandbox
Reply to a busy senderA reply whose sender stays busy for ten minutes is dropped; the answer stays in the target conversation

All else above the Roadmap section is implemented. A paused turn blocks wakes by design, so a check-in must never reach a tool that waits on the owner.

Checked on a running instance
  • A standing goal starts a Goal; later wakes report goal_in_progress, then idle when done.
  • A check-in told to always report called only always_on_report, wrote the report and set the unread dot on a closed conversation.
  • Quiet hours over the present make quiet_now true and move the next wake to their end, while Wake now runs.
  • A handoff reaches its target and the reply returns.

Roadmap status

TopicState
Built so farBatches 1 and 2 are built and await their rehearsal; batches 3 to 5 are built, and batch 5 awaits a real check-in with autonomy: "act"; batch 6 is built and awaits a check-in on a long real conversation; batch 7 is built and awaits one scheduled run
Chat and channel batches 8 to 10Batch 8 is built and awaits an owner turn after a report; batch 9 is built; batch 10 is built and awaits archive and off with a test Goal
Chat and channel batches 25 to 31Batch 25 is built; batch 26 is built and awaits a real Telegram message during an App turn; batches 27 to 29 are built; batch 30 is built and awaits a real Telegram voice note; batch 31 is built and awaits a message in a real Slack thread or Telegram forum topic
Visible product batchesBatches 48 to 51, 53, 54, 56 and 63 are built; batch 57 is built and awaits its first Monday report; batch 60 is built and awaits a look at an empty always-on chat; batch 61 is built and awaits a look at the channels settings page
Delivery and limit batchesBatches 39 and 42 are built and await their rehearsal; batch 40 is built and awaits a real chat app check; batch 41 is built and awaits a real overrun; batch 43 is built and awaits a real Telegram check; batches 44 and 45 are built
Scheduler batchesBatch 16 is built and awaits a webhook answered 409 during a real run; batch 18 is built; batch 19 is built; batch 55 is built; the Status column of the batch table is the record for every batch, and the Roadmap section describes the target for those not built
Peer knowledgeCitations are to each peer's recorded baseline. Later Maus and OSA changes were read only by commit titles and named diffs, and about 255 Maus commits are unread
Unverified sourcesOpenAI's own Dots pages may refuse direct fetches; no decision rests on an unverified source alone
Moved or mergedBatch numbers are stable ids. 46 merged into 5; 58, 59 and 62 moved to the watch list

Open bugs

Critical

IDBugWhereFixTestBatch
A01A restart intent exists only in memory, so a paused run never continuesexecution/recovery/restart.py store/run_tables.py execution/control/recovery.pyLog requested and settled events; clear them in the self-update copy; at start, end scheduled runs and check-ins paused with no open intent; chats stay pausedProcess reload: the intent survives and recovery continues; a stuck run ends; a stuck chat stays1
A02The busy gate is held by the run's own parent and by ownerless rowsexecution/recovery/restart.py process_owner.pyIgnore ancestors; ignore ownerless rows only while pausing or cancellingParent running, child paused: continues. Ownerless pausing: continues. Queued sibling: blocks2

High

IDBugWhereFixTestBatch
A03A check-in cut by a restart can resume or finish as nothing newpermissions/authority.py execution/control/recovery.py execution/recovery/restart.py always_on/runtime.pyRecovery gives up on the check-in speaker after the paused check; the check-in skips finishing when the run has not endedCrash and graceful: terminal, no continue, one last wake1
A04A model-written attachment marker uploads any local filechannels/inbound/_conversation.py state/attachments.py channels/delivery/_transport.py conversation/bound_reply.pyUpload only files recorded by a tool call, with no promptA marker naming an SSH key uploads nothing; a file-send result still uploads3
A05A fetched page can write an Agent-wide rulealways_on/runtime.py permissions/auto_mode/classifier.py always_on/store.pyRemove the preference tool from the check-in tool listName absent from the turn's tools4
A06A check-in can read any file and reach private addressesfiles/read.py web/_owner_fetch.py state/settings.py files/file_safety.py permissions/rule.pyNo owner access for the check-in speaker; split the dangerous-path check out and run it before the unattended return, also for grep and glob pathsLocalhost and an SSH key refused, also through grep; an unlisted outside file reads; owner turn unchanged4
A07Handoff is always refused in a check-inalways_on/runtime.py send_message/send_message.pysend_message is in the act tool list; its turns take the outside-text gateA check-in sends; spawned and scheduled turns are refused5
A08A Goal started by a check-in runs crippled and wedges wakes. A conflict, a restart cut and a scheduled run each leave an active Goal with no runner. Once fixed, its model-written text reaches a full-power turngoal/chat.py always_on/runtime.pyA background finish returns early. Wake starts an automatic Goal left with no runner, once, catching the conflict; a busy session retries. Finishing a check-in that leaves one sets the next wake to now. Its turns carry the outside-text gateNext request is an owner turn with default tools. Cut-off, scheduled and conflict cases each start once. No double start between turns. A user Goal is not started. Page scripts and destructive deletes refused5
A77Goals started by automatic turns have no spending limitalways_on/runtime.py goal/chat_tools.py goal/state.pyWith a daily budget set, these Goals get the remaining budget as their limit and start nothing at 0; their cost joins the daily spendBudget 5, spent 3: limit 2. Goal cost appears in daily spend. Budget spent: no start5
A09A hidden check-in compacts the main conversation, on a wrong measure and through the overflow pathalways_on/runtime.py turn_runtime/prep.py context/token_accounting/usage.py turn_runtime/loop_runner.py context/engine.py turn_runtime/__init__.pyNever compact a background turn, shipped with the bounded tail; on overflow it ends interruptedNo summary node after an over-budget check-in; overflow ends interrupted6
A10Scheduled and clean runs receive the whole conversationcontext/engine.py turn_runtime/loop_runner.pyRespect an empty history overrideReplace the skipped test; run job and sub-agent tests7
A11One posted report ends memory writing for the conversationalways_on/runtime.py memory/policy.pyA policy-less row with a report stays eligible; rows already stamped stay ineligibleSelf-space Agent, report, owner turn: eligible and write permitted8
A12A scheduled turn's report is never pushed or seencron/worker.py process_runner.py runtime/interface_link.pyNo report tool on a scheduled requestTool absent on a scheduled request7
A13A check-in report never reaches a bound chat app; the channel setting is ignored for resultsalways_on/runtime.py channels/delivery/bound_reply.pyAdd the bound target for reports; gate both routes on the channel setting; picked channels stay out of scheduled resultsBound, no picks: delivered once. Channel setting off: none14
A14Archive or off does not stop a running Goalsession/lifecycle.py always_on/ticker.py goal/chat.py always_on/runtime.pyPause automatic Goals under the session lock and restore them on undo; reschedule a past next wakeArchive: no next turn; unarchive resumes; user Goals untouched; a past wake is not due10
A15A failed, stalled or budget-stopped Goal silently blocks wakesgoal/chat.py always_on/runtime.pyAuto-resume automatic Goals after a failed execution or restart policy, at most three in a row; otherwise one approval report and check-ins run; a user Goal is never resumedParametrised by status and origin. User Goal failed: no restart, check-ins run. User pause stays silent11
A16Scheduled tasks in archived conversations run and nobody hearscron/worker.py always_on/runtime.pySkip before the task branch is prepared, and log the skipArchived: no turn request, claim kept17
A17Automatic turns clear a waiting decision; turning off empties Pendingalways_on/pending.py turn_runtime/prep.py conversation/turn_admission/owner_turn.py turn_runtime/finalize.pySkip runtime rows and any automation mark; keep Agents that have always-on state; the ladder skips automation tooApproval then handoff or continuation stays, also after 24 hours; a real message clears it; disabled Agent listed15
A18A self-scheduled look does nothing when check-ins are offalways_on/runtime.py always_on_schedule.pyRefuse in plain words when research is falseRefused, state unchanged12
A19Picking a channel strips every conversation of that accountchat/conversation_channel.py channel-choices.tsEvict by peer when both sides have one; otherwise keep account-level evictionTwo peers: other binding kept. A peerless binding and a new one: one owner25
A20Channel turns and typed App turns overlapchannels/inbound/_conversation.py goal/chat.py foreground.py session_lifecycle.py run_control/turns.pyReserve inside the session lock, wait a bounded time, then a visible busy reply; ambient events do not waitInbound during an App turn waits then says busy; a typed message during a channel turn is refused26
A21An attachment message is overtaken by later textchannels/base.py channels/inbound/_conversation.pyFirst-in-first-out only for download and dispatch; every room command bypasses it; a new-session command gets a bounded wait and the busy replySlow download then text: order kept. New-session command answers busy within the bound27
A22A paused handoff turn sends an empty reply and the real answer never returnsturn_runtime/loop_runner.py turn_runtime/__init__.py always_on/handoff_migration.pyReturn early on the safe-point marker; a message is a Job whose notice carries the final reply; a stored paused turn becomes a watch (notices.watch)Answer after approval: the real text returns once21

Medium

IDBugWhereFixTestBatch
A23A failed or cut-off check-in counts as a look and nobody hearsalways_on/runtime.py turn_runtime/__init__.pySave the previous stamp and step, restore on error; notice on the third failure or at once for auth; restart cuts are not countedA failed check-in does not count; three failures, one message; backoff resumes after the notice13
A24A handoff waiting on a busy target or sender is lost at restartalways_on/handoff_migration.py send_message/delivery.pyA busy target's message waits in its inbox and on its Job; a stored waiting entry is delivered from the Worker's ticker start under a Job id fixed by the entryRestart while waiting: one delivery22
A25A cut-off handoff never resumed loses its reply and corrupts another chainconversation/turn_admission/restart_turn.py turn_runtime/__init__.py always_on/handoff_migration.pyEach delivery is its own Job, settled from its own outcome; a stored running entry becomes a watch on its own conversationSecond restart, unrelated resume: no owed reply is sent22
A26No wall-clock limit on a scheduled run or check-incron/worker.py always_on/runtime.pyCheck-in 15 minutes; scheduled and command runs 2 hours; resumed runs includedFake clock: stopped and the last wake says why; a resumed run also stops41
A27Recurring tasks lose a firing at restart and at spring-forwardcron/worker.pyCatch-upListed under the batch42
A28A failure before the turn starts is never countedcron/worker.py production_driver/shared.pyWrap activation; report failed only with no admission or a terminal execution; record through the run endingLease raises: one failed row, count up by one. Pause wins before activation: no type error16
A29Watch and webhook events are consumed then droppedcron/worker.py scheduler/hooks.pyA distinct skipped result answers 409 and keeps the claim; the watch hash is written after spawnSecond event during a run: 409, hash unchanged16
A30The overlap guard is lost at restartcron/worker.py scheduler/run_finish.pyRead the execution storeWorker reload with a live child: skipped17
A31A scheduled result is recorded but never toldscheduler/run_finish.py cron/worker.pyReport first; cap retries at five; check and add the row under the store lockReport raises: retried, stops at five. Race: one row18
A33A budget is exceeded by any amount and never trips on unpriced modelsalways_on/runtime.py always_on/ticker.pyWith a budget set, start nothing while another check-in of that Agent is unsettled; retry in five minutes; add an unknown-cost noteThree due with a budget: one start. Without: three50
A34A reply is lost to A because A to B to C stops at Balways_on/handoff_migration.py jobs/notices.pyEach answer returns to its own sender as a notice; a stored owed reply becomes a relay (notices.hold_reply)C's answer reaches A through B23
A35A failed target turn is reported as no answer texterror_path.py runner/progress.pyThe notice reports the failure with its reasonA failed target: the sender sees why21
A36The hop limit escapes through a Goal; fan-out is unlimitedgoal/chat.py send_message/depth.pyA hop count, a rolling send cap and refusal of a conversation waiting up the chainGoal hop refused above the cap23
A37A reply on a chat app to a report has no context there, and the approval stays waitingalways_on/delivery.py always_on/pending.pyCopy the report into the channel's conversation when one exists; a reply there answers itThe channel's conversation shows the copy once40
A38One long report erases earlier reports from the prompt, and they are unfencedalways_on/runtime.pyCap each line at 100 characters and fence them as dataAll 20 titles fit and stay within the budget4
A39A background write discards a paid compactioncompaction/view.py context/engine.pyRecompute the context and require the same ids, equal nodes and headSide branch installs; covered-node change and concurrent summary refuse9
A40The snip fallback does nothing and reports successturn_runtime/loop_runner.pyRemove the new-turn snipNo snip event on that path9
A78Overflow recovery snips, is ignored and retries at the same size, skipping real compaction for normal Agentscompaction/reactive.py context/engine.py turn_runtime/__init__.pyRemove the first reactive step and go straight to compactionOverflow with several turns installs a summary and the retry is smaller9
A41The idle memory pass feeds scheduled branches to the writersession_watcher.py memory/writing.pySkip a head whose last user row came from the schedulerOver threshold, complete and cut-off: both skip8
A42Report runs between two user messages cannot be compactedcompaction/summarize.pyReports are compaction boundaries, keeping the first boundary whose tail fitsAs audited, plus the next-turn case9
A43Delivery shows sending forever; failures are never retried; a waiting report is lost at restartalways_on/delivery.py always-on-labels.ts channels/delivery/_transport.pyBoot sweep under the one-hour rule; retry connect failures at 1 and 10 minutes; post when freeThe sweep is idempotent; an older row fails; a non-connect error is not retried39
A44A background window swallows the dot and clears newssession/lifecycle.py runtime/interface_link.py always_on/runtime.py app-shell.tsxA separate per-socket hidden flag read only by the on-screen check; reconnect resends itHidden: not on screen; disconnect signal unchanged48
A45No desktop notification with no App connectedalways_on/runtime.py use-ws.ts scheduler/reminders.pyA fallback using the attention result; skip when on screenNo answer: once. Answer or desktop notice off: none49
A46A Try draft becomes a real always-on conversationalways_on/runtime.py always_on/ticker.py session_store/service.pyIndex the field, reject in the owner lookup, re-check before dueA trial is neither joined nor woken, including a stale index row12
A47Wake now erases a self-set wake; the self-wake marker is clearedalways_on/runtime.pyGuard the record and keep the reason on those pathsA self-set future wake is unchanged after a manual wake12
A48The refusal for held or rule-gated calls gives impossible advicepermissions/refusal.py permissions/policy.pyHeld: put the full draft in the final message. Rule: name the ruleNeither text suggests an unrestricted mode20
A49Splitting cuts inside code blockschannels/delivery/_transport.py channels/delivery/_format.pyFence-safe chunks, sized below the limitAn over-limit code block reopens its fence28
A50WeChat spins on non-2xximplementations/wechat.pySleep and back off for non-2xx onlyNon-2xx: backoff applied29
A51Telegram voice, audio, video and animation are droppedimplementations/telegram.pyAccept them; voice goes through the speech linkVoice with a caption keeps both30
A52A failed attachment vanishes when the message has textchannels/base.py channels/inbound/_attachments.pyAdd a failure noteText plus failed download: note in the turn30
A53A revoked Telegram token loops foreverimplementations/telegram.py channels/base.pyReturn on 401 and 404; 409 keeps retrying401: the adapter stops29
A54Discord replies can ping everyonechannels/delivery/_transport.pyEmpty allowed mentions on all three payloadsPayload asserts28
A55Unprocessable Telegram images failchannels/delivery/_transport.pyRetry as a document only on a format or unknown errorTimeout: no duplicate28
A56Listing Agents is refused in Ask, Accept-edits and Plan check-insalways_on/runtime.py permissions/auto_mode/classifier.pyAdd it to the safe listAllowed in ask; contract that every check-in tool allows4
A79Read in the code, not run: with durable intents, a later check-in or scheduled run can mark a user's paused chat as supersededexecution/recovery/restart.py run_control/turns.pyExclude executions whose request speaker is the always-on or scheduler runtimePaused chat, then a check-in and a scheduled run: continues. A later user turn: superseded1

Low

IDBugWhereFixBatch
A57One exception in the due scan ends the tickalways_on/ticker.pyA guard per session19
A58Budget midnight overwritealways_on/runtime.py always_on/store.pyKeep the newer day19
A59Stale docstrings still say a dayalways_on/ticker.py always_on/runtime.pyCorrect them19
A60Command exit and watch failures are invisiblecron/worker.pyRecord through the run ending16
A61A fired one-shot never refires after an edit; a crash before spawn loses itcron/worker.py cron/cron.pyClear state on edit; honour the starting state17
A62An archived conversation can be woken by a handoffsend_message/addressing.pyAn archived conversation is refused when addressed23
A63A half-installed built-in stays blankagent_registry/builtin_agents.pyDelete on exception24
A64Built-in text contradicts behaviouragent_registry/builtin_agents.pyRewrite24
A65Check-ins ignore the web choicealways_on/runtime.py model_tools.pyRespect it and update the design row24
A66History search returns oldest hits and hidden promptsstore/session/reading/search.pyMatch content, exclude merged and task branches, sort across sessions, then limit44
A67Check-in recall searches its own boilerplateturn_runtime/prep.pyIts own recall query44
A68The report document is rewritten whole into the logalways_on/store.pyOne document per reportWatch list
A69Report append races on headalways_on/runtime.py session_store/messages.pyAn atomic head-and-append store method39
A70Daily labels; runs-at-once is untrue; Discard keeps budget textalways-on-panel.tsx always-on-row.tsx lib/agents/always-on.ts agents-page.tsxCorrect them51
A71Thread is ignored by sends and typingchannels/inbound/_active_turns.py interaction/chat_send.py channels/base.py channels/inbound/_conversation.py runtime/channel_link.pyPass the thread id31
A72An empty mention starts a turnchannels/base.pyCheck after quoted text and pending history30
A73An edit after restart starts a new turnimplementations/telegram.pyIgnore edits older than start29
A74Slack thread broadcast is ignoredimplementations/slack.pyHandle it29
A75Telegram errors lose their reasonchannels/delivery/_transport.pyKeep it28
A76The WeChat cursor is not atomicimplementations/wechat.pyPrivate atomic write29

Refuted, not to be rebuilt: background sub-agents outliving their parents is by design; state documents are log appends, so a whole-file JSON write would break them; a bound channel hears every turn. A32 merged into A08.

Wave 1: restart, security, context

#ResultVerifyOrderStatus
1Durable restart intents; a check-in is never resumed; a later check-in cannot supersede a user's paused chatRehearsal; kill and resume on devQueue; before 2Built; rehearsal pending
2Restart gate ignores the run's own ancestors and ownerless pausing rowsRehearsalAfter 1Not started
3Channels upload only files recorded by a tool callUnit testsWith 26, 37Built
4Check-in tools are safe: no Agent-wide rule from a page, no private addresses or dangerous paths, earlier reports fenced and capped per lineUnit tests; one real check-inQueue; before 33Built; real check-in pending
5Check-ins can hand off and start Goals that really run, with origins, a text gate and the daily budgetReal check-in in act mode; CompareQueue; before 11Not started
6Background turns never compact, on the normal or the overflow path, and read about 16k tokens of tailA long real conversationQueue; before 7, 9, 33Built; long-conversation check pending
7Clean runs get a clean history; scheduled runs have no report toolOne scheduled runAfter 6Not started
8Memory writing stays on after a report; scheduler branches are excludedAn owner turn after a report writes memoryNoneBuilt; real owner turn pending. Conversations already stamped stay ineligible
9Compaction correctness: side-branch summaries install, reports are boundaries, overflow does real compactionUnit testsAfter 7Built

Wave 2: stops and promises

#ResultVerifyOrderStatus
10Archive and off really stop automatic Goals; undo restores themArchive and off with a test Goal; CompareQueue; after 5Built
11A failed, stalled or budget-stopped Goal no longer blocks wakes silentlyForced failure on dev; CompareQueue; after 5, 10Built
12Self-scheduled looks refuse when check-ins are off; Try drafts never wake; Wake now keeps a self-set wakeUnit testsQueueBuilt
13A failed check-in does not count as a look; a notice on the third failureExpired key on dev; CompareQueue; before 41Built
14Reports reach the bound chat; notification settings are honouredOne real Telegram reportQueueBuilt
15Pending stays true: automatic turns do not clear a decision, turning off does not empty itUnit tests; CompareBefore 21, 22Built

Wave 3: scheduler honesty

#ResultVerifyOrderStatus
16Skips and failures before the turn are recorded; webhooks answer 409 during a runWebhook during a run; CompareBefore 17, 42Built; webhook check pending
17Overlap guard survives restart; archived tasks skip; edited one-shot tasks can fireRehearsal; CompareAfter 16Done; rehearsal pending
18A scheduled result is told first, with bounded retriesUnit testsNoneBuilt
19One bad session cannot end the tick; budget keeps the newer dayUnit testsQueueDone
20Refusals for held or rule-gated calls give advice that can be followedUnit testsBefore 54Done
55A bounded wake log records one outcome per firingUnit testsQueueDone

Wave 4: handoffs and built-ins

#ResultVerifyOrderStatus
52Pristine built-ins update; edited ones stayRehearsal; CompareBefore 24, 33Built; rehearsal pending
21A paused handoff returns its real answer once; a failed target says whyHandoff needing an approval on devAfter 15Built; live check pending
22Waiting handoffs survive restart; cut-off handoffs settle only their own chainRehearsalAfter 1, 21Built; rehearsal pending
23Replies carry through long chains; hop limit holds through Goals; archived conversations are not wokenA to B to C on devAfter 22Built; live check pending
24Built-in installs are atomic, their text matches behaviour, check-ins respect the web choiceUnit testsQueue; after 52Built

Wave 5: channel fixes

#ResultVerifyOrderStatus
25Picking a channel evicts only the same peerUnit tests; CompareNoneBuilt
26Channel and typed App turns no longer overlap; a busy reply is visibleReal Telegram message during an App turn; CompareWith 3, 27, 37Built; live check pending
27Attachment messages keep their order; commands do not queue behind themUnit testsAfter 26Built
28Transport: fence-safe split, no accidental mentions, image fallback, kept error reasonsUnit testsBefore 39Built
29Adapters: WeChat backoff and atomic cursor, Telegram stops on a revoked token and old edits, Slack thread broadcastUnit testsBefore 30Built
30Telegram voice, audio and video accepted; failed attachments noted; empty mentions ignoredReal voice noteAfter 27, 29Built; live check pending
31Thread id reaches sends and typingUnit testsAfter 26, 27, 28Built; live check pending

Wave 6: chat form

#ResultVerifyOrderStatus
32Spacing and the view-switch transitionMeasured in several themes; CompareNoneBuilt; live check pending
33Prompts, messaging guide, built-in wording, file cards, scheduled quiet judgementA pristine built-in picks up the prompt; CompareQueue; after 4, 6, 7, 24, 52Done; pristine built-ins follow with 52
34Stable bubbles while streamingEvery streamed prefix keeps the count; CompareBefore 35Done
35Live state: working dots, restart join, failure lines, citations, imagesKill and resume on dev; CompareAfter 34Built; kill and resume pending
36Report captions, source and titleHistory reload, recycled rows, view switch; CompareQueue; before 39, 40Built; live check pending
37Channel form: flattened tables, table hold while streamingOne real delivery; CompareAfter 26, 31Built; live check pending
38Theme token for the bubble. The speaker gap stays: 6 px inside a reply against 17 and 29 px at a speaker changeSeveral themes; blue and white unchanged; CompareNoneBuilt; live check pending

Wave 7: durable delivery and limits

#ResultVerifyOrderStatus
39Report recovery: stuck rows resolve, connect failures retry, waiting reports survive restartRehearsal; CompareQueue; after 28, 36Built; rehearsal pending
40Reports are copied into the channel's own conversation; 📨 turns stay quiet in bound chatsUnit tests; CompareQueue; after 15, 36Built; real chat app check pending
41Wall-clock limits: check-in 15 minutes, scheduled and command runs 2 hoursRead the longest kept runs first; CompareQueue; after 13, 17Built; live check of a real overrun pending
42Cron catch-up within 12 hours, otherwise a missed rowRehearsal counting what would fire; CompareAfter 16, 17Built; rehearsal pending
43/stop and /help act at once in chat appsReal Telegram; CompareAfter 27Built; real Telegram check pending
44History search returns the right hits; check-in recall has its own queryUnit tests; CompareQueueBuilt
45Preferences reach scheduled runs; two summary rulesUnit testsWith 42Built
47Turns with no window open their own browser tabUnit tests; CompareNoneBuilt

Wave 8: visible product

#ResultVerifyOrderStatus
48A background window no longer swallows the unread dotUnit tests; CompareBefore 49Built
49Desktop notification with no App connectedUnit tests; CompareQueue; after 48Built
50Budget: one check-in at a time when a budget is set; unknown-cost noteUnit tests; CompareQueue; after 19Built
51Correct wording, plus what stopping keeps and where it runsCompareAfter 10Built
53A handoff can address an Agent by name, id or conversationUnit tests; CompareAfter 23Built
54A checkbox for holding outbound calls, default offCompareAfter 20, 51Built
63An alive line in ActivityMockup and compareAfter 55Built
56Crash matrix at claim, intent, report row and deliveryThe matrix itselfAfter 2Built
57The weekly routine: read-only report, checks, peer baseline, live smoke testFirst Monday reportNoneBuilt; the Monday task is created on the stable instance
60Empty chat intro: ALWAYS-ON spelled once in glyphs, no text to clickMockup and compareNoneBuilt
61Connection status in plain wordsMockup and compareNoneBuilt; awaits a look at the channels settings page

Queue means the batch waits its turn on openprogram/runtime/conversation/always_on/runtime.py.

Open questions

QuestionSettled byBatch
Does a resumed parent wait on a paused blocking child?Settled: no. The agent call it was in comes back as interrupted instead of waiting again. A caller still waiting hears as soon as the child is paused, and the tool reports that the agent stopped2
Should a blocking child of a dead parent end?Settled: yes, when no run above it is left and its caller was waiting on it. A background Job goes on2
Can a check-in mark a user's paused chat as superseded?Read from the code, not reproduced; its test decides1
Are scheduled runs offered handoff?Assert the refusal path5
Does a scheduled child call the report tool across processes?Closed by removing the tool7
Is post-approval text forwarded for a paused reminder wake?Test21
Do remote images load in report bodies, and does Telegram preview links?Checked during the batch36
Is a stopped-empty placeholder head reachable?Settled: yes, when the owner stops a killed turn. It stays in the chain and no longer reaches the model as an empty reply56
Did the sub-agent finish fix remove the cause of the stuck scheduled run?Settled: yes. The crash matrix replays a scheduled turn starting a sub-agent and a turn written over after it ended56
Do handoff turns reset the ladder?Covered directly by the automation skip15
Last updated · 2026-11-25