diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..ba0adbd --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,27 @@ +# Mnemazine Agent Commands + +This repository has two chat commands. Treat them as commands, not as topics to discuss. + +## `Mnemazine` + +When the latest user message is `Mnemazine`, `Mnemazine inbox`, `Мнемозина`, or `запусти Мнемозину`: + +```bash +npm start +``` + +Run it from the repository root. Do not use `npm run run` for live inbox work. `npm start` is the strict protocol: it must fail before archive if atomization/enrichment did not happen. + +## `Mnemazine update` + +When the latest user message is `Mnemazine update`, `Мнемозина update`, or `обнови Mnemazine`: + +```bash +npm run update +``` + +This updates code from GitHub, preserves local config, reinstalls wrappers, and syntax-checks scripts. It must not process inbox files. + +## Failure Rule + +If a command fails, report the failing command and the key error. Do not archive, delete, reset, or rewrite user files. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..ba0adbd --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,27 @@ +# Mnemazine Agent Commands + +This repository has two chat commands. Treat them as commands, not as topics to discuss. + +## `Mnemazine` + +When the latest user message is `Mnemazine`, `Mnemazine inbox`, `Мнемозина`, or `запусти Мнемозину`: + +```bash +npm start +``` + +Run it from the repository root. Do not use `npm run run` for live inbox work. `npm start` is the strict protocol: it must fail before archive if atomization/enrichment did not happen. + +## `Mnemazine update` + +When the latest user message is `Mnemazine update`, `Мнемозина update`, or `обнови Mnemazine`: + +```bash +npm run update +``` + +This updates code from GitHub, preserves local config, reinstalls wrappers, and syntax-checks scripts. It must not process inbox files. + +## Failure Rule + +If a command fails, report the failing command and the key error. Do not archive, delete, reset, or rewrite user files. diff --git a/claud.md b/claud.md new file mode 100644 index 0000000..2b0b860 --- /dev/null +++ b/claud.md @@ -0,0 +1,17 @@ +# Mnemazine Agent Commands + +This file mirrors `AGENTS.md` for launchers that look for `claud.md`. + +If the latest user message is `Mnemazine`, run: + +```bash +npm start +``` + +If the latest user message is `Mnemazine update`, run: + +```bash +npm run update +``` + +Do not use `npm run run` for live inbox work. Do not process inbox files during update. On failure, report the command and key error; do not archive, delete, reset, or rewrite user files.