aKode: rimossa la memoria nativa di Codex e le funzioni senza codice; meno chiamate al modello

Memoria nativa (memories) rimossa del tutto:
- features: memories, memory_tool, external_agent_memory_import, chronicle
  (alias telepathy) diventano Removed; le chiavi restano accettate e
  memories/memory_tool/[memories] producono un solo avviso senza link
  («La sezione [memories] e la chiave memory_tool non sono più usate da
  aKode: la memoria a lungo termine è il plugin memoria di imeAI.»).
- Tolti i crate memories/read, memories/write ed ext/memories, l'avvio
  della pipeline a ogni turno (app-server), l'estensione, /memories e la
  richiesta di attivazione nella TUI, `akode debug clear-memories`,
  l'importazione delle memorie da altri agenti (memory_import.rs,
  detect/memory.rs; il resto di /import resta).
- core: niente più MemoriesConfig, citazioni delle memorie, metriche e
  marcatura «polluted» dei thread; [memories] (MemoriesToml) resta solo
  come sezione accettata e ignorata.
- state: memories_1.sqlite e memories_v2_1.sqlite non vengono più aperti né
  cancellati; la colonna threads.memory_mode resta, nessuna migrazione.
- Protocollo app-server invariato per compatibilità col daemon:
  memory/reset risponde «non supportato» senza cancellare nulla,
  memory/status non è mai pronto, thread/memory/read non ha riassunto.

Altre rimozioni:
- I 14 flag dell'app desktop di OpenAI senza codice (tool_suggest,
  in_app_*, browser_use*, computer_use, bedrock_setup_wizard,
  workspace_dependencies) e analytics_plan_history: Removed, chiavi
  accettate; analytics_plan_history esce da /experimental.
- Skill: tolto l'esperimento «shadow selection» e i selettori collegati.

Meno chiamate al modello non richieste:
- Titoli dei thread: il primo messaggio dell'utente su una riga, troncato a
  36 caratteri; `[tui] auto_title = true` riattiva i titoli generati.
- `[tui] auto_recap` predefinito false; `goals` spento di default.

Privacy: installation_id e gli id di sessione/thread/finestra (e il blocco
dei metadati del turno che li ripete) vanno in client_metadata e negli
header di compatibilità solo ai provider locali (loopback, IP privati
10/8, 172.16/12, 192.168/16, host .local/.lan).

Domini OpenAI: tolti i link visibili (avviso dei flag deprecati, profili,
bubblewrap), l'attribuzione Codex nei commit (sempre spenta), la
riscrittura dell'URL della documentazione OpenAI via MCP e la
registrazione remota dell'exec-server verso host OpenAI (ora solo
loopback); il riconoscimento delle destinazioni OpenAI confronta i domini
etichetta per etichetta. Il binario non contiene più «openai.com» né
«chatgpt.com».

Test adattati (sicurezza compresa: guardian, ruolo ostile, exec-server
ora più restrittivo); rimossi solo quelli del codice tolto.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-15 00:49:41 +01:00
parent 0da982206c
commit 854c7a66c9
269 changed files with 1194 additions and 27290 deletions

View File

