changelog.d/4840-recreated-agent-memory-writes.md
Rama main · réplica de lectura del repositorio original.
- **An agent re-created with the name of a deleted agent can write its memory again (#4840).** The memory state of an agent is keyed by its name across the workspace, while its files live in its crew. A new agent that took a deleted agent's name in another crew inherited the deleted agent's last recorded memory state, so every memory write failed with "edited outside the memory contract", and an unfinished write of the deleted agent could be replayed into the new agent's file. Freeing the name now moves that state and those unfinished writes to the deleted agent's archived name. Memory version history is still listed by agent name, so it continues to show the earlier agent's versions.