The files awe writes for each session
When a session with awe starts, in the console, in a coding tool or in a scheduled job, it is handed a few small
files from .awe/workspace/ in the awe folder. awe writes these files itself and refreshes them every minute. This
page is for people who open those files and wonder whether they can edit them. The short answer: change what awe
knows, not the file.
The three files
| File | What it holds | Made from | How to change what it says |
|---|---|---|---|
MEMORY.md |
A short summary of what awe knows about you | memory.db |
Pin, unpin or correct a memory. See below |
TOOLS.md |
The commands and paths this install has | The awe program that is running | Nothing to edit. It follows the installed version |
HEARTBEAT.md |
The instructions for the scheduled check-in | Built-in instructions plus your Heartbeat pins | Add or remove a Heartbeat pin |
Each file says so in its first lines:
# MEMORY.md — rendered from memory.db
<!-- rendered by awe-core memory_render at 2026-12-03 00:06 · scope: global · this is a SNAPSHOT: edits here are overwritten on the next render — pin a memory instead (`awe-core mem pin`) -->
MEMORY.md is laid out in this order: your Boundaries pins, your profile, your other pins by section, what is new
in the last 7 days, the current project’s memories, then the most important of everything else. It has a size limit
(AWE_MEMORY_RENDER_BUDGET, 12,000 characters by default), so it is a summary and not the whole memory.
What happens if you edit a file by hand
Your change is replaced the next time awe writes the file, usually within a minute. Nothing else is affected. The memory behind the file is untouched.
The right way to change MEMORY.md
In the console. Open Memory, then Facts, and choose MEMORY.md under the workspace files. You can add a
memory, move a line to another section, or mark a line wrong. Edit as text lets you type into the file, shows
what the save would do, and writes nothing until you apply it. If the summary changed while you were editing, the
save is refused and you are shown the current text, so nothing is lost.
In a terminal.
./awe-core mem edit --dry-run
./awe-core mem edit
mem edit opens the summary in your editor. When you close it, awe compares what you saved with what it showed you:
| You did this | awe does this |
|---|---|
Added a line starting with - under a ## Section heading |
Pins it as a new fact in that section |
| Deleted a line that was a pin | Removes the pin |
| Deleted a line awe had chosen by itself | Marks that fact wrong. It is hidden from every session and kept in the database |
| Moved a line to another section | Moves the pin |
| Left a line alone | Nothing |
Text you type anywhere else is ignored, and the preview names it. --dry-run prints what would change and changes
nothing.
To pin without opening an editor:
./awe-core mem pin --text "Reply in British English" --section Preferences
./awe-core mem pin --list
Changing the check-in’s instructions
HEARTBEAT.md shows what the scheduled check-in will be told. To add a standing instruction, pin it in the Heartbeat
section:
./awe-core mem pin --text "Mention unpaid invoices on Mondays" --section Heartbeat
In the console, the same file has an Edit heartbeat pins button.
Keep a hand edit for a while
If you need the files left alone, for example while debugging, freeze them. While frozen, awe writes none of the three files and says so in every session.
- Create an empty file named
.frozenin.awe/workspace/. Delete it to unfreeze. - Or set
AWE_FREEZE_CONTEXT=1for one process.
See or rebuild a file now
./awe-core mem render
./awe-core mem render --write
./awe-core workspace render
./awe-core workspace render --write
Without --write these print the file. With it they also save it to .awe/workspace/.
./awe-core flows includes a check that all three files are still being refreshed.
Files from older versions
Earlier versions kept USER.md, IDENTITY.md and SOUL.md in the workspace, and a copy of AGENTS.md. awe no
longer reads them. Their content moved to settings (your name and time zone, the assistant’s name) and to pins. If
you upgraded and still have them, this moves them to backups/retired-<date>/:
./awe-core workspace retire --dry-run
./awe-core workspace retire
It never deletes a file, and it refuses to move one that something still reads.
AGENTS.md in the awe folder itself is the operating manual for AI agents. It ships with awe and is replaced on
update, so it is not a place for your own notes.
Related
- awe-memory.md: pins, corrections and the Memory page
- claude-code-hooks.md: how a coding tool receives these files
- awe-scheduler.md: the scheduled check-in