Skip to content

Centralize app enabled-state evaluation - #36916

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f1a62d55e7cc48b37113848e3baa0d69d8d9c8a8
Aug 4, 2026
Merged

Centralize app enabled-state evaluation#36916
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f1a62d55e7cc48b37113848e3baa0d69d8d9c8a8

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 4, 2026

Copy link
Copy Markdown

Centralize app enabled-state evaluation

What changed

  • Add AppToolPolicyEvaluator::apply_app_enabled_state and use it when
    presenting app lists, building plugin context, and deciding whether app
    instructions are available.
  • Preserve each app's source state unless local or managed configuration
    explicitly overrides it.
  • Keep connector discovery and post-install refresh checks based on raw
    accessibility rather than configured enablement.

Testing

  • Cover default enablement, per-app overrides, managed disablement, and
    preservation of unconfigured source state.
## What changed

- Add `AppToolPolicyEvaluator::apply_app_enabled_state` and use it when
  presenting app lists, building plugin context, and deciding whether app
  instructions are available.
- Preserve each app's source state unless local or managed configuration
  explicitly overrides it.
- Keep connector discovery and post-install refresh checks based on raw
  accessibility rather than configured enablement.

## Testing

- Cover default enablement, per-app overrides, managed disablement, and
  preservation of unconfigured source state.

GitOrigin-RevId: f1a62d55e7cc48b37113848e3baa0d69d8d9c8a8
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f1a62d55e7cc48b37113848e3baa0d69d8d9c8a8 branch from 5715a37 to c8e255e Compare August 4, 2026 15:51
@copyberry
copyberry Bot merged commit c8e255e into main Aug 4, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f1a62d55e7cc48b37113848e3baa0d69d8d9c8a8 branch August 4, 2026 15:52
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant