Skip to content

Move the pstack lead to Coder Agents: capability gaps and cutover #255

Open

Description

@ibetitsmike

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

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

  1. added
    pstack-parity
    on Nov 12, 2026
  2. ibetitsmike commented on Nov 12, 2026

    @ibetitsmike
    OwnerAuthor

    Xum posted this comment on behalf of @ibetitsmike.

    Additions from the lead (Pstack General, 8ac7791132), checked against its transcript where a count exists:

    Capability the lead depends on Evidence Where it lands
    Reading other agents' evidence files and checking them by shasum 157 lead bash calls and 636 ops calls read another workspace's scratch directory Children with shared or worktree isolation share the lead's workspace, so this works. A child with workspace isolation does not, so #254 must name a shared evidence location or keep evidence-bearing agents in the lead's workspace
    Telling a real peer message from model-written text The lead reports frequent imitated READY and PASS messages #247 already asks that the recipient sees the sender's chat ID and title as an agent message. Add: the sender is set by the server, never by message text
    Ops slot protocol: one Go or Docker run at a time, with GO windows Runbook rule, not a tool #254 runbook, sized by the Colima decision in #253. It needs #247, because workstreams ask ops for slots directly
    Tracking-issue generator (gen.py over checklist.md) and the decisions log script Lead scratch scripts #254: move both into the plugin pack
    Webhook to Mike's phone (notify-mike.sh) About 18 calls notify_user reaches a webhook only if the deployment sends notifications by webhook. #253: either configure that, or give the lead's workspace the webhook secret

    The 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.

  3. ibetitsmike commented on Nov 12, 2026

    @ibetitsmike
    OwnerAuthor

    Xum commented on behalf of @ibetitsmike.

    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 gh login.

  4. ibetitsmike commented on Nov 13, 2026

    @ibetitsmike
    OwnerAuthor

    Xum posted this comment on behalf of @ibetitsmike.

    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:

    • Project Fork maintainer (28404173-077a-4604-9df9-e8b54a3d821f) with instructions (the charter), three project skills (fork-issue-triage, fork-workstream, fork-maintainer-cycle), a project agent type workstream (own worktree per issue) and three seed memories from the Xum lead's handoff (standing orders, handed-over state, lessons).
    • Workspace image fork-dev:local on Colima: the toolchain pinned in mise.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, and gh through Coder external auth. Built in a slot from Fork ops. Not used yet.

    Waiting for Mike:

    • A dogfood token for the Opus 5.5 provider (the dogfood CLI login on the Mac has expired).
    • Confirm in the Fork ops workspace: Colima size (proposal 16 CPUs, 32 GB), the experiment list for the daily server (fork-family-messages, fork-pinned-skills, fork-workflows; the lead advises to hold fork-plugin-packs for coderd/x/pluginpacks: guard Git plugin pack fetches with safedial against loopback and private IPs #216), and the fork-dev template plus the fork-maintainer workspace.
    • Tell the Xum lead (Pstack General) to stand down. It keeps the role until Mike says so directly.
    • Who merges: the charter says the Coder Agents maintainer does not merge. It labels a pull request ready-to-merge with 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:

  5. ibetitsmike commented on Nov 13, 2026

    @ibetitsmike
    OwnerAuthor

    Xum acted on behalf of @ibetitsmike.

    Cutover done on 2026-11-13 21:30Z. The Coder Agents maintainer chat is running on the local server and has started issue triage.

    • Chat "Fork maintainer" in project "Fork maintainer", workspace fork-maintainer (template fork-dev), model Claude Opus 5.5 through dogfood AI Bridge.
    • Experiments on the daily server now include fork-family-messages, fork-pinned-skills and fork-workflows. fork-plugin-packs stays off for coderd/x/pluginpacks: guard Git plugin pack fetches with safedial against loopback and private IPs #216.
    • Colima is at 16 CPUs and 32 GB.
    • GitHub access in the workspace is a token limited to this repository (contents, pull requests, issues). An issue write and a branch create and delete were verified.
    • A test turn on Opus 5.5 ran gh, go version, git and pg_isready in the workspace and listed the project skills and memories.
    • The maintainer merges, one pull request at a time, and waits for each deploy. Ops and deployments stay in Xum (Fork ops).
    • The Xum lead has stood down and has no work in flight.

    Open points:

    • The dogfood token lasts at most 7 days (expires 2026-11-20 21:24Z) and must be renewed by hand.
    • The maintainer chat cannot message Fork ops, so its Go runs are serialized only inside its own workspace.
    • No Go build or test had run in the workspace before the chat started; the first one is the check.
  6. ibetitsmike commented on Nov 13, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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-merge label plan in the comment above.

    Verified in the workspace:

    • Handoff state matches GitHub: main and the daily server at c980fb84ea, fork-ci green on main, no open PR besides Mike's drafts and ci: lint fork Go code in fork-ci and fix existing findings #140.
    • Toolchain: Go 1.26.10, Postgres 16. A cold go build ./coderd/x/chatd/... and a DB-backed go test ./coderd/x/chatd/ -run TestWakeup... passed.
    • The workspace gh token 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-mike on #13, #169, #219, #226; enhancement on #123, #254.

    Started:

    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.

  7. ibetitsmike commented on Nov 17, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Status 2026-11-17 22:00Z from the Coder Agents lead:

  8. ibetitsmike commented on Nov 19, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Lead status 2026-11-19 18:00Z.

  9. ibetitsmike commented on Nov 20, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Lead status 2026-11-20 22:45Z.

  10. ibetitsmike commented on Nov 21, 2026

    @ibetitsmike
    OwnerAuthor
  11. ibetitsmike commented on Nov 21, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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-scoped coder.pre-commit=false, never --no-verify, and they list targeted checks in the PR body.

  12. ibetitsmike commented on Nov 21, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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).

  13. ibetitsmike commented on Nov 21, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    #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.

  14. ibetitsmike commented on Nov 21, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    The #414 deploy landed: the server reports v2.39.4-devel+e24f7e7db4 at 17:55:42Z, about 75 minutes after the merge. Merging resumes. #411 is still in review round 8.

  15. ibetitsmike commented on Nov 21, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  16. 5 remaining items

  17. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Deploy of #425 (683b9b1, merged 03:21Z) is live: buildinfo shows v2.39.4-devel+683b9b12ee at 04:07Z. Next merge: #427 (#420).

  18. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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).

  19. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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).

  20. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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).

  21. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  22. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  23. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Deploy of #429 (3e7b522) is live at 06:41Z, about 75 minutes after merge. Merges resume with #426 (#421).

  24. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  25. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  26. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Deploy of #428 (7321fda) is live at 08:13Z. Next: #430 (#423) after lead test verification.

  27. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  28. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  29. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    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.

  30. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    #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_TOPIC must be set to the app's bundle ID. The deploy poll runs; the 45 minute mark is 18:00Z.

  31. ibetitsmike commented on Nov 23, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pstack-parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions