Repository navigation
docs: map the top bar slot badge and worktree isolation in the pstack adapter - #132
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. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. 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". |
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! 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-topbar-slot # Conflicts: # docs/fork/pstack-adapter.md
@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". |
Merge evidence for head
|
Part of #13 and #8.
Updates
docs/fork/pstack-adapter.mdfor two changes, #127 (the top bar now shows when a subagent is waiting) and #108 (spawn_agentworktree isolation). It also re-cites the page where #127, #124 (upstream sync), #108, #93, and #100 moved code. The page now says what forkmainat17ef3432d9does.fork-nested-subagents, a waiting subagent's own chat now shows the same hourglass and Waiting for a free subagent slot label in its top bar as the sidebar does. On a narrow screen it shows only the hourglass.environment: "cloud"andcloud_base_branchrows now map toisolation: "worktree"andbase_branchunder thefork-subagent-isolationexperiment. The manualgit worktree addadvice stays as the fallback. A new section covers:message_agentand the child uses it as theworkdirofexecute;ForkSubagentSlotBadge.tsxandfork_isolation.go.ForkFamilyCapacity.tsxandChatTopBar.tsx.interrupt_agententry now cites the new path.fork_subagents.goranges, and feat: add worktree isolation to spawn_agent #108 and feat(coderd/x/chatd): add the schedule_wakeup tool and the /loop command #93 movedfork_tools.goandchat_mutations.goranges.subagent.goranges and theAliasesfield incodersdk/chats.go. This PR keeps feat: let custom agent definitions name a model by alias #100's own page edits, the alias row and its evidence, and re-cites them on the merged tree.schedule_wakeupbehindfork-chat-wakeups, so the Evidence line about missing wake-ups now says the tool exists only with that experiment. The full feat(coderd/x/chatd): add the schedule_wakeup tool and the /loop command #93 mapping, the/looprow and a wake-up section, comes in a later batch with feat(coderd/x/chatd): wake a chat when its child agents finish #106 and feat(coderd/x/chatd): cap chat wake-ups per day and add notify_user #115, after its own UAT.17ef3432d9.Validation
716102744dand17ef3432d9found the moved ranges above, and all of them are updated. Four ranges in the interrupt path changed, so I re-read and re-cited them. The claims they back still hold. Every other cited range is unchanged.message_agent'sinterruptflag, and a message to a busy child now arrives before its next model call. The new section relies on that and cites it. The rest of the page doesn't depend on the old queueing.markdownlint-cli20.16.0 on the page: 0 errors. The added lines have no em dashes, en dashes, spaced double hyphens, or semicolons.fork-nested-subagents. I set the test organization's limits tomax_concurrent_per_family: 1and restored{}afterwards:716102744dand again at273daf03dd, a second child waited while the first one ransleep 300. The family route listed it inwaiting_for_capacity.max-sm:sr-only).643ba9ab2cwithfork-subagent-isolationenabled only for this check. The workspace agent also ran643ba9ab2c. A member's root chat in a scratch repo with branchesmainandbaseshowed the following:repo_pathwithoutisolationfails withrepo_path and base_branch need isolation worktree.isolation: "worktree"withbase_branch: "base"created~/.coder/worktrees/w7-q8-repo/<child chat ID>onagent/w7-q8-child-<8 hex>at thebasecommit. The result hadisolation,worktree_path, andbranch.workdir, the child'sexecuteran in the parent's directory,/home/coder.message_agentsent the path,executewith thatworkdirran in the worktree on its branch.git worktree removeandgit branch -Dcommands removed them.