Memory
Memory stores persistent project guidance: rules that apply to all work, and notes that give technical context for particular parts of the implementation. Both are delivered to agents with the work they retrieve.
Project rules
A rule is an instruction that applies to all work on the project. Every entry whose key begins rules/ is included when an agent retrieves work, and is written into the generated AGENTS.md.
phasor remember rules/project "Python standard library only. Tests use unittest and run from .phasor/work." phasor memory { "memory": [ { "key": "rules/project" } ], "ok": true }
- Phasor writes
AGENTS.mdat the project root: its standard agent instructions, followed by the project's rules.CLAUDE.mdbeside it is a pointer to that file. - If you edit one of these files, Phasor leaves your version as it is and no longer updates it. Delete the file and the next command writes it again.
- Rules are guidance. Phasor delivers them to agents and does not enforce them.
Technical notes
A note records something the code does not show: how something is laid out, a command that works, an approach that failed. Tag a note with path patterns, and it is delivered with work whose intent, code or tests match them.
phasor remember notes/board "A square is (x, y), counted from the top left. The snake is a list of squares, tail first." --tag 'snake/**'
- A note with no tags concerns the whole project and is delivered with every piece of work. Keep such notes few and short: the newest 20 are delivered, and they are shortened when together they are long.
- A note written before the intent it concerns last changed is marked as stale when it is delivered.
- Agents write notes too. The agent instructions ask for one after a landing, for anything learned that the code does not show.
Inspecting and removing entries
phasor memorylists every key with its tags.phasor show rules/projectprints one entry.phasor remember notes/board --deleteremoves an entry from memory. Its earlier versions remain in the record, so deleting an entry does not erase what it said.- Never put a secret in memory. It is part of the record and is copied wherever the record goes.