feat(cli): apply coordinated updates during maintenance

This commit is contained in:
Lemon-miaow committed 2026-10-04 17:36:21 +08:00
1 parent cb3ed94026
commit 4d8e9af240
21 files changed
+990 -457

No files matched your search

+6 -9
View File
@@ -4185,15 +4185,12 @@ paths:
operationId: getUpdateWindow
summary: Read the SysAdmin-set auto-update maintenance window (admin).
description: >-
Advisory: Felis applies no update on its own. `felis update` on the
host reads this window, reports where now sits against it, and warns
before an apply outside it.
The single platform-wide maintenance window during which Felis may apply a
Scheduled component's update to itself (decision core internal/updates). An
unset window — never set, or explicitly cleared — reads back as
{start:null,end:null}. API+persistence only: nothing consumes the window
until the INTEGRATION runner and executors are wired, so setting it changes
no behavior yet.
Felis applies no update on its own. `felis update` checks versions and
prints an explicit apply command. `felis update --apply` reads this
platform-wide [start,end) window before backup and before installation,
refusing outside it unless `--now` explicitly starts manual maintenance.
An unreadable window is always a refusal, including with `--now` or
`--force`. An unset window reads back as {start:null,end:null}.
x-felis-face: [external]
x-felis-tier: admin
security: [{ sessionCookie: [] }]