@@ -8,14 +8,14 @@ Scenario: An injected agent message that interrupts sampling is included in the
-- request 1 (request) --
00:message/developer:
You are aKode, a coding agent that runs in the user's terminal on their own machine, powered by a locall...de, commands, identifiers and file paths as they are. [hash=8d33e416df2f88da]
Your name is aKode. If asked who you are or who made you, say you are aKode, a private coding agent runn...server; never claim to be another product or company. [hash=abefb7da60b0007a]
You can read the workspace, run shell commands, edit files with `apply_patch`, keep a plan with `update_...actions run in a sandbox or need the user's approval. [hash=f98f685055e9a5e0]
# How you work
## Act, don't announce
<OMITTED 77 LINES; ~1165 TOKENS; hash=70eadf354b1ed25d>
<OMITTED 78 LINES; ~1166 TOKENS; hash=c5c832bfcc169857>
- Search with `rg` (text) and `rg --files` (files); fall back to `grep`/`find` if `rg` is missing.
- Read files in reasonable chunks; don't use scripts just to print large parts of a file.
- Prefer non-interactive commands and set timeouts for anything that might hang.
@@ -35,14 +35,14 @@ Scenario: An injected agent message that interrupts sampling is included in the
-- request 2 (request) --
00:message/developer:
You are aKode, a coding agent that runs in the user's terminal on their own machine, powered by a locall...de, commands, identifiers and file paths as they are. [hash=8d33e416df2f88da]
Your name is aKode. If asked who you are or who made you, say you are aKode, a private coding agent runn...server; never claim to be another product or company. [hash=abefb7da60b0007a]
You can read the workspace, run shell commands, edit files with `apply_patch`, keep a plan with `update_...actions run in a sandbox or need the user's approval. [hash=f98f685055e9a5e0]
# How you work
## Act, don't announce
<OMITTED 77 LINES; ~1165 TOKENS; hash=70eadf354b1ed25d>
<OMITTED 78 LINES; ~1166 TOKENS; hash=c5c832bfcc169857>
- Search with `rg` (text) and `rg --files` (files); fall back to `grep`/`find` if `rg` is missing.
- Read files in reasonable chunks; don't use scripts just to print large parts of a file.
- Prefer non-interactive commands and set timeouts for anything that might hang.
@@ -65,14 +65,14 @@ Scenario: An injected agent message that interrupts sampling is included in the
-- request 3 (request) --
00:message/developer:
You are aKode, a coding agent that runs in the user's terminal on their own machine, powered by a locall...de, commands, identifiers and file paths as they are. [hash=8d33e416df2f88da]
Your name is aKode. If asked who you are or who made you, say you are aKode, a private coding agent runn...server; never claim to be another product or company. [hash=abefb7da60b0007a]
You can read the workspace, run shell commands, edit files with `apply_patch`, keep a plan with `update_...actions run in a sandbox or need the user's approval. [hash=f98f685055e9a5e0]
# How you work
## Act, don't announce
<OMITTED 77 LINES; ~1165 TOKENS; hash=70eadf354b1ed25d>
<OMITTED 78 LINES; ~1166 TOKENS; hash=c5c832bfcc169857>
- Search with `rg` (text) and `rg --files` (files); fall back to `grep`/`find` if `rg` is missing.
- Read files in reasonable chunks; don't use scripts just to print large parts of a file.
- Prefer non-interactive commands and set timeouts for anything that might hang.

View File

@@ -15,13 +15,13 @@ Settings:
stream: true
text: {"verbosity":"low"}
tool_choice: "auto"
tools (7; hash=0dea9012dd51867e):
tools (7; hash=4be6331020d8f43a):
- function/exec_command: Runs a command in a PTY, returning output or a session ID for ongoing interaction.; args=[cmd, justification, login, max_output_tokens, prefix_rule, sandbox_permissions, shell, tty, workdir, yield_time_ms]; hash=c04108e51a8548c5
- function/write_stdin: Writes characters to an existing unified exec session and returns recent output.; args=[chars, max_output_tokens, session_id, yield_time_ms]; hash=7fb62d8a3e2df4e2
- function/request_user_input: Request user input for one to three short questions and wait for the response. This tool is only ...; args=[questions]; hash=64a729b25c424fc6
- custom/apply_patch: The `apply_patch` tool can be used to edit files. This is a FREEFORM tool, so do not wrap the pat...; hash=dea9f12b0111a4ba
- function/view_image: View a local image file from the filesystem when visual inspection is needed. Use this for images...; args=[path]; hash=1908de9c0be7118a
- namespace/web: Tools in the web namespace.; hash=c60e4db83b9fd6b0
- namespace/web: Tools in the web namespace.; hash=dd6e98ab1f4ddce6
- function/run
- tool_search: # Tool discovery Searches over deferred tool metadata with BM25 and exposes matching tools for t...; args=[limit, query]; hash=b573ed69c0b0e6c7
-- request 1 (turn) --