Problem / Problema
EN: When a user refers back to something ambiguously ("the previous option",
"la opción anterior", "that one"), the agent sometimes resolves it incorrectly
and can drop items from a multi-item action (e.g. an inventory entry with several
supplies).
ES: Cuando el usuario se refiere a algo de forma ambigua ("la opción
anterior", "esa", "the previous one"), el agente a veces lo resuelve mal y puede
perder items de una acción con varios elementos (p. ej. una entrada de inventario
con varios suministros).
Expected / Esperado
Ambiguous references should either resolve correctly from recent context or the
bot should ask a short clarifying question — never silently drop data.
Notes / Notas
- Relevant: session memory (
src/infrastructure/persistence/file-session-store.ts,
it prunes to a max item count) and the agent instructions in
src/agent/agent.ts.
- A reproducible transcript in the issue would help a lot.
Problem / Problema
EN: When a user refers back to something ambiguously ("the previous option",
"la opción anterior", "that one"), the agent sometimes resolves it incorrectly
and can drop items from a multi-item action (e.g. an inventory entry with several
supplies).
ES: Cuando el usuario se refiere a algo de forma ambigua ("la opción
anterior", "esa", "the previous one"), el agente a veces lo resuelve mal y puede
perder items de una acción con varios elementos (p. ej. una entrada de inventario
con varios suministros).
Expected / Esperado
Ambiguous references should either resolve correctly from recent context or the
bot should ask a short clarifying question — never silently drop data.
Notes / Notas
src/infrastructure/persistence/file-session-store.ts,it prunes to a max item count) and the agent instructions in
src/agent/agent.ts.