Skip to content

Scheduled tasks — Phase 2a: gRPC/HTTP ScheduleService + driver proto + EvSchedule* events #232

Closed

Description

@JAORMX

Part of #189. Phase 2a of the scheduled-tasks feature. Depends on the Phase 1 foundation (#211).

Scope

Expose the Phase 1 ScheduleStore over the wire so clients can manage schedules programmatically.

  • gRPC ScheduleService in contracts/proto/mecatl/v1/ — CRUD (Create / Get / List / Update / Delete) + FireNow (trigger an immediate fire outside the schedule) + ListFires (query the fire history). Mirror the SessionService shape.
  • HTTP/SSE surface — the REST peer of the gRPC service, consistent with the existing HTTP API.
  • Driver proto — optionally a ScheduleStoreService in contracts/proto/mecatl/driver/v1/ so the registry can be remote (consistent with the other driver stores). Likely lands later in this phase.
  • EvSchedule* events — EvScheduleFired / EvScheduleSkipped / EvScheduleFailed (string-passthrough on the wire, like EvNoProgress/StopBudget; no task generate needed) for observability of the scheduler lifecycle on the client stream.
  • Per-fire session id / URL returned by Create/FireNow so a client can open the resulting transcript (Claude Routines pattern).

References

Activity

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions