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

@@ -74,8 +74,6 @@ pub struct ThreadItem {
pub section: Option<codex_state::ThreadSection>,
/// Canonical project assignment in SQLite-owned metadata.
pub project_id: Option<String>,
/// Saved Daybreak choice in SQLite-owned metadata, when available.
pub daybreak_enabled: Option<bool>,
/// Working directory from session metadata.
pub cwd: Option<PathBuf>,
/// Git branch from session metadata.
@@ -874,7 +872,6 @@ async fn build_thread_item(
preview,
section: None,
project_id: None,
daybreak_enabled: None,
cwd,
git_branch,
git_sha,

View File

@@ -180,8 +180,6 @@ fn persisted_event_msg(
| EventMsg::RealtimeConversationRealtime(_)
| EventMsg::RealtimeConversationClosed(_)
| EventMsg::SafetyBuffering(_)
| EventMsg::ModelReroute(_)
| EventMsg::ModelVerification(_)
| EventMsg::TurnModerationMetadata(_)
| EventMsg::AgentReasoningSectionBreak(_)
| EventMsg::PrivateSessionEvent(_)

View File

@@ -1408,7 +1408,6 @@ fn fill_missing_thread_item_metadata(item: &mut ThreadItem, state_item: ThreadIt
preview,
section,
project_id,
daybreak_enabled,
cwd,
git_branch,
git_sha,
@@ -1439,7 +1438,6 @@ fn fill_missing_thread_item_metadata(item: &mut ThreadItem, state_item: ThreadIt
}
item.section = section;
item.project_id = project_id;
item.daybreak_enabled = daybreak_enabled;
item.model = model;
item.reasoning_effort = reasoning_effort;
if item.cwd.is_none() {
@@ -2146,7 +2144,6 @@ fn thread_item_from_state_metadata(
preview: item.preview,
section: item.section,
project_id: item.project_id,
daybreak_enabled: item.daybreak_enabled,
cwd: Some(item.cwd),
git_branch: item.git_branch,
git_sha: item.git_sha,

View File

@@ -1820,7 +1820,6 @@ fn fill_missing_thread_item_metadata_preserves_identity_and_prefers_state_git_fi
first_user_message: Some("filesystem message".to_string()),
preview: Some("filesystem preview".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: None,
git_branch: Some("filesystem-branch".to_string()),
@@ -1849,7 +1848,6 @@ fn fill_missing_thread_item_metadata_preserves_identity_and_prefers_state_git_fi
first_user_message: Some("state message".to_string()),
preview: Some("state preview".to_string()),
project_id: None,
daybreak_enabled: Some(true),
section: Some(codex_state::ThreadSection {
id: codex_state::PINNED_THREAD_SECTION_ID.to_string(),
name: codex_state::PINNED_THREAD_SECTION_NAME.to_string(),
@@ -1880,7 +1878,6 @@ fn fill_missing_thread_item_metadata_preserves_identity_and_prefers_state_git_fi
assert_eq!(item.path, filesystem_path);
assert_eq!(item.thread_id, Some(filesystem_thread_id));
assert_eq!(item.daybreak_enabled, Some(true));
assert_eq!(
item.section,
Some(codex_state::ThreadSection {
@@ -2030,7 +2027,6 @@ async fn resume_candidate_matches_cwd_reads_latest_turn_context() -> std::io::Re
collaboration_mode: None,
multi_agent_version: None,
realtime_active: None,
cyber_access_program: None,
effort: None,
summary: Some(codex_protocol::config_types::ReasoningSummary::Auto),
}),

View File

@@ -799,7 +799,6 @@ async fn test_list_conversations_latest_first() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -825,7 +824,6 @@ async fn test_list_conversations_latest_first() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -851,7 +849,6 @@ async fn test_list_conversations_latest_first() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -970,7 +967,6 @@ async fn test_pagination_cursor() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -996,7 +992,6 @@ async fn test_pagination_cursor() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -1058,7 +1053,6 @@ async fn test_pagination_cursor() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -1084,7 +1078,6 @@ async fn test_pagination_cursor() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -1138,7 +1131,6 @@ async fn test_pagination_cursor() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -1347,7 +1339,6 @@ async fn test_get_thread_contents() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -1765,7 +1756,6 @@ async fn test_filesystem_cursor_pages_through_same_timestamp_ties() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,
@@ -1791,7 +1781,6 @@ async fn test_filesystem_cursor_pages_through_same_timestamp_ties() {
first_user_message: Some("Hello from user".to_string()),
preview: Some("Hello from user".to_string()),
project_id: None,
daybreak_enabled: None,
section: None,
cwd: Some(Path::new(".").to_path_buf()),
git_branch: None,