Skip to content

docs: map stored agent types, org agent definitions, waiting_for_capacity, and the Attachments menu player in the pstack adapter - #80

Merged
ibetitsmike merged 5 commits into
mainfrom
mike/pstack-adapter-batch-org-defs
Nov 10, 2026
Merged

ibetitsmike merged 5 commits into
mainfrom
mike/pstack-adapter-batch-org-defs

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Part of #7 and #8.

Updates docs/fork/pstack-adapter.md for the features that merged after #70. The page now says what fork main at e6cd44a997 does.

  • Organization agent definitions (feat: serve organization agent definitions behind fork-agent-definitions #66). The API now stores definitions for a whole organization, not only for one user in an organization.
  • Stored agent types in spawn_agent (feat(coderd/x/chatd): offer stored personal and organization agent types to spawn_agent #69). "Custom agent types" now says that spawn_agent offers the chat owner's enabled personal definitions and the enabled organization definitions the owner can read. A name that one source defines keeps its bare name. A name that several sources define is listed only as workspace/<name>, personal/<name>, or org/<name>, and its bare name fails with type must be one of:. The poteto-agent row now also accepts workspace/<name>.
  • MP4 in the Attachments menu (fix(site/src): play agent-attached MP4s from the turn Attachments menu #68). With fork-chat-todos, the turn's Attachments menu now plays an agent-attached MP4 too, not only the inline attachment.
  • waiting_for_capacity (feat(coderd): report subagents waiting for a fork concurrency slot #57). "Subagent limits" now says that list_agents shows a running child that waits for a concurrency slot with waiting_for_capacity: true.
  • Organization limits API (feat: return deployment and effective subagent limits from the organization limits API #78). "Subagent limits" now says that an organization admin or auditor can read the flag values and the lower values from GET /api/v2/chats/fork/organizations/{organization}/subagent-limits, and that neither field includes the default cap of 10 subagent turns.
  • Live limit recovery. The steps after a live limit error now cover a list_agents result with no live child: retry one time without waiting, and if that fails, treat your children's workers as holding the limit. Before, the page went straight to "requires_action children or your children's own workers hold the limit", which skips a free slot when no child is live.
  • Setup model server (step 13). The host's oMLX now serves only GLM-5.3-Flash, and Qwen3.8 is retired, so step 13 now names the GLM-5.3-Flash chat template as the one that keeps every system message. Its chat_template.jinja renders each system message in the main message loop as its own <|system|> block.
  • Evidence. The header names e6cd44a997. Every line reference was rechecked against it. The moved fork_capacity.go ranges now point at fork_limits.go and the new fork_capacity.go lines, and the code for the items above is cited.

Validation

  • Each cited line range compared between e155b422a2 and 25f19f624d with a script that diffs the cited lines, and moved ones relocated. 25f19f624d..e6cd44a997 changes only coderd/x/chatd/fork_agent_definitions.go among the cited files, and every reference into it was relocated by hand.
  • markdownlint-cli2 0.16.0 on the page: 0 errors. No em dashes, en dashes, spaced double hyphens, or semicolons in the added lines.
  • Docs only. No code change.

Xum opened this PR on behalf of @ibetitsmike.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 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-09T23:41:07.854708Z b133462 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 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: a9a61f2ac6

ℹ️ 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
@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: 98273658e8

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

@ibetitsmike ibetitsmike changed the title docs: map org agent definitions, waiting_for_capacity, and the Attachments menu player in the pstack adapter docs: map stored agent types, org agent definitions, waiting_for_capacity, and the Attachments menu player in the pstack adapter Nov 9, 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: b1334629d2

ℹ️ 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 ec6cdd6 into main Nov 10, 2026
10 checks passed
@ibetitsmike
ibetitsmike deleted the mike/pstack-adapter-batch-org-defs branch November 10, 2026 00:01
@ibetitsmike

Copy link
Copy Markdown
Owner Author

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

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

  • fork-ci pull_request run 42722120552 passed on this exact head, which contains main e6cd44a997. Main has since moved by feat: share organization agent definitions behind fork-agent-definitions #71 (d73dac3de6), which does not touch this file; git merge-tree against current main is clean.
  • Codex review on this exact head: no major issues. 0 unresolved review threads. Merge state CLEAN.

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