Watch model roles, repositories, scheduling policy and providers; re-layer them into the running config #507
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: sam/archie#507
Reference in new issue
Block a user
These fields already reload from the file (reload.go reloadableFields: Models, ModelLimits, Repos, Dispatch, PollInterval, BotUser...) because every task copies them at dispatch (Config.ForTask). The control-plane copies are only layered at boot (runtime_config.go). Extend the workflow-execution-settings watch pattern (control_plane_watch.go keepWatch, its backoff rules) to model-role-assignments, repository-policies, scheduling-policy and provider-settings: on a new version, run the same layering reload uses and republish through config.Holder, keeping last-known-good on a validation failure and reporting through apply status. Providers also feed the gateway chat runtime (chat_models.go), which must rebuild its provider set on change. Flip the four kinds to ApplyMode live.
Close reason
done
Imported from beads
archie-core-zfb0.1· GitHub #999 · type task · priority P1 · created 2026-09-25 · closed 2026-09-28