Beer Can Labs
Contracts / createTimekeeper
Contract

createTimekeeper

Each minute, tells the Landlord which cartridge crons and which schedules are due.

Signature

createTimekeeper({ agents, schedules, fire })
// fire(req: FireRequest)
// { kind: 'cartridge', agentId }
// | { kind: 'schedule', schedule }

packages/timekeeper/src/index.ts ↗

Rules

  • It never starts a run and never imports the control plane.
  • The composition root is its only caller.

Where it appears