Files
strata-ctl/locales/it.json
T
adm 77bfa72689 Keep [SPEAKER] provenance model-only: strip echoed tags from replies and history
The descriptive speaker.note let the model imitate the tag into its visible reply; the echoed tag was then stored and re-tagged by build_request next turn, stacking duplicates. Fix: speaker.note now forbids writing/repeating the tag; strip_speaker_tags removes leading echoed [SPEAKER: name - YYYY-MM-DD HH:MM] runs at persist, at the agent Final content, in get_messages (display+HTML) and before re-tagging history, so the tag stays prompt-only and never stacks. Frontend strips it from the live preview too. Legacy tagged rows heal on reload without migration. +2 tests (138 green), clippy/fmt clean; live two-turn verify shows no tag in browser-facing content.
2026-11-25 21:18:01 +01:00

15 lines
1.0 KiB
JSON

{
"identity.name": "Il tuo nome è {name}.",
"identity.folder": " La tua cartella personale è {folder}.",
"speaker.tag": "[SPEAKER: {name} - {when}]",
"speaker.note": " I turni dell'utente e dell'agente sono preceduti da un tag [SPEAKER: nome - data e ora locale] che identifica chi li ha generati e quando. È un metadato aggiunto dal framework: non scriverlo né ripeterlo mai nelle tue risposte.",
"error.name_locked": "Il nome della sessione è immutabile dopo la prima interazione.",
"error.name_empty": "Il nome non può essere vuoto.",
"error.session_not_found": "Sessione non trovata.",
"upload.bad_base64": "Dati del file non validi (base64).",
"upload.empty": "Il file è vuoto.",
"upload.too_large": "Il file supera la dimensione massima consentita.",
"upload.image_marker": "\n\n[Immagine allegata: {name}]",
"upload.inline_file": "\n\n[File: {name}]\n{content}",
"upload.path_file": "\n\n[File allegato: {name} — percorso: {path}. Usa shell_exec per ispezionarlo selettivamente, non riversarlo tutto nel contesto.]"
}