The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
Project Tasks view (Board and List) Implementation Plan
For agentic workers: Follow the project's Engineer workflow: this plan is the draft pull request's first commit; each plan task commits its failing test, watches it fail, then commits the code that passes it; one independent review step on the pull request. Backend and CLI tasks (1, 2, 4) and Desktop tasks (5–10) share only the wire fields named in their Interfaces, so the two halves may run in parallel.
Goal: One place per project to see its work, from proposal to shipped: a Tasks view in the project header (Board by default, or List), with a red count of the tasks that need the reader, in place of the sidebar's task groups. It strengthens "Tell the PM what you want, and your crew ships it": every ask is in view until it ships, so none is forgotten.
Architecture: One Desktop function places each task in a column (Proposals, Next up, Working, Waiting, Shipped) with a Needs-you mark and a caption state. Board, List, the header badge and the project row's badge all use it. The server keeps a shared Next-up order as one sparse rank per task, so moving a card rewrites only that task. It sets the rank with one command a person or the PM sends; the rank arrives through the change feed the app already reads, so cards move with no reload or poll. A project's unanswered Buddy proposals come from one read that applies #2867's rule (a proposal with no task reply and no PM reply in its thread), however old. The app reads it again only once the project chat has moved, since only a message there can add or answer one (PM's ruling, 2026-11-04: no backfill, no writes to stored rows).
Tech Stack: TypeScript, Zod, Vitest (backend, CLI); Flutter/Dart (Desktop).
Spec: Task #2569 in Super Tab conversation 4f517cb03e671a3604090a53 (Dee, 2026-11-04; brief from River the same
day). It builds on #2867 (ask state: ✋ Proposal) and #2872 (Backlog's Shipped means merged).
Global Constraints
The mockup Dee confirmed, and only this:
# openharness Chat Terminals Tasks (3) People Tasks [ Board | List ] Mine Search Proposals 2 Next up 3 Working 2 Waiting 2 Shipped 9 Backlog shows Shipped means One tag per ● Needs you Task chat keeps nothing in Mine merged ask First run of its sender scholes · 3m scholes dee · Finch2 · the test copy diego · 1h PR #2867 ken15 · Dee to Rename a Swarm Remove the old decide from the phone preview route Dial thread tony · 23m River · not alerts Task chat … before Dec 4 diego · Larch4 grouping diego · in reviewThe PM confirmed (2026-11-04) that only Tasks joins the project header, between Terminals and People. A project-wide Pull requests view is a later task.
Columns, in this order: Proposals, Next up, Working, Waiting, Shipped. Not listed: cancelled, declined or stopped.
Proposals: Buddy proposals the PM has not answered (#2867's
✋ Proposal), however old, oldest first.Next up: open tasks nobody is moving yet, in the shared queue order. New tasks join the bottom.
Working: an agent is working or starting.
Waiting: in review, changes requested, waiting on a person, blocked, queued for a machine, or its agent lost or quiet. The caption says on what: "in review", "Ken to decide", "waiting for a machine", "agent lost".
Shipped: merged in the last 7 days, archived tasks included, newest first. Finished with no pull request: "Done".
Needs you: tagged, waited on by name, or asked in its agent's terminal. The task stays in its column, shows a red dot and the words "Needs you", and sorts first in its column. The Tasks icon shows a red count, with no badge at 0. The project's sidebar row adds them to its badge.
Card: the title (up to two lines), then a caption: requester · agent · state, joined by " · ". No task numbers, machines or models. A click opens the task's chat with the Tasks icon selected; the Tasks icon brings the board back.
Drag only inside Next up. A drop anywhere else goes back, and no other column shows a drop target. Keyboard: a focused Next-up card moves with ⌥↑ and ⌥↓.
"not before " on a Next-up card, set by the PM.
List: the same groups as sections, in the same order, with Shipped folded. Each row has the title and the same caption.
Board or List, and Mine, are remembered per person on this Mac.
The view's bar holds a Board/List switch, Mine (tasks I asked for) and Search (by title), and nothing else.
Sidebar: no task rows under a project. Needs you, Working, Waiting on others, The rest and Closed (N) all go. Next unread skips tasks. Task replies stay in Activity ▸ New replies and show as an unread dot on the card.
An empty column shows its header with 0. A project with no tasks shows "No tasks yet".
Manage ▸ Backlog stays.
Harness Design Language (desktop/design/desktop-design-system.md, icon-design-system.md):
- flat rows, with the caption on the second line
- colour is never the only signal
- no explanatory sentences
- tokens, never hard-coded colours or sizes
The header's Pull requests view is the model for how Tasks opens and closes.
The phone app (mobile/) is untouched. No Swarm code goes in cli/src/core.
Desktop tests use a memory store and a fake sign-in, and never sign the Mac out of the real CLI.
The PR body starts with "Requested by [email protected] through Harness.".
Design
- Growth. A task's rank and date live on its group and go when the group goes: project or Swarm deletion, as today. The proposals read stores nothing. It answers at most 100, oldest first.
- Concurrency. Both are written in the command's existing state transaction, so two moves serialize. A move names the task it goes after, never an index, so a stale view still lands where the person dropped the card.
- Read cost. A move rewrites one group's part. Renumbering a whole queue happens only when two ranks get closer than 1e-6, about 40 moves into the same gap. The proposals read runs once when the view opens, then again only after the project chat moves, and at most once a minute per project (PM, 2026-11-04). It finds the chat's proposal roots, then reads their threads the way the chat page does.
- Known limit. Finding the roots looks through every message of the project chat: 3,002 rows for 5 proposals, measured. The fix is a small indexed marker on proposal messages, with the existing ones marked once. That is a write to stored rows, so it waits for Ken's go, and becomes its own follow-up task once he agrees.
- Scale. At 10x, 300 open tasks in a project, a move is still one write. The first warning is the proposals read's time on a project chat with 10x the messages, in the read measures.
- Compatibility.
- An older client ignores
queueRankandnotBefore, and never asks for proposals. - A new client on an older backend orders Next up by number (oldest first) and shows no Proposals. When the backend
refuses
work.queuewithVALIDATION_ERROR, the card goes back and the view says "Update Harness's server to reorder".
- An older client ignores
- Migration and rollback.
- No migration for ranks: an unranked task sorts by its number.
- Proposals need none: the read applies #2867's rule to rows as they are stored.
- Rollback leaves the fields unread, and an older backend drops nothing it does not know.
- Audience.
- The proposals read answers only a reader of the project chat, by the check the messages read makes.
work.queueis refused unless the sender is a person who can write in the project, or that project's PM (coordinatorOrPerson).
- Identity. No command takes a person from its sender. The proposal's
personIdis the one the server recorded when it posted it. - Failure.
- A refused move puts the card back and names why in the view's bar.
- A failed read of Shipped's archived tasks shows "Couldn't load older shipped tasks", as Backlog does.
- Platforms.
- Backend.
- CLI skill text.
- Desktop on macOS, Linux, Windows and web, through the shared Flutter code; tested on macOS.
- The phone is untouched.
Review Focus
- A task's column moves live: a status change, a merge, a lost agent, a reply that tags the reader. Board and List read the controller's snapshot each build, so a test changes the server state and pumps, with no reload.
- Two people reorder at once, or one drops on a stale board: the move names its neighbour, and the server's order wins on the next change. Test: a move after a task that has since left Next up is refused, and the card goes back.
- A task tagged for the reader in Shipped, or a quiet task with a question: Needs you is a mark, not a column. Test both.
- A project whose PM is gone (no lead agent): proposals stay listed, and a person can still reorder.
- Long titles and names, 160–200% text, an empty project, a column of 0. These go in the screenshot test.
Task 1: Backend: a task's queue rank and not-before date
Files:
- Modify:
backend/src/superTabs/model.ts(Conversation:queueRank?: number,notBefore?: string) - Modify:
backend/src/superTabs/commands.ts(schema and handler) - Create:
backend/src/superTabs/taskQueue.ts,backend/src/superTabs/taskQueue.test.ts - Test:
backend/src/superTabs/commands.test.ts
Interfaces:
Produces:
- command
{ type: 'work.queue', conversationId: string, after?: string | null, notBefore?: string | null }afterabsent: the task stays where it is.null: it goes to the top. An id: it goes right after that task.notBeforeisYYYY-MM-DD;nullclears it.- At least one of the two is given.
- group fields
queueRank?: numberandnotBefore?: string, read by Desktop.
- command
queueKey(g) = g.queueRank ?? g.number ?? 0. Siblings are the project's open tasks:- not archived
- not the project chat, a Buddy chat or a private chat
- no
reviewOf
placeAfter(siblings, taskId, after): Map<string, number>returns the ranks to write:- usually just the moved task's: the midpoint between
afterand the next sibling,min - 1for the top,max + 1for the bottom - when the gap falls below 1e-6, every sibling, as 1..n in order
- usually just the moved task's: the midpoint between
Write failing tests:
taskQueue.test.ts:placeAfterto top, to the middle, to the bottom, and renumbering once gaps run out. An unranked task sorts by its number, so a new task comes last.commands.test.ts:- a person moves a task after another, and the group reads
queueRankbetween them - the PM sets
notBefore: '2026-12-04', then clears it withnull - refused:
- an Engineer agent (
COORDINATOR_REQUIRED) afternaming a task of another project, an archived task, a step or itself (QUEUE_UNKNOWN, 400)- a malformed date, or neither field given (validation)
- an Engineer agent (
- after a refusal,
f.stateis unchanged - the same operation id sent again does the work once
- a person moves a task after another, and the group reads
Run
cd backend && npx vitest run src/superTabs/taskQueue.test.ts src/superTabs/commands.test.ts -t queue: FAIL.Implement
taskQueue.tsand thework.queuecase:chatOnly,open(),coordinatorOrPerson, thenplaceAfter.Run again: PASS. Commit.
Task 2: Backend: a read of a project's unanswered proposals
Files:
- Modify:
backend/src/routes/superTabs.tsandbackend/src/superTabs/read/service.ts(GET /super-tabs/:tabId/proposals?projectId=P) - Test: beside the read's service tests
Interfaces:
- Produces:
{ proposals: [{ messageId, title, personId?, at }] }, oldest first, at most 100titleis the root's text, less an older root's "Let's build: "personIdis the root'ssource.personId;atis its creation time in ms
- How it reads: find the project chat's
buddy-proposalroots, then summarize their threads throughpageThreadsandthreadSummaries. Keep those whoseaskis'proposal'(#2867'saskOf). - Write failing tests:
- an unanswered proposal is listed
- one the PM replied to is not
- one a task was opened from is not
- an old root that still reads "Let's build: …" is listed with its title alone
- a reader who cannot read the project chat is refused
- the cap holds
- Run: FAIL. Implement. Run: PASS. Commit. If finding the roots needs a new index, it goes in its own commit and the PM is told before Ready.
Task 4: CLI: the PM keeps Next up in order
Files:
Modify:
cli/src/lib/swarmSkills.ts(both PM skills, under keeping work moving)Modify:
cli/src/lib/swarmTools.ts(task and group commands)Test:
cli/src/lib/swarmSkills.spec.tsWrite a failing spec: the PM text names
work.queuewithafterandnotBefore, and the tools text documents the command's JSON.Run
cd cli && npx vitest run src/lib/swarmSkills.spec.ts: FAIL.Add the text:
- PM: "Keep the project's Next up in the order work should start:
work.queuewithafter(null for the top) moves a task, andnotBefore(YYYY-MM-DD) marks a promise such as removing a route after a date." - Tools: the JSON and who may send it.
- PM: "Keep the project's Next up in the order work should start:
Run: PASS. Commit.
Task 5: Desktop: one function places a task
Files:
- Modify:
desktop/lib/super_tabs/task_groups.dart. It replacesSuperTabTaskGroupandsuperTabGroupTasks; the sidebar's groups go. - Modify:
desktop/lib/super_tabs/model.dart:SuperTabConversation.queueRank,notBeforeSuperTabProposal;SuperTabController.proposalsOfandreadProposals, which read again only once the project chat has moved
- Modify:
desktop/lib/super_tabs/backlog.dart(make #2872's shipped test public:superTabTaskShipped) - Test:
desktop/test/super_tab_task_groups_test.dart(rewritten for columns)
Interfaces:
Produces:
enum SuperTabTaskColumn { proposals('Proposals'), nextUp('Next up'), working('Working'), waiting('Waiting'), shipped('Shipped') } typedef SuperTabTaskPlace = ({SuperTabTaskColumn column, bool needsYou, String? state}); SuperTabTaskPlace? superTabTaskPlaceOf(SuperTabConversation task, {required String readerId, required DateTime now, int mentions = 0, int needsHuman = 0, String? Function(String personId)? personName}); List<SuperTabConversation> superTabNextUpOrder(Iterable<SuperTabConversation> tasks); // queueRank ?? number, then numberWhat
statesays, in the chat tag's and live card's words:- Working:
PR #Nonce a pull request is linked - Waiting, by cause:
- review:
in review - revision:
changes requested - person or
needs_human:<Name> to decide - blocked:
blocked - queued, or no agent:
waiting for a machine - orphaned:
agent lost - quiet:
quiet - done with an unmerged pull request:
ready to merge
- review:
- Shipped:
PR #N, orDone - Next up:
not before Dec 4
- Working:
Write failing tests. They place each state:
- no assignment, then Next up
- working or planned, then Working
waiting/starting, then Workingwaiting/review, then Waiting "in review"waiting/revision, then Waiting "changes requested"waiting/personnaming Ken, then Waiting "Ken to decide", and Needs you when Ken is the readerneeds_human, then Needs youquietwith a question, then Waiting with Needs youquietwith none, then Waiting "quiet"orphaned/lost, then Waiting "agent lost"waiting/queued, then Waiting "waiting for a machine"- blocked, then Waiting
- cancelled, then null
- stopped, then null
- done with no pull request, then Shipped "Done"
- merged 2 days ago, then Shipped "PR #12"
- merged 8 days ago, then null
- done with an unmerged pull request, then Waiting "ready to merge"
- tagged in a Shipped task, then Shipped with Needs you
superTabNextUpOrderputs ranked tasks in rank order, and an unranked new task last.Run
cd desktop && flutter test test/super_tab_task_groups_test.dart: FAIL.Implement. Run: PASS. Commit.
Task 6: Desktop: the sidebar lists no tasks
Files:
- Modify:
desktop/lib/super_tabs/project_sidebar.dart:- remove
_workgroups,_taskGroupHeadingand_closed superTabSidebarOrderlists no tasks- the project row's badge adds Needs-you tasks
- remove
- Modify:
desktop/lib/super_tabs/controller.dart(removetaskGroupFolded,toggleTaskGroup,closedOpenProjects, and the expansion that showed only them) - Test:
desktop/test/super_tab_task_groups_test.dart(sidebar and next-unread parts)
Interfaces:
Produces:
int superTabTasksNeedingYou(SuperTabController c, SuperTabProject p, {int Function(SuperTabConversation)? needsHuman}).Write failing tests:
- the grouped fixture shows no
super-group-<task>row and nosuper-task-group-*heading - the project row's badge reads the chat's mentions plus the Needs-you tasks
- ⌥⇧↓ goes from one project chat to the next, past an unread task
- the grouped fixture shows no
Run: FAIL. Implement. Run: PASS. Commit.
Task 7: Desktop: the Tasks view, Board and List
Files:
- Create:
desktop/lib/super_tabs/tasks_view.dart(bar, Board, List, empty state, saved choice) - Create:
desktop/lib/super_tabs/task_card.dart(card and list row: title, caption, Needs-you mark, unread dot) - Modify:
desktop/lib/shared/theme/app_icons.dart(squareKanban), then runscripts/audit-icons.py - Test:
desktop/test/super_tab_tasks_view_test.dart
Interfaces:
Produces:
SuperTabTasksView(controller:, project:, storage:, needsHuman:, onOpenTask:, onOpenProposal:, now:)- the saved choice is under
super-tab-tasks-view/<accountId>as{"layout":"board"|"list","mine":bool} - keys:
super-tasks-column-<column>,super-task-card-<id>,super-tasks-layout,super-tasks-mine,super-tasks-search
Write failing tests:
- Board shows five columns in order, with counts, and 0 on an empty one
- "No tasks yet" for a project with none
- a Needs-you card sorts first and reads "Needs you"
- the caption reads
dee · Finch2 · PR #2867, with no number, machine or model - Proposals lists the read's proposals oldest first, as
scholes · 3m. A new one shows once the project chat moves, and nothing is read while the chat stays still - Shipped includes an archived task from the closed read
- List shows the same sections, with Shipped folded
- Mine keeps the reader's asks; Search filters by title
- the layout and Mine survive a rebuild with the same memory store
- a server change moves a card with no reload
Run: FAIL. Implement. Run: PASS. Commit.
Task 8: Desktop: reorder Next up by drag and keyboard
Files:
Modify:
desktop/lib/super_tabs/tasks_view.dart:- Next up is a
ReorderableListViewwith drag handles - other columns are plain lists, so they offer no drop target
- Next up is a
Modify:
desktop/lib/super_tabs/controller.dart:Future<String?> queueTask(String taskId, {required String? after}). It shows the new order until the server answers, and returns the refusal's message or null.Modify:
test/support/super_tab_fixture.dart(the fake server applieswork.queue)Test:
desktop/test/super_tab_tasks_view_test.dartWrite failing tests:
- dragging the third Next-up card to the top sends
work.queuewithafter: null, and the order holds after a new controller reads the same server (a reload) - dropping a Next-up card on Working sends nothing and leaves both columns as they were
- a Working card has no drag handle
- ⌥↑ on a focused card moves it up one, and ⌥↓ down one, each sending
after - a refused move puts the card back and shows the refusal
- dragging the third Next-up card to the top sends
Run: FAIL. Implement. Run: PASS. Commit.
Task 9: Desktop: the header's Tasks icon
Files:
Modify:
desktop/lib/super_tabs/view.dart:_showTasks, which switches like_showPullRequests- the Tasks button
super-tasks, between Terminals and People, withSuperTabCountBadgewhen the count is above 0 - a task's header shows the Tasks button, selected, to go back to its project's board
- the pane index for the view
Test:
desktop/test/super_tab_tasks_header_test.dartWrite failing tests:
- the project header lists Chat, Terminals, Tasks and Members in that order
- Tasks shows a red badge "3" for three Needs-you tasks, and none at 0
- Tasks opens the Board, as Board is the default
- a card click opens the task's chat with Tasks selected, and Tasks brings the board back
- Chat closes the view
Run: FAIL. Implement. Run: PASS. Commit.
Task 10: Screenshots and guards
Files:
Create:
desktop/test/super_tab_tasks_shots_test.dart(Board and List, light and dark, with a Needs-you card and the badge)Write the shots test, modelled on
super_tab_backlog_shots_test.dart, and run it on the Mac.Run Desktop's guards:
python3 scripts/check-ui-style.py,flutter test test/laid_out_list_test.dart, andflutter analyze.Run the backend unit suite (
cd backend && npm test) and the CLI spec. Post red/green evidence in a PR comment. Mark the PR ready.