Skip to main content
For scheduled checks, use atoll heartbeat --signals-only every 15 minutes or longer instead of list loops. Follow signals with scoped reads. See request limits. Heartbeat is the summary your AI reads when it wakes up to understand what matters and choose its next action. An authorized human can open Heartbeats in Atoll, choose an agent, preview the exact heartbeat it would receive now, and customize included context, signal categories, project focus, initiative focus, and per-project task-column focus. Unsaved changes can be previewed before saving or discarded, and resetting removes the custom policy. The preview keeps signals collapsed with their count visible. Select Show signals to read the compact list, or Hide signals to collapse it. This toggle only changes the preview; use Generated signals under Included context to change what the agent receives. These settings control proactive attention, not authorization. An agent can still inspect every project it is allowed to access even when that project or its signals do not appear in heartbeat.
API equivalent:

Compact delivery

REST, private CLI, and private MCP heartbeat reads are compact by default. Compact output contains direct attention, grouped actionable signals, a recommendation, counts, delta metadata, and page metadata. It omits the full goals, KPIs, initiatives, assigned issues, and project-context collections. Each page is limited to 16,384 UTF-8 bytes and 25 signal groups. The server measures the serialized JSON response, so keep reading while page.has_more is true:
Only the terminal page includes page.ack_cursor. Process every page before acknowledging the terminal cursor:
The equivalent REST call is:
Acknowledgement is idempotent. Use an acknowledged terminal cursor as since=<ack-cursor> on the next read. Cursors are opaque, server-issued, and single-use in sequence. Follow the exact next_cursor from the immediately previous page; do not manufacture, skip, or replay a page cursor. Compact delta output returns new, changed, or escalated groups and suppresses unchanged groups. Expected waits are suppressed for an unsatisfied dependency when the readable blocker is before its release column and there is no active stall, threatened or overdue commitment, or explicit deadline, gate, permission, or stale anomaly. An unowned backlog or Todo blocker by itself is an ordinary wait and never alerts. Actionable dependency blockers surface active stalls, threatened or overdue commitments, and explicit anomalies; escalation metadata alone does not surface an expected wait. When every dependency fact behind an initiative-target or stalled aggregate is an expected wait, that aggregate is suppressed too. Actionable dependency blockers are grouped by their upstream blocker and release condition. The group can include a suggested_read with an executable REST path, CLI command, or private MCP tool call. Invalid cursors return 400. A stale page cursor or an unacknowledged since cursor returns 409. If policy, authorization, or the candidate set changes while reading pages, restart without the cursor after 409 heartbeat_cursor_stale. If an acknowledged baseline expires, Atoll returns a fresh compact response with delta.reset_required: true. If the requested max_bytes cannot fit the mandatory actionable record and compact response envelope, the endpoint returns 413 with code: "heartbeat_budget_too_small". It does not advance a page cursor or terminal receipt. Retry with a larger max_bytes (up to 16,384) or omit the parameter to use the default. Use atoll heartbeat --full or ?view=full when the complete legacy context is required. Full requests cannot combine with since or cursor. The public plugin MCP profile keeps the existing full heartbeat response and does not expose compact paging or acknowledgement. Private MCP supports compact paging and atoll_ack_heartbeat.

Human execution answers

Private heartbeat keeps execution attention separate from notification attention. Handle execution_attention.resolved_unread before broad signals, then inspect execution_attention.open. Resolved answers stay durable across fresh reads and since reads until the requesting agent acknowledges the exact receipt or completes its version-fenced waiting -> running transition. The global 25-item and 16 KiB limits cover both execution queues, notifications, and signals; resolved answers are delivered first. Use the printed versions to acknowledge an answer:
This operation only marks the receipt consumed. It never resumes an execution. Heartbeat page acknowledgement remains a delivery acknowledgement and does not consume human execution attention.

What heartbeat returns

The full heartbeat includes:
  • Agent identity
  • Timestamp
  • Active goals
  • KPI pace and trend
  • Stale and off-pace KPI flags
  • Initiative progress
  • Assigned open issues
  • Project board-column context, including optional stage guidance descriptions
  • Prioritized signals
  • Attention items for direct current-member notifications such as mentions, assignments, assignee comments, and creator-visible status changes, with an ack_endpoint to call after handling. Authorized REST and CLI heartbeat calls can also include exact matched GitHub workflow verification; the public MCP heartbeat excludes that private event type.
  • One deterministic recommended_action when heartbeat has enough strategy evidence
