Schedules: Timed Runs Delivered to Several Targets
简体中文 · Status: 2026-11-26, designed with the owner's decisions; built 2026-11-26: pkg/schedspec, internal/host/schedules, firing and fan-out in the engine, maintenance, the schedul
简体中文 · Status: 2026-11-26, designed with the owner's decisions; built 2026-11-26: pkg/schedspec, internal/host/schedules, firing and fan-out in the engine, maintenance, the schedule and webhook plugins and orquelo schedule (P111). Not verified: Linux and Windows natively, a live channel e2e case. Kernel decision: ADR 0016.
1. Scenarios and Decisions
- ◆"Every weekday at 9:00, summarize yesterday's industry news and send it to the Feishu group Market and to my direct chat."
- ◆"In two hours, check whether the build passed and tell me." Said in a Feishu chat with no target, the answer comes back to that chat.
- ◆"Every Monday send the weekly report here, to my Telegram, to the web console's ops conversation and to our reporting webhook."
- ◆An operator sets up a nightly report with
orquelo schedule add; it runs as a named admin and goes to two groups and an HTTP endpoint's conversation. - ◆Maintenance runs on schedules too: the Host's retention cleanup every hour, artifact expiry every night, and later a plugin's own task such as a periodic memory review.
| Question | Decision (owner, 2026-11-26) |
|---|---|
| Who may create schedules | Everyone, their own; admins manage all schedules of their tenant |
| Fires missed while the Host was down | Collapsed into one run if the latest missed time is within a grace window (default 1 h, per schedule); older ones are recorded as missed |
| A question or approval in a scheduled run | Sent to the owner's direct chat on the schedule's origin connection; the run waits as usual |
| A failed scheduled run | Only the owner is told; the delivery targets receive nothing for that fire |
| Maintenance | Schedules also run maintenance: the Host's own tasks and those plugins declare; this change builds the mechanism and the Host's maintenance tasks; memory's review gets its own design |
| Artifacts | Expire on their own after artifact_retention (default 30 d), even while their run record is kept |
| Who manages maintenance schedules | Host admins only; tenant admins and users do not see them |
| Targets a user may choose alone | The conversation the schedule is made in (the default), the owner's own direct chats on linked accounts, and groups where the Host has seen the owner speak; anything else needs the runtime's targets grant |
| URL targets | Endpoints an admin configured, or URLs matching an admin's patterns; private and local addresses always refused |
| Where schedules are stored | Only in the Host's database; the configuration holds settings (timezone, artifact_retention, limits), never schedules |
Design decisions: the timer, the schedule state, the run identity and the fan-out to several targets are a Host mechanism (ADR 0016); the tools the model uses are a plugin; one result becomes one independent delivery per target.
2. Structure
agent ─▶ schedule tools (plugin) ─▶ ScheduleHost.Schedules() ─┐
orquelo schedule … (CLI) ──────────────────────────────────┤
declared maintenance (Host, manifests) ───────────────────┤
▼
internal/host/schedules (state: schedules, schedule_fires)
│ due
engine worker loop ─ fireDue ─▶ create run (owner, runtime, prompt) ─▶ runtime
│ final result
finishRun ─▶ one delivery per target ─▶ each channel's Presentation/Delivery| Part | Responsibility | State owner |
|---|---|---|
pkg/schedspec | Parse and validate a time spec; next fire after an instant in a time zone (pure algorithm, shared by the Host, the plugin and the CLI) | none |
internal/host/schedules | CRUD with authorization, revisions, next-fire bookkeeping, fire records | tables schedules, schedule_fires |
Engine (fireDue, finishRun) | Fire due schedules as runs; fan the final result out to the targets; route questions and failures to the owner | runs and deliveries, as today |
| Maintenance providers | The Host's maintenance tasks (host.retention, host.artifacts_expire) and plugins declaring maintenance:; each does its own work when called | their own |
webhook plugin (builtin; presentation, delivery) | Posts a result to an HTTP endpoint as a connection like any channel (section 6) | none |
schedule plugin (builtin, tool) | Model-facing tools; calls the Host through ScheduleHost.Schedules() | none |
CLI orquelo schedule | Operator commands | none |
Nothing here knows a channel: targets are (connection, conversation) pairs handled by the existing Presentation and Delivery of each connection.
3. Schedule Model
| Field | Meaning |
|---|---|
id | sc_…, Host-made |
name | Unique per owner, e.g. daily-news |
owner, tenant | The creator's principal and tenant, from the trusted call context; never from arguments |
origin | The connection and conversation it was created in: where self and questions go |
runtime | Runtime instance; default the runtime of the origin connection |
action | prompt (an agent run, below) or maintenance: <provider>.<name> (section 8) |
prompt | For prompt: the task text the run receives |
when | Exactly one of cron (5 fields), every (duration, at least schedules.min_interval, default 1 m) or at (one time: a date and time, or in 2h / in 10 minutes counted from creation and stored as the time it means, 2026-11-26); plus timezone (IANA) |
targets | For prompt 0 to 10 (none means here), for maintenance 0 to 10 (a report of the outcome); the forms are in section 6, each with its delivery policy (section 7) |
catch_up | Grace window for missed fires, default 1h; 0 skips every missed fire |
state | active, paused, done (a fired at), disabled (owner or runtime gone; reason kept) |
next_fire_at, last_fire_at, revision, source | Bookkeeping; source is tool, cli or default |
Where a schedule lives. Every schedule is a row of schedules in the Host's database, and the Host has one code path for all of them; nothing about a schedule is read from the configuration. source records where it came from: tool (a conversation) or cli (an operator); default rows (key default:<provider>.<task>) are created for each declared maintenance task when its provider loads, if missing. A default row is edited like any other (retimed, retargeted, paused) and keeps its edits: a new default in a later plugin version applies only to rows nobody edited; a provider that no longer declares the task disables the row with the reason.
Executions. A schedule has many fires; a fire is one execution instance at one planned time; it leads to at most one run (prompt) or one maintenance execution, and to one delivery per target and outcome:
schedule sc_1 ──1:N── fire sf_9 (planned 2026-12-01T01:00Z) ──0..1── run r_7 ──1:N── delivery (one per target)
│ snapshot: schedule revision, resolved targets and policies| Table | Columns | Owner |
|---|---|---|
schedules | id, tenant, owner, origin_connection, origin_conversation, name, action, prompt, maintenance, runtime, when (JSON), timezone, targets (JSON with policies), catch_up, state, disabled_reason, next_fire_at, last_fire_at, revision, source, source_key, created_at, updated_at | internal/host/schedules |
schedule_fires | id (sf_…), schedule_id, planned_at, unique together; revision and targets (the snapshot), state, reason, run_id, summary, counts, started_at, ended_at | internal/host/schedules |
runs, deliveries | as today; a fire's deliveries have purpose schedule:<fire id>:<target index> (with run_id empty for maintenance) | engine, delivery |
A fire's states: missed, skipped_overlap and not_started are written terminal; running ends as succeeded, failed, cancelled, timed_out or interrupted; a run superseded because content it stood on was removed (ADR 0021) ends its fire cancelled, reported to the failure targets, never as a success (review #264 H16). A prompt fire ends in the transaction that ends its run, so the two never disagree; a maintenance fire ends when the task returns or its timeout passes; a running fire found at start whose run or task is gone ends interrupted. The snapshot keeps an in-flight fire unaffected by edits: a schedule changed or deleted after the fire started still delivers that fire as it was. Deleting a schedule deletes its fires; runs follow the run retention. Fires older than retention are pruned by host.retention, keeping the last 20 of each schedule.
Time. cron supports numbers, ranges, steps and lists in minute, hour, day of month, month and day of week; Sunday is 0 or 7; when both day fields are restricted, either matches. timezone defaults to the configuration's new timezone:, else the system's. A local time that does not exist on a DST change is skipped; one that happens twice fires once, the first time. Times are stored in UTC; the zone is kept to compute the next fire and to show times.
Limits. At most schedules.max_per_user (default 20) active schedules per owner and 10 targets per schedule.
4. Who May Do What
- ◆Owners create, list, change, pause, resume, delete, run now and see the history of their own schedules.
- ◆Admins do the same for every schedule of their tenant (
Principal.Role, from the Host). - ◆Targets are checked when the schedule is saved and again at every fire by the rules of section 6. A target denied at fire time is skipped and recorded; the others still receive the result.
- ◆Operator schedules are created with
orquelo schedule add --owner connection:user …; the owner must be a principal of this Host. - ◆Deleting a user (
sessions forget) deletes their schedules; an owner whose principal is gone, or a runtime that no longer exists, disables the schedule with the reason.
5. Execution
The worker loop asks for due schedules (next_fire_at <= now) in each pass, and its sleep is bounded by the earliest next_fire_at. A fire and a run asked for leave revision as it is: it counts the changes people make, which Update checks (Feishu #411). For each due schedule, in one transaction that gives up when the row changed since it was read (its revision, next_fire_at, a run asked for, or its state):
- Missed fires. If the latest planned time is older than
catch_up, record itmissedand advance; otherwise collapse all missed planned times into one fire. - Overlap. If the schedule's previous run has not ended, record
skipped_overlap. - Start. For a
maintenancetask, call it as section 8 describes. For aprompt, re-check the owner, the runtime and the targets; create a run with the owner as principal, connectionschedule, conversation<schedule id>, session key<runtime>@schedule:<schedule id>, trigger kindschedule, the prompt as input and the resolved targets; record the firerunningwith the run id and the snapshot. - Advance
next_fire_atfrom the planned time (never from now, so fires do not drift); a firedatbecomesdone.
schedule is a connection the Host provides without a transport, presentation or delivery: nothing is ever delivered to it, and the run's locale is the owner's on the origin connection. The run executes like any other. It streams no progress. When it ends, finishRun:
- ◆Each outcome (success, failure, skipped) is delivered to the targets whose policy asks for it (section 7), in the transaction that ends the run or records the fire; by default the result goes to every target and a failure only to the owner's direct chat on the origin connection.
- ◆Questions and approvals go to the owner's direct chat on the origin connection, bound to the owner as usual; the run parks until the question's deadline.
- ◆What the run is told (context review 2026-11-30, X-01, X-02, X-04):
RunInput.Originis{kind: "schedule", name, planned, unattended: true, deliveries}, wheredeliverieslists each allowed target's connection, conversation kind and title, andRunInput.Formatis the reply format of the first target's connection. The builtin agent renders it asoriginin<orq:context>withchat_type: "none", and addslatewhen the run started more than a minute afterplanned. The fire's prompt is written to the schedule's session as auser_messageentry of the run, so a later fire's history holds each earlier request with its time and its answer. The builtin agent bounds that history (Feishu #418): a fire sees the last 3 earlier fires whole, with their tool calls, and leaves the earlier fires and any summary of them out, whether it extends the session's transcript or builds from its entries; a */5 schedule never idles long enough for its session to close, and its first request had grown from 55k to 351k tokens in a day. - ◆A record in the target conversation (X-03): a successful result's text, up to 4,000 characters, is appended as a
deliveredentry (DeliveredEntry: source, name, run id, planned, text) to the open session of each conversation it is sent to, in the same transaction; a direct chat addressed by its person alone uses that user's latest open direct session on the connection, and a conversation with no open session gets none. The entry belongs to no run of that session. The builtin agent shows the newest three to the next run there, in an<orq:reference>.
Every state has a way out: fire records are written terminal; runs have the run timeout; deliveries have their retry limit and operator settlement; done and disabled schedules stay until deleted; paused schedules do not fire, and a one-time schedule resumed after its time is done, not fired; run now is for an active schedule (Feishu #381).
6. Targets Across Channels
A target is a conversation on any configured connection whose plugin has the delivery role: Feishu, the console, the HTTP API's web conversations, and Slack, Telegram or any other channel once its plugin exists, with no Host change. A user names targets in plain words; the tools turn them into one of these forms:
| Form | Example words | Resolves to | Allowed without a grant |
|---|---|---|---|
here (the default when no target is given) | "here", "this chat" | The conversation the schedule is created in | Yes |
self, optionally {self: true, connection: telegram} | "me", "my Telegram" | The owner's direct chat on that connection (default the origin), through the owner's linked accounts (identity link); not linked: target.not_linked, with how to link | Yes |
{connection, conversation} | "the Market group", "the web console's ops conversation" | That conversation | Yes if the Host has seen the owner (any linked account) speak there; else the runtime's targets grant (connection:* or connection:conversation) |
{connection: <webhook>, conversation: <endpoint or URL>} | "our reporting webhook", "POST it to https://hooks.example.com/x" | An HTTP endpoint (below) | Yes if it is a configured endpoint or matches a configured URL pattern; otherwise refused |
The Host's maintenance has no owner and no runtime, and only Host admins change it (section 8). Its targets may be any conversation of a configured connection that delivers, with no seen-conversation rule and no grant. A webhook endpoint is still checked by its plugin, and an unknown connection, or one that cannot deliver, is refused by name. A default row was made in no conversation, so it has no here, and the Host has no self: both are refused with target.unknown, naming what to give instead. When an admin edits one in a chat with the tools, here becomes that chat's {connection, conversation}.
Finding targets. schedule_targets lists what the owner may choose: each connection with its kind, the owner's linked direct chats, and the groups and conversations where the owner was seen, with their titles, so "the Market group" becomes {connection: feishu, conversation: oc_9f3a}. Several matches or none: the model asks.
The webhook plugin. A builtin plugin with the presentation and delivery roles; an operator adds a connection for it (no transport, so nothing arrives through it):
plugins:
- id: hooks
plugin: webhook
config:
endpoints:
- {name: reports, url: "https://reports.example.com/hooks/orquelo", secret: "${REPORTS_SECRET}"} # signs the body
allow: ["https://*.example.com/hooks/*"] # URLs users may give directly
connections:
- {id: webhook, presentation: hooks, delivery: hooks}It sends POST with a JSON body {delivery, run_id, kind, text, files: [{name, mime, size, data_base64}]} (the text starts with the header line naming the schedule and its planned time), files up to max_bytes in total (default 10 MiB; beyond it the files are listed without data), the headers Orquelo-Delivery (the delivery id, an idempotency key for the receiver) and Orquelo-Signature (sha256= HMAC of the body with the endpoint's secret, when it has one). A 2xx answer is sent; 408, 429 and 5xx are retried within the target's deadline; other 4xx end the delivery. The client comes from pkg/outbound (egress routes apply) and refuses private and local addresses before connecting and after DNS, like webfetch.
7. Delivery Policy
Each target of a schedule carries its own policy; the defaults follow the owner's decisions. A target in any form of section 6 may add:
| Field | Values | Default | Meaning |
|---|---|---|---|
on | any of success, failure, skipped | [success]; the owner's self always also gets failure | Which outcomes of a fire reach this target. failure covers a failed, cancelled or timed-out run and a fire that could not start; skipped a missed or overlapping fire |
files | true, false | true | Whether the result's artifacts are sent with the text |
empty | skip, send | skip | A result with no text and no files is not sent ("nothing to report"). When no target sends one, the run's origin is quiet, and the agent ends with nothing instead of asking the model again or giving its no-answer notice: an asked model wrote "(empty reply)" and every silent check sent a card (Feishu #306). Such a run also has the agent's stay_silent tool: a model that will not answer with nothing (Kimi wrote "(空回复)") calls it, and the run sends nothing whatever it writes after (Feishu #307) |
header | true, false | true | A first line naming the schedule and its planned time, localized for the target |
deadline | duration, 1 m to 24 h | 30m (the delivery default) | How long a failing delivery to this target keeps retrying |
Content. The result is presented once per target by that target's connection, so each channel applies its own limits: long text is split, a file over the channel's limit is left out and named in a notice (P104). The text is the same for every target; per-target wording is not a goal.
Independence. One delivery per (fire, target), keyed schedule:<fire>:<target index>, enqueued in the transaction that ends the run, so a crash never loses or doubles one. Targets have no order between them; within one conversation the existing lane keeps order. A slow or failing target delays only itself.
Retries and failure. A retryable error is retried with the delivery backoff until the target's deadline; a non-retryable one (bot removed, conversation gone, target.denied) ends at once. A delivery that ends failed is reported to the owner's direct chat on the origin connection, not to the failed conversation, and recorded in schedule history. A delivery the Host was stopped in the middle of is possibly sent and is settled by an operator as today (P102). The runtime is never run again for a delivery.
Redelivery. schedule_redeliver {fire, target} (owner or admin, approved) and orquelo delivery retry ID send the stored result again to one target; a failed fire is not redelivered (there is no result), it is run again with schedule_run_now.
Maintenance. A maintenance schedule's targets default to on: [failure]: an operator hears about problems, not about every successful cleanup. A task that reports declares more in its on (section 8): host.daily_report declares success and failure, so a target that names nothing receives the report.
8. Maintenance
A maintenance task has no model and no person: it is called, does its work, and returns a short outcome. It is unrelated to the job tool of localenv (P28), which manages a conversation's background shell processes.
- ◆Providers. The Host provides
host.retention(finished runs, events, deliveries and closed sessions pastretention; today's hourly cleanup, which leaves the worker loop),host.artifacts_expire(artifacts older thanartifact_retention, default30d, while the run record stays and says the file expired; files without metadata) andhost.daily_report(the previous day's report, run quality section 4). A plugin declares maintenance tasks in its manifest and implements one method; the Host declares its own the same way:
maintenance:
- name: review # memory.review for instance memory
description: Merge duplicate memories and drop stale ones.
when: {cron: "30 3 * * *"} # the default schedule
timeout: 10m
catch_up: 1h # the default row's catch-up (default 1h)
on: [failure] # what a target that names nothing gets (default failures only)// Maintainer is implemented by plugins that declare maintenance tasks.
type Maintainer interface {
RunMaintenance(ctx context.Context, name string, host BackgroundHost) (MaintenanceResult, error)
}
type MaintenanceResult struct {
Summary string // one line for history and reports
Counts map[string]int // e.g. {"deleted": 12}
}- ◆Default schedules. Every declared maintenance task of a loaded system-level instance gets a row
<instance>.<task>with its defaultwhen, owned by the Host (source: default); admins retime, retarget or pause it with the tools ororquelo schedule set; nothing in the worker loop is timed by code any more. The Host creates missing rows when it starts or reloads. Everyorquelo schedulecommand also creates them, so an operator can set up maintenance before the first start. The CLI only adds rows: a shell may load fewer instances (it has none of the Host's secrets), so only the Host disables a row whose task is gone. - ◆Execution. At most one run of a maintenance task at a time (an overlapping fire is
skipped_overlap), at most two at once, each bounded by itstimeout(default 10 m); missed fires followcatch_up. A fire endssucceeded,failed,timed_outorinterrupted(Host stopped), with the summary or error. Maintenance must be idempotent: a task interrupted by a restart runs again at its next fire. - ◆Reports. With targets, the outcome is delivered as a notice to each target; without, it is only in
schedule history,orquelo statusand the logs (schedule.maintenance_finished). - ◆Who. Maintenance schedules belong to the Host: only Host admins (
admins:of the configuration) list, retime, pause or run them; tenant admins and users never see them. A tenant-level plugin's maintenance is not scheduled in v1.
9. Contracts
// ScheduleHost.Schedules gives the calling instance the schedules of the
// call's principal; it fails with grant_missing without the schedule grant.
type Schedules interface {
Create(ctx context.Context, spec ScheduleSpec) (Schedule, error)
List(ctx context.Context) ([]Schedule, error) // own; a tenant's for admins
Get(ctx context.Context, id string) (Schedule, error)
Update(ctx context.Context, id string, revision int64, spec ScheduleSpec) (Schedule, error)
SetPaused(ctx context.Context, id string, paused bool) (Schedule, error)
Delete(ctx context.Context, id string) error
RunNow(ctx context.Context, id string) (runID string, err error)
History(ctx context.Context, id string, limit int) ([]ScheduleFire, error) // with per-target delivery states
}ScheduleSpec holds name, action, prompt, runtime, when {cron | every | at, timezone}, targets (each {target, on, files, empty, header, deadline}), catch_up. Schedules also has Redeliver(ctx, fireID string, target int) error and Targets(ctx) ([]TargetChoice, error). New error codes: target.not_linked, target.url_not_allowed. Errors, with stable codes and message keys: schedule.spec_invalid (with the field), schedule.not_found, schedule.nothing_failed (redeliver with nothing failed), schedule.revision_conflict, schedule.limit, schedule.runtime_unavailable, target.denied, target.unknown, permission.denied.
schedule plugin tools (grant schedule): schedule_create, schedule_list, schedule_update, schedule_pause, schedule_resume, schedule_delete, schedule_run_now, schedule_history, schedule_redeliver, schedule_targets. Changes need the requester's approval, which binds the arguments. schedule_update names only what changes, and the rest keeps its value, so "send it to the ops group instead" is one call with the targets. Their descriptions tell the model to turn "every weekday at 9" into cron: "0 9 * * 1-5", to use the user's time zone when known, here for "this chat" and self for "me".
CLI. orquelo schedule list|show|history (admins), orquelo schedule add|set|pause|resume|remove|run (admins, after confirmation), following the tiers of orquelo-cli.
Configuration holds only settings:
timezone: Asia/Shanghai # new; default time zone of schedules
artifact_retention: 30d # new; host.artifacts_expire deletes older artifacts
schedules: {min_interval: 1m, max_per_user: 20} # new; limits onlyThe nightly report of section 1, as an operator creates it:
orquelo schedule add --owner feishu:ou_4cc7e9a9 --runtime reporter --name nightly-report \
--cron "0 22 * * *" --prompt "Summarize today's failed runs." \
--target feishu:oc_9f3a --target self:on=success,failure,skipped
orquelo schedule set host.artifacts_expire --cron "0 4 * * *"10. Traces
Cross-channel. In a Feishu group: "every Monday 10:00 send the weekly report here, to my Telegram and to the reports webhook" → schedule_targets → schedule_create {targets: [here, {self: true, connection: telegram}, {connection: webhook, conversation: reports}], …} (approved). Monday: one run; three deliveries; the Feishu group and the Telegram chat get the text and the file; the webhook receives the signed JSON with the file inline and answers 204.
Success. A user in a Feishu direct chat: "every weekday at 9 send me and the Market group the industry news" → schedule_create {name: industry-news, when: {cron: "0 9 * * 1-5", timezone: Asia/Shanghai}, targets: [self, {connection: feishu, conversation: oc_market}], prompt: …} (approved) → sc_1, next fire Monday 01:00 UTC. Monday: fireDue creates run r_7 as the user; it succeeds; two deliveries are queued; the group delivery fails twice (rate limit) and is sent on the third attempt; the direct chat received it at once; schedule_history shows r_7, self: sent, oc_market: sent (3 attempts).
Failure. The group removed the bot: the group delivery ends failed after its retries; the direct chat delivery is unaffected; the runtime is not run again. The runtime failed instead: the user's direct chat gets the failure notice, the group gets nothing.
Maintenance. 04:00: host.artifacts_expire deletes 37 artifacts older than 30 days and records succeeded: deleted 37; orquelo status shows its last outcome. The next night it fails (disk error): the fire records failed with the error, the admin target named in its schedule receives the notice, and it runs again the night after.
Recovery. The Host was stopped from 08:30 to 09:40: at start, 09:00 is within the 1 h grace window, so one run starts at 09:40 and the fire is recorded with its planned time. Stopped until 11:00: 09:00 is recorded missed and the next fire is the following weekday.
11. Locale and Platforms
Notices (a missed fire, a disabled schedule, a failure) use message keys localized for each target's connection; times are shown in the schedule's time zone with the reader's locale; stored times are UTC. Time computation is pure Go with the embedded zone database (time/tzdata), so macOS, Linux and Windows behave the same.
12. Acceptance
- ◆Unit: cron parsing and next fire (ranges, steps, both day fields, DST gap and overlap, leap days),
everyandat; authorization (own, admin, other tenant); target checks at save and at fire; revision conflicts; limits. - ◆Engine: a due schedule starts exactly one run under concurrent passes; missed fires within and beyond the grace window; overlap skip; a fan-out to three targets where one fails sends the others and never reruns the runtime; each policy field (
on,files,empty,header,deadline); a permanently failed target reported to the owner, not to itself; redelivery to one target; artifacts reach every target; failure and question routing to the owner; restart between start and record. - ◆Maintenance: default rows from the Host and from a manifest, edited and kept across a plugin upgrade, disabled when the provider drops the task; overlap, timeout, interruption by shutdown, failure report;
host.retentionandhost.artifacts_expireremove exactly what is past retention; tenant admins do not see maintenance schedules. - ◆Targets:
heredefault;selfon a linked and an unlinked connection; a group the owner spoke in versus one only the grant allows; webhook endpoint, matching and non-matching URL, private address refused, signature, retry classes, files overmax_bytes. - ◆CLI: each subcommand and its tiers;
schedule add --ownerfor another principal. - ◆e2e (console + real model): "in one minute, tell me the time, here and in my direct chat" creates a schedule; a minute later both conversations receive the reply.
13. Not Covered
the Slack and Telegram channel plugins themselves (targets work with them once they exist), memory.review itself (its own design, using this mechanism), maintenance of tenant-level plugins, seconds in cron, calendars and holidays, per-schedule workspaces (scheduled runs use the runtime's default), webhooks, slash commands for schedules (the tools cover the conversation), several nodes. Estimated size: about 2.4k production lines (pkg/schedspec 250, Host 700, maintenance 400, engine 300, schedule plugin 250, webhook plugin 350, CLI 150); the budget has about 4.2k left.