fix(schedules): refresh untouched builtin config so checks get new capabilities

Built-in agent checks kept the config stored at first registration, so
check.pending never received decision.list / subscription.list added in
AG-3 and the patrol could not read pending items (REAL-2 scenario g).
Track config_customized (migration 0045); sync replaces config with the
code default unless the user PATCHed it. Needs image rebuild.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-29 03:06:05 +08:00
1 parent 96fc089f92
commit bd0e011748
6 files changed
+52 -5

No files matched your search

+1
View File
@@ -1265,6 +1265,7 @@ export interface ScheduledJobTable {
schedule: Json;
default_schedule: Json;
customized: Generated<boolean>;
config_customized: Generated<boolean>;
config: Generated<Json>;
last_run_at: Timestamptz | null;
last_status: ScheduledJobLastStatus | null;