Skip to content

feat: split public capabilities from entitlement details - #28479

Closed
jaaydenh wants to merge 2 commits into
mainfrom
codagt-960-capabilities
Closed

feat: split public capabilities from entitlement details#28479
jaaydenh wants to merge 2 commits into
mainfrom
codagt-960-capabilities

Conversation

@jaaydenh

Copy link
Copy Markdown
Contributor

Summary

Add a public deployment-capabilities contract while keeping limits, usage, warnings, and errors in the authenticated entitlements response. The dashboard and HTML shell now use the sanitized capability projection, while detail-only UI fetches full entitlements separately.

Problem

GET /api/v2/entitlements was anonymously accessible and its complete response was embedded in authenticated HTML, exposing commercial limits and deployment usage details. Community deployments also recorded Coder Agent runtime but did not surface that usage in settings.

Fix

Add GET /api/v2/deployment/capabilities, compute feature usability on the backend, require authentication for full entitlements, and split the frontend capability and detail caches. Aggregate retained Community Agent Time without changing the five-agent concurrency cap, and show Community, finite-license, unlimited-license, loading, and unavailable states in Coder Agents settings. Existing authenticated SDK, CLI, and support-bundle callers continue using the full entitlements contract.

Refs CODAGT-960
Refs CODAGT-890

@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

CODAGT-960

CODAGT-890

@github-actions

Copy link
Copy Markdown
Contributor

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

jaaydenh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by the two-PR stack:

  1. feat: split public capabilities from entitlement details #28488 splits public capabilities from authenticated entitlement details.
  2. feat: report Community Agent Time usage #28489 reports Community Agent Time and adds the Coder Agents usage surface.

The replacement branches are based on the current main branch and preserve the combined implementation as a reviewable stack.

@jaaydenh jaaydenh closed this Aug 24, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant