From 1a9b73614ff7c194adab4ecbe4241d0ca60c4a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=97=D0=B0=D1=80=D1=83=D0=B1=D0=B8=D0=BD=20=D0=A4=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=D0=BF=D0=BF?= <289370046+zarubinphil@users.noreply.github.com> Date: Tue, 23 Jun 2026 18:42:15 +0300 Subject: [PATCH] Add root chat command instructions --- AGENTS.md | 27 +++++++++++++++++++++++++++ CLAUDE.md | 27 +++++++++++++++++++++++++++ claud.md | 17 +++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 AGENTS.md create mode 100644 CLAUDE.md create mode 100644 claud.md 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.