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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A character with a history: Memory, identity and provenance of a terminal AI character in the file system

Cris Olmedo
Zenodo (CERN European Organization for Nuclear Research)
Scientific Computing and Data Management
article

A character with a history: Memory, identity and provenance of a terminal AI character in the file system

Cris Olmedo
article en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Scientific Computing and Data Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon