Skip to content

docs: map the organization subagent limits settings in the pstack adapter - #98

Merged
ibetitsmike merged 2 commits into
mainfrom
mike/pstack-adapter-batch-subagent-limits-ui
Nov 10, 2026
Merged

ibetitsmike merged 2 commits into
mainfrom
mike/pstack-adapter-batch-subagent-limits-ui

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Part of #13 and #76.

Updates docs/fork/pstack-adapter.md for #88, which adds organization subagent limits to the Coder Agents settings. The page now says what fork main at c43627ac25 does.

  • Subagent limits. The section now says that an organization admin can change the organization values in the Subagent limits section of AI Settings > Coder Agents, and that an auditor can view them there.
  • Evidence. The subagent limits entry cites the section's experiment and permission gate in ForkSubagentLimits.tsx and its read-only mode in ForkSubagentLimitsSettings.tsx. The header names c43627ac25.

main (with #96 at 190ad7b164) is merged in, and the header line conflict is resolved to c43627ac25.

Validation

  • feat(site/src): add organization subagent limits to Coder Agents settings #88 adds new files and edits OrganizationAgentSettings.tsx, which the page doesn't cite. No cited range changed between 54351e1e1f and c43627ac25. docs: map todo checklist cards in the pstack adapter #96 checked the ranges from 1ef5ccc60b to 54351e1e1f.
  • 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 v2.39.0-devel+c43627ac25 with fork-nested-subagents, headless Chromium:
    • As an organization admin, /ai/settings/coder-agents shows Subagent limits under Organization settings with all four limits and their deployment and effective values. Setting Live subagents per chat family to 1 and saving sent PUT {"max_live_per_family":1}, and the API then returned effective.max_live_per_family 1.
    • As a member, the page shows no Subagent limits section, and the API returns 404.
    • A member chat (030aa442) spawned one child running sleep 120, and its next spawn_agent failed with cannot create a child agent: this chat family has 1 live subagents and the maximum is 1.
    • Clearing the field and saving sent PUT {}, and the organization limits are back to {}.
    • Not rechecked here: the auditor's read-only view, which feat(site/src): add organization subagent limits to Coder Agents settings #88's own UAT covered.
  • 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-10T03:17:30.321766Z 8652ef4 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.

@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. Nice work!

Reviewed commit: a4c61fdbd6

ℹ️ 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-subagent-limits-ui

# 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. What shall we delve into next?

Reviewed commit: 8652ef4b4f

ℹ️ 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 0298da5 into main Nov 10, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-batch-subagent-limits-ui branch November 10, 2026 03:46
@ibetitsmike

Copy link
Copy Markdown
Owner Author

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

Merge evidence for head 8652ef4b4f647b03190fa65455f52c9f1ee160b4:

  • fork-ci pull_request run 42748196235 passed on this head, which already contains main 190ad7b164. Docs only (docs/fork/pstack-adapter.md).
  • Codex on this exact head: no major issues. 0 unresolved review threads.
  • Gate on 3100 at c43627a: as uatadmin, the Subagent limits section shows all 4 limits; setting Live subagents per chat family to 1 sent PUT {"max_live_per_family":1} and the API then returned effective 1. A member sees no section and gets 404 from the API, and in member chat 030aa442 the 2nd spawn was refused (this chat family has 1 live subagents and the maximum is 1). Clearing through the UI sent PUT {}, and the org limits are back to {}.
  • Main moved by feat: add chat wake-up tables and queries #82 after that run; feat: add chat wake-up tables and queries #82 touches only docs/reference/api under docs, and git merge-tree of this head with main e944a2a2b4 is clean. Merged alongside feat: add chat wake-up tables and queries #82.

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