Disable Codex apps in model turns

This commit is contained in:
Meta Vens 2026-05-13 12:49:25 +01:00
commit 899e99fb9d
4 changed files with 7 additions and 8 deletions

View file

@ -779,6 +779,11 @@ notifies remote control after successful config writes, but it no longer pokes
`plugins_manager` or `skills_manager` as a dead compensator for disabled
product surfaces.
The model-turn app activation predicate is also hard-off:
`TurnContext::apps_enabled()` returns false regardless of ChatGPT auth or
feature flags. The subscription auth organ may authenticate and route models;
it does not awaken Codex Apps during turns.
The Phase 6 freshness slice is landed. It exposes read-only
`thread/epiphany/freshness` from live retrieval summaries plus graph
frontier/churn state and, for loaded threads, watcher-backed invalidation

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -105,13 +105,7 @@ impl TurnContext {
}
pub(crate) fn apps_enabled(&self) -> bool {
let is_chatgpt_auth = self
.auth_manager
.as_deref()
.and_then(AuthManager::auth_cached)
.as_ref()
.is_some_and(CodexAuth::is_chatgpt_auth);
self.features.apps_enabled_for_auth(is_chatgpt_auth)
false
}
pub(crate) async fn with_model(&self, model: String, models_manager: &ModelsManager) -> Self {