kairos

Executes sequences of programmable tasks according to time-based patterns, and records how each run unfolds.

url
kairos.dyseth.com

Kairos is a system that runs a defined sequence of tasks at the right moments. Each task is triggered by a temporal pattern such as a fixed interval, a calendar rule, a window, or an offset from another event. The pattern decides when something happens, and the sequence decides what happens and in what order. Its goal is not only to fire tasks on schedule, but also to measure how actual execution compares with the plan, and to flag when the two start to drift apart.

Components

  • Pattern definition. Time-based patterns are declared in a compact, readable form: recurring intervals, calendar rules (weekdays, month ends, quarters), time windows, and relative offsets (“30 minutes after task A completes”). Time zones and daylight-saving changes are handled explicitly. Each pattern version is retained, so past runs are always judged against the pattern in force at the time.
  • Task sequences. A task is a unit of work with defined inputs, outputs, and a timeout. Tasks are chained into sequences with dependencies, branches, and conditions, so a step runs only when its predecessors have succeeded and its time condition holds. Sequences can be edited without interrupting those already running.
  • Scheduling engine. The engine resolves patterns into concrete execution times and dispatches tasks in order. It handles overlapping runs, missed triggers (skip, catch up, or coalesce), retries with backoff, and priorities when several tasks fall due at once.
  • Execution log. Every run is recorded with its planned time, actual start, duration, outcome, and output. The result is a regular, time-indexed series that can feed the same kind of analysis as the other Dyseth projects.
  • Indicators. Metrics summarize how the mechanism is behaving: punctuality (the gap between planned and actual start), success rate, duration drift, queue delay, and coverage of expected runs. Each indicator is tracked over time, so trends are visible and not just snapshots.
  • Warnings. Deviations are detected and ranked by severity. Examples include a task that consistently starts late, a duration that keeps growing, a trigger that never fires, a sequence that stalls on a dependency, or a pattern whose cadence has silently changed. Every warning states what changed and which expectation it broke.
  • Dynamic updating. The pipeline works incrementally. New runs and pattern changes update the schedule, indicators, and warnings as they arrive, without recomputing the whole history.

Outcomes

  • Validation with simulated schedules that contain known faults (delays, skipped triggers, clock shifts, dependency stalls), as well as real recurring workloads such as data refreshes, report generation, or sensor polling.
  • Metrics: timing accuracy (jitter and drift), missed-trigger rate, recovery time after failures, and precision and recall of the warnings.
  • Deterministic by design: the same pattern and the same inputs always produce the same schedule, so any run can be replayed and audited.

cd ..

Type the name of a menu item, such as scope, and press Enter to open it. Type help to list every command.

# cookie-settings

Choose which optional categories you allow. You can change this at any time from the cookie-settings link in the menu.