aKode fase 2b-2: rimosso login ChatGPT e tutti i sottosistemi solo-ChatGPT

- Login: resta solo chiave API (+ header, Bedrock). Rimossi OAuth/browser,
  device code, refresh/revoke su auth.openai.com, PAT, agent/workload identity,
  runtime agent instance, backend-client e openapi-models, workspace routing.
- Rimossi: generazione immagini (ext + skill imagegen), history notes, plugin
  remoti (catalogo, sync, share), cyber access program, daybreak, cloud config
  e requirements (config_server ora fail-closed), attestation, frozen cloud
  skills, EMA MCP auth, Codex Apps/connettori, ricerca ospitata, header/zstd/
  routing/cookie del backend Codex, fallback OPENAI_API_KEY del realtime.
- Messaggi d'errore senza link a chatgpt.com.
- Chiavi di config legacy accettate e ignorate; feature rimosse = Stage::Removed.
- Test: cancellati solo quelli del codice rimosso; test di sicurezza
  (sandbox estensioni, permessi, redazione, auth storage, requirements)
  adattati. Restano solo fallimenti d'ambiente (code-mode-host/V8, ~/.agents).
- Istruzioni di sistema invariate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 16:20:15 +01:00
parent 82347a58ed
commit 6089fbde91
1573 changed files with 10289 additions and 177679 deletions

View File

@@ -189,8 +189,6 @@ pub struct ThreadMetadata {
pub section_entered_at: Option<DateTime<Utc>>,
/// Canonical project assignment owned by app-server, if any.
pub project_id: Option<String>,
/// User-selected Daybreak preference, absent until explicitly set.
pub daybreak_enabled: Option<bool>,
/// The git commit SHA, if known.
pub git_sha: Option<String>,
/// The git branch name, if known.
@@ -344,7 +342,6 @@ impl ThreadMetadataBuilder {
section_position: None,
section_entered_at: None,
project_id: None,
daybreak_enabled: None,
git_sha: self.git_sha.clone(),
git_branch: self.git_branch.clone(),
git_origin_url: self.git_origin_url.clone(),
@@ -484,9 +481,6 @@ impl ThreadMetadata {
if self.project_id != other.project_id {
diffs.push("project_id");
}
if self.daybreak_enabled != other.daybreak_enabled {
diffs.push("daybreak_enabled");
}
if self.git_sha != other.git_sha {
diffs.push("git_sha");
}
@@ -540,7 +534,6 @@ pub(crate) struct ThreadRow {
section_position: Option<i64>,
section_entered_at_ms: Option<i64>,
project_id: Option<String>,
daybreak_enabled: Option<bool>,
git_sha: Option<String>,
git_branch: Option<String>,
git_origin_url: Option<String>,
@@ -583,7 +576,6 @@ impl ThreadRow {
section_position: row.try_get("section_position")?,
section_entered_at_ms: row.try_get("section_entered_at_ms")?,
project_id: row.try_get("project_id")?,
daybreak_enabled: row.try_get("daybreak_enabled")?,
git_sha: row.try_get("git_sha")?,
git_branch: row.try_get("git_branch")?,
git_origin_url: row.try_get("git_origin_url")?,
@@ -630,7 +622,6 @@ impl TryFrom<ThreadRow> for ThreadMetadata {
section_position,
section_entered_at_ms,
project_id,
daybreak_enabled,
git_sha,
git_branch,
git_origin_url,
@@ -694,7 +685,6 @@ impl TryFrom<ThreadRow> for ThreadMetadata {
.map(epoch_millis_to_datetime)
.transpose()?,
project_id,
daybreak_enabled,
git_sha,
git_branch,
git_origin_url: git_origin_url
@@ -802,7 +792,6 @@ mod tests {
section_position: None,
section_entered_at_ms: None,
project_id: None,
daybreak_enabled: None,
git_sha: None,
git_branch: None,
git_origin_url: None,
@@ -844,7 +833,6 @@ mod tests {
section_position: None,
section_entered_at: None,
project_id: None,
daybreak_enabled: None,
git_sha: None,
git_branch: None,
git_origin_url: None,