Add live run preflight checklist

This commit is contained in:
Зарубин Филипп
2026-06-24 12:21:42 +03:00
parent fb70104fd1
commit 8f2fc2f8ee
7 changed files with 162 additions and 0 deletions
+15
View File
@@ -69,6 +69,21 @@ npm run protocol:desktop:dry-run
This runs the Desktop protocol against temporary inbox/vault/cache/archive paths.
It never archives, deletes, or rewrites the live Desktop inbox.
## Live Preflight
```bash
npm run preflight:live
```
Before a real `npm start`, this checks that tracked code is clean, `HEAD`
matches `origin/main`, the local security audit passes, the Desktop dry-run
passes, and the inbox has active files. Empty inbox or dirty code is a failure.
To test the command itself without files, temporarily set
`MNEMAZINE_PREFLIGHT_ALLOW_EMPTY=1`.
After a live run, inspect `.mnemazine/state/last-run.json`,
`.mnemazine/state/last-action-brief.md`, and the newest files in `reports/`.
## Agent Skills
If Codex or Claude skill folders exist, the installer copies portable skills there. If they do not exist, nothing breaks.