proposal(scheduled-tasks): first-class Scheduled Tasks - #3501
Draft
reachjalil wants to merge 34 commits into
Draft
proposal(scheduled-tasks): first-class Scheduled Tasks#3501reachjalil wants to merge 34 commits into
reachjalil wants to merge 34 commits into
Conversation
# Conflicts: # apps/app/src/react-app/domains/session/chat/session-page.tsx # apps/app/src/react-app/shell/app-root.tsx # apps/app/src/react-app/shell/notification-center.tsx # apps/app/src/react-app/shell/session-route.tsx # apps/app/src/react-app/shell/use-workspace-route-state.ts # apps/server/src/server.ts
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Important
Draft working candidate. The current product path is implemented and available for iteration. This is not a request to merge or a claim of release readiness.
Working deliverable
Scheduled Tasks has one independently useful outcome:
The feature is behind the Scheduled Tasks feature flag. It appears as one top-level destination above Library, aggregates tasks across workspaces, and always shows the human-readable workspace while preserving workspace-scoped creation, authority, and execution.
Current product scope
scheduled-task.propose-draft; the capability documents exact manual/daily/weekly schedule shapes.Fri, not raw day indexes.Architecture boundary
packages/scheduled-tasksowns engine-neutral contracts, ports, schedule calculation, state transitions, tick planning, and reusable testing utilities.apps/server/src/scheduled-tasksowns the OpenWork adapter layer: persistence, workspace validation, execution, artifacts, scheduler lifecycle, and routes.opencode-execution-adapter.ts.ScheduledTasksClientcontract.Architecture and repository-conformance tests protect this separation.
Safety contract
Exact integration state
different-ai/openwork:codex/scheduled-tasks.37037cc02c6ca5a66b18a8f0cbc469fa023fa385.different-ai/openwork:dev:c8adbe717ac6abcc4a43472a4bb69d879dbf2ef3.apps/server/src/server.ts; the resolution preserves the Scheduled Tasks stop-on-startup-failure lifecycle alongside currentdevbehavior.mix-tape@5f9c6159e67761638960219ae491f510f4f0d93e, whose tree exactly matches the PR head. The Electron app is running from that candidate.Checks on the current head
pnpm install --frozen-lockfile— passed with pinned pnpm 11.4.0.pnpm --filter @openwork/app typecheck— passed.pnpm --filter openwork-server typecheck— passed.node scripts/i18n-audit.mjs --ci— passed; no dangling or dynamic Scheduled Tasks keys.git diff --checkand exact base/PR ancestry — passed.The earlier 69-test focused suite and real Electron chat → proposal card → review journey remain useful prior-head provenance. They were not rerun on this synchronization checkpoint; broad verification is deferred until the iteration direction is selected.
Known gates and overlap
guard-legacy-eval-flowsremains the actionable CI failure.evals/flows/scheduled-tasks-e2e.flow.tsmust be migrated toevals/specs/**/*.test.tsusing@openwork/testkitbefore merge readiness.a0248a606; synchronize each to37037cc02and rerun its focused boundary before integration.Non-goals