Job definition and log data flow

Definitions flow down; runs and logs flow up — offline-safe

Job definition and log data flow Definitions flow down; runs and logs flow up — offline-safe 01 / Define 02 / Sync 03 / Execute 04 / Persist 05 / Observe Job editor · script · cron · 01 / Define · REST Job editor script · cron REST Secrets store · AES-GCM · 01 / Define · encrypted Secrets store AES-GCM encrypted Postgres jobs · job + versions · 02 / Sync · source of truth Postgres jobs job + versions source of truth SyncJobs · mTLS stream · 02 / Sync · push / pull SyncJobs mTLS stream push / pull Agent store · bbolt cache · 03 / Execute · offline Agent store bbolt cache offline Local cron · robfig/cron · 03 / Execute · IANA tz Local cron robfig/cron IANA tz Outbox · buffer + replay · 04 / Persist · idempotent Outbox buffer + replay idempotent Postgres runs · runs + run_logs · 04 / Persist · capped Postgres runs runs + run_logs capped LogBroker · fan-out · 05 / Observe · SSE LogBroker fan-out SSE Run view · live SSE · 05 / Observe · operator Run view live SSE operator create / edit job definitions resolve at sync secrets assigned jobs definitions SyncJobs delta definitions schedule from cache execution run events events upsert by run id events live chunks logs SSE stream logs Legend primary data policy / PII data store data flow