WIP fase 2b-3: rimozione sottosistemi solo-ChatGPT (plugin remoti, image gen, daybreak, cyber, attestation, cloud config, app/connettori) - test in corso

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 16:07:22 +01:00
parent 231e8cd136
commit 5afc7e9f7f
1223 changed files with 6225 additions and 113722 deletions

View File

@@ -37,7 +37,6 @@ use codex_protocol::protocol::InterAgentCommunication;
use codex_protocol::protocol::MultiAgentVersion;
use codex_protocol::protocol::Op;
use codex_protocol::protocol::ThreadSettingsOverrides;
use codex_protocol::turn_input::CyberAccessProgram;
use codex_protocol::user_input::UserInput;
use core_test_support::context_snapshot;
use core_test_support::context_snapshot::ContextSnapshotOptions;
@@ -569,7 +568,6 @@ async fn queue_only_agent_mail_wakes_sleeping_root_with_previous_turn_context(
turn_trigger: trigger.map(str::to_owned),
parent_turn_id: parent.map(str::to_owned),
root_turn_id: parent.map(|_| "original-root".to_string()),
cyber_access_program: Some(CyberAccessProgram::Standard),
..Default::default()
}),
)
@@ -620,18 +618,8 @@ async fn queue_only_agent_mail_wakes_sleeping_root_with_previous_turn_context(
vec![(trigger, parent, Some(root)); 2],
);
assert_ne!(metadata[0]["turn_id"], metadata[1]["turn_id"]);
// Live wake keeps the existing execution-setting behavior. Attribution after
// reload must use the automatic turn, not the earlier human context baseline.
if !reload {
assert_eq!(
captured
.iter()
.skip(1)
.map(|request| request.body_json()["access_programs"].clone())
.collect::<Vec<_>>(),
vec![json!({"cyber": "standard"}); 2],
);
}
// Attribution after reload must use the automatic turn, not the earlier human
// context baseline.
let history = test
.codex
.load_history(/*include_archived*/ true)