fix(scheduled): allow maintenance of unarmed legacy tasks - #822
Merged
vastsa merged 2 commits intoSep 21, 2026
Merged
Conversation
Allow metadata and pause updates without turning maintenance into an automation configuration request. Keep schedule validation for explicit arming and preserve the existing manual-to-hourly interval behavior.
# Conflicts: # crates/host-core/src/rpc/scheduled_tools.rs # docs/spec/03-runtime/06-host-rpc-protocol.md # docs/spec/06-delivery/04-e2e-test-plan.md # docs/zh-CN/spec/03-runtime/06-host-rpc-protocol.md # docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
Owner
|
Landing note: this branch conflicted with the sibling scheduled-task PRs (#820-#824) that landed just before it. I merged the updated |
This was referenced Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pausing or renaming an older automatic task through AI fails with a schedule-required error when the record predates calendar configuration. Updating its prompt fails for the same reason.
Allow metadata and pause updates without configuring automatic execution or changing the workspace binding. Repeating an unchanged Hourly cadence during maintenance no longer inserts a placeholder. Explicit arming still validates the schedule, and Manual-to-Hourly keeps its default one-hour interval.
Before and after — actual Windows desktop (1200 × 800, isolated profiles). A deterministic local model fixture calls the real tools and summarizes their results; no live model is used.
Before:
After:
Regression tests reproduce the rejected pause and cover renaming, prompt edits, echoed cadence, guarded resume and reopening SQLite for Hourly, Daily and Weekly tasks.
Validation details
0111e306cand the corresponding fix; focused checks were rerun after refreshing the candidates to46d4ee4ee.