A character with a history: Memory, identity and provenance of a terminal AI character in the file system
When an AI character lives in the terminal, its most natural memory is the disk. Coding agents already work this way: Claude Code loads, in every session, instruction files written by people and an automatic memory written by the agent itself, and AGENTS.md has become an open format for giving context to agents. This white paper proposes how to keep the memory and identity of a terminal character in a repository. We review POSIX append-mode writes, tamper-evident logs, Git's object model, signing and rewriting its history, event sourcing, the PROV model and the risks of prompt injection and memory poisoning. We propose a repository layout with five zones (canon, the character's own memory, commitments about data subjects, encrypted content outside Git and regenerable derivatives), six write rules, a reading of the character's identity in terms of branches, clones and signatures, and a forgetting procedure that does not rewrite history. We close with six testable properties and verified publication venues. It is a proposal with no system built and no data of our own; it develops in the file system what DM-2026-18 and DM-2026-19 proposed.
Authors
- Cris Olmedo (ORCID: https://orcid.org/0009-0008-7657-0751)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24722523
- Primary Topic
- Scientific Computing and Data Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00