CL-6362: Routines becomes a global-only surface - #119
Merged
Merged
Conversation
Covers CL-6362: GlobalRoutinesList rendering (workbench attribution, state chips, schedule, inline enable/disable, Run now, inline-expandable run detail), membership-based aggregation across every bench a signed-in account belongs to (not just the selected one, never creator-scoped), the Routines rail row, and removal of the per-workbench header buttons, the `/run` slash command, and the canvas panel's list/runs views.
Routines moves from per-workbench chrome to a global page in the shell rail, listing every routine across every workbench the account is a member of (membership-resolved, never just the selected one or creator-scoped) as rows: name, workbench attribution, running-or-not state, humanized schedule + next run, inline enable/disable, Run now, and an inline-expandable detail with recent runs and its delivery workbench. Data stays workbench-scoped (`GET /routines` is unchanged, tenant-scoped) - this is UI consolidation only, aggregated client-side across bench memberships the cheapest correct way. Removed, not hidden: the workbench header's Routines and Insights buttons, the composer's `/run` command, and the canvas routine panel's list/runs views (`RoutineListPanel`, `RunsCanvasPanel`) - the panel is editor-only now (create/edit), reached from the composer's `/routine` command, "New routine in this space", and the global page's own actions. In-room routine cards (created-routine notices, run-now approval cards) are untouched - they stay "visible where it was made". The routine-created/enabled in-room notice's copy no longer points to the retired "Routines panel".
TheGreatAxios
force-pushed
the
cl-6362-routines-global
branch
from
August 20, 2026 13:52
8a993c5 to
47f88d8
Compare
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
/routines), added to the shell rail beside Files/Skills/Agents/Plugins/Insights. Every row: name, workbench attribution, running-or-not state, humanized schedule + next run, inline enable/disable, Run now, and an inline-expandable detail (recent runs + its delivery workbench).useBench().memberships, the/api/me/principalsprincipal model) — aggregates across every bench the account belongs to, not just the currently selected one, and is never creator-scoped (GET /routinesalready lists every routine a bench's own grant covers). Data stays workbench-scoped; this is UI consolidation only./runcommand, and the canvas routine panel's list/runs views. The panel is editor-only now (create/edit), reached from the composer's/routinecommand, "New routine in this space", and the global page's own New/Edit actions.check:ui-vocabularypasses; consumer language throughout (no raw cron strings —cadenceLabel/approximateNextRunare the only source).Known gap (named, not half-built)
Run outcome delivery (a routine's own result messages landing in its delivery workbench) already exists via
apps/hub/src/routine-launcher.ts'sjoinDeliveryWorkbench, covered byapps/hub/src/routine-launcher.test.ts— this PR surfaces that fact in the row ("Run updates post into ") but does not add new hub-level wiring or tests for it, since the mechanism predates this PR and lives outsideapps/web/packages/chat-ui/packages/routines' scope here.Creation-path polish beyond what already exists (in-room
/routinecreate, "assign a workflow as a routine" from the library) was not in this box — the page, rail entry, and membership-based visibility are the complete slice; a richer creation flow is a follow-up.Test plan
bun run typecheck(apps/web, packages/chat-ui, packages/routines)bun test— apps/web (565 pass), packages/chat-ui (581 pass), packages/routines (228 pass)bun run lint(prettier + eslint) — clean on all touched filesbun run check:ui-vocabulary— ok/routines, proving membership-based aggregation