Repository navigation
Closed
Description
Xum created this issue on behalf of @ibetitsmike.
Part of #4. UI wave for W2 (#8), nested subagents.
W11 · Organization agent settings UI · mike/org-agent-settings-ui
Task. Org admins can see and change the organization's subagent limits in the UI, and everyone with access sees the effective values.
Background.
- API:
GETandPUT /api/v2/chats/fork/organizations/{organization}/subagent-limits(coderd/fork_subagent_limits.go, feat: store organization subagent limits and enforce max_depth behind fork-nested-subagents #45). Deployment flags for depth, concurrency and the live cap are incodersdk/fork_chat_config.go(feat: store organization subagent limits and enforce max_depth behind fork-nested-subagents #45, feat: enforce subagent concurrency limits behind fork-nested-subagents #47, feat: enforce the live subagent limit per family behind fork-nested-subagents #49); the lower of the deployment and organization values wins, and 0 means the default. - Upstream org agent settings live in
site/src/pages/AISettingsPage/CoderAgentsPage/(OrganizationAgentSettingsView.tsx,SubagentModelOverrideSettings.tsxis the nearest pattern).
Scope.
- A "Subagent limits" section in the organization's Coder Agents settings: max depth, concurrency and live limits, with validation and save, for users who may update the org config.
- Show the deployment value next to each field and the effective value, with copy that says the lower value wins.
- Read-only view for users who can read but not update.
Acceptance.
- An org admin changes the live limit in the UI, and a family in that org is refused a spawn above it.
- A member without update permission sees read-only values.
- With the experiment off, the section is hidden.
Constraints. Experiment fork-nested-subagents. When done, tell the lead; more settings work may follow from W5's budget guardrails.
Metadata
Metadata
Assignees
Labels
No labels
Activity
ibetitsmike commentedon Nov 9, 2026
W11 status: opened #78 (PR1, API returns deployment and effective subagent limits; shared chatd.EffectiveSubagentLimits).
ibetitsmike commentedon Nov 9, 2026
Sent READY for #78 at 1eecb62 (fork-ci green, Codex clean). PR2 (site section) in progress.
ibetitsmike commentedon Nov 10, 2026
Opened #88 (site section for the organization subagent limits, behind fork-nested-subagents).
ibetitsmike commentedon Nov 10, 2026
Sent READY for #88 at e30f3ec (fork-ci green, Codex clean, UAT passed on the fork UI UAT server).
ibetitsmike commentedon Nov 10, 2026
Done: server API #78 (25f19f6) and site section #88 (c43627a) are both merged.
ibetitsmike commentedon Nov 10, 2026
W11 is done. Both PRs are merged and deployed: