Skip to content

docs: map nested subagents and web UI questions in the pstack adapter - #50

Merged
ibetitsmike merged 4 commits into
mainfrom
mike/pstack-adapter-nested-subagents
Nov 9, 2026
Merged

ibetitsmike merged 4 commits into
mainfrom
mike/pstack-adapter-nested-subagents

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Part of #4 and #8.

Updates docs/fork/pstack-adapter.md for #37, which gives nested general subagents the subagent tools behind fork-nested-subagents, and for #43, which shows the todo list in the composer. The page now says what fork main at e12a13e3c6 does.

  • A subagent that spawns its own workers (row stays W2). With fork-nested-subagents on, a general child gets spawn_agent and the other subagent tools while its own children stay within --chat-max-subagent-depth (default 2), and each chat can wait on, message, interrupt and list only its direct children. With the experiment off, or at the maximum depth, a child still has no spawn_agent. The experiment is off by default, so the row is rewritten the way the fork-chat-todos row handles its experiment, not removed. The row is a short summary, and a new "Nested subagents" section under the table holds the details.
  • AskQuestion (status now W2 only). The row said ask_user_question exists only in plan-mode root turns. Since the question stack (chore: merge upstream question stack (coder/coder#31312) #17, 077d8a5aa9), a root chat started from the web UI also has it outside plan mode, where the call returns at once and the answer arrives later. The page's evidence was checked at b3a57df790, before chore: merge upstream question stack (coder/coder#31312) #17 merged, so the row was already stale on main. The W0b part of its status is done. The row now links to a new "Questions" section under the Tools table, and the AGENTS.md block's AskQuestion line says to use the tool when present.
  • Open a todolist. Says the list survives a compaction (feat(coderd/x/chatd): restore the todo list after compaction #35) and that the web UI shows a non-empty list in a pill in the composer (feat(site/src): show the chat todo list in the composer #43). The details sit in a new "Todo list" section under the Tools table.
  • Evidence. The header names e12a13e3c6. Every line reference was rechecked against it: the moved ones are updated, and the nested subagent, async question, todo snapshot and todo pill code is cited.

Not changed: the .cursor/agents/ row still says "Not read". #38 now discovers agent definitions, but no chat can use them yet, so that row changes with W1's spawn-by-name PR.

Validation

  • Each line reference compared between b3a57df790 and 36205eb03d, and moved ones relocated. 36205eb03d..e12a13e3c6 touches only site/, so the Go references hold at e12a13e3c6.
  • markdown-table-formatter 1.6.1 and markdownlint-cli2 0.16.0 on the page: 0 errors. No em dashes, en dashes or spaced double hyphens in the diff.
  • The daily deployment, at 36205eb03d, runs with no fork experiments enabled and chat-max-subagent-depth 2 (admin read of /api/v2/experiments and /api/v2/deployment/config), so children there still have no spawn_agent, as the rewritten row says. No live spawn: the claims are code-level at the deployed commit.

Xum opened this PR on behalf of @ibetitsmike.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T12:40:53.640984Z 24d19c6 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adb68b6b05

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 006e545008

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b2e2ce5637

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
Comment thread docs/fork/pstack-adapter.md Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 24d19c609d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike
ibetitsmike merged commit 9c26712 into main Nov 9, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-nested-subagents branch November 9, 2026 13:24
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum (AI agent) merged this on behalf of @ibetitsmike.

Merge evidence at head 24d19c609d (docs only, docs/fork/pstack-adapter.md):

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant