Skip to content

feat(cua-driver): centralize protected resource grants per runtime - #2577

Merged
f-trycua merged 2 commits into
mainfrom
codex/cua-driver-permission-core
Jul 26, 2026
Merged

feat(cua-driver): centralize protected resource grants per runtime#2577
f-trycua merged 2 commits into
mainfrom
codex/cua-driver-permission-core

Conversation

@f-trycua

Copy link
Copy Markdown
Collaborator

Summary

Hoists protected-consent ownership to the canonical runtime registry and adds the generic resource-grant coordinator required by #2385. Browser and future desktop/file adapters share one runtime-owned broker, exact canonical resource digests, per-runtime/session/mode/policy binding, TTLs, indicator liveness, and teardown revocation.

Security contract

  • Provider identity is runtime-owned, never process-global first-writer state.
  • Raw paths, typed text, page content, selectors, and screenshot data are never retained as grant keys.
  • Standard uses protected consent; bounded activates an indicator only after its immutable manifest admitted the call; unrestricted skips Cua prompts without widening policy.
  • Session teardown and runtime drop revoke covered grants.
  • This slice does not activate new capability groups.

Verification

  • Focused broker, digest, reuse, expiry, revocation, provider-failure, and cross-runtime tests pass locally.
  • Cross-platform Rust compilation passes.
  • Full CI and stacked exact-SHA evidence will be completed before this PR is marked ready.

Stacked on #2576 and #2575. Progresses #2385.

@f-trycua
f-trycua force-pushed the codex/cua-driver-enforcement-inventory branch from d956db3 to b06d062 Compare July 26, 2026 03:19
@f-trycua
f-trycua force-pushed the codex/cua-driver-permission-core branch from 8b54d1b to ca8d475 Compare July 26, 2026 03:19
@f-trycua
f-trycua marked this pull request as ready for review July 26, 2026 08:52
@f-trycua
f-trycua changed the base branch from codex/cua-driver-enforcement-inventory to main July 26, 2026 08:53
@f-trycua
f-trycua merged commit dfb3781 into main Jul 26, 2026
22 checks passed
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