Delete the tasks primitive (CL-6620) - #305
Merged
Merged
Conversation
Update every surviving suite that exercised @corbits/tasks, tasks-ui, task-planner, or task-dispatch-tools behavior to reflect their removal (fewer seeded catalog entries, no more Working-strip rows, no more task/task_leg backfill seeding), and add tests for agent-definition drafting and inventory assembly now that they live in @corbits/agent-directory.
PRODUCT.md, GLOSSARY.md, and every package README that described @corbits/tasks, tasks-ui, task-planner, or task-dispatch-tools now describe the current shape: workflows/routines replaced the tasks primitive, and the "Working" sidebar strip is gone along with it. revendor-inventory.md marks the tasks-scoped findings RETIRED rather than deleting their history.
…ask-dispatch-tools (CL-6620) Workflows and routines replaced tasks as the platform's automation primitive; a browser sweep confirmed tasks were already unreachable in the UI, and 35 importers across the repo only reached them for a sidebar strip, one-shot Myra drafting, and a routine-to-task bridge — none of which need a second primitive. - Sidebar: drop the "Working" strip and its bench-activity tasks query (apps/web/src/shell/workbench-list.tsx, bench-activity.ts). - Mission Control: drop the task in-flight rows; routines only. - Agent-definition drafting (CL-6074) and inventory assembly move from task-planner into @corbits/agent-directory, the package they belonged to by domain, not by accident of history. Myra-definition resolution and the stale planner-created-name filter move with them. - The recurring-task workflow and its routine-launcher bridge (dispatching a fired routine through tasks' launchTask) are deleted; every catalog entry now delivers to a workbench. - workflow-catalog, notify, folded-runs, chat, agent-events lose their tasks-shaped seams (deliveryMode "inbox", TaskResultNotification, the tasks-side of the process-wide orchestrator doc comments). - scripts/db-setup.ts stops applying tasks migrations and stops reading task/task_leg for the folded-run backfill seed. The `tasks.task`/`tasks.task_leg` tables and their migration ledger are left untouched in any database that already has them — only the code that read and wrote them is gone. - check:tool-package-pins/freshness pass: task-dispatch-tools is unpinned from every agent definition (workflows/assistant).
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
packages/tasks,packages/tasks-ui,packages/task-planner,packages/task-dispatch-tools(~18.8k lines removed, 137 files) per CL-6620: workflows and routines replaced tasks as the platform's automation primitive, and a browser sweep confirmed tasks were already unreachable in the UI.WorkbenchList) and itsbench-activity.tstasks query; Mission Control drops task in-flight rows and lists routines only.task-plannerinto@corbits/agent-directory— the package they belonged to by domain. Myra-definition-id resolution and the stale planner-created-name filter move with them.recurring-taskworkflow and the routine-launcher bridge that dispatched a fired routine through tasks'launchTask; every remaining catalog entry now delivers to a workbench.workflow-catalog,notify,folded-runs,chat,agent-eventslose their tasks-shaped seams (deliveryMode: "inbox",TaskResultNotification, task-side orchestrator doc comments).scripts/db-setup.tsstops applying tasks migrations and stops readingtask/task_legfor the folded-run backfill seed.Data note
The
tasks.taskandtasks.task_legPostgres tables and their migration ledger are left in place, untouched, in any database that already has them — this PR only removes the code that read and wrote them, per the owner's removal ruling.Verification
WORKBENCH_CHECK_SINCE=origin/main bun run typecheck— cleanbun run lint— clean (0 errors; pre-existing unrelated warnings only)check:deletion,check:killdates,check:licenses,check:tool-package-pins,check:tool-package-freshness— all pass (task-dispatch-tools is unpinned fromworkflows/assistant)bun testruns green across every touched package (agent-directory, cli, hub-client, onboarding, routines, run-scope, apps/web shell/mission-control/insights, the DB-gatedfolded-run-backfille2e test against a real Postgres)apps/hub/src/index.tsstill importing from the deleted@corbits/task-planner, andscripts/e2e/folded-run-backfill.test.tscalling now-unimportedapplyTasksMigrations/listTaskFoldedRunIdsTest plan
tasks.task/tasks.task_legtables still exist untouched on a database that has them