Skip to content

feat(api): expose governed intelligence resources - #133

Merged
eamirian merged 2 commits into
mainfrom
codex/v0.8-resource-plane-http
Aug 13, 2026
Merged

feat(api): expose governed intelligence resources#133
eamirian merged 2 commits into
mainfrom
codex/v0.8-resource-plane-http

Conversation

@eamirian

@eamirian eamirian commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Outcome

Continues ACE 0.8C with the first governed machine interface over the same public resource plane Atrium will consume.

What changed

  • adds POST /v1/intelligence/resources/query
  • derives product and actor scope only from the verified bearer token
  • requires signed observe_read token authority and the current Core grant
  • persists an opaque authentication receipt for each request
  • reauthenticates and reauthorizes every page; cursors grant no authority
  • returns the exact public IntelligenceResourcePageV1Alpha1 contract
  • allows historical data cutoffs independent from login time
  • keeps query identity stable across authentication receipt refreshes while binding actor, product, grant, and exact selector
  • reports authentication-evidence persistence outages as a sanitized 503 rather than an unhandled failure

Verification

  • 98 focused API, resource-plane, projection, ownership/runtime, package/schema, kernel, MCP-surface, and auth tests passed
  • repository-wide Ruff lint and format checks passed
  • exact eleven-tool MCP surface remains unchanged

Boundaries

The route is a thin host adapter over existing authentication receipts, governed-state authority, immutable records, and the public application service. It creates no new auth, persistence, resource, connector, provider, UI, or domain subsystem.

@eamirian
eamirian force-pushed the codex/v0.8-resource-plane-http branch from c80fba9 to 65ae2de Compare August 12, 2026 23:50
@eamirian
eamirian marked this pull request as ready for review August 13, 2026 00:11
@eamirian
eamirian merged commit 794183b into main Aug 13, 2026
6 checks passed
@eamirian
eamirian deleted the codex/v0.8-resource-plane-http branch August 13, 2026 00:11
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