Cron configuration block: [scheduling] in config.example.toml with EngineConfig translation #779
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#779
Reference in new issue
Block a user
Operator input for the cron/scheduling slice: a
[scheduling]block inconfig.example.toml(interval,max_parallel,job_timeout,events_sink) plus a translation layer ininternal/infrastructure/configurationthat produces thescheduling.EngineConfig.Without this, the engine has no path from operator input to runtime. The translator is the bridge the wiring slice then hands to
internal/app/archied/.Acceptance criteria
config.example.tomlshows a[scheduling]block with all four fields and their default behaviour on zero values (mirrorsscheduling.Default*constants).scheduling.EngineConfigwith documented defaults applied; negative values are validated and surface as a startup error, not a panic.scheduling.Sinkfrom the events-bus emitter; absent sink leavesEventsnil, which the engine already documents as a valid (unobservable) configuration.Close reason
SchedulingInput + config.example.toml [scheduling] block + schedulingConfig translation with defaults/validation; TestSchedulingConfig* green on origin/main
Imported from beads
archie-core-1786637496320-249-be6d9a20.5· GitHub #676 · type task · priority P2 · created 2026-08-27 · closed 2026-09-18