Crons and scheduled work¶
Two scopes, both systemd timers, both auto-discovered from the shipped unit files: per-user
(agentctl-<job>@<agent>) and host (agentctl-hostcron-<label>). Every verb and flag is in
the CLI reference; the model and the default seed sets are in
Architecture § Crons and scheduled jobs.
Two mechanisms, not one¶
| catalog jobs | descriptor crons | |
|---|---|---|
| declared in | /usr/share/agentctl/cron/units/agentctl-<job>@.{service,timer}, shipped in the deb |
cron.yaml under <repo>/cron/<label>/ (host) or <repo>/cron/users/<agent>/<label>/ (per-agent) |
| enabled by | agents cron add <job> <name>, recording <job> in the agent's shard |
agentctl cron add, writing the descriptor and generating the units |
| schedule | fixed by the template, identical for every agent | schedule:, passed as an argument |
| body | the template's ExecStart |
exactly one of skill:, script: or workspace_script: |
| agent can self-drive | no | yes |
catalog add refuses cron; there is no authoring verb for a catalog job. To change one's
schedule, edit the unit file in the payload or in /opt/agentctl.
agentctl agents cron catalog # the shipped per-user jobs
sudo agentctl agents cron add evening-digest ana # enable one for an agent
sudo agentctl agents trigger ana evening-digest # start the .service now, not awaited
What cron add writes, in order¶
cron add and cron remove are mutating verbs, so a non-root caller reaches root through
agentd's peercred gate. cron list is read-only and runs in the calling process.
agentctl cron add market-open --schedule 'Mon-Fri *-*-* 09:00' --skill market-snapshot
User-cron minimum schedule interval¶
A user-defined cron's nominal calendar schedule must be at least 15 minutes between
occurrences. For example, *-*-* *:00/15:00, hourly and one-off dates are accepted;
*-*-* *:00/5:00 and *-*-* *:*:00/15 are rejected. This policy applies to self and
--agent crons, including --dry-run and --force. It does not apply to --host
crons or shipped per-agent catalog timers.
The check is deliberately conservative: seconds must be a single fixed value, and the
set of minute values must be at least 15 minutes apart even across an hour boundary.
Some otherwise safe calendar expressions are therefore rejected; rewrite them in a
supported form. Systemd still owns the rest of OnCalendar syntax validation. This is a
schedule admission rule, not a runtime throttle: manual cron trigger, timer jitter,
clock changes, daylight-saving transitions, and delays in starting jobs can result in
actual starts less than 15 minutes apart.
On apply, an existing user cron that violates the rule (or whose descriptor or entrypoint
cannot be resolved) is not reconverged; its existing timer is disabled while its ledger
entry and descriptor remain available for correction. Disable errors are reported for
operator action. Review existing schedules before upgrading: jobs previously running more
often, and unsupported expressions even when safe, will stop on their next reconciliation.
The full flag set:
| flag | effect |
|---|---|
--schedule '<OnCalendar>' |
required |
--skill <name> |
run a skill through the model. Per-agent only |
--script <abs-path> |
run an executable. Read once, up front, with the caller's own privileges |
--workspace-script <abs-path> |
the same, for a script inside the agent's workspace. Per-agent only |
--script-stdin --lang <ext> |
read the script body from stdin into a temp file, then treat it as --script. --lang is mandatory with it. The web upload path |
--agent <name> (or self) |
author the cron for a named agent rather than the caller. Mutually exclusive with --host. The first --agent in the argv wins, so a second one cannot retarget the job |
--host |
a host-scope cron, running as root |
--run-on <host>, or --run-on any |
pin a --host cron to a machine; any opts into fleet-wide. Absent, a host cron auto-pins to the host it was created on. Rejected on a per-agent cron, which its agent's run_on already pins |
--timeout <duration> |
the inner budget for a script cron |
--dry-run |
print what would be written and change nothing |
--force |
overwrite an existing label |
Three writes happen, in this order:
- The overlay descriptor —
cron.yamlunder the repo overlay, plus a copy of the script for a--scriptcron. - The units —
agentctl-usercron-<agent>-<label>.{service,timer}oragentctl-hostcron-<label>.{service,timer}under/etc/systemd/system, an OnFailure drop-in,daemon-reload,enable --now. - The ledger label —
host.cronfor a host cron, the agent shard'susercron:list for a per-agent one. Then a commit.
The label is recorded last, so a job whose units failed to install is not left recorded. Once
it is recorded, apply re-derives both unit sets from the ledger and prunes any
agentctl-usercron-<agent>-* or agentctl-hostcron-* timer whose label is not recorded.
The generated ExecStart points at the overlay copy, not the path you passed; a script staged
in /tmp survives a reboot.
cron add --host --run-on <other-host> installs nothing locally — the target host converges
the descriptor and ledger entry on its own next apply.
cron remove disables the timer, deletes both unit files and drops the ledger label, but
leaves the overlay descriptor in place. Re-adding the label re-converges it.
A --script path is read once, up front, with the caller's own privileges (runuser -u
<caller> -- cat); only the bytes reach the root-side writer. An agent cannot make root stage a
file it could not open itself. Root and the admin agent keep root's reach:
cron add --host --script /root/deploy.sh works.
What a run executes as¶
A per-agent cron runs User=<agent>. A host cron runs as root with no User= and no agent
$HOME, so cron add --host refuses both --skill and --workspace-script at add time.
Scheduled model work has to be a per-agent cron.
| generated units carry | |
|---|---|
| service, all generated crons | Type=oneshot, Slice=batch.slice, Nice=19, MemoryMax=2G, CPUQuota=100%, TasksMax=256, output to the journal, no [Install] section |
| service, script and workspace-script crons only | NoNewPrivileges=true, PrivateTmp=true |
| timer | Persistent=false — no catch-up for a run missed while the host was down — RandomizedDelaySec=30, AccuracySec=30s, [Install] WantedBy=timers.target |
| binding | the timer's Unit= line only — no Requires=, no Wants= |
The shipped per-agent zk-index catalog service also has MemoryMax=2G, CPUQuota=100%,
and TasksMax=256, with TimeoutStartSec=900 and Slice=batch.slice. These limits do not
apply to every catalog service: other shipped templates have their own profiles. The zk
timer uses RandomizedDelaySec=3600 with a fixed stagger; other catalog timers may differ.
These ceilings match the existing script profile, but are not proven safe for every workload. CPU throttling can lengthen a run enough to reach its timeout; the memory limit can cause an OOM kill, and the task limit can prevent process or thread creation. The ceilings do not guarantee immunity from the runaway reaper in general. The reaper exempts a managed zk-index service's verified cgroup-v2 path from its CPU-hog and orphan rules only when systemd confirms its owner, oneshot lifecycle, cgroup-wide SIGKILL settings, and timeouts and resource limits no larger than the supported ceilings (15 minutes for start and stop, 100% CPU, 2 GiB memory, and 256 tasks). Overrides outside those bounds are not exempt. A failed or timed-out systemd lookup also grants no exemption, so a healthy index can still be reaped when systemd is unavailable. Validate representative workload timing and effective cgroup behavior before rollout.
Environment by shape:
| shape | EnvironmentFile on the unit |
what the wrapper adds |
|---|---|---|
per-agent, --skill |
/etc/agentctl/env/agent-<agent>.env |
~/.config/agentctl/agent.env under set -a, plus pi-agent.env on a pi agent. On pi, also mcp-shared.env and agent-<agent>.env, parsed rather than sourced so a multi-line value survives |
per-agent, --script/--workspace-script |
/etc/agentctl/env/agent-<agent>.env |
nothing — the env arrives from systemd before ExecStart |
| host | /etc/agentctl/env/mcp-shared.env |
nothing |
Every per-agent cron — --skill, --script, or --workspace-script — gets
EnvironmentFile=-/etc/agentctl/env/agent-<agent>.env on its unit unconditionally, with no
opt-in required. That file is the agent's sops-rendered secret shard: provider API keys, bot
token, anything else scoped to that agent. A --script/--workspace-script cron therefore has
the same secret access in its process environment as a --skill cron does — there's nothing
to source by hand.
The skill wrapper¶
A --skill cron's ExecStart is
/usr/share/agentctl/cron/cron-run.sh "/<skill> --cron" "<label>". The preflight steps, in
order:
- Serialisation.
/dream-cycleand/housekeeperre-exec the whole script under a per-hostflock(/run/agentctl/locks/<kind>.lock,CRON_LOCK_WAIT7200 s). The lock is per job kind, so the same pass under a different label joins the same queue. Giving up on the lock exits non-zero and fails the unit. Withoutflockor the lock directory the run proceeds unserialised and logs it. - Runtime detection.
AGENT_RUNTIMEfromagent.envselects pi or claude; api-agent.envcarrying bothPI_PROVIDERandPI_MODELoverrides it; absent both, an existing~/.pi/agentselects pi. - Credential guard. No credential of any kind → log and exit 0.
- Cost cap.
AGENTCTL_COST_CAP_USDagainst today's spend in~/workspace/.cache/fleet-usage-rollup.json— see Cost cap. Fails open on anything it cannot read, tells the owner once, exits 0.
The model call then runs under timeout $CRON_TIMEOUT — 900 s, 2700 s for /dream-cycle and
/housekeeper — and the two runtimes diverge from here.
On pi¶
The wrapper hands the skill to a headless one-shot runner that embeds the pi SDK and prints
the deliverable on stdout. Provider and model come from the agent's own pi-agent.env:
| model | PI_MODEL, the same model the interactive session uses |
| per-job override | PI_CRON_MODEL, same provider and key, different model |
| endpoint | PI_BASE_URL, honoured here exactly as in an interactive session |
| missing skill | exits 2 with a log line, before any model call |
There is no per-skill model mapping and no per-skill permission mode: every pi cron runs on
the agent's own model unless PI_CRON_MODEL says otherwise.
On claude¶
claude -p "<skill>" --settings /usr/share/agentctl/cron/cron-settings.json \
--model <model> <permission-args> --disallowedTools AskUserQuestion \
--append-system-prompt "<CRON OVERRIDE …>" --output-format text
Model and permissions come from the skill invocation, not the label:
| skill | model | permissions |
|---|---|---|
/dream-cycle |
opus | --dangerously-skip-permissions |
/housekeeper |
sonnet | --dangerously-skip-permissions |
| everything else | sonnet | --permission-mode auto |
CLAUDE_CRON_MODEL overrides the model per unit.
cron-settings.json is deep-merged into ~/.claude/settings.json, not substituted for
it. It disables the telegram plugin and adds a SessionStart hook that drops a
<sid>.cronskip marker under ~/.claude/state/narrate, so the narrate daemon does not stream
the output the runner is about to deliver.
Unit budget versus inner budget¶
TimeoutStartSec on a generated unit is at least 10200 s — raised to the descriptor's own
--timeout plus 200 s when that is larger — and must never be the bound that fires. The
inner timeout exits 124, the runner logs cron done: <label> (rc=124) and tells the owner.
A systemd start timeout instead SIGKILLs the process group and leaves a failed unit with no
reason anywhere. flock blocks inside the start job, so the unit bound clears
CRON_LOCK_WAIT + CRON_TIMEOUT.
The short shipped jobs are the exception. zk-index (900 s), token-usage (300 s),
host-monitoring (600 s) and evening-digest (900 s) sit at or below the generic inner cap.
There the unit bound is the intended budget — do not raise them.
Output, delivery and logs¶
| destination | holds |
|---|---|
| the journal | the unit process's stdout/stderr — often nearly empty for wrapped skill and script crons; the output source for direct jobs such as zk-index |
~/.local/state/agentctl/log/cron-YYYYMMDD.log |
the shared log: start/done lines, lock waits, skip reasons and model output, for every cron that agent runs, interleaved. The chronological read for an operator. The watchdog tails it; the failure alerter does not — nothing in it says which run a line belongs to |
~/.local/state/agentctl/log/cron-run-<label>-<UTC-start>-<pid>-<invocation-id>-<random>.log |
Private per-run log, mode 0600. Skill and script wrappers write run output here. Direct jobs with recording hooks create a log and adjacent outcome JSON, but do not put the binary's stdout/stderr in that log. <invocation-id> is the unit's systemd InvocationID, allowing an exact activation lookup. The log is covered by the cron-*.log logrotate rule |
/var/log/agentctl/cron-run-<label>-…log |
the same file for a host cron, which has no $HOME. Root-owned, 0600. The activity-protocol host cron is the one exception: its per-run file carries the start/done lines and a bounded failure summary, never the collector's stdout or stderr |
| the owner's channel + the cockpit timeline | the deliverable, via agentctl notify self --from-cron |
| the agent's own main session (pi only) | the outcome, via agentctl subsession notify main … self |
The shipped logrotate rule (/etc/logrotate.d/agentctl) covers
/home/*/.local/state/agentctl/log/cron-*.log — weekly, four generations, copytruncate so a
run holding the file open keeps writing to it. It covers both the shared daily logs and the
new per-run script-cron logs. Roughly a month of history is kept, the rest pruned. The sibling
subsession-<sid>.log in the same directory is not covered and still accumulates.
notify self routes through agentd to the agent's live shim, so delivery needs the agent's
session to be up. A cron whose agent has no shim runs to completion and logs
deliver: agentctl notify self failed. --from-cron stamps the event origin as cron, which
draws a distinct cron card in the cockpit instead of a "SENT self" chat card. Every cron run on
an agent shares one timeline lane (cron).
The recorded only rows below use notify --from-cron --record-only: they appear in the
cockpit but reach no channel.
The agent's own copy¶
Both wrappers also report every outcome into the agent's own main session with
agentctl subsession notify main "<outcome>" self. The message starts cron OK —,
cron FAILED — or cron SKIPPED — followed by the job label, so the outcome reads off the
first words. The main session picks it up at its next model call and keeps it in its persisted
transcript; the cockpit paints it as a JOB card. The sender is cron:<label>, from the
AGENTCTL_CRON_LABEL the wrappers export.
This is additive — the owner-facing send above is unchanged. Unlike notify self, it needs no
live shim: it writes a file in the agent's own home.
pi agents only. The reader is a pi extension and there is no claude equivalent, so a
claude-runtime cron makes no such call. A host cron (no $HOME) has no self agent and makes
none either.
| outcome | channel | agent's main session | unit |
|---|---|---|---|
| output produced | delivered | cron OK + the output (clipped at 1500 chars) |
success |
| ran clean, no output | recorded only | cron OK — … ran clean and produced no output |
success |
| quota / session limit hit | ⚠️ skipped — quota exceeded (resets …) |
cron SKIPPED + the reset time |
success (exit 0) |
auth failure (401, expired OAuth, invalid_grant) |
recorded only | cron SKIPPED — … AUTH FAILURE + the matched error |
success (exit 0) |
| cost-capped | log line + a message to the owner | cron SKIPPED + the spend and the cap |
success (exit 0) |
| no credentials at all | log line | — (nothing could read it until re-login) | success (exit 0) |
| anything else non-zero | ❌ <label> failed (exit N) |
cron FAILED — … exit N + the output tail |
failed → OnFailure |
| script cron, non-zero | — (OnFailure only) | cron FAILED — … exit N + the output tail |
failed → OnFailure |
Debugging¶
agentctl timers # catalog jobs: schedule, next fire, last run, result
agentctl cron list # ad-hoc crons; --host for host crons
agentctl agents cron list <name> # which catalog jobs are enabled for one agent
agentctl unit logs agentctl-usercron-<agent>-<label>.service --cron-output
agentctl unit logs agentctl-usercron-<agent>-<label>.service --cron-output --cron-date 2026-10-14 -n 200
agentctl unit logs agentctl-usercron-<agent>-<label>.service --cron-artifact state.json
agentctl unit logs agentctl-usercron-<agent>-<label>.service --cron-artifact runs.log -n 200
agentctl unit status agentctl-usercron-<agent>-<label>.service
The first two answer disjoint questions. agentctl timers looks up
agentctl-<job>@<agent>.timer per discovered catalog template, so an ad-hoc usercron never
appears; agentctl cron list matches only the agentctl-usercron- prefix, so a catalog job
never appears. For the full picture use systemctl list-timers 'agentctl-*'. Scope depends on
who asks: an operator, root or the admin agent sees every agent's user crons, a plain agent
only its own.
unit logs <usercron.service> --cron-output reads the newest per-run log for exactly that
agent's cron — script crons, and now skill crons too, since cron-run.sh writes the same
artifact — including retained rotated copies. Add --cron-date YYYY-MM-DD to select
a UTC date and -n (1–1000) to choose the tail length. URLs, common token/key/password fields,
auth headers, JWT/provider token shapes and PEM blocks are redacted; treat even redacted output
as sensitive. The decompressed read is capped at 1 MiB. Older runs have only the shared daily
log, so the command deliberately refuses to guess which job produced its contents.
For a bundled usercron, --cron-artifact state.json reads the complete state snapshot up to
64 KiB; --cron-artifact runs.log [-n 1–1000] reads a bounded tail (up to 1 MiB) of its
bundle-local run log. Only those two exact filenames are accepted; the reader checks the unit's
agent/label, bundle path, file type, ownership, and symlink status, then applies the same
conservative redaction. This is an admin-gated host read and the result remains sensitive. It
does not support workspace-script artifacts. unit status <unit> also reports User,
ExecMainCode, ExecMainStatus and ExecMainExitTimestamp for ownership and exact exit status.
On failure, OnFailure=agentctl-notify-failure@%n.service alerts the admin channel, not
the owner's. The alert carries the systemctl show block, the time the unit died, the agent
it belongs to, and the last 25 lines of that activation's own per-run log — resolved by
the unit's InvocationID, which both wrappers write into the run-log filename. The tail is
redacted through the same filter --cron-output applies. The shared daily log is never
tailed: it holds every cron in that scope interleaved, so a tail of it attributes another
job's output to the one that failed.
zk-index runs its binary directly, but its best-effort start and stop hooks create a
private per-activation log and adjacent outcome metadata. The direct chrome-nightly,
chrome-reap and token-usage catalog jobs use the same hooks. Their binary output remains
in the journal, not the private run log; recording may be absent or incomplete if a hook fails.
Other direct jobs may have no such hooks.
When the redacted per-run log block is empty, the alerter normally falls back to a
redacted journalctl read filtered by the triggering unit and invocation ID. The
activity-protocol job is excluded from this fallback. If usable output is unavailable,
the alert says so rather than showing output from another activation.
Use agentctl unit logs <usercron.service> --cron-output for the exact per-agent script-cron
run (bounded and redacted); --cron-artifact state.json|runs.log reads only those named
files from a bundled usercron (also bounded and redacted).
Alerts are deduplicated per unit on a 30-minute cooldown, so a five-minute timer that
keeps failing alerts once rather than twelve times an hour. AGENTCTL_NOTIFY_FAILURE_COOLDOWN
sets the window in seconds. The cooldown starts only on a confirmed delivery, so a broken
notify path does not buy itself thirty minutes of silence, and failures suppressed inside a
window are counted and reported by the next alert that does go out.
The hourly job-watchdog host cron covers what OnFailure cannot see: a timer that stopped
firing never fails, so it is checked against an SLA. Tracked units are empty by default and
configured through AGENTCTL_WATCHDOG_TRACKED="<unit>=<sla>" in /etc/agentctl/watchdog.env.
The default jobs¶
Per-agent, seeded by agents add:
| job | schedule | what it runs |
|---|---|---|
zk-index |
05:00 + stable per-agent offset ≤60 min | zk index --quiet over ~/workspace. No model call, no wrapper |
workspace-maintenance |
00:30 | /housekeeper through cron-run.sh — steering-file size budgets, workflows into skills, context into memory, git sync |
dream-cycle |
01:00 | /dream-cycle through cron-run.sh, on opus — memory and skill extraction from the agent's last 7 days of sessions |
chrome-reap |
*:0/20 |
agentctl chrome reap — closes the agent's browser tabs idle for 6h+. No model call, no wrapper |
chrome-nightly |
03:00 + stable per-agent offset ≤90 min | agentctl chrome restart --if-idle — the backstop bounce, skipped while the agent is mid-turn or running a subsession |
chrome-reap and chrome-nightly exist because browser is itself a default MCP: every
agent gets one persistent, non-headless Chrome, and nothing in that design ever closes a
tab. Left alone an agent accumulates renderers for as long as it lives (measured on a
13-agent host: 93 renderers, 44 of them older than three days, 6–7 GB recoverable). The
reaper never closes the most-recently-activated page, never the last remaining page, and
only ever touches type:page targets — see agentctl chrome reap --dry-run to see what a
sweep would do without doing it.
Shipped but not seeded: token-usage (20:00, a deterministic per-model price rollup of today's
transcripts, self-delivered), evening-digest (21:57) and host-monitoring (08:00). Enable
any of them with agents cron add <job> <name>.
Host-scope, seeded into host.cron at provision and topped up by apply:
| job | schedule | what it runs |
|---|---|---|
fleet-usage |
*:37 |
token + active-time rollup across every agent's transcripts, for the cockpit fleet app and the cost cap. Runs as root |
job-watchdog |
*:23 |
failed units, silent misses against an SLA, and crash loops → admin channel, deduped 24 h |
load-monitor |
*:0/5 |
admin alert when 1-minute load crosses the threshold |
runaway-reaper |
*:2/5 |
reaps orphaned and CPU-hog agent-user processes |
Host temporary-file reaper. Host provision also enables the standalone systemd
agentctl-tmp-reap.timer, independently of the host-cron descriptors above. It runs
at 04:40 local time with up to five minutes of jitter, with no missed-run catch-up.
A long run can overlap other jobs; failures are reported through the unit's OnFailure
handler. The timer runs systemd-tmpfiles against /tmp with a one-day age threshold,
while retaining the host's other tmpfiles rules and exclusions. An administrator's
/etc/tmpfiles.d/tmp.conf takes precedence. /var/tmp and
/tmp/systemd-private-* are outside this reaper's cleanup. The OS's normal tmpfiles
timer remains separate and retains its own policy. Both cleaners exclude
/tmp/com.google.Chrome.*/SingletonCookie: Chrome uses this symlink for its
profile singleton handoff even when the socket itself is live. The exclusion also
retains stale cookie symlinks and their otherwise-empty parent directories indefinitely;
monitor /tmp inode consumption. It does not prevent removal of other old files in
those directories, and is not a general protection for running applications.
Age is not a guarantee of safety: an open file can still be removed, and work that
needs to survive belongs in a persistent project workspace, not /tmp. Provision and
boot create /tmp/AGENTS.md as a root-owned link to packaged guidance; an existing
conflicting path is never overwritten, and the reaper refuses to run until the link is
correct. Pi discovers that file when its working directory is /tmp or below, not
when it merely accesses /tmp from another working directory. Inspect with
systemctl status agentctl-tmp-reap.timer agentctl-tmp-reap.service and
journalctl -u agentctl-tmp-reap.service. This is not a substitute for monitoring
space during the day.
Pressure-based system-log reaper. Host provision also enables
agentctl-log-reap.timer every 15 minutes (up to 30 seconds jitter, no catch-up).
At 90% /var/log usage or above it considers only date-suffixed rotated
messages-YYYYMMDD and splunk/splunk.syslog-YYYYMMDD archives, optionally
compressed as .gz, .xz or .zst. It skips symlinks, hardlinks, non-regular files,
files modified or metadata-changed in the past 12 hours, other filesystems and files
observed open in /proc. It removes eligible archives oldest first, rechecking space
after each, until usage falls below 80%. One whole archive may overshoot the target.
Live logs, /var/log/audit, authentication logs and all other paths are not candidates.
If the target cannot be reached, the unit fails and invokes its failure notifier;
inaccessible process descriptors or other errors also fail closed. /var/log may be
on a separate filesystem or the root filesystem. The open-file check is a snapshot: it
cannot prevent a process from opening an archive immediately afterwards. The reaper does not alter the OS's
Ansible-owned logrotate configuration or its schedule.
Forwarding/retention tradeoff: this policy assumes Splunk has processed archives
within 12 hours. It does not verify forwarding, indexing or retention requirements;
a forwarding outage longer than that can cause permanent data loss. The owner chose
this shorter floor under disk pressure. Confirm the logging owner's requirements before
rollout, and monitor disk space independently: failures or excluded logs can leave the
filesystem full. systemctl status agentctl-log-reap.timer agentctl-log-reap.service
and journalctl -u agentctl-log-reap.service show operation and failures.
One more host descriptor ships and is not seeded: activity-protocol, daily at 22:00
local time on producing hosts and 23:10 on the designated gateway. apply seeds it only
where host.activity_protocol_model is set. This gateway shift applies to the shipped
schedule; an operator's descriptor overlay takes precedence and may use another schedule.
The 70-minute offset gives producers' 3300-second script budget and timer jitter time to
finish before the gateway pulls, and the gateway's own budget ends before 00:30 maintenance
under normal scheduling. The ordering requires hosts to share a timezone; a delayed, failed
or stuck run can still overlap or leave the gateway with stale data. The five-minute host
safety timers and the hourly watchdog and usage rollup continue during these windows.
Daily collection can leave the activity view more than a day behind after a missed or
failed run. Each invocation advances at most one bounded historical backfill chunk, so
old history can take months to recover. Daily incremental batches can also be larger than
hourly ones; validate provider capacity and completion in a canary. The achievement
counter's seven-day window can undercount after a gap longer than seven days. Zk search may lag a
full day plus its offset or longer after a failure; zk index --notebook-dir ~/workspace
refreshes it manually. Both timers remain non-persistent: a missed fire is not caught up
at boot. The zk stagger avoids the normal Chrome restart window but does not serialize
indexing against long-running maintenance.