From f993341ababd468bf341888b780816e2ff527702 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 13 May 2026 12:53:55 +0100 Subject: [PATCH] Disable Codex skill loading in turns --- notes/fresh-workspace-handoff.md | 5 +++++ state/ledgers.msgpack | Bin 94899 -> 95242 bytes state/map.yaml | 2 +- vendor/codex/codex-rs/core/src/session/mod.rs | 16 ---------------- .../codex-rs/core/src/session/turn_context.rs | 17 +---------------- 5 files changed, 7 insertions(+), 33 deletions(-) diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index fff4342e..539a70a4 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -784,6 +784,11 @@ The model-turn app activation predicate is also hard-off: feature flags. The subscription auth organ may authenticate and route models; it does not awaken Codex Apps during turns. +Skills are cold at session and turn activation. Codex session startup no longer +loads skill roots only to log errors, and per-turn context now receives an empty +`SkillLoadOutcome`, so skill injection/dependency prompts do not awaken during +normal 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 diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 25e7b367eafc4f5b5ac7daa90ad62944d1824fb8..eec52d4121df84a6b5bb4f074b71b07b205fed52 100644 GIT binary patch delta 280 zcmYk1u}VWh5Jg!b+6wuB0ZAhf32NbM4cG`4c2=&tleoG&yX?#hd6k8ol^_^@Lo96a z5!QAo1n~=^r27~HguiAfH zJa6BAsP53QzVv9py9ol{IPbwnZ5@rl5gbK}Q($Cvk#?od1low3XeoCEEILb_fMS7Y zjCslOzbD5i+=qmDXGxk!f>VLI_y9w?kOt1$#gj64T8oJR`=H4dUk=(sOYw?)geCN^ k(a|-QkP>AvAz38TK*}*BfuPNmBh1Zgl-2Qi`|jcSFM_#f%K!iX delta 38 ucmeBr!Mgb=>jY({qRNe`(-;}QH}7HGzK4= config.agent_max_depth diff --git a/vendor/codex/codex-rs/core/src/session/turn_context.rs b/vendor/codex/codex-rs/core/src/session/turn_context.rs index 1cc53ab0..2e3f0ad9 100644 --- a/vendor/codex/codex-rs/core/src/session/turn_context.rs +++ b/vendor/codex/codex-rs/core/src/session/turn_context.rs @@ -622,22 +622,7 @@ impl Session { &per_turn_config.to_models_manager_config(), ) .await; - let plugin_outcome = self - .services - .plugins_manager - .plugins_for_config(&per_turn_config) - .await; - let effective_skill_roots = plugin_outcome.effective_skill_roots(); - let skills_input = skills_load_input_from_config(&per_turn_config, effective_skill_roots); - let fs = environment - .as_ref() - .map(|environment| environment.get_filesystem()); - let skills_outcome = Arc::new( - self.services - .skills_manager - .skills_for_config(&skills_input, fs) - .await, - ); + let skills_outcome = Arc::new(SkillLoadOutcome::default()); let mut turn_context: TurnContext = Self::make_turn_context( self.conversation_id, Some(Arc::clone(&self.services.auth_manager)),