Skip to content

epic: automation — durable scheduler, cron and webhooks inside tole #577

Closed
5 of 5 issues completed
Closed

Description

@ajianaz

Goal

Let tole run unattended work (scheduled and event-triggered) without becoming the next OpenClaw: no silent skips, no duplicated or overwritten runs, no heartbeat token burn, no unapproved writes. Design: docs/automation-design.md (problem → guardrail table P1–P11 from Hermes #9086/#105861, OpenClaw and Nakama).

Owner decisions (2026-11-11)

  • Scope: cron, scheduler, webhooks. Chat channels are out of scope for now.
  • Follow Hermes' surface (cron create/list/pause/resume/run/cancel/tick, script mode without an LLM, per-job model, catch-up window, webhook-fired jobs).
  • The scheduler lives inside tole (ledger core in tole-core, host in tole-cli); supersedes the 2026-11-09 separate-repo proposal.
  • Performance first: correctness/durability > runtime performance > auditability > binary size; size and LOC are reported per PR, not gated.
  • Time zones: explicit per job, pluggable source (system TZif / tz-bundled / offset-only), Hermes-compatible DST rules.

Design constraints (AGENTS.md)

  • Append-only JSONL; a terminal record is never overwritten; corrections are new entries.
  • Every non-ReadOnly tool goes through an Approver; Destructive stays unreachable; unattended runs only use explicit allowlists.
  • tole-core stays platform-agnostic (pure fold/claim logic, injected clock).

Phases

Order: #578 → #579 → (#580, #581 in parallel) → #582. Each PR updates the README status line and docs/epics.md when it makes them stale.

Out of scope

Chat channels/gateway, heartbeat or "proactive" mode, a separate scheduler repository.

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions