A public repository must never hold its own agent sessions, and the work still has to be reproducible. Entire is enabled here with a separate private checkpoint repository, hooks for Claude Code and Codex, and the git-refs checkpoint backend. The release gate now enforces this before any public push: tracked .entire/settings.json, tracking enabled, automatic session pushing on, and a checkpoint repository that exists, is separate from this repository, and is private. Unknown visibility fails closed.
73 lines
3.7 KiB
Markdown
73 lines
3.7 KiB
Markdown
# Mnemazine Agent Commands
|
|
|
|
This repository has three 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.
|
|
|
|
## `Mnemazine doctor`
|
|
|
|
When the latest user message is `Mnemazine doctor`, `Мнемозина doctor`, `проверь Mnemazine`, or `проверь Мнемозину`:
|
|
|
|
```bash
|
|
npm run doctor
|
|
```
|
|
|
|
This checks the last run, live vault gates, graph markers, release smoke, and inbox state. 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.
|
|
|
|
## Skill Candidate Rule
|
|
|
|
If Mnemazine intake mentions a skill/capability with an upstream source, treat it as standing opt-in to run the safe install workflow. Do not leave it as a passive note.
|
|
|
|
Required path: read upstream README/SKILL/scripts, run `mcp-scan` or record why it is blocked, run local static/tests smoke, install only if review is clean, mirror to Claude/Codex/shared/VPS when applicable, and update shared registries/source ledgers/usage logs. Never pipe remote install scripts directly. If vetting fails, report the reason and do not install.
|
|
|
|
|
|
## Tool Vault Note Rule
|
|
|
|
When Mnemazine pipeline creates a synthesis note for a GitHub tool/repo — immediately also create a full standalone vault note. Do not leave synthesis-* as the only record.
|
|
|
|
Required path:
|
|
|
|
1. Fetch real README: `gh api repos/<owner>/<repo>/readme --jq '.content' | base64 -d`
|
|
2. Check stars: `gh api repos/<owner>/<repo> --jq '.stargazers_count, .license.spdx_id'`
|
|
3. Write `$MNEMAZINE_VAULT/01 Concepts/<kebab-slug>.md` — real README content, humanizer-ru Russian description, frontmatter with `status:"final" verified:true enrichment:"external-research"`
|
|
4. Add integration block: map tool to relevant owner projects from the vault project index — only where it genuinely fits
|
|
5. Append row to `$MNEMAZINE_VAULT/02 Projects/интеграции-новых-инструментов-в-проекты.md` with `🔲 план` status
|
|
6. Add to `~/.agents/GITHUB-STARS-LEDGER.md`
|
|
7. Archive the synthesis-* duplicate: move to `~/Архив/разобрано-ГГГГ-ММ/` with pointer note
|
|
|
|
If GitHub API unavailable or repo is private — write vault note from extracted content, mark `verified:false`.
|
|
|
|
## Public packaging
|
|
|
|
- `README.md` and `README.ru.md` follow the shared family anatomy: promise, badges, wide hero, table of
|
|
contents, and the ten beginner headings with the ASCII workflow diagram inside `How It Works`.
|
|
- Workflow stages live in `.github/pantheon.json`. Change the stages there first, then the two READMEs.
|
|
- `AGENTS.md` holds the rules; `CLAUDE.md`, `GEMINI.md`, `.github/copilot-instructions.md`, and
|
|
`.cursor/rules/*.mdc` only point here.
|
|
- Run `public-repo-gate check --repo . --release-intent public` before any push, and fix every blocker.
|
|
- Agent work here is tracked by Entire, and its checkpoints go to the separate private repository
|
|
`zarubinvibe/mnemazine-checkpoints`. Session capture stays on: a public repository never stores its own
|
|
checkpoints, and the release gate blocks a push when tracking is disabled or the checkpoint repository is public.
|