refactor: preserve Daily Review on shared authorities - #4178
Draft
Astro-Han wants to merge 17 commits into
Draft
Conversation
Astro-Han
force-pushed
the
refactor/daily-review-converge-scheduled-task
branch
3 times, most recently
from
August 29, 2026 17:39
9f2da76 to
e2b99b6
Compare
Migrate legacy configuration and reports into the ScheduledTask, ordinary Session, and Artifact authorities, then remove the dedicated runtime and UI chain. Generated-by: Codex
Keep Daily Review as a first-class Automations experience while projecting its schedule, execution, history, and reports from ScheduledTask, ordinary Session, Artifact, and the shared usage ledger. Generated-by: Codex
Carry selected review ranges through ordinary ScheduledTask fire claims, keep paused schedules paused after manual runs, reject new Agent tasks without immutable Connection identity, and preserve the legacy one-time catch-up trigger during migration. Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Astro-Han
force-pushed
the
refactor/daily-review-converge-scheduled-task
branch
from
August 29, 2026 17:40
e2b99b6 to
51f2ab9
Compare
Generated-by: Codex
Generated-by: Codex
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.
Summary
Daily Review stays a first-class Automations experience while its runtime converges on shared authorities:
ScheduledTaskowns scheduling, timezone, retry, and run now.The UI keeps setup, run now, Today / 7 / 30 day navigation, task activity, report history, and backing-schedule management, with a simpler visual hierarchy and no duplicate report rows. The dedicated scheduler, resident state, model path, archive dashboard/store, protocol, and IPC are removed. Net diff: 1,956 lines deleted.
UI comparison
Migration and compatibility
Released two- and three-table layouts migrate idempotently. Existing configuration becomes one system-owned Daily Review preset task without changing enablement, timezone, or trigger semantics. Reports become deterministic Sessions, transcript messages, and Artifacts; retirement happens only after replacement writes and snapshot CAS succeed, so failure remains retryable without permanent dual read/write.
Legacy ScheduledTask Agent rows are rebound through canonical connection readiness or paused for repair. Runtime Host compatibility epoch advances to 69. Rolling back after retirement requires the pre-migration backup; migrated Sessions and Artifacts remain ordinary durable data.
Verification
git diff --checkFull-repository tests were not run.
AI use
Select exactly one:
Tool(s) and scope: Codex implemented the migration, authority convergence, UX preservation, tests, and review fixes. Affected commits carry
Generated-by: Codextrailers.Checklist
Does this PR entail a change in behavior?