Skip to content

docs: add setup, PR, and model notes to the pstack adapter - #198

Merged
ibetitsmike merged 9 commits into
mainfrom
mike/pstack-adapter-post-root-agent
Nov 11, 2026
Merged

ibetitsmike merged 9 commits into
mainfrom
mike/pstack-adapter-post-root-agent

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Part of #13.

#185, #189, and #190 changed the code and the evidence of docs/fork/pstack-adapter.md. This PR moves the header to fork main at b3c4911b16 and adds the notes from the pstack e2e run that the lead approved.

  • Setup: the copies from steps 5 to 10 are a snapshot, so repeat them when this page changes, and first delete the copies of the earlier pstack commit so a removed or renamed skill doesn't stay. execute runs sh -c in the agent's environment and doesn't read ~/.bashrc or ~/.profile, so put PATH in the template's coder_agent env, or start the command with . ~/.profile &&.
  • setup-pstack: with one config in list_subagent_models, every role runs on it, including the roles that pstack spreads across model families. Say so in the report.
  • A built-in PR tool: if gh pr create fails with Resource not accessible by integration (createPullRequest), push the branch, write the title and body to files, and ask the user to open the PR.
  • New row, the PRs of a chat: the top bar and the sidebar keep a merged PR for its branch. The background refresh looks up the branch's open PR only for an entry without a PR or with a PR from another branch, and a read of the chat's diff switches the entry to the branch's open PR. To list a run's PRs, query each branch with gh pr list --repo <owner>/<repo> --head <branch> --state all in the repository that the PRs target.
  • Evidence: entries for the execute environment and the chat's PRs. The notify_user range :147-154 replaces :147-158, which ran past the end of the 154-line fork_notify_user.go since docs: map notify_user, the daily wake-up limits, and the archive workspace stop in the pstack adapter #154. feat(site/src): pick the agent type of a new chat in the composer #189 added lines to site/src/api/forkAgentDefinitions.ts, so its five ranges move down one line, and the agent type catalog that feat(site/src): pick the agent type of a new chat in the composer #189 added gets an evidence entry.
  • Custom agent types: the agent type picker that feat(site/src): pick the agent type of a new chat in the composer #189 added to the new chat form, and the Available agents page that feat(site/src): list the available agents and their recent chats #190 added, each with evidence entries. The picker note says that the form sends its model as model_config_id, so the chat doesn't run on the definition's model. feat(site/src): list the available agents and their recent chats #190 moved the site/src/forkRoutes.tsx and ForkSettingsNavItems.tsx ranges of the definitions pages, so they move too.

Validation

Xum opened this PR on behalf of @ibetitsmike.

Re-check the evidence against fork main at 5ec99fb and fix the
notify_user range that ran past the end of fork_notify_user.go.
Add notes from the pstack e2e run: setup copies are a snapshot,
execute does not read shell startup files, gh pr create can fail on a
GitHub App token, the chat's PR list keeps a merged PR, and a single
model config runs every pstack role.
@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 11, 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-11T12:53:31.711902Z fbd94ea 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: 59d68363d5

ℹ️ 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. Keep them coming!

Reviewed commit: 62a1616a8f

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

Move the forkAgentDefinitions.ts ranges that #189 shifted by one line,
and cite the agent type catalog that #189 added.
@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. Swish!

Reviewed commit: ae096bf172

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

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

ℹ️ 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
Comment thread docs/fork/pstack-adapter.md Resolved
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. Hooray!

Reviewed commit: ad58ef015a

ℹ️ 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. Can't wait for the next one!

Reviewed commit: fbd94eaeb3

ℹ️ 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 0fc46ce into main Nov 11, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-post-root-agent branch November 11, 2026 13:26
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merged as a squash of head fbd94eaeb3 right after #186, as 0fc46ceeec. This PR changes only docs/fork/pstack-adapter.md. It merges together with the next code PR, so it doesn't trigger a separate deploy.

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