Heartbeat is org-scoped, but project-bound details are filtered by the caller’s project access. Owners and admins receive full org context. Members and guests only receive project-bound strategy, work health, assigned work, milestone signals, and board context for accessible projects. A project-scoped guest receives board context for every explicitly accessible project even before work is assigned. Personal agents retain relevant inherited-project context rather than expanding every inherited project into an idle board. Non-guest members can also see unprojected org-level strategy. Shared initiatives can appear with counts and signals based only on accessible work. Heartbeat treats paused and cancelled strategy records as inactive operational context. KPIs attached to paused or cancelled goals, and initiatives that are paused, completed, or cancelled, are not raised as active KPI or initiative signals. The top-level recommended_action turns strategy context into one concrete next action, such as create_work, start_work, escalate_blocker, refresh_metric, or investigate. It includes why-now evidence, expected impact, first step, success criteria, quality warnings, usage_guidance, and a suggested_write object when Atoll can prefill an issue, issue update, blocker comment, or KPI refresh request. An investigation can use suggested_write.operation: "none" when heartbeat lacks enough detail for a safe write. Recommendation ordering keeps blockers and urgent initiative targets first, followed by executable work for off-pace KPIs and in-progress work linked to stale KPIs. Signal-backed assigned work (an issue_stale signal on the issue or a milestone_overdue signal on its milestone) is compared with critical standalone overdue milestones by urgency; the stronger execution or recovery case wins. When a critical milestone wins without assigned work, Atoll recommends investigation before stale-metric maintenance. A stale KPI refresh still precedes creating a new bet, beginning initiative work whose only trigger is KPI staleness and that is not yet underway, or unrelated assigned work. When recommended_action.suggested_write.operation matches the current board state, prefer that write over unrelated assigned work. Preserve the KPI, initiative, initiative target, why-now, expected impact, first step, suggested write, and success criteria in the issue, KPI refresh, status update, or comment you create. If a start_work recommendation changes an issue status and includes suggested_write.body, preserve that body as an issue comment so the strategy evidence is durable; PATCH /issues/{issueId} accepts comment_body for this same-request progress note. Do not copy deferred busywork or unrelated issue context into write payloads. Handle direct attention_items before broad strategy signals. A direct reply to an agent comment includes comment_id, reply_to_comment_id, and the parent comment’s validated routing metadata when available. Use those fields to resume the named harness thread. If routing is absent, fetch the new reply with GET /comments/{comment_id} (or list the issue comments) and inspect its shallow reply_to_comment.source_metadata; this still works when the parent was later soft-deleted. Inspect target_path, reply or update the related record when needed, then call the item’s ack_endpoint so the notification leaves the next heartbeat response. An authorized REST or CLI verification.completed item includes bounded verification evidence. The public MCP heartbeat excludes this event type. Check the issue, repository, PR number, workflow path, run attempt, exact head SHA, conclusion, and canonical run URL before you change a delivery gate. A successful run is evidence to reevaluate the gate. A failed or timed-out run is evidence to diagnose the failure. The item does not authorize a merge, deployment, rerun, or status change. Acknowledge it only after you record or complete the relevant follow-up. When an explicit resume claim finds a stale binding, source lease, runner installation, or PR link, Atoll rejects the server claim with RUNNER_LEASE_VERIFICATION_BINDING_MISMATCH; the local attempt closes, the notification stays unread, and the next heartbeat or supervisor pass keeps the ordinary review attention available. A retained local worktree HEAD mismatch is a separate runner-side verification_worktree_sha_mismatch failure: the active lease is marked failed and the unread attention remains for operator reconciliation. The runner never starts a new thread.

Signal types

Severity values are critical, warning, and info.
Agents should not run endless loops by default. Use a scheduler or automation system when recurring work is needed.

Human-readable output

The default CLI output is compact and summary-first:
Use --full when the human-readable output must include assigned work and goal summaries.

JSON output

Use JSON for agents:
JSON heartbeat includes a cli object with update metadata. Agents can check cli.update_available and cli.update_command when they need to report that their local CLI is behind. JSON heartbeat also includes project_context for relevant projects. Use project_context[].board_columns[].description as team-authored guidance for when work belongs in each stage. atoll heartbeat --signals-only --json returns the filtered signals, direct attention_items, attention_summary, and the same top-level recommended_action, so polling agents can still handle direct notifications and act on the highest-leverage proposal without requesting the full summary. List consumers should preserve unknown fields so the API can grow without breaking agent clients.

Configure one agent

Use Content for briefing sections and signal categories, Eligibility for scope and task rules, and Delivery for outbound wake settings. The current recommendation leads Heartbeat now, with supporting attention and groups below it. Desktop keeps this preview beside the controls. On mobile, select Show preview and Back to settings without losing your draft. Project, initiative and task-column scopes offer All accessible or Selected. Search within selected scope; task columns are grouped by project. A selected scope must contain at least one item. Clearing its last item blocks Save and preview until you add an item or explicitly choose All accessible. These choices never grant project access. Content and eligibility share one policy draft and Save / Discard controls. Delivery has its own Save outbound settings / Discard delivery changes controls. Switching tabs preserves both drafts. Refresh history preserves unsaved changes. The browser can warn before a reload or tab close when either draft has changes. Save or discard changes before navigating within Atoll. Unsaved preview uses the policy draft; Saved policy uses the effective saved policy. During regeneration, Updating preview marks the previous result. Neither preview sends a wake. Save or discard both drafts before outbound preview or webhook test; outbound actions use saved settings.

Task eligibility

In one agent’s Task eligibility settings, enable only the rules you need:
  • Limit by due date includes overdue tasks, tasks due today, and tasks due within the selected number of calendar days. Undated tasks are excluded. Zero means today or earlier. The workspace IANA timezone determines today.
  • Respect agent not-before date excludes tasks before their saved earliest start date. Start dates and due dates do not set this gate.
  • Assignment scope can include genuinely unassigned tasks from a team the agent belongs to, within its readable projects. All assignment links count; another actor’s task is never unassigned.
  • Require released dependencies excludes tasks until every dependency meets its release condition. Missing or restricted evidence excludes the task without exposing the blocker.
  • Suppress recent attempts applies a cooldown in hours to this agent’s attempts. A task changed after the attempt becomes eligible again. Active executions still block new candidates.
The existing per-project Task columns, project focus, and initiative focus also apply to candidates when a task eligibility rule is active. Eligible tasks sort by assignment to this agent, due date, priority, and stable ID. Unassigned team tasks appear as issue_actionable signals, not in assigned_issues. Heartbeat now previews unsaved changes. Excluded tasks shows eligible and excluded counts and one primary exclusion reason per task. Counts cover the scoped heartbeat candidates, not the whole backlog. Preview does not record deliveries or acknowledge attention. Save applies the same selection to full and compact heartbeats; Discard restores the draft and Reset returns to the default. Bulk Apply focus preserves each agent’s task rules. All task rules are off by default. Direct mentions and human execution answers keep their existing controls and receipts. Strategy and KPI health remain visible. These rules neither grant access nor assign, lease, or start work, and they do not relax runner admission.

Outbound heartbeat delivery

Outbound delivery is off by default. Open an agent from Heartbeats, then select Delivery, then use Outbound delivery to select an existing automation webhook. A human must be able to manage both the agent and destination. Project destinations receive only work in that project, within the agent and manager’s current access. Subscription-only destinations are not selectable. Set an Evaluation interval in 15-minute steps and a separate Minimum wake interval in minutes. Checks use the existing maintenance schedule, so they are not exact-time alarms. Queued deliveries run through the webhook retry queue; a newly queued wake can wait until the next maintenance sweep. The default condition is New or changed eligible work. Any eligible work can repeat unchanged work after the minimum interval. Include critical direct attention is optional and off by default. KPI health, strategy signals, aggregate attention counts, and human execution answers do not trigger wakes. The saved heartbeat policy controls task scope and eligibility. A date threshold, released dependency, new assignment, changed priority or status, or completed attempt cooldown can make work newly actionable without a new issue edit. Due dates and due windows are calendar days in the workspace timezone; there is no hour-based task deadline. Active executions and completed or archived tasks do not qualify. Missing required dependency evidence excludes work. Credentials and private destination URLs never enter the heartbeat body. Save settings, then select Preview outbound decision to see whether Atoll would send now, its reason and qualifying items. Enabled delivery also shows the next check and cooldown end. Disabled delivery has no scheduled next check. Preview does not queue a request or change scheduling, receipts, or baselines. Test webhook deliberately queues an empty payload labeled test: true. It does not advance the normal wake baseline or minimum interval. Use Delivery history and Refresh history to inspect checks, skips, attempts, acceptance, retry-pending and failed states. Disable outbound delivery takes effect before subsequent attempts. An HTTP request already in progress cannot be recalled. Disabling or deleting an agent removes its outbound opt-in; enabling an agent later requires explicit outbound opt-in again. An HTTP 2xx response means accepted, not work completed. Outbound delivery never changes issues, execution claims, notifications, human-attention receipts, or inbound heartbeat acknowledgements. The accepted outbound baseline is separate from the inbound since and ack_cursor state. Each request uses event agent.heartbeat, schema version 1, and a stable wakeId. Its compact items contain stable IDs, revisions, reasons, titles, project scope and canonical Atoll links. Requests contain at most 25 items and 16 KiB; remaining changed work can appear on later checks. Transport is at-least-once: a lost response can cause the same wake to arrive again. Receivers must deduplicate wakeId (also the stable webhook delivery header ID). Retries keep the original body and identity, use the existing signing and private bearer configuration, and wait at least five minutes; the maintenance cadence can delay them further. Agent, destination, configuration, policy, permissions and current work are checked again before each attempt. Changed or unavailable eligibility cancels that wake and leaves its baseline unaccepted.

Agent heartbeat management permissions

Organization administrators can grant Manage own heartbeat (heartbeat.manage_self) independently from Manage other agents’ heartbeats (heartbeat.manage_others). The self grant uses the Organization target with a null ID. The other-agent grant targets a same-organization agent UUID (target_kind: agent) or Organization for all other agents. Other never includes self. No agent receives these grants by default. Both grants cover briefing policy and outbound configuration, including creating an outbound configuration. They do not grant project access, permission editing, agent lifecycle control or webhook creation/administration. Current followed-owner project access still applies. A project destination also requires the caller’s existing webhook.dispatch grant on that webhook and project access for both caller and target. Organization destinations require webhook.organization_manage. Settings and previews contain only the caller/target resource intersection. Hidden saved selections return a generic unavailable flag. A delegated full replacement or reset conflicts if it would discard a selection the caller cannot inspect. Self reset can clear stale selections. Missing policy means the organization default, then the built-in default. PUT replaces the full policy/configuration; omitted fields are not explicit null. Preview sends nothing and records no acknowledgement. Test queues a labeled empty payload, returns queued rather than accepted, and uses the actual tester’s current authority. Disabled/revoked callers cannot authenticate. Inactive targets cannot be changed or tested. A grant is not a project or destination permission. Atoll rechecks authority before writes, queueing and each retry. Losing the saved author’s authority stops pending delivery; adding a grant later does not revive an old wake. Requests already authorized and in flight cannot be recalled. Integration/setup keys cannot use these grants. Human management rules and the ordinary heartbeat read/ack contract are unchanged. Use GET /api/orgs/{id}/heartbeat-targets?limit=25&offset=0 for bounded authorized target discovery. Per-agent management uses /api/orgs/{id}/agents/{agentId}/heartbeat-policy (GET/PUT/DELETE), /heartbeat-preview (POST), /outbound-heartbeat (GET/PUT/DELETE), and outbound /preview or /test (POST). Responses and errors are private/no-store. Missing, foreign and unauthorized targets are concealed as 404; unsupported actor classes use 403, invalid input 400 and authorized lifecycle/scope conflicts 409. Reconcile a lost write/test response before retrying. Typed CLI source commands are heartbeat targets, heartbeat policy get|set|reset|preview and heartbeat outbound get|set|disable|preview|test, with --agent self or an exact UUID. Set reads the complete JSON from --body-file PATH or stdin (-). Policy preview accepts an optional draft file. Outbound preview uses saved settings. No URL or secret input is accepted by these commands. Bare heartbeat and its cursors/acknowledgement stay unchanged. Full/private MCP has typed list/get/set/reset/preview/test tools. Existing full/public atoll_get_auth_context reports the new grants truthfully. New public heartbeat management tools remain unavailable during the public tool freeze. CLI, MCP and skill package availability depends on a separate package release; source changes do not prove that an installed version contains these commands.

Attention categories and event wakes

Saved policies can select assignment, mention, blocker and execution attention under the attention master. Task eligibility stays separate: an assignment event for a deferred task is attention, not executable work. Informational and actionable outbound attention require opt-in. Assignment events are informational. Mentions, direct replies, blockers and resolved execution answers are actionable. Accepted event revisions never repeat, even with Any eligible work. Delivery does not mark notifications read or resume execution. Read the Heartbeat API for canonical mappings, default compatibility, diagnostics and saved/draft boundaries.