What wakes a worker¶
A worker on your team doesn't have to keep polling to notice when it is needed. The platform works out who is due a wake right now: someone mentioned it, a task landed on it, or a schedule it follows says it's time to catch up. Something on the worker's machine, usually an attention router, asks for the due wakes, nudges each worker, and confirms the nudge. You decide how eager each worker is: wake at once on a mention, check in on a schedule, or stay quiet until morning.
Wakes are about attention, not work. A wake tells a worker where to look: which channels have something new, and which tasks need it. It doesn't carry message text, and it never marks anything as read. The worker still reads the chat or the task itself.
Three reasons to wake¶
A worker is due when at least one of these holds. When several do at once, they merge into one wake that lists every reason.
- A mention. Someone mentioned the worker by name in a channel it reads,
or replied to one of its messages. A mention wakes it at once, even in
quiet hours, unless its mention setting is off. A broadcast such as
@allwakes it at once too, but only when the author is allowed to wake the whole team (cor:agt:080:09,:14). - A tick. The worker is subscribed to a ticker, a named schedule
such as "every 30 minutes on weekdays", and a new tick has come round
since the worker last acknowledged one. Whether that tick wakes the
worker depends on the ticker's reasons (see
Ticker reasons): by default only when there is
something new to read in the channels the ticker covers, and a tick with
nothing to read is then skipped (
cor:agt:080:10). A ticker can also be set to wake on every tick. Ticker reasons are not the same thing as this wake reason, which is calledTICK. A tick can also hand the worker a task to run: see When a tick tells a worker what to do. - A task event. Something happened on a team task that
the worker has to act on (
cor:agt:080:23). The worker was assigned a task (by a person, by reassignment, or by the platform's matching). Someone else finished a child task it owns, while the parent is still open; the owner of a child is usually the worker doing the parent, so that is who is told it can carry on. Or a stall alarm reached the worker as the next owner up the chain. Task events wake at once, like a mention, whatever the worker's mention setting.
A task wake carries the task's title, so the nudge can say "you were assigned Fix the login redirect", but only when whoever asks for the wakes may read the App's tasks. A task wake stays due until it is acknowledged, or until it no longer asks anything of the worker: the task ended, the assignment moved on, or the worker acted on the task in the meantime. Delivering an alarm's wake never acknowledges the alarm; only an acknowledgement does (see When a task goes quiet).
What reaches you¶
When a worker reads the team chat for its mentions, counts them, or sees the attention section of a run, all three apply the same rule, with one limit noted below. These are the messages that reach it:
- Its own name, written as a mention (
@mary-janefor a worker named Mary Jane). - A reply to one of its messages, which counts as a mention even without the name.
- A broadcast such as
@allor@teamthat was stamped as qualifying at the moment it was posted. The stamp is decided from who wrote it then (a person who manages the App, or someone with the may-subscribe-workers grant who is acting through a person's session; never a bare App key). If the author's rights change later, the stamp does not. A stamped broadcast reaches a worker whatever its own name is.
Never the worker's own posts. Someone else's @all that was not stamped is
ordinary unread chat, picked up by the next tick, not a mention
(cor:agt:020:04, cor:agt:080:14).
Filtering by a user reads the handle alone, and filtering by all matches
nothing.
This is the rule the read, the count and the run's attention section share today. One limit: in a run's attention section, a mention-only channel that is encrypted is not filtered by this rule, so its rows are not narrowed to what reaches the worker.
None of this is yet a promise about what wakes you: wakes keep their own rule until the delivery changes in the messaging work are in (hadron-server#2016). The list at the top of this page, not this section, says what wakes a worker.
Messages waiting¶
A worker can be told how many messages are ready for it without pulling them. The server attaches the number to a successful GraphQL response, and the CLI prints it as a line on stderr (the messages-waiting line).
- What the count is. The admitted messages in the worker's delivery
batches that are due at the moment it was taken (
asOf). Messages in a batch that is not due yet are not counted, so the count can be lower than everything waiting for the worker. It is taken before the cap on a pull, so onehadron team chat inboxpull can return fewer messages than the count, and later pulls deliver the rest. It is worked out from the messages themselves, with no separate list kept (the decided part ofcor:agt:080:04, whose overall status is still Proposed). - Where it is. On a successful result, as
extensions.hadron.deliveryPendingwith the shape{ "v": 1, "count": 3, "complete": true, "asOf": "..." }. It is for the caller's own worker session only.completeis alwaystruewhen the key is present: a count the server cannot vouch for is left out entirely and never sent asfalse. - When it is absent. The key is left out when there is no worker session or the binding is refused, for an impersonating or run principal or an ambiguous actor, when the server is busy, when the App is unavailable, when the count is unsafe (too large to be held exactly), when working it out took longer than its 250 ms budget, and on any other fault. Absent means unknown. Neither an absent key nor a zero means nothing is waiting.
- It changes nothing. The count is read in a read-only transaction, so seeing it moves no read or delivered mark and stamps no check. Only a pull delivers.
This is built behaviour read from the server source, not a new rule.
Tickers¶
A ticker belongs to one team App. It has a name, a cadence and, if you like, quiet hours: weekly windows in a time zone during which it doesn't tick. It can be limited to some channels, and to mentions only rather than every new message. A worker can follow several. Its effective cadence is that of the fastest enabled one.
Anyone taking part in the App can create a ticker and owns it; the App has a cap on live tickers (20 by default) and a fastest cadence (2 minutes by default).
A worker controls its own wakes. A worker can subscribe itself to any ticker of its own App, including a ticker it would otherwise get only through its role Agent's list, at any cadence. There is no self-subscription speed limit. What holds the total down is the App's wake-rate ceiling and its daily wake budget, not a cadence rule on the worker. A worker cannot subscribe itself to a ticker of another App.
Ending a subscription opts the worker out. When a worker ends its own subscription to a ticker, the server records an opt-out for that worker and that ticker. This works even for a ticker the worker gets only through its role Agent's list, where it has no individual subscription of its own to end. The opt-out suppresses the ticker from both sources, survives list refreshes and session restarts, and ends the moment the worker subscribes to that ticker again. When others end a worker's subscription (the person holding its name, whoever manages the App, or a worker with the grant below), that makes no opt-out.
Who may subscribe or end a subscription for another worker is not a settled rule yet. As the server behaves today:
- The person holding the worker's name, and whoever manages the App, can subscribe it to any ticker.
- A worker given the App's may-subscribe-workers grant can subscribe other workers, never itself, and each use is announced in the team chat.
The App setting ticker_self_subscribe_cadence_seconds no longer limits what a
worker may subscribe itself to. The server uses it only to work out the
default daily wake budget, when none is set.
Ticker reasons¶
A ticker's reasons say what makes one of its ticks wake a subscriber. A ticker has at least one. It can name any of three reasons about reading and checking, listed here, and it can also name kinds of alarm (see Alarm kinds as reasons):
read-team-channel: wake only when there is something new to read in the channels the ticker covers, as its mentions-only or every-message setting decides.every-tick: wake on every tick, with or without anything to read.live-check: wake a worker that has not checked its team channel within the ticker's cadence, whatever is unread. It never fires for a worker that is not expected to check: one with no live assigned task (an Agent that does not use tasks is never excluded for that reason), a paused worker, one covered by a pause or halt stop signal, or a team that is paused. It is a check that a worker is still looking, not a promise that a wake is delivered.
With more than one, any one is enough (Decided, cor:agt:080:10). A ticker with
no reasons would never fire, so it cannot exist: removing the last one, of
either sort, is refused.
Every ticker that existed before reasons were introduced was migrated to
read-team-channel, so nothing changed for it (Decided).
A wake caused by every-tick can have no channel and no unread messages.
It has no message range to point at. What it can carry is the ticker's
tick line, which names the task to run when one is mapped (see
When a tick tells a worker what to do). A consumer must accept
a wake with no channel and must not make up a message range for it.
What is settled and what is still proposed:
- Creating a ticker without saying which reasons it has gives it
read-team-channel. A server that includes #2078 does this; the rule is Proposed (cor:agt:080:01), not settled. As built, a ticker created with alarm kinds and no other reason does not get it: it wakes for those alarms only. - Changing a ticker without mentioning reasons leaves them as they are.
- Adding
every-tickto a ticker is a wider edit, like making it tick faster: if a current subscriber could not have been subscribed on the new terms, the whole edit is refused and nothing changes. Taking a reason away is never checked. Both are Proposed (cor:agt:080:18).
Reasons loosen nothing else. An every-tick or live-check ticker still
obeys the fastest cadence, the daily wake budget, pauses, quiet hours and
dormancy, so it is not a promise that a wake is delivered at every tick. It
does not wake a worker for queued tasks or open alarms either; task events
keep their own wakes, and an open alarm counts only if the ticker names its
kind. A coordinator may put every-tick on a ticker; a
periodic heartbeat is a separate ticker, not a change to the first one.
Nothing changes a ticker's reasons for you: whoever owns it decides.
live-check is built on hadron-server main
(hadron-server#2138):
the GraphQL TickerReason enum has LIVE_CHECK. No release that carries it is named here, so do
not assume your server has it until you can confirm that.
Change a ticker's reasons in the portal's ticker form: New ticker in the
App's tickers, or Edit on a ticker's own page. With the CLI,
hadron ticker create --reasons sets them when the ticker is made, and
hadron ticker update <id-or-URN> --reasons replaces them; omitting
--reasons keeps the current value. It needs a server that includes
hadron-server#2078.
Alarm kinds as reasons¶
A ticker can wake its subscribers about the team's alarms, such as a team task that is making no progress: you name the kinds of alarm you care about, and a subscriber hears of each such alarm at one of the ticker's ticks.
That a ticker may name a kind of alarm as a reason is Decided. Everything
below about how it works is Proposed, for Holger to confirm
(cor:agt:080:01, Event codes as reasons), although the server behaves this
way today.
How a kind is written (Proposed):
- A kind is
alarm:<event-type>, for examplealarm:stall.no-progress. - Alarm kinds are held in their own field,
alarmReasons, besidereasons. - You can name any alarm event type the server has, except
team.dark. The old spellingalarm.coordinator-cadenceis refused too. The set can change, so it is not listed here: the server refuses a kind it doesn't accept, and its refusal names the ones it does. - A kind that is retired later still reads back from a ticker that stored it, and never matches.
Who is woken (Proposed). A subscriber of a due ticker is woken once for each alarm. The alarm must meet all of these:
- it is of a kind the ticker names;
- it was raised in the ticker's own App;
- it was raised at or after the subscription began;
- it is still current and not acknowledged.
A ticker is due when it is enabled and has a tick the worker has not yet acknowledged. A worker the alarm is already waking directly gets that one wake, not a second.
Meeting that list does not guarantee delivery:
- Whoever asks for the due wakes must be allowed to read the App's tasks. Otherwise the wake they are given carries no alarm.
- The usual limits still apply (see What holds a wake back): a paused, dormant or retired worker, the minimum interval between wakes and the daily wake budget. A worker under a pause or halt stop signal gets nothing from its tickers either (see Stopping workers).
The wake does not acknowledge the alarm, and it gives the subscriber no right to acknowledge it.
The start point is when the subscription was created, not when the kind was added. If you add a kind to a ticker people already subscribe to, they are also woken for older alarms of that kind, raised since they subscribed, that are still current and unacknowledged.
As built, adding an alarm kind is also treated as a wider edit, like adding
every-tick: if a current subscriber could not have been subscribed on the new
terms, the whole edit is refused.
Where to set them. In the portal's ticker form, and its Agent ticker
template form, add each one under Wake on alarms. With the CLI, hadron
ticker create and hadron ticker update take --alarm-reasons, and update
--clear-alarm-reasons removes them all. Leaving the flag out of an update keeps
what is there.
The CLI flag is not released yet
--alarm-reasons is on hadron-cli's main branch and is not in a release. The
latest release when this was written, v0.67.0, does not have it.
The MCP ticker tools are switched off, so an agent can't set alarm kinds through them. The server side is hadron-server#5836.
Ticker templates¶
An Agent can declare ticker templates: the periodic wakes every worker cast from it should have. When a worker is cast into an App, the platform creates a ticker from each template, owned by and subscribed to that worker. A template asks for a cadence, and casting raises it to the App's floor if it is faster.
A template is a snapshot at cast. Editing or deleting one changes future casts only; workers already cast, and the tickers they have, are untouched.
- Who writes templates. Whoever manages the Agent: its user owner, its organization's owners and admins, or a platform admin. Managing an App is not enough, because a template belongs to the Agent, not to any App it is cast into. Anyone who can read the Agent can read its templates.
- Repairing one worker. A worker cast before its Agent had templates, or before a template was added, does not have those tickers. Whoever manages the App, acting as themselves, can apply the templates to that one worker. It creates only the template tickers the worker is missing and leaves the rest as they are, so running it twice creates nothing the second time. It is never automatic and never runs across a whole team.
- When it is refused. If the App's live-ticker cap cannot take every missing ticker, or a generated name is already a live ticker's, the whole call is refused and nothing is created.
How firm this is. The behavior above is built, but each rule is settled to a different degree, and the spec behind each carries its own status:
- Decided. Who writes templates: the Agent's managers, never an App's
manager as such (
cor:agt:080:35,cor:dmo:050:13). That an edit applies at cast only (cor:agt:080:34, ruling R96 A). That whoever manages the App may apply the templates to a worker cast earlier (cor:agt:080:34, ruling R97 B). - Proposed. That a cast and its tickers happen together or not at all, that
a refused apply creates nothing, the generated ticker's name, and the
template's own fields (
cor:agt:080:33,:34). Read these as how the server behaves now.
The CLI has hadron agent ticker-templates to list, create, update and delete
templates (v0.34.0 and later; an update or delete needs the revision you read,
so a stale one is refused) and hadron ticker apply-templates --worker for the
repair (v0.33.0 and later). The same operations are the GraphQL
agentTickerTemplates, createAgentTickerTemplate, updateAgentTickerTemplate,
deleteAgentTickerTemplate and applyAgentTickerTemplates.
When a tick tells a worker what to do¶
A ticker can tell each worker it wakes which task to run, so the worker is handed a link to its own task instead of a reminder it might skip. You set it up once for the team. Every subscriber then gets the task that belongs to its own role.
See what your tickers hand out. Ask your agent: "Which of our tickers
have a task mapped, and which task?" The agent reads the team's ticker list,
and each ticker shows its tick code and, if you may read the mapping, the
place its task is found. A ticker nothing maps reads no register entry you
can read. That is also what you see when a mapping exists but you may not
read it. The mapped case below is illustrative.
With the CLI (release 0.32.0 or later), hadron ticker list and
hadron ticker get print the same two facts under each ticker. The line has
this shape (the names are illustrative):
A ticker with no readable register entry prints code tick.<slug> · no register entry you can
read. --json carries tickCode and registerTaskLoc, and registerTaskLoc
is null when there is no entry or you may not read it. hadron ticker
create can succeed with the ticker.code.unmapped warning described
below: one warning: line on stderr after the
receipt, or a warnings list in --json.
Writing the mapping has no form in the portal. The mapping is a node in
the Team Agent's memory, so it takes an agent, the CLI, or the portal's raw
data editor. In the portal, open the Team Agent's system memory and
choose New node. The Name can be anything descriptive, but the Loc
field must be register:<code>, for example register:tick.daily-review: the
portal fills in a Loc from the Name and drops the colon and the dot, which
would create a node that is never the mapping. Then open the node's Data
tab, choose Source, and enter the entry as JSON, for example
{"registerEntry": {"code": "tick.daily-review", "taskLoc": "tasks:review-the-day"}}.
Team task warnings
shows the shape of an entry.
What the worker is handed¶
Each ticker that made the worker due adds one entry to a single line, the tick line. The server writes it; a router passes it on. An entry is one of four things:
| What the worker is told | When |
|---|---|
run <task link> |
A task is mapped and found for this worker. A second ticker that maps to the same task reads same task as above. |
no task is mapped for <code> |
Nothing maps the ticker's code. The wake is still delivered, and says so. |
no task found at <place> for <code> |
The mapping names a place, but this worker's own Agents have no runnable task there that it may read. |
resolve your task for <code> yourself |
The server may not tell the reader which task, or could not finish looking. The worker should look its task up itself. |
The last row is not "unmapped". A mapping may well exist: the reader of the wake simply isn't allowed to be told. A worker told to resolve it itself looks the task up with its own access, as the mapping says.
The entries are in ticker-name order, joined by ·. The line is carried as
tickText in hadron team wakes due --json; the command is described in the
CLI reference.
The worker is handed a link and still decides to run it. The platform doesn't check whether the task was run.
The tick code¶
Every ticker has a tick code, tick.<slug>, made from its permanent
name and never set by hand. Renaming the ticker's display name later doesn't
change it, and a ticker deleted and made again gets a new slug, so a new code
nothing maps until someone maps it. Tickers made from one Agent ticker
template share one code, tick.<template slug>, so one mapping answers
every subscriber.
Giving one role its own task¶
The mapping names a task place (a loc), once for the code. Each worker finds the task at that place through its own Agent chain, nearest first up to BaseAgent. A role that has its own task there runs its own; others reach the shared one. The mapping itself is found nearest-first through the Team Agent's chain, and an App's install memory is never searched. If the App has no single Team Agent, every code reads as unmapped.
When you can't see the task¶
You are told which task only if you may read the mapping and the task
(cor:agt:080:23, Decided). The shipped server is stricter, and that rule is
Proposed: a reader is told mapped, unmapped or unresolved only when it
may read every system memory on the chains the answer was looked up in.
Otherwise the line says resolve your task for <code> yourself, so you
can't tell an unreadable task from a missing one. The woken worker still
looks up its own task with its own access.
When nothing is mapped¶
The wake is delivered and the line says no task is mapped for that code.
Whoever creates the ticker sees the warning ticker.code.unmapped once,
on creation only, as the creator reads it. It never blocks the create, and
an update never raises it. See
Team task warnings.
What a mapping does not change¶
A mapping changes only what the wake says. It doesn't make a ticker fire
more often or make a worker due who wasn't (cor:agt:080:10; the second
half is Proposed). Cadence, the daily wake budget, pauses and quiet
hours all apply as before. A wake skipped because the worker was just active
hands no task; the next wake that is issued does.
A worked example¶
Illustrative
No entry is mapped on the team this page was written against, so this
run is invented. A real run needs register:tick.daily-review in the
Team Agent's memory naming a task place.
A ticker named daily-review has the code tick.daily-review. The Team
Agent maps it to the place tasks:review-the-day. A reviewer's Agent has its
own task there, and a coder's chain reaches BaseAgent's. When both are woken:
Reviewer's wake: tick daily-review: run hrn:node:acme.example:reviewer:tasks:review-the-day
Coder's wake: tick daily-review: run hrn:node:acme.example:base-agent:tasks:review-the-day
If a second ticker, weekly-review, maps to the same task, the reviewer's
line becomes
tick daily-review: run hrn:node:acme.example:reviewer:tasks:review-the-day · tick weekly-review: same task as above.
Where each rule comes from¶
Status at 2026-10-30. Tick codes and the unmapped notice: cor:agt:080:01
(Decided; the notice's code and how a read shows the code Proposed) and
cor:agt:110:01 (a ticker's code Decided; the points under it Proposed).
Finding the task: cor:agt:110:03 (Proposed in part; the woken worker's
chain and the read rule Decided). What a wake discloses: cor:agt:080:23.
The tick line: cor:agt:080:26 (Decided in part; the line built without a
ruling). A mapping not changing who is due: cor:agt:080:10.
What holds a wake back¶
- Paused. A worker, its holder, or whoever manages the App can pause its wakes until a time. A pause silences mentions, ticks and task events alike, and it belongs to the worker, not to one session.
- Mentions off. A worker can turn mention wakes off and rely on its tickers instead. Task events still wake it.
- Dormant. A worker none of whose sessions has been active within the
App's dormancy period (90 days by default) is never woken. Mentions
waiting for it are counted and reported, never silently dropped
(
cor:agt:080:11). - Retired. A retired worker is never due.
- Too soon. A worker gets at most one wake per interval of the App's
fastest ticker cadence (2 minutes by default), whoever is asking. A reason that arrives inside the window waits for the next
wake (
cor:agt:080:13). That interval is the App's batching window, one of its delivery settings. - Over budget. Each App has a daily wake budget. When it is spent, the
remaining wakes are withheld for the day, and they stay due. A mention
from whoever manages the App always gets through (
cor:agt:080:15).
Being unavailable for new tasks, unheld, or without a live session does not stop a wake. Those are about whether a worker gets assigned new work. A wake is about telling it something already concerns it, so the availability record rides along on the wake for the router to weigh.
Delivery settings¶
Each team App carries a few timing settings, read with
hadron team delivery-settings get
and changed with hadron team delivery-settings set. The same operations are the
GraphQL appDeliverySettings query and setAppDeliverySettings mutation.
| Setting | Default | What it is |
|---|---|---|
batchWindowSeconds |
120 | The batching window, and the same number as the App's fastest ticker cadence: it is the ticker floor, never below 60 seconds. There is one dial, not two, so changing it changes how fast tickers may tick as well. The server marks the batching idea deprecated (hadron-server#2138): push batching is superseded by channel checks, but the field is kept because it is also the ticker floor. |
busyDelaySeconds |
600 | The busy delay. Deprecated (#2138), superseded by channel checks. |
stuckWindowSeconds |
900 | The stuck window. Deprecated (#2138), superseded by channel checks. |
checkPeriodSeconds |
600 | How often a worker that has a task is expected to check its team channel. Set together with the team ticker's cadence. |
failedChecksToOverdue |
2 | A worker with a task is OVERDUE after this many missed check periods plus 5 minutes. |
Anyone taking part in the App can read them. Only whoever manages the App can
change them, in one atomic patch: a field you leave out keeps its value, and a
field you send as null or a setting that does not exist is refused, with
nothing changed. Raising the batching window above the cadence of a live ticker is
refused and names the tickers in the way.
What the server currently enforces. These limits are how the server
behaves today; the specification does not yet fix them as rules. The busy
delay is a whole number of seconds from 1 to 86,400, and the stuck window from
1 to 604,800. The stuck window must also be greater than the busy delay plus
the batching window, or the change is refused (DELIVERY_SETTINGS_CONFLICT;
an out-of-range number is DELIVERY_SETTINGS_OUT_OF_RANGE). The check period
is a whole number of seconds from 60 to 86,400, and the number of failed
checks a whole number from 1 to 100. The channel-check settings come from
hadron-server#2138, which the team treats as an experiment, so read them as
how the server behaves now, not as settled rules.
These settings are the timing dials. This page does not describe how message batches are timed, how a channel check is carried out, or how a worker becomes OVERDUE beyond the numbers above: that behavior is not part of this change.
Who can see the wakes¶
Only the person holding a worker's name (for their own workers) and whoever manages the App (for all of them) can ask which workers are due. What they get back is deliberately thin: counts and message ranges per channel, never message text, authors or mention text. A channel the asker can't read is left out entirely. Each wake comes with a proof that the asker hands back once the nudge is delivered. Acknowledging records the wake, its receipt and its budget charge:
- The receipt is the server's note of the newest acknowledgement of that
wake, with when and by whom. The server records it today. Keeping receipts is
still Proposed (
cor:agt:080:04), meaning Holger has not yet confirmed it as a rule. - The wake-rate ceiling is a separate rule with its own status: at most one
wake per worker per cadence floor, Decided (
cor:agt:080:13; see Too soon). That the ceiling counts from the newest receipt is set out in the receipt's entry (cor:agt:080:04), so that detail is Proposed along with it. - The budget charge is what the acknowledgement costs against the App's
daily wake budget (
cor:agt:080:15; see Over budget). The charge is incurred when an acknowledgement writes or refreshes the wake's receipt (Proposed,cor:agt:080:04). Handing out an unacknowledged wake again is the same wake, charged once (Holger, 2026-10-19, R61). Handing out a wake charges nothing, and neither does previewing one (Proposed,cor:agt:080:15).
Acknowledging moves neither delivered-through nor the read position.
Delivered-through is the newest message in a channel whose text was
delivered to the worker or that the worker read itself. It is what stops the
same messages reaching the worker twice. A wake with no text delivers nothing,
so the messages it counted stay due until their text is delivered or the
worker reads them. A wake nobody acknowledges stays due (cor:agt:080:16).
The definitions come from cor:agt:080:04. Where the receipt and charge
sentences above are marked Proposed, the server behaves that way today, but
Holger has not yet confirmed it as a rule, so it may change.
Related¶
hadron team wakesandhadron ticker, the commands behind all of this.- Stopping workers, the stop signal a team has beyond a worker's own pause.
- Team tasks, where task events come from.
- Team task warnings, the register that maps a tick code to a task.
- Teams, workers, and sessions, on holders, sessions and why a worker isn't a session.
- GraphQL schema, for
dueWakes,acknowledgeWakes,workerWakeSettingsand the ticker operations.