Repository navigation
Description
Xum created this issue on behalf of @ibetitsmike.
Goal: the work that "Pstack General" does in Xum (workspace 8ac7791132, the lead of the pstack parity plan in #4) moves to an agent in Coder Agents on this fork.
This issue records what the lead and the workspaces it opened use in Xum, what Coder Agents on main (7fde60fafc) offers for each, and the work that is left.
How the capability list was made
Tool calls were counted in the Xum transcripts (chat.jsonl and chat-archive.jsonl) of the lead, Fork ops and the 15 workstream, sync and verifier workspaces, 2026-11-08 to 2026-11-12. The Coder Agents column comes from docs/fork/pstack-adapter.md and the code on main.
Capability table
| What the lead and its workspaces use in Xum | Lead calls | Coder Agents on main |
State |
|---|---|---|---|
| Shell, file read and edit | 3729 bash |
execute, process_output, read_file, write_file, edit_files |
Have |
| Open a workstream agent on its own branch, with a model and effort | 20 workspaces, 55 follow-up turns | spawn_agent with isolation: "worktree" or "workspace", model_config_id, reasoning_effort, custom agent types; nested with fork-nested-subagents |
Have, depth setting in #254 |
| Wait for, list, stop and resume agents | 746 task_await, 86 task_list, 42 task_stop |
wait_agent, list_agents, interrupt_agent, message_agent, wait_for_events |
Have |
| Messages between peers: workstream to lead, workstream to ops | 1236 sent, 2444 received | Parent to direct child only | Gap: #247 |
Wake on a background process (deploy, CI on main, validation runs) |
358 monitored runs, 250 wakes | wait_for_events for children and one GitHub pull request; schedule_wakeup polling |
Gap: #248 |
| Wake on pull request review, comment and CI | part of the above | wait_for_events with pull_request_url |
Have |
| Retire a finished workstream, read any descendant | 2 archives, on-disk transcripts | Root archive only; list_agents shows direct children |
Gap: #249 |
| Look at screenshots (UAT evidence) | 20 attach_file |
attach_file shows the user; the model gets no image |
Gap: #250 |
| HTML plan and status pages, decisions sent back from a page | 23 artifact |
Attachments without HTML view; port preview panel | Gap: #251 |
| Survive restarts of the server it deploys | lead runs outside the server | Chats are re-acquired after 30 s; family behavior unproven | Risk: #252 |
Host access: gh as Mike, logs, psql, coder-local, Colima, launchctl |
1752 gh, 341 log reads, 225 psql |
A Docker workspace in Colima | Gap: #253 (needs Mike) |
| Memory and context rollover | 1306 memory, 46 rollovers, 194 session_history |
Compaction, read_chat_transcript, search_chats, project memory in root chats |
Have, different shape: #254 |
Workflows (implement-flow, exploration) |
workflow_run 17 each in W6 and W4 |
Starlark workflows behind fork-workflows |
In progress: #226 |
| Skills | 14 skill reads in the lead | Skills, plugin packs | Have, content port in #254 |
| Goals with a budget, heartbeat | 2 goals, 1 heartbeat | /loop, schedule_wakeup with run and spend caps |
Have, caps in #254 |
| Todo list | 4 todo_write |
todo_write, todo_read |
Have |
| Questions to Mike | 7 ask_user_question |
ask_user_question, descendant questions on the root page |
Have |
| Notify Mike of blockers | about 18 webhook calls | notify_user |
Have |
| Web search and fetch | 3 | web_search; fetch through the Coder MCP server |
Have |
| Coder MCP tools (UAT in remote chats) | W7 and W0b | Organization MCP config coder |
Have |
Work
- chatd: let a chat message its parent and siblings in the family #247 family messaging (parent and siblings)
- chatd: wake a chat when a background process exits or prints a matching line #248 wake on a background process
- chatd: archive one child subtree and list descendants from a parent chat #249 archive one child subtree, list descendants
- chatd: let the model read image files from the workspace #250 model reads image files
- site: render HTML attachments and let a page send a message to the chat #251 HTML attachments with a message back to the chat
- chatd: prove that a busy chat family survives an autodeploy restart #252 busy family across an autodeploy restart
- local deployment: give the lead and ops workspace host reach, merge rights and capacity #253 lead and ops workspace: host reach, merge rights, capacity (needs Mike)
- pstack lead: port the lead, ops and workstream roles to Coder Agents and pilot one workstream #254 port the roles and skills, set limits, pilot one workstream
- pstack W12: Starlark workflows and saved workflows #226 Starlark workflows (already running as W12 and W13)
Suggested order: #247 and #248 first, because the lead cannot run its loop without them. #253 needs Mike's decisions and can start in parallel. #252 before the cutover. #249, #250 and #251 can follow the pilot in #254.
Activity
ibetitsmike commentedon Nov 12, 2026
Additions from the lead (Pstack General,
8ac7791132), checked against its transcript where a count exists:shasumbashcalls and 636 ops calls read another workspace's scratch directorysharedorworktreeisolation share the lead's workspace, so this works. A child withworkspaceisolation does not, so #254 must name a shared evidence location or keep evidence-bearing agents in the lead's workspacegen.pyoverchecklist.md) and the decisions log scriptnotify-mike.sh)notify_userreaches a webhook only if the deployment sends notifications by webhook. #253: either configure that, or give the lead's workspace the webhook secretThe lead added #255 to #4 and is waiting for Mike's go-ahead and the three decisions in #253 before it opens workstreams for #247 and #248.
ibetitsmike commentedon Nov 12, 2026
Mike gave the go-ahead on 2026-11-12. The lead is opening workstreams for #247 (messages between family members) and #248 (wake on background process exit or output). #253 decision 2 is answered: merges use Mike's
ghlogin.ibetitsmike commentedon Nov 13, 2026
Cutover started on 2026-11-13, on Mike's request. Mike changed #253 decision 1: ops and deployments stay in Xum, outside the Coder server. The maintainer role, from issue triage to merge-ready pull requests, moves to a Coder Agents chat on the daily server, in a Coder Agents project, on Opus 5.5 through dogfood.
Done on the daily server:
28404173-077a-4604-9df9-e8b54a3d821f) with instructions (the charter), three project skills (fork-issue-triage,fork-workstream,fork-maintainer-cycle), a project agent typeworkstream(own worktree per issue) and three seed memories from the Xum lead's handoff (standing orders, handed-over state, lessons).fork-dev:localon Colima: the toolchain pinned inmise.toml(Go 1.26.10, Node 22.23.4, pnpm 12.16.1, protoc 23.4, sqlc, golangci-lint 2.0.2), Postgres 16 like fork-ci, andghthrough Coder external auth. Built in a slot from Fork ops. Not used yet.Waiting for Mike:
fork-family-messages,fork-pinned-skills,fork-workflows; the lead advises to holdfork-plugin-packsfor coderd/x/pluginpacks: guard Git plugin pack fetches with safedial against loopback and private IPs #216), and thefork-devtemplate plus thefork-maintainerworkspace.ready-to-mergewith the gate evidence, and the Xum side merges and watches the deploy.Then: push the template, create the workspace, add the model, start the maintainer chat with issue triage and delegation.
Known gaps after the cutover:
ibetitsmike commentedon Nov 13, 2026
Cutover done on 2026-11-13 21:30Z. The Coder Agents maintainer chat is running on the local server and has started issue triage.
fork-maintainer(templatefork-dev), model Claude Opus 5.5 through dogfood AI Bridge.fork-family-messages,fork-pinned-skillsandfork-workflows.fork-plugin-packsstays off for coderd/x/pluginpacks: guard Git plugin pack fetches with safedial against loopback and private IPs #216.gh,go version,gitandpg_isreadyin the workspace and listed the project skills and memories.Open points:
ibetitsmike commentedon Nov 13, 2026
Cutover done on 2026-11-13. The maintainer role now runs in the Coder Agents chat "Fork maintainer" on the daily server. Ops and deployments stay in Xum (Fork ops). Per the charter, this maintainer merges, one PR per deploy, under the gates in the project instructions. That replaces the
ready-to-mergelabel plan in the comment above.Verified in the workspace:
mainand the daily server atc980fb84ea, fork-ci green onmain, no open PR besides Mike's drafts and ci: lint fork Go code in fork-ci and fix existing findings #140.go build ./coderd/x/chatd/...and a DB-backedgo test ./coderd/x/chatd/ -run TestWakeup...passed.ghtoken can label and comment on issues. Opening a PR and merging are untested until the first PR.Triage of all 23 open issues: two independent injection screens found all clean. New labels:
needs-mikeon #13, #169, #219, #226;enhancementon #123, #254.Started:
mike/issue-252-family-restart.mike/issue-249-list-descendants, PR 2 onmike/issue-249-archive-child.Next: #250, then #251. #254 is being exercised by this chat as the pilot; its first merge closes the pilot acceptance item.
Known gaps still open: the one-Go-run rule is enforced only inside this workspace (
flock), and this chat cannot message Fork ops.ibetitsmike commentedon Nov 17, 2026
Status 2026-11-17 22:00Z from the Coder Agents lead:
ibetitsmike commentedon Nov 19, 2026
Lead status 2026-11-19 18:00Z.
ibetitsmike commentedon Nov 20, 2026
Lead status 2026-11-20 22:45Z.
ibetitsmike commentedon Nov 21, 2026
Status 2026-11-21 01:05Z from the lead maintainer chat.
Merged since the last status:
In flight (3 of 3 slots):
Queue: #329 docs last. #252 evidence at a deploy under a family of at least 4 chats.
ibetitsmike commentedon Nov 21, 2026
Status 2026-11-21 10:00Z: #397 is live (buildinfo +5c8c0e2c7a). In progress: #326 (child 63a10978), #329 (child 7bd508cc), and the new #407, which fixes clean main failing
make pre-commit(child 0426a1a1). Interim rule until #407 lands: workstreams may use a worktree-scopedcoder.pre-commit=false, never--no-verify, and they list targeted checks in the PR body.ibetitsmike commentedon Nov 21, 2026
Status 2026-11-21 12:32Z: #409 merged as 58f9009 at 11:45Z (refs #407, fmt and gen sweep). Its deploy has not arrived after 46 minutes, so merging is paused and Mike has been notified. Open: #411 (#326, fixing Codex P1s) and #408 (#329 docs, fixing Codex findings, merges last). New issues: #407 (pre-commit debt; its fork-ci patch waits on Mike because the token lacks the workflow scope) and #410 (deterministic enum order in apidoc gen).
ibetitsmike commentedon Nov 21, 2026
#414 merged as e24f7e7 at 16:40:20Z (closes #410). At 17:26:49Z the server still reports
v2.39.4-devel+fa59c8fb11, which is over the 45 minute limit. Mike is notified, and merging is paused until the deploy lands. #411 (closes #326) is in review round 8: Save is missing on cards that were already finished when the chat loaded, plus focus and test gaps. It will not merge before the deploy.ibetitsmike commentedon Nov 21, 2026
The #414 deploy landed: the server reports
v2.39.4-devel+e24f7e7db4at 17:55:42Z, about 75 minutes after the merge. Merging resumes. #411 is still in review round 8.ibetitsmike commentedon Nov 21, 2026
Merged #411 (closes #326) as d42304f at about 20:13Z. Gates: head 26bcef4, fork-ci run 44940823274 green, clean Codex receipt on that head, no open threads, branch current with main, vitest 68/68 with negative controls. Deploy pending; the server still shows e24f7e7. No other merge until it lands. Next: #413 (cleanups from the #411 reviews) goes to a workstream now.
5 remaining items
ibetitsmike commentedon Nov 23, 2026
Deploy of #425 (683b9b1, merged 03:21Z) is live: buildinfo shows
v2.39.4-devel+683b9b12eeat 04:07Z. Next merge: #427 (#420).ibetitsmike commentedon Nov 23, 2026
Merged #427 (#420, fold held-back matching lines into the exit or loss message) as ebfcb41 at 04:08Z on main 683b9b1. Waiting for its deploy before the next merge. Queue: #426 (#421) merges main next, then #428 (#422).
ibetitsmike commentedon Nov 23, 2026
Deploy of #427 (ebfcb41, merged 04:08Z) has not arrived at 04:53Z; the server still reports
+683b9b12ee. Merges are paused and Mike is notified. They resume when the deploy lands. Next: #426 (#421), then #428 (#422).ibetitsmike commentedon Nov 23, 2026
Deploy of #427 (ebfcb41) is live at 05:23Z, about 75 minutes after merge. Merges resume. Next: #429 (#424, doc comment only), then #426 (#421), then #428 (#422).
ibetitsmike commentedon Nov 23, 2026
Merged #429 (#424, LiveSubagents doc comment and generated docs) as 3e7b522 at 05:25Z on main ebfcb41. Waiting for its deploy. Next: #426 (#421) merges main again, then #428 (#422). #423 starts in the freed slot.
ibetitsmike commentedon Nov 23, 2026
Deploy of #429 (3e7b522, merged 05:25Z) has not arrived at 06:11Z; the server still reports
+ebfcb410ec. Merges are paused and Mike is notified. #426 (#421) is merge-ready on 6c3a23d and merges when the deploy lands.ibetitsmike commentedon Nov 23, 2026
Deploy of #429 (3e7b522) is live at 06:41Z, about 75 minutes after merge. Merges resume with #426 (#421).
ibetitsmike commentedon Nov 23, 2026
Merged #426 (#421, family message envelope kept out of copy, edit, history and queued preview) as d191dbb at 06:42Z on main 3e7b522. Waiting for its deploy. Next: #428 (#422) merges main, then #430 (#423) when ready.
ibetitsmike commentedon Nov 23, 2026
Deploy of #426 (d191dbb) is live at 07:27Z. Merged #428 (#422, wait_agent ends early for a pending family message) as 7321fda at 07:28Z on main d191dbb. Waiting for its deploy. Next: #430 (#423) when its gates pass on a head that is not behind main.
ibetitsmike commentedon Nov 23, 2026
Deploy of #428 (7321fda) is live at 08:13Z. Next: #430 (#423) after lead test verification.
ibetitsmike commentedon Nov 23, 2026
Merged #430 (#423, saved workflow row actions from server-side permissions) as 720ef7b at 08:16Z on main 7321fda. Waiting for its deploy.
The 2026-11-23 follow-up audit queue (#419 to #424) is now fully merged: #425, #427, #429, #426, #428, #430. No delivery work is open. Remaining open issues are blocked or need Mike: #407 remainder (token workflow scope), #168, #123 (draft #140 scope), #12 (waits on #13), #252, #254, and needs-mike #317 #286 #253 #220 #171 #169 #13.
ibetitsmike commentedon Nov 23, 2026
Deploy of #430 (720ef7b, merged 08:16Z) is live at 09:00Z. No merges in flight and no delivery work open. Standing checks resume: no new issues, no non-sync PR activity, no new answers from Mike.
ibetitsmike commentedon Nov 23, 2026
Mike handed PR #416 (APNs push) to the maintainer on 2026-11-23. A fresh Opus workstream takes it through the gates; see the takeover comment on #416.
ibetitsmike commentedon Nov 23, 2026
#416 (APNs push to the iOS app, behind
fork-apns-push) merged as 53f1cd0 at 2026-11-23 17:15Z, under Mike's order of 2026-11-23. Gates and test evidence are in #416 (comment). Ops note: with the experiment on,CODER_CHAT_APNS_TOPICmust be set to the app's bundle ID. The deploy poll runs; the 45 minute mark is 18:00Z.ibetitsmike commentedon Nov 23, 2026
#416 merge 53f1cd0 is live on the server (buildinfo
v2.39.4-devel+53f1cd03ca, first seen 2026-11-23 17:35Z, 20 minutes after the merge). The merge line is empty. Next standing check 2026-11-24 00:01Z.