Skip to content

feat(cua-driver): make permission adapter inventory mode-aware - #2576

Merged
f-trycua merged 1 commit into
mainfrom
codex/cua-driver-enforcement-inventory
Jul 26, 2026
Merged

feat(cua-driver): make permission adapter inventory mode-aware#2576
f-trycua merged 1 commit into
mainfrom
codex/cua-driver-enforcement-inventory

Conversation

@f-trycua

Copy link
Copy Markdown
Collaborator

Summary

Adds the machine-readable, mode-aware enforcement inventory required by #2385. The same descriptors now drive authorization status and tools/list, including exact operation selectors, scope keys, mode-specific state, grant/indicator requirements, revocation triggers, and stable refusal codes. Compound calls can resolve multiple adapters, and unknown or unreviewed operations continue to fail closed.

Security contract

  • active, metadata_only, and not_exposed are explicit per mode.
  • Existing-profile attachment remains the only active adapter in this slice.
  • Observation, input, file, and consequential adapters remain metadata-only until their provider, indicator, Stop, bypass, and platform evidence land.
  • Low-level input does not claim purchase/send/delete semantics.

Verification

  • 33 focused authorization/inventory tests pass locally.
  • Exact registry/alias/variant coverage is asserted from the shared inventory.
  • Full CI and stacked exact-SHA evidence will be completed before this PR is marked ready.

Stacked on #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 changed the base branch from codex/cua-driver-multi-runtime to main July 26, 2026 03:19
@f-trycua
f-trycua marked this pull request as ready for review July 26, 2026 08:51
@f-trycua
f-trycua merged commit 83a2f6f into main Jul 26, 2026
29 of 44 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