Repository navigation
feat(desk): Missions - the Inbox and Today (ADR-0024) - #37
Merged
Merged
Conversation
GET desk/pm/today, alerts, tasks, tasks/:scope/:id, clients, and clients/:client run ws today, alerts, task list|show, and client show with --json (Agent-Workspace ADR-0024), so the desk and agents share one implementation; POST desk/pm/alerts/snooze runs ws alerts snooze. Every argument is checked before ws runs. A client dossier carries its restricted records for the desk only, read by the host from disk: no ws command prints them, and no chat or agent tool reaches this route. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The menu opens with Missions: an Inbox of computed alerts, each opened where it can be acted on or snoozed for an hour, a day, or a week, and Today, which fills the main area with signals that filter, "your day" (people waiting first, then dates, then stalled work), the work in hand, the crew working now, and each client's pulse. The menu icon and the tab title count late and due work beside raised hands, and a new overdue, due, or reminder alert raises a browser notification; nothing leaves the machine. Escape and the breadcrumb return to the floor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
This PR adds the first desk part of Agent-Workspace ADR-0024: Missions. It covers project management across every client, using the framework's records.
Server. Six read routes, all served by
ws ... --json, so the desk and agents (throughws mcp) see one implementation:GET desk/pm/todayGET desk/pm/alertsGET desk/pm/tasksGET desk/pm/tasks/:scope/:idGET desk/pm/clientsGET desk/pm/clients/:clientPOST desk/pm/alerts/snoozesnoozes an alert. Every argument is validated beforewsruns. A client dossier includes its restricted records (contacts, commercial terms); the host reads those from disk for the desk only, and no chat or agent tool can reach that route.Inbox (the first section of the menu): the computed alerts.
Today fills the main area:
Escape or the breadcrumb returns to the floor.
Signals outside the view. The menu icon and the tab title also count late and due work, and a new overdue, due-today, or reminder alert raises a browser notification. Nothing leaves the machine; these are the owner's choices recorded in ADR-0024.
The ws stub in the browser harness now answers
today,alerts,alerts snooze, andclient showfrom JSON that each spec writes, and logs the calls it receives.Test plan
pnpm test: 245 passing, includingserver/desk/pm.test.ts(argument building and validation, snooze, dossier with restricted text from disk, client pulse)pnpm lint,pnpm exec tsc -b,pnpm buildPW_CHANNEL=chrome pnpm test:ui: 29 passing, includingmissions.spec.ts:ws alerts snooze;Generated with Claude Code