Repository navigation
docs: map nested subagent trees and descendant questions in the pstack adapter - #117
Conversation
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bfde8a7984
ℹ️ 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".
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
…atch-nested-tree # Conflicts: # docs/fork/pstack-adapter.md
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Merge evidence for head
|
Part of #13, #8, and #73.
Updates
docs/fork/pstack-adapter.mdfor #104 and #99, which show every nested subagent in the Agents sidebar, and for #86, which gives descendant chats a blockingask_user_question, all behindfork-nested-subagents. The page now says what forkmainat5decda1a92does.childrenlist, withparent_chat_idnaming each one's parent. The Agents sidebar shows each worker under its coordinator, and each descendant opens its own/agents/:idpage.explorechild hasask_user_questionoutside plan mode. The call ends its turn, and the answer is its next user message.wait_agentreturnsneeds_input: truewith the questions, and if the question is unanswered when it is called, it waits for the answer first. The root chat doesn't show the question yet, so the parent shows the user the questions, ends its turn, and passes on the answer withmessage_agent. The user can also answer in the child's chat, which resumes only the child, so the parent continues at the user's next message. TheAskQuestionrow now names children.wait_agentwrapper. feat(coderd): let descendant chats ask the user blocking questions behind fork-nested-subagents #86 moved thefork_tools.golines that four entries cite, and an earlier change moved thecoderd/exp_chats.gocontext-resources cite, so those entries now cite the new lines. The header names5decda1a92.Validation
7fc04297b4and6ae89b1c7f, feat: embed every nested subagent descendant under its root chat #99, feat(site/src): render nested subagent descendants in the agent tree #104, and feat(coderd): let descendant chats ask the user blocking questions behind fork-nested-subagents #86 changedcoderd/exp_chats.go,fork_tools.go,turn_environment.go, andcodersdk/chats.goamong the cited files. A block-match check found five moved ranges, all updated, and every other cited range in those files unchanged. The new cites were read at6ae89b1c7f.mainafter feat: report the subagent capacity of a nested chat family #109 and feat: show a child chat's agent type behind fork-agent-definitions #112 landed. feat: show a child chat's agent type behind fork-agent-definitions #112 added anagent_typeentry to this page and three lines tocoderd/exp_chats.go, so the threeexp_chats.gocites in this PR moved again and now cite5decda1a92. The block-match check from6ae89b1c7fto5decda1a92found no other moved range, thechat_capacity.sqlrange that feat: report the subagent capacity of a nested chat family #109 touched is unchanged, and feat: show a child chat's agent type behind fork-agent-definitions #112's own cites were re-read at5decda1a92.markdownlint-cli20.16.0 on the page: 0 errors. No em dashes, en dashes, spaced double hyphens, or semicolons in the added lines.fork-nested-subagents, as a member, in headless Chromium:26c1e0271e: a root chat spawned a coordinator that spawned a worker. The root GET and the chat list embed both, the worker withparent_chat_idset to the coordinator. The coordinator's GET embeds nothing. In the sidebar, expanding the root shows the coordinator, and expanding the coordinator shows the worker, indented one level more. Clicking each opens/agents/<its id>.6ae89b1c7f: a child calledask_user_questionand stopped. The root'swait_agentreturnedneeds_input: true, the questions, and the note. The root chat page shows no question card. The child's page shows the question form, and choosing Blue and Submit sentBlueas the child's user message. The child repliedANSWER=Blue, and the nextwait_agentreturned that report withoutneeds_input.message_agent(Large), andwait_agentreturnedANSWER=Large.wait_agentwhile its child's question was unanswered. The answer came 39 seconds into the wait, and the same call returnedANSWER=Square.