Repository navigation
docs: map wait_for_events and the wait_agent worktree summary in the pstack adapter - #148
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. 🚀 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". |
UAT on the isolated 3100 server at
|
Merge evidence for head
|
Part of #13 and #8.
Updates
docs/fork/pstack-adapter.mdfor #106 (wait_for_events) and #141 (the worktree summary inwait_agent), and re-pins the citations that #106 and #143 moved. The page now says what forkmainat976f8fce6ddoes.wait_for_events(feat(coderd/x/chatd): wake a chat when its child agents finish #106). The Wake-ups section now says that, withfork-chat-wakeups, a chat also haswait_for_events, except in plan-mode turns andexplorechildren. It covers:child_chat_ids(up to 50 direct children, default every child still working),prompt(default asks you to read the result withwait_agent), andexpires_in_seconds(60 seconds to 30 days, default 24 hours);wait_for_eventsstill waits;The Questions section, the
run_in_background: truerow, the watchers row of the missing-features table, and the adapter block now point towait_for_events.wait_agent(feat: summarize isolated subagent worktrees in wait_agent #141). The Worktree isolation section now says thatwait_agenton a worktree child addsisolation,branch, andworktree_path, and, unless the wait times out,diff_summarywithcommits,files_changed,insertions,deletions, anduncommitted_changes, ordiff_summary_errorwhen the worktree can't be read.fork_wait_for_events.go,fork_isolation_report.go, andagent/agentgit/fork_worktree_summary.go. feat(coderd/x/chatd): wake a chat when its child agents finish #106 moved ranges infork_tools.go,fork_schedule_wakeup.go, andfork_wakeups.go, and fix: port the final computer use validation from upstream #31895 #143 movedchatloop.go:1460andcodersdk/chats.go:1953, and they are updated. The header names976f8fce6d.Validation
77b20734d2to976f8fce6d: the moved ranges are updated, and the changed ones (fork_tools.go:35-38,fork_schedule_wakeup.go:160-202,fork_wakeups.go:28,:235-252,:315-351, and the agent's delete checks infork_worktrees.go) were re-read and re-cited.markdownlint-cli20.16.0 andmarkdown-table-formatter1.6.1 on the page: 0 errors, no changes. The added lines have no em dashes, en dashes, spaced double hyphens, or semicolons outside .976f8fce6d, as a member, withfork-chat-wakeupsandfork-subagent-isolationenabled. Details are in the gate comment.wait_for_eventswithout children failed withno running child agents to wait for, a second call failed with thealready watchederror, and a non-child ID failed withis not a child of this chat.Child agent "<title>" (<id>) is done with status waiting.message per child, the second only after the first message's turn ended.wait_agenton the worktree child returnedtimed_out: trueand nodiff_summarywith a 5-second timeout, and after the child finished,diff_summarywith 1 commit, 1 file, 2 insertions, and 2 uncommitted changes (an edited tracked file and an untracked file).