Skip to content

Scheduled tasks — wake-on-change / no-LLM gate #261

Open

Description

@JAORMX

Summary

Add a "no-LLM gate" / wake-on-change mechanism: run a cheap check first, and only wake the agent on a real change (the Hermes wakeAgent pattern).

Part of #189 (scheduled tasks). Split out of #236 (deferred/v2) — needs a pre-fire check mechanism + diff detection, too large for the v2 finish PR (#256).

Scope

  • A per-schedule WakeOnChange config: a cheap check (a shell command, an HTTP probe, a git diff) that runs BEFORE the fire. If the check produces no change since the last fire, the fire is skipped (not claimed — NextFireAt advances but Fire is not called).
  • The check runs in the tick loop, before Claim. If the check fails (non-zero exit, HTTP error), the fire proceeds (fail-open — a broken check should not silently suppress a schedule).
  • The check's output is NOT carried into the fire (it's a gate, not context).
  • Use cases: only run a doc-sync schedule when docs actually changed; only run a dependency-bump schedule when a new version is published.

References

Activity

  1. added
    enhancement
    on Jul 13, 2026
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