Skip to content

Scheduled tasks — Deferred/v2: GC retention, NL→cron, carried-context, webhook triggers, driver store #236

Closed

Description

@JAORMX

Part of #189. The far-future items explicitly deferred out of Phases 1–3. Tracked here so they are not lost.

Scope (each independently shippable)

  • sched-- GC retention family — a distinct ScheduleFireRetention (e.g. 30 days) separate from normal session retention. Needs a session-id override on CreateSessionWithProfile, a Phase 2 server API change. (Currently per-fire sessions live under the normal sched-- family with no special retention.)
  • Natural-language → cron — compile "every weekday at 9am" / "next Tuesday" into a cron expr or one-shot time client-side. Everyone compiles NL down to cron (see the prior-art survey in Scheduled tasks: fire an agent run on a cron schedule or at a future time, autonomously and durably #189).
  • Carried-context / persistent recurring session — fresh-context-per-fire is the v1 default; a persistent-session continuation toggle (carry conversation across fires) is the premium opt-in.
  • context_from-style chaining — a fire optionally seeds from a prior fire's context (Hermes pattern).
  • Event/webhook triggers — GitHub, Slack, etc. as trigger sources beyond cron/one-shot.
  • Driver ScheduleStoreService — remote registry via the driver protocol (may land inside Phase 2a if cheap; otherwise here).
  • Per-fire egress allowlist — scoped network egress per schedule (Cursor pattern).
  • "No-LLM gate" / wake-on-change — run a cheap check, only wake the agent on a real change (Hermes wakeAgent).
  • One-shot crash-loss retry — at-most-once means a one-shot whose fire crashes mid-run is lost; an opt-in at-least-once retry for one-shots is an open question from Scheduled tasks: fire an agent run on a cron schedule or at a future time, autonomously and durably #189.

References

Activity

  1. added
    enhancement
    on Jul 3, 2026
  2. JAORMX commented on Jul 13, 2026

    @JAORMX
    ContributorAuthor

    The v2 items from this issue are now split between PR #256 (landing the feasible-now items) and five focused follow-up issues for the items that are each genuinely full features:

    Landed in #256:

    Spun to focused follow-up issues:

    Closing this issue in favor of #256 + the follow-ups. The umbrella #189 will also close once #256 merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementresearch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions