Skip to content

docs: map the root chat question dock in the pstack adapter - #130

Merged
ibetitsmike merged 2 commits into
mainfrom
mike/pstack-adapter-batch-root-questions
Nov 10, 2026
Merged

ibetitsmike merged 2 commits into
mainfrom
mike/pstack-adapter-batch-root-questions

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Part of #13 and #73.

Updates docs/fork/pstack-adapter.md for #118, which shows descendant chats' questions on the root chat's page. The page now says what fork main at a9438bd7af does.

  • Questions. With fork-nested-subagents, the root chat's page in the web UI shows the oldest unanswered question from any descendant under Question from and the asking chat's title, with 1 of N when more questions wait. An answer there goes to the chat that asked. While the root chat has its own unanswered question, the page shows only that one, and a descendant's question appears after the user answers it. The section no longer says that the root chat doesn't show the question. After needs_input: true, the parent now tells the user that the question waits on the root chat's page and calls wait_agent again, and relays with message_agent only when the user answers in the parent's chat.
  • Evidence. New entries cite the family question query, the GET /api/v2/chats/fork/{chat}/questions route, the dock's gate, order, and header, the answer mutation, and the root page code that shows the root's own open question first. The header names a9438bd7af.

Validation

  • Between 2d635ea9a6 and a9438bd7af, the only changed files outside docs/ are feat(site/src): show descendant chat questions on the root chat page #118's site/ files, and the page cited none of them before this PR. The new cites were read at a9438bd7af.
  • markdownlint-cli2 0.16.0 on the page: 0 errors. No em dashes, en dashes, spaced double hyphens, or semicolons in the added lines.
  • UAT on the isolated 3100 server at a9438bd7af with fork-nested-subagents, as a member, in headless Chromium:
    • A root chat spawned w7-q4-a and then w7-q4-b, each of which called ask_user_question, and ended its turn without waiting. GET /api/v2/chats/fork/{root}/questions listed both, oldest first.
    • The root chat's page showed Question from w7-q4-a with 1 of 2, and the title linked to /agents/<w7-q4-a>. Choosing Square and Submit made one message POST, to w7-q4-a, with Answer to ask_user_question call <id>: and Square. w7-q4-a replied ANSWER=Square, the root chat got no new message and stayed idle, and the dock moved to Question from w7-q4-b with no count.
    • I asked the root to call wait_agent on w7-q4-b while its question was unanswered. During the wait, answering Large on the root page posted only to w7-q4-b, the dock closed, and wait_agent returned {"report":"ANSWER=Large", ...}.
    • A second root chat, created with client_type: "ui", spawned w7-q5-c, which asked a question, and then asked its own question with the async ask_user_question. Its page showed the root's question and no Question from dock. Answering Red posted to the root chat, and then Question from w7-q5-c appeared.
    • Both gate families are archived.
  • Docs only. No code change.

Xum opened this PR on behalf of @ibetitsmike.

@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-10T10:06:07.972383Z 542f76d 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: 1be697b7c9

ℹ️ 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
@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. Bravo.

Reviewed commit: 1be697b7c9

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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 542f76d7e3

ℹ️ 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 273daf0 into main Nov 10, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-batch-root-questions branch November 10, 2026 10:23
@ibetitsmike

Copy link
Copy Markdown
Owner Author

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

Merge evidence for head 542f76d7e37589201c8730133942c09203f3e97c (docs only: docs/fork/pstack-adapter.md):

  • fork-ci pull_request run 42795818906 passed on this head.
  • Codex on this exact head: no major issues (comment 6764550195). Its earlier P2 (the root's own open question hides the dock) was fixed, answered and resolved. 0 unresolved review threads.
  • The rows were gated on the isolated 3100 server at a9438bd7af as a member: with two asking children the root page showed "Question from w7-q4-a" and "1 of 2", Submit posted only to the asker and the dock moved to the next question, wait_agent returned the answered report, and a root with its own open question showed no dock until that question was answered.
  • Rides after a code merge; CLEAN against main 1aef789 at merge time.

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