Storage Layout
Everything lives under ~/.amem/.
~/.amem/
├── raw/ # original captures
│ ├── vaswani2017attention.pdf
│ └── ...
├── wiki/ # compiled notes
│ ├── 20260418_vaswani2017attention.md
│ └── ...
└── index.md # auto-maintained TOC
raw/
Original files exactly as downloaded. amem verify re-hashes against these.
wiki/
Compiled markdown notes. One file per cite key. Filename prefix is the compile timestamp so recompiles preserve history (you can git init ~/.amem/wiki && git commit if you want versioning).
index.md
Auto-regenerated on every amem compile — a flat list of all cite keys with paths. Never edit by hand.
Custom location
Override with AMEM_HOME=<path> (planned — not yet wired up).