From 7ca2372df5d768fca9eeb7758ed16239d35b7499 Mon Sep 17 00:00:00 2001 From: Jakob Ankarhem Date: Thu, 27 Aug 2026 00:07:08 +0200 Subject: [PATCH] update AGENTS.md --- modules/ai/omp.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/ai/omp.nix b/modules/ai/omp.nix index 25e16ca..752c8f6 100644 --- a/modules/ai/omp.nix +++ b/modules/ai/omp.nix @@ -69,9 +69,17 @@ in # Memory Your long-term memory lives in `vault://_/Agents/` — the only vault area you may touch. - Before non-trivial work, check it: list the folder and read notes relevant to the task. - When a task closes with a durable lesson, append a dated bullet to `vault://_/Agents/lessons.md` - (create the file or folder if missing). + Layout: `memory.md` holds generalized principles about the user and their environment; + `troubleshooting.md` holds recurring failure modes; `projects/.md` holds per-project + conventions. Create files on demand. + + Before non-trivial work, list the folder and read what is relevant. + + When a task closes with a durable lesson, curate rather than append: + - Generalize: record the most general principle that is true, with the specific case as an + example at most. Skip one-off incidents that are already resolved. + - Merge: read existing notes first; refine or supersede instead of duplicating. + - Date changed entries. Never read or write anything in the vault outside `vault://_/Agents/` — including vault-wide searches — without explicit user approval in the conversation. -- 2.54.0