Cockpit
Memory files
FRONTIER.md, CLAUDE.md and AGENTS.md.
Memory files are Markdown notes that go into every request, so the agent knows your project's rules without being told each time.
Which files, in order
Most general first, so a later file is more specific:
| Layer | Path | Typical content |
|---|---|---|
| User | ~/.frontier/FRONTIER.md | Your rules everywhere. |
| Project | FRONTIER.md or .frontier/FRONTIER.md in the project | Stack, architecture, conventions, commands. |
| Folder | FRONTIER.md in the current folder | Rules for a sub-package. |
| Local | FRONTIER.local.md in the project, git ignored | Your private notes for this repository. |
| Claude | CLAUDE.md in the project | Shared with Claude Code. |
| Agents | AGENTS.md in the project | Shared with other agent tools. |
Importing CLAUDE.md and AGENTS.md means one set of project rules drives both Claude Code and Relief. Turn it off with "memory": { "importClaudeMd": false } or importAgentsMd.
Files over 40,000 characters are cut, and secrets inside them are redacted.
Commands
/init create FRONTIER.md and .frontier/settings.json here
/memory which memory files loaded, and which were held back
/memory reload re-read settings and memoryfrontier init does the same as /init from a terminal.
Trust and pinning
Only your own ~/.frontier/FRONTIER.md always loads. Every other file lives inside a repository, so it loads only after you trust the folder, and only while its text is the text you approved. Trusting records a SHA-256 of each instruction file that exists at that moment. If CLAUDE.md, AGENTS.md, .clientrc or another rules file is later added or changed, for example by a git pull or a merged pull request, it is held back and /memory says so. /memory review shows a redacted line diff and asks. A change of line endings alone does not count.
When a file does load, the prompt labels it from this repository (untrusted text). The model may use it as background about the project, but it carries no authority, and the permission gate stays the only thing that can approve an action. Scripts and MCP clients cannot approve a changed file, so they run without it.
Settings files are pinned the same way. See Trusted folders.
Edit by hand
After editing a memory file, run /memory reload, or /rs to start Relief again in the same folder with the same flags. /rs warns you first if you have said anything since the last /save, because the conversation is lost.