Skip to content

docs: map the top bar slot badge and worktree isolation in the pstack adapter - #132

Merged
ibetitsmike merged 7 commits into
mainfrom
mike/pstack-adapter-batch-topbar-slot
Nov 10, 2026
Merged

ibetitsmike merged 7 commits into
mainfrom
mike/pstack-adapter-batch-topbar-slot

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Part of #13 and #8.

Updates docs/fork/pstack-adapter.md for two changes, #127 (the top bar now shows when a subagent is waiting) and #108 (spawn_agent worktree isolation). It also re-cites the page where #127, #124 (upstream sync), #108, #93, and #100 moved code. The page now says what fork main at 17ef3432d9 does.

Validation

  • Block-match checks of every cited file that changed between 716102744d and 17ef3432d9 found 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.
  • chore: merge upstream coder/coder 99fb0da864 #124 removed message_agent's interrupt flag, 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-cli2 0.16.0 on the page: 0 errors. The added lines have no em dashes, en dashes, spaced double hyphens, or semicolons.
  • UAT on the isolated 3100 server, as a member, for feat(site/src/pages/AgentsPage/components): show a waiting subagent in the chat top bar #127 with fork-nested-subagents. I set the test organization's limits to max_concurrent_per_family: 1 and restored {} afterwards:
    • At 716102744d and again at 273daf03dd, a second child waited while the first one ran sleep 300. The family route listed it in waiting_for_capacity.
    • At 1440 px, the waiting child's top bar shows the hourglass and Waiting for a free subagent slot. At 390 px it shows only the hourglass, and the label stays as screen reader text (max-sm:sr-only).
  • UAT on the isolated 3100 server at 643ba9ab2c with fork-subagent-isolation enabled only for this check. The workspace agent also ran 643ba9ab2c. A member's root chat in a scratch repo with branches main and base showed the following:
    • repo_path without isolation fails with repo_path and base_branch need isolation worktree.
    • isolation: "worktree" with base_branch: "base" created ~/.coder/worktrees/w7-q8-repo/<child chat ID> on agent/w7-q8-child-<8 hex> at the base commit. The result had isolation, worktree_path, and branch.
    • Without workdir, the child's execute ran in the parent's directory, /home/coder.
    • After message_agent sent the path, execute with that workdir ran in the worktree on its branch.
    • The worktree and branch stayed after the child finished. The documented git worktree remove and git branch -D commands removed them.
  • Every test chat is archived, the workspace is stopped, and the server's experiments and limits are back to the baseline.
  • Docs only. No code change.

Xum opened this PR on behalf of @ibetitsmike.

@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum acted for Mike on this comment.

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 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-10T11:41:00.910456Z 8d8e3ce 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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 799ab916d6

ℹ️ 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 changed the title docs: map the top bar slot badge in the pstack adapter docs: map the top bar slot badge and worktree isolation in the pstack adapter Nov 10, 2026
@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. Keep them coming!

Reviewed commit: 38e4b07cce

ℹ️ 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".

…atch-topbar-slot

# Conflicts:
#	docs/fork/pstack-adapter.md
@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: 8d8e3ceacd

ℹ️ 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 b4dfdb9 into main Nov 10, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-batch-topbar-slot branch November 10, 2026 11:56
@ibetitsmike

Copy link
Copy Markdown
Owner Author

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

Merge evidence for head 8d8e3ceacd419c2ffa0c41b417767ec38736a20e (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