create-vibe-maestro 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/README.md +141 -164
- package/dist/cli/archive-run.js +29 -4
- package/dist/cli/context-run.js +23 -2
- package/dist/cli/upgrade-run.js +10 -2
- package/dist/core/archive/index.js +10 -3
- package/dist/core/archive/limits.js +8 -0
- package/dist/core/archive/plan.js +78 -7
- package/dist/core/context.js +56 -9
- package/dist/core/doctor/git.js +1 -1
- package/dist/core/doctor/index.js +2 -0
- package/dist/core/doctor/memory-lag.js +79 -0
- package/dist/core/doctor/sources.js +1 -1
- package/dist/core/preflight.js +6 -2
- package/dist/core/upgrade/index.js +2 -0
- package/dist/core/upgrade/releases.js +96 -2
- package/docs/ROADMAP.md +63 -2
- package/docs/USER_GUIDE.md +62 -24
- package/package.json +1 -1
- package/registry/baseline/0.4.4/project/.claude/rules/maestro.md +41 -0
- package/registry/baseline/0.4.4/project/maestro/templates/audit.md +31 -0
- package/registry/baseline/0.4.4/project/maestro/templates/handoff.md +29 -0
- package/registry/baseline/0.4.4/project/protocols/audit.md +74 -0
- package/registry/baseline/0.4.4/project/protocols/build.md +120 -0
- package/registry/baseline/0.4.4/project/protocols/completion.md +23 -0
- package/registry/baseline/0.4.4/project/protocols/handoff.md +18 -0
- package/registry/baseline/0.4.5/project/.claude/rules/maestro.md +41 -0
- package/registry/baseline/0.4.5/project/maestro/runbooks/cowork-audit.md +18 -0
- package/registry/baseline/0.4.5/project/maestro/templates/audit.md +31 -0
- package/registry/baseline/0.4.5/project/maestro/templates/handoff.md +36 -0
- package/registry/baseline/0.4.5/project/maestro/templates/progress.md +22 -0
- package/registry/baseline/0.4.5/project/protocols/audit.md +77 -0
- package/registry/baseline/0.4.5/project/protocols/build.md +120 -0
- package/registry/baseline/0.4.5/project/protocols/completion.md +23 -0
- package/registry/baseline/0.4.5/project/protocols/handoff.md +18 -0
- package/registry/baseline/0.4.5/project/protocols/plan.md +160 -0
- package/templates/project/.claude/rules/maestro.md +2 -2
- package/templates/project/maestro/runbooks/cowork-audit.md +1 -1
- package/templates/project/maestro/templates/audit.md +5 -5
- package/templates/project/maestro/templates/handoff.md +13 -4
- package/templates/project/maestro/templates/progress.md +12 -10
- package/templates/project/protocols/audit.md +13 -10
- package/templates/project/protocols/build.md +12 -4
- package/templates/project/protocols/completion.md +3 -3
- package/templates/project/protocols/handoff.md +10 -10
- package/templates/project/protocols/plan.md +1 -1
- package/templates/project/wiki/log.md +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,82 @@ All notable changes to Vibe Coding Maestro are documented here.
|
|
|
4
4
|
|
|
5
5
|
The project follows Semantic Versioning while prerelease interfaces may still change between beta versions.
|
|
6
6
|
|
|
7
|
+
## 0.4.6 — 2026-11-25
|
|
8
|
+
|
|
9
|
+
The seventh part of 0.4: easier to work, nothing gets lost. A week of real work on 0.4.5 was measured, and this release fixes what the numbers showed: a session reads less before it starts working, a slice capsule is a card and not a journal, every handoff in the middle of a slice checks the work against the goal, open items are carried forward instead of fading out, a finding nobody is going to fix closes its report, and `context` and `archive` say what to do next. Nothing changes under a project that is in the middle of its work: no Maestro file is added or removed, the session thresholds stay 400 000 and 600 000 tokens, and the checks at the start of a session stay as they were.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Goal check (`protocols/build.md`, «Сверка с целью»).** The criteria of a slice are a numbered list in its capsule, taken from the plan when the slice starts: its items in «Как проверим» and «Где правим» and its stop gate; for `QUICK`, the «проверка» item of the mini-plan. Only an edit of the plan changes the list. Every handoff in the middle of a slice carries the count `Цель: доказано N из M; в прошлой передаче K.` (the first one has no K), where «доказано» is command output, a test or something visible. Two handoffs of a slice in a row without growth mean the agent is going in circles: it does not repeat the same approach and the same checks, says what it tried and why it failed, changes the approach and tells the human in one line. Side work outside the criteria is finished if the goal needs it; otherwise it is brought to a whole state or rolled back and written to `wiki/icebox.md`. A slice closes only when the criteria are met and the review, where one is due, has passed; a human «да» does not replace met criteria. The human is not asked whether the work is done.
|
|
14
|
+
- **`context` estimates the steps left.** At the level «порцию лучше закончить» it prints how fast the session grows per step, about how many steps remain to the new-session threshold, and advises checking again no later than halfway. The growth is taken from the last 30 steps (at least 10), and only from the steps after a compaction. `--json` gets `growthPerStep` and `stepsToNewSession`, present only at this level and only when there is an estimate. The estimate is rough: one large command output overtakes it.
|
|
15
|
+
- **`archive` shows the plan edits that can move.** Without `--section` it lists the edits of the active plan below «Правки после утверждения» with their sizes — the ten largest, the rest as one line — and marks an edit with something open («есть незакрытое, переносить рано») or one that mentions the current slice. It still moves nothing by itself: you name an edit with `--section`. `--json` gets `planEdits`: `{ plan, intact, sections: [{ heading, chars, open, currentSlice }] }` or `null`. When the plan text does not match its approval digest, the list is shown and the move is refused with `archive-plan-changed`, as before.
|
|
16
|
+
- **Handoff sample:** in «Итог для человека» a line «Решил сам» — up to three decisions of the agent that the human will notice, or «нет»; a departure from what was approved does not go here, it is an edit of the plan and a question before it. In «Состояние» — the goal count in the middle of a slice.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **A session reads less before the first edit.** `protocols/build.md`: from the capsule — the goal with its criteria, what is open and «где остановились», without the work log and drafts; from a capsule of the old form — its beginning and the latest entries by date; from the plan — the header, «Как проверим», «Где правим», the line of the slice and its edit. The rest is read when needed. Open check reports are read as before. The measurement showed about 30 steps and a growth from 83 to about 190 thousand tokens before the first edit.
|
|
21
|
+
- **A slice capsule is a card (`maestro/templates/progress.md`).** Sections «Цель и готово», «Границы», «Открыто», «Где остановились» replace «Цель», «Сделано», «Проверки», «Дальше». The work log lives in handoffs; a draft of a plan edit is replaced with a link once it is moved into the plan. The file name, the header and `status: active` are the same. Existing capsules are not rewritten: at the first handoff on 0.4.6 the agent puts the criteria from the plan, «Открыто» and «Где остановились» on top and leaves the history below.
|
|
22
|
+
- **Open items are carried forward (`protocols/handoff.md`).** Step 3: what waits for the human and visible defects go to «Открытые вопросы» of `wiki/hot.md`, a finding with its ID; an unclosed line is not deleted, whoever wrote it; when `hot.md` is long, reference material moves out, not open items. `wiki/icebox.md` is only for «на потом»: it is not read at the start of a session. Step 5: before the archive of a closed slice, open items of the capsule move to `wiki/hot.md` and the human's «на потом» to `wiki/icebox.md`; when the stage changed, `wiki/roadmap.md` is corrected.
|
|
23
|
+
- **A finding that will not be fixed closes its report.** `protocols/audit.md`, the report sample and `maestro/runbooks/cowork-audit.md`: a medium or low finding that was decided not to be fixed is `status: resolved` with `resolution: не исправляем — причина; где записано`, and a line in `wiki/icebox.md` or in the next slice is required; it stays in the report next to critical, high and open findings. An open report now means «something is undecided», and `archive` moves a report closed this way. So that the decision does not vanish from what the human hears, the handoff and its summary name «open findings and what was decided not to fix», and `protocols/completion.md` takes «what is left» from open reports and from the «не исправляем» records. `doctor`, `archive` and the parsing of reports are unchanged.
|
|
24
|
+
- **`preflight` blocks only `spec_delta: open`.** `resolved` used to block although the plan template offered it; now it gives an `info` line with the new code `preflight-spec-delta-resolved` and the advice to put `none` back. A change of the plan text after approval is still caught by the approval digest.
|
|
25
|
+
- **`doctor`: `source-hash-missing` says what to do.** `maestro/sources/` is only for snapshots made by `vibe-maestro sources --write`; your own material belongs in `maestro/inbox/`. The code and the level are the same.
|
|
26
|
+
- **Shorter records at a handoff:** a log entry is one line of what was done and a link to the handoff («почему» and «что дальше» are in it); the handoff carries only what is new in the `doctor` output. The log sample of a new project (`wiki/log.md`, a project file) says the same; the log of an existing project is not touched.
|
|
27
|
+
- The advice about a new session is spelled out once, in `.claude/rules/maestro.md`, which is loaded in every session; `protocols/build.md`, `protocols/plan.md` and `protocols/handoff.md` point to it.
|
|
28
|
+
- **The limit on the text of the rules is 70 500 characters** (was 68 968; the text is 70 498). The growth is the goal check; the repeated advice and a few repeated words were cut to make room.
|
|
29
|
+
- The `vibe-maestro` companion package (0.1.10) depends on exactly `create-vibe-maestro@0.4.6`.
|
|
30
|
+
- Upgrade tests use projects generated by the real published 0.4.5 package.
|
|
31
|
+
|
|
32
|
+
### Upgrading from 0.4.5
|
|
33
|
+
|
|
34
|
+
`upgrade` rewrites twelve Maestro files: ten with new text (`.claude/rules/maestro.md`, `maestro/runbooks/cowork-audit.md`, `maestro/templates/audit.md`, `maestro/templates/handoff.md`, `maestro/templates/progress.md`, `protocols/audit.md`, `protocols/build.md`, `protocols/completion.md`, `protocols/handoff.md`, `protocols/plan.md`) and two that only pin the version (`.claude/commands/build.md`, `protocols/start.md`). Nothing is added, nothing is removed, and project files are not touched: `wiki/hot.md`, the log, existing capsules and existing reports stay as they are, and `doctor --strict` is as green after the upgrade as it was before. Three things remain for the project itself, when it suits it: findings marked «не исправляем» in old open reports can be closed by the new rule; a capsule of the old form gets the criteria from the plan, «Открыто» and «Где остановились» on top at the next handoff; and the header of the project's own `wiki/log.md` still describes the long entry («Почему», «Что дальше») — shorten it to match the new rule, because `upgrade` does not touch that file.
|
|
35
|
+
|
|
36
|
+
### For those who create projects with their own scripts
|
|
37
|
+
|
|
38
|
+
- **Handoff sample:** «Итог для человека» has a line «Решил сам»; «Состояние» has the goal count in the middle of a slice. The names and the order of the sections are the same; blocks of your own in a handoff are not affected.
|
|
39
|
+
- **Capsule sample (`maestro/templates/progress.md`):** sections «Цель и готово», «Границы», «Открыто», «Где остановились»; the header and the place of the file are the same.
|
|
40
|
+
- **Check reports:** a medium or low «не исправляем» finding is now `resolved`, and its `resolution` says where it is written (`wiki/icebox.md` or the next slice). An open report means something is undecided, so the number of open reports cannot be compared with earlier weeks.
|
|
41
|
+
- **`preflight`:** `spec_delta: resolved` no longer blocks and gives `info` `preflight-spec-delta-resolved`; `open` blocks.
|
|
42
|
+
- **`archive`:** without `--section` it prints the plan edits that can move; `--json` has the new field `planEdits`; the earlier fields are the same.
|
|
43
|
+
- **`context --json`:** new fields `growthPerStep` and `stepsToNewSession`; the earlier fields are the same, `reportVersion` stays 1.
|
|
44
|
+
- **`doctor`:** the text of `source-hash-missing` is different; the code and the level are the same.
|
|
45
|
+
- **Do not change:** the section names of `wiki/hot.md`; the place and names of handoffs; `create --yes`; the set of Maestro files; the session thresholds; the checks at the start of a session.
|
|
46
|
+
- The `vibe-maestro` companion 0.1.10 is exactly `create-vibe-maestro@0.4.6`. `upgrade` works from 0.2.0-beta.1, 0.3.0-beta.1 – 0.3.0-beta.4, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4 and 0.4.5.
|
|
47
|
+
- If you pin the version in your own settings, change it and your own equality test.
|
|
48
|
+
|
|
49
|
+
## 0.4.5 — 2026-11-04
|
|
50
|
+
|
|
51
|
+
The sixth part of 0.4: ready for a week of real work. `context` counts in tokens and is checked in the middle of a slice too; `archive` shows what looks open in a section; `doctor` sees memory falling behind the code; check reports carry only what matters and a handoff keeps the numbers; a handoff says honestly what was checked and what got in the way. The set of project files does not change, and the text of the rules does not grow.
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- **`doctor` sees memory falling behind the code**, from git only, as `info`, which never fails `--strict` or `preflight`. Commits outside `wiki/` are counted after the last commit that added a handoff, or after the commit that added `.maestro/manifest.json` while there are no handoffs. `memory-hot-behind`: the plan has a `current_slice`, `wiki/hot.md` does not name it, and there are 3 or more such commits. `memory-handoff-behind`: 10 or more. No `.git`, no anchor, a shallow clone or a git refusal: silent. A handoff that is not committed yet and is newer than the last commit silences both: `doctor` runs before that commit. The numbers are a hypothesis.
|
|
56
|
+
- **`archive` warns about open marks in a section.** UNKNOWN, OPEN_QUESTION, HYPOTHESIS, «не проверено», «открыто»: whole word, any case, in the heading or the text, outside code blocks; a findings line with nothing open does not count. The warning shows up to three lines of 100 characters, then «ещё N», and says what to do: closed — move it; open — first write it to `wiki/hot.md` or `wiki/icebox.md`, because the archive is not copied back. A word alone does not mean open, so nothing is refused.
|
|
57
|
+
- **Handoff sample:** a table `| Пункт | Чем проверено | Результат |`, where what the agent did not check itself is marked «со слов: кого» and never «прошло» without it; the line `Находки: critical N, high N, medium N, low N; открыто N.`; a new section `## Что мешало в работе`, one line or «нет». `protocols/completion.md` uses the same table, and a customer document claims no more than the table says.
|
|
58
|
+
|
|
59
|
+
### Changed
|
|
60
|
+
|
|
61
|
+
- **`context` thresholds are in tokens: 400 000 and 600 000.** The size of the session sets the price of a step, not its share of the window. A smaller window keeps the smaller of the two: `min(400 000, 40 % of the window)` and `min(600 000, 70 %)`, so 80 000 and 140 000 at a window of 200 000; `--window` follows the same rule. The numbers are a hypothesis from replaying real sessions.
|
|
62
|
+
- **The session size is checked in the middle of a slice too:** after a commit the agent runs `context`, and «пора в новую сессию» means a handoff now, with the slice left open. Before, `context` ran only after a closed slice, and sessions grew to the end of the window.
|
|
63
|
+
- **Check reports carry only critical, high and open findings.** The reviewer still returns everything, and the fix check gets the findings from the reviewer, not from the report. The author writes the report after the fix check; a handoff in the middle of a round puts everything the fix check has not closed into the report at once, `status: open`. Closed medium and low stay as numbers in the handoff and as fix commits. What is already written is not cleaned up; a report from Cowork is imported whole. The findings of a plan audit go on the same line in the plan's «Утверждение».
|
|
64
|
+
- The line about how many server checks ran now lives only in `protocols/build.md`, for a project with a cloud copy.
|
|
65
|
+
- `upgrade` tells the truth when a rollback fails: the first line no longer promises that nothing changed, and neither does a repeated run that stops on the leftover staging folder.
|
|
66
|
+
- The `vibe-maestro` companion package (0.1.9) depends on exactly `create-vibe-maestro@0.4.5`.
|
|
67
|
+
- Upgrade tests use projects generated by the real published 0.4.4 package.
|
|
68
|
+
|
|
69
|
+
### For those who create projects with their own scripts
|
|
70
|
+
|
|
71
|
+
- **Handoff sample:** «Проверки» now has a table and the line `Находки: critical N, high N, medium N, low N; открыто N.`; there is a new section `## Что мешало в работе`. If you read handoffs by section: the section is new, the order of the old ones is the same.
|
|
72
|
+
- **There will be more handoffs:** they also happen in the middle of a slice. If you take your block from the last handoff, the final handoff must stay the last one and carry the block; if you search by the date a file was added to git, two handoffs must not share a commit.
|
|
73
|
+
- **Check reports:** only critical, high and open findings. No report no longer means no check: look at the findings line of the handoff.
|
|
74
|
+
- **`doctor`:** new `info` codes `memory-hot-behind`, `memory-handoff-behind`; they do not fail `--strict` or `preflight`. They need git.
|
|
75
|
+
- **`context --json`:** `level` now comes from tokens, not from a share of the window; `percent` and `budget` are as before; new fields `finishSliceTokens`, `newSessionTokens`; `reportVersion` stays 1. At a window of 200 000 the levels are the same.
|
|
76
|
+
- **`archive --json`:** `sections[].warnings` also carries lines about open marks; nothing is refused.
|
|
77
|
+
- **`upgrade --json`:** new field `partial`: `true` means a rollback failed and the project is changed in part.
|
|
78
|
+
- **Do not change:** the section names of `wiki/hot.md`; the place and names of handoffs; `create --yes`; the set of Maestro files; `.claude/settings.json` of the template; the parsing of check reports.
|
|
79
|
+
- The `vibe-maestro` companion 0.1.9 is exactly `create-vibe-maestro@0.4.5`. `upgrade` works from 0.2.0-beta.1, 0.3.0-beta.1 – 0.3.0-beta.4, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3 and 0.4.4.
|
|
80
|
+
- If you pin the version in your own settings, change it and your own equality test.
|
|
81
|
+
- A `.gitignore` with `maestro/inbox/*` also hides the Maestro file `maestro/inbox/.gitattributes`: add an exception.
|
|
82
|
+
|
|
7
83
|
## 0.4.4 — 2026-11-04
|
|
8
84
|
|
|
9
85
|
The fifth part of 0.4: project memory stops growing. A slice result goes to its handoff and the plan keeps one line; old log entries, closed check reports and closed plan edits move to an archive inside the project, and the agent reads the archive by search; `doctor` says when memory gets long. Nothing is deleted: the moved text stays byte for byte, only link addresses change.
|
package/README.md
CHANGED
|
@@ -4,105 +4,84 @@
|
|
|
4
4
|
<strong>Keep AI coding context in the repo—not in yesterday’s chat.</strong>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
<p align="center">
|
|
8
|
-
Open-source project memory and guardrails for long-running AI coding work.<br>
|
|
9
|
-
Ordinary Markdown in Git, shared by people and different AI coding tools.
|
|
10
|
-
</p>
|
|
11
|
-
|
|
12
7
|
<p align="center">
|
|
13
8
|
<a href="https://github.com/omikhaylov76-commits/vibe-coding-maestro/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/omikhaylov76-commits/vibe-coding-maestro/actions/workflows/ci.yml/badge.svg"></a>
|
|
14
9
|
<a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
|
|
15
10
|
</p>
|
|
16
11
|
|
|
17
12
|
<p align="center">
|
|
18
|
-
<a href="docs/USER_GUIDE.md">Подробное руководство на русском</a>
|
|
19
|
-
·
|
|
20
13
|
<a href="#quick-start">Quick start</a>
|
|
21
14
|
·
|
|
15
|
+
<a href="#первые-шаги-по-русски">Первые шаги по-русски</a>
|
|
16
|
+
·
|
|
17
|
+
<a href="docs/USER_GUIDE.md">Подробное руководство на русском</a>
|
|
18
|
+
·
|
|
22
19
|
<a href="#safety-by-default">Safety</a>
|
|
23
20
|
·
|
|
24
21
|
<a href="#documentation">Documentation</a>
|
|
25
22
|
</p>
|
|
26
23
|
|
|
27
|
-
>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
When an AI-assisted project lasts longer than one chat, the same problems keep returning:
|
|
31
|
-
|
|
32
|
-
- a new session has to rediscover the project;
|
|
33
|
-
- decisions survive in old conversations but not in the repository;
|
|
34
|
-
- the plan, code, and documentation quietly drift apart;
|
|
35
|
-
- different agents receive different instructions;
|
|
36
|
-
- nobody can quickly prove which files and rules are still intact.
|
|
37
|
-
|
|
38
|
-
Vibe Coding Maestro creates one durable, Git-native place for that context. It gives the project shared Markdown memory, canonical working protocols, thin entry files for AI tools, and a deterministic `doctor` that checks mechanical integrity without calling an LLM.
|
|
39
|
-
|
|
40
|
-
It is **not another coding agent or IDE**. Keep using Claude Code, Codex, Cursor, or your preferred tools. Maestro gives them—and you—the same map.
|
|
41
|
-
|
|
42
|
-
## See the workflow in 20 seconds
|
|
43
|
-
|
|
44
|
-

|
|
24
|
+
<p align="center">
|
|
25
|
+
Читаете по-русски? Начните с раздела <a href="#первые-шаги-по-русски">«Первые шаги по-русски»</a>.
|
|
26
|
+
</p>
|
|
45
27
|
|
|
46
|
-
|
|
28
|
+
- **What it is.** A project folder with shared memory and working rules for AI coding agents: ordinary Markdown in Git, plus a `doctor` command that checks the folder is intact.
|
|
29
|
+
- **Who it is for.** Anyone who builds something with Claude Code, Codex or a similar agent for longer than one chat—including people who do not write code themselves.
|
|
30
|
+
- **What it is not.** Not another coding agent or IDE. Keep your tools; Maestro gives them, and you, the same map.
|
|
47
31
|
|
|
48
32
|
## Quick start
|
|
49
33
|
|
|
50
|
-
|
|
34
|
+
Open a terminal (Terminal on macOS, PowerShell on Windows) and run one command:
|
|
51
35
|
|
|
52
36
|
```bash
|
|
53
37
|
npx create-vibe-maestro@latest
|
|
54
38
|
```
|
|
55
39
|
|
|
56
|
-
|
|
40
|
+
You need Node.js 20.10 or newer (it brings npm; get it at nodejs.org), Git (git-scm.com) and Claude Code or another coding agent; `node --version` and `git --version` show whether the first two are installed.
|
|
57
41
|
|
|
58
|
-
|
|
42
|
+
What you will see next:
|
|
59
43
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
44
|
+
1. A short guided setup with no more than three decisions: create a new project or check an existing one, the project name, and what you start from: an idea, materials, a ready description or existing code. A simple name creates the folder on your Desktop; an explicit path always wins.
|
|
45
|
+
2. A new project folder with its first Git commit and a passed check. The panel «ПРОЕКТ ГОТОВ» shows where the project is.
|
|
46
|
+
3. The next steps, printed in the same panel: open the folder in Claude Code and type `/start`. From there the agent leads you with questions, one at a time.
|
|
63
47
|
|
|
64
|
-
|
|
48
|
+
The setup and the generated project speak Russian (English is planned before a global release), so the step-by-step section below is in Russian.
|
|
65
49
|
|
|
66
|
-
|
|
67
|
-
cd "My Project"
|
|
68
|
-
npx --package create-vibe-maestro@latest vibe-maestro doctor --path .
|
|
69
|
-
```
|
|
50
|
+
## Первые шаги по-русски
|
|
70
51
|
|
|
71
|
-
|
|
52
|
+
Здесь весь путь новичка — от команды до первого плана. Подробности — в [руководстве](docs/USER_GUIDE.md).
|
|
72
53
|
|
|
73
54
|
```text
|
|
74
|
-
|
|
75
|
-
- git-no-remote: Копии проекта в облаке нет: у репозитория нет remote. …
|
|
55
|
+
создание → /start → /plan → человек утверждает план → /build одной порции → /handoff
|
|
76
56
|
```
|
|
77
57
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
58
|
+
1. **Создайте проект.** Откройте терминал (на Mac — программа «Терминал», в Windows — PowerShell) и наберите `npx create-vibe-maestro@latest`. Нужны Node.js версии 20.10 или новее (ставится с сайта nodejs.org) и Git (git-scm.com); проверить, что они есть, можно командами `node --version` и `git --version`. Мастер задаст до трёх вопросов: создать новый проект или проверить готовый, как назвать проект и с чего вы начинаете — с идеи, материалов, готового описания или кода. Папка появится на рабочем столе, а в конце вы увидите панель «ПРОЕКТ ГОТОВ» с её адресом.
|
|
59
|
+
2. **Откройте папку проекта в Claude Code**: выберите эту папку в приложении Claude Code либо в терминале наберите `cd`, пробел и адрес папки из панели, а затем `claude`.
|
|
60
|
+
3. **Материалы**, если есть, — заметки, требования, скриншоты — положите в `maestro/inbox/`. Готовый код оставьте, где лежит: агент спросит путь и прочитает его, ничего не меняя.
|
|
61
|
+
4. **Напишите `/start`** — знакомство с задачей. Агент сначала читает, что уже есть, потом спрашивает по одному вопросу: что делаем, для кого, что значит «готово», кто решает, как передавать пароли и ключи доступа. «Не знаю» — нормальный ответ. Можно прерваться и продолжить. В конце агент показывает сводку; после вашего «да» ответы записываются в проект.
|
|
62
|
+
5. **Напишите `/plan`** — попросите план. Агент называет, насколько большая задача и как строго её проверять (это классификация), — с причинами. Вы можете согласиться, изменить или сузить объём.
|
|
63
|
+
6. **Прочитайте черновик плана** — он появится в папке `wiki/plans/`; можно попросить агента пересказать его простыми словами. Пока план в состоянии `draft` (черновик), код писать нельзя: проверка отвечает `CODE_ALLOWED: NO`. В проекте обычной строгости (она стоит по умолчанию) и повышенной черновик до вас читает второй агент и говорит, что нашёл.
|
|
64
|
+
7. **Утвердите план сами** — словами «план утверждаю». После этих слов агент записывает утверждение в план и ставит на текст отпечаток (контрольную сумму): если план потом изменится, проверки это заметят. Maestro не может механически отличить, кто записал утверждение — человек или агент: следите, чтобы оно появлялось только после ваших слов.
|
|
65
|
+
8. **Проверка перед кодом** — `preflight`. Агент запускает её сам перед первой строкой кода; она отвечает, можно ли начинать.
|
|
66
|
+
9. **Напишите `/build`** — лучше в новом разговоре с агентом. Агент делает ровно одну порцию плана и правит только файлы, названные в плане; затем сам запускает тесты и `doctor`, записывает передачу дел (`/handoff`) и говорит итог простыми словами. Следующая порция — снова `/build`, в новом разговоре.
|
|
82
67
|
|
|
83
|
-
|
|
68
|
+
Всё состояние проекта живёт в обычных текстовых файлах внутри проекта. Новый разговор с агентом начинается не с нуля, а с файла `wiki/hot.md` («что сейчас»), плана и последней передачи дел.
|
|
84
69
|
|
|
85
|
-
|
|
70
|
+
Слова, которые встретятся: **порция** — одна ограниченная часть работы из плана (в английских разделах — slice); **сессия** — один разговор с агентом; **передача дел** — запись «где остановились» для следующей сессии, её делает команда `/handoff`; `doctor` — проверка, что файлы Maestro целы; `preflight` — проверка, можно ли писать код.
|
|
86
71
|
|
|
87
|
-
|
|
88
|
-
создание → /start → /plan → классификация → черновик плана
|
|
89
|
-
→ человек утверждает → preflight → /build одной порции → тесты и doctor → /handoff
|
|
90
|
-
```
|
|
72
|
+
### Что делает человек, а что агент
|
|
91
73
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
7. **Утвердите план сами** — словами «план утверждаю». После этих слов агент сам записывает поля плана, объявляет его в `wiki/hot.md` и ставит отпечаток утверждения: если текст плана потом изменится, `doctor` и `preflight` это заметят. Maestro не может механически отличить, кто заполнил поля — человек или агент: следите, чтобы они появлялись только после ваших слов.
|
|
99
|
-
8. **Проверьте право на код** механическим гейтом `preflight` (команды ниже).
|
|
100
|
-
9. **`/build` ровно одной порции — лучше в новой сессии** → тесты → `doctor` → `/handoff`. Агент правит только файлы из раздела плана «Где правим».
|
|
74
|
+
| Человек | Агент |
|
|
75
|
+
|---|---|
|
|
76
|
+
| Ставит цель и границы | Читает, что есть, и предлагает классификацию |
|
|
77
|
+
| Утверждает план | Пишет черновик плана и останавливается на `CODE_ALLOWED: NO` |
|
|
78
|
+
| Отвечает на вопросы, которые понимает и за которые отвечает | Сам запускает тесты и проверки и сверяет работу с целью порции |
|
|
79
|
+
| Смотрит итог и решает, что принять | Делает одну разрешённую порцию и готовит `/handoff` |
|
|
101
80
|
|
|
102
81
|
### Откуда запускать команды
|
|
103
82
|
|
|
104
83
|
- `/start`, `/plan`, `/build`, `/status`, `/wiki`, `/handoff` — внутри **папки проекта**, открытой в Claude Code.
|
|
105
|
-
- `doctor`, `preflight`, `sources`, `upgrade` — тоже из **папки проекта**,
|
|
84
|
+
- `doctor`, `preflight`, `sources`, `upgrade` агент запускает сам. Если хотите запустить их руками — тоже из **папки проекта**, в терминале, с `--path .`. Точная команда с версией вашего проекта записана в его `.claude/rules/maestro.md`; общая форма такая:
|
|
106
85
|
|
|
107
86
|
```bash
|
|
108
87
|
# из папки проекта
|
|
@@ -110,30 +89,55 @@ npx --package create-vibe-maestro@latest vibe-maestro preflight --path .
|
|
|
110
89
|
npx --package create-vibe-maestro@latest vibe-maestro doctor --path .
|
|
111
90
|
```
|
|
112
91
|
|
|
113
|
-
|
|
92
|
+
Ожидаемый ответ `doctor`:
|
|
93
|
+
|
|
94
|
+
```text
|
|
95
|
+
Vibe Coding Maestro doctor: всё сходится.
|
|
96
|
+
- git-no-remote: Копии проекта в облаке нет: у репозитория нет remote. …
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Вторая строка — подсказка, а не ошибка: у проекта пока нет копии в облаке, например на GitHub. `@latest` — самая новая версия Maestro; если она новее вашего проекта, `doctor` скажет об этом и напечатает точные команды.
|
|
100
|
+
|
|
101
|
+
### Размер плана — по размеру задачи
|
|
114
102
|
|
|
115
103
|
| Масштаб | Что создаётся |
|
|
116
104
|
|---|---|
|
|
117
|
-
| `QUICK` | mini-plan в `wiki/plans/` —
|
|
118
|
-
| `FEATURE` | один план `wiki/plans
|
|
119
|
-
| `PROJECT` | полный
|
|
120
|
-
| `PROGRAM` / `INTEGRATION` | `wiki/programs
|
|
105
|
+
| `QUICK` | mini-plan в `wiki/plans/` — короткий план для мелкой задачи, тот же путь |
|
|
106
|
+
| `FEATURE` | один план в `wiki/plans/` |
|
|
107
|
+
| `PROJECT` | полный план в одном файле |
|
|
108
|
+
| `PROGRAM` / `INTEGRATION` | `wiki/programs/`: программа, её фазы и список исходников |
|
|
121
109
|
|
|
122
|
-
|
|
110
|
+
Активный план всегда лежит в `wiki/plans/`: только эту папку проверяют `doctor` и `preflight`.
|
|
123
111
|
|
|
124
|
-
|
|
112
|
+
Другие агенты и окна: агент без команд (Codex и другие) проходит те же шаги по файлам `protocols/start.md` и `protocols/plan.md`; в Cowork план просят фразой «план» по подсказке `maestro/runbooks/cowork-plan.md`. Это разные двери в одни и те же правила.
|
|
125
113
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
| Принимает или меняет классификацию | Пишет черновик плана нужного объёма |
|
|
130
|
-
| Утверждает план и каждую фазу программы | Останавливается на `CODE_ALLOWED: NO` |
|
|
131
|
-
| Закрывает блокирующие вопросы | Исполняет одну разрешённую порцию и останавливается на её стоп-гейте |
|
|
132
|
-
| Просматривает diff и решает, что мержить | Прогоняет тесты, `doctor` и готовит `/handoff` |
|
|
114
|
+
Два законченных примера — простой лендинг и портал из двух существующих игр — разобраны в [руководстве](docs/USER_GUIDE.md#два-примера-от-идеи-до-первой-порции). Там же — разделы про [`sources`](docs/USER_GUIDE.md#инвентаризация-существующих-исходников), [`preflight`](docs/USER_GUIDE.md#preflight-механический-гейт-перед-кодом), [`upgrade`](docs/USER_GUIDE.md#обновление-проекта-на-новую-версию) и [что делать, если проверка не пускает к коду](docs/USER_GUIDE.md#если-что-то-пошло-не-так).
|
|
115
|
+
|
|
116
|
+
## Why it exists
|
|
133
117
|
|
|
134
|
-
|
|
118
|
+
When an AI-assisted project lasts longer than one chat, the same problems keep returning:
|
|
119
|
+
|
|
120
|
+
- a new session has to rediscover the project;
|
|
121
|
+
- decisions survive in old conversations but not in the repository;
|
|
122
|
+
- the plan, code, and documentation quietly drift apart;
|
|
123
|
+
- different agents receive different instructions;
|
|
124
|
+
- nobody can quickly prove which files and rules are still intact.
|
|
125
|
+
|
|
126
|
+
Vibe Coding Maestro creates one durable, Git-native place for that context: shared Markdown memory, canonical working protocols, thin entry files for AI tools, and a deterministic `doctor` that checks mechanical integrity without calling an LLM.
|
|
135
127
|
|
|
136
|
-
|
|
128
|
+

|
|
129
|
+
|
|
130
|
+
The recording shows project creation and `doctor` in an earlier beta; `/start` and the plan step were added after it.
|
|
131
|
+
|
|
132
|
+
### Before and after
|
|
133
|
+
|
|
134
|
+
| Before Maestro | With Maestro |
|
|
135
|
+
|---|---|
|
|
136
|
+
| Decisions are scattered across chats | Confirmed context lives in Markdown and Git |
|
|
137
|
+
| Each agent gets a different explanation | `AGENTS.md`, `CLAUDE.md`, and adapters route to canonical protocols |
|
|
138
|
+
| “Where did we stop?” requires a long recap | `wiki/hot.md` and handoffs hold the current state and next step |
|
|
139
|
+
| Drift is noticed manually, often late | `doctor` checks known mechanical invariants deterministically |
|
|
140
|
+
| Ownership is implicit | Managed, project-owned, generated, merged, and immutable paths are explicit |
|
|
137
141
|
|
|
138
142
|
## What you get
|
|
139
143
|
|
|
@@ -154,31 +158,7 @@ My Project/
|
|
|
154
158
|
└── .maestro/ # manifest, ownership inventory and integrity metadata
|
|
155
159
|
```
|
|
156
160
|
|
|
157
|
-
The important part is not the number of files. It is the reading path every new session receives:
|
|
158
|
-
|
|
159
|
-
```text
|
|
160
|
-
wiki/hot.md
|
|
161
|
-
→ discovery
|
|
162
|
-
→ open audits
|
|
163
|
-
→ roadmap
|
|
164
|
-
→ current progress
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
From there, `protocols/build.md` routes the agent through the relevant rules, plan, tests, evidence, review, and handoff. The next session can continue from repository state instead of relying on a private chat transcript.
|
|
168
|
-
|
|
169
|
-
### Before and after
|
|
170
|
-
|
|
171
|
-
| Before Maestro | With Maestro |
|
|
172
|
-
|---|---|
|
|
173
|
-
| Decisions are scattered across chats | Confirmed context lives in Markdown and Git |
|
|
174
|
-
| Each agent gets a different explanation | `AGENTS.md`, `CLAUDE.md`, and adapters route to canonical protocols |
|
|
175
|
-
| “Where did we stop?” requires a long recap | `wiki/hot.md` and handoffs hold the current state and next step |
|
|
176
|
-
| Drift is noticed manually, often late | `doctor` checks known mechanical invariants deterministically |
|
|
177
|
-
| Ownership is implicit | Managed, project-owned, generated, merged, and immutable paths are explicit |
|
|
178
|
-
|
|
179
|
-
## A normal working cycle
|
|
180
|
-
|
|
181
|
-
The guided path above is the whole cycle: material in `maestro/inbox/` → `/start` (getting to know the task) → plan → human approval → one bounded build with tests and live evidence → `doctor` → handoff, then a new session for the next slice (`vibe-maestro context` tells the agent how large the session has grown). When the last slice is done, `protocols/completion.md` walks through delivery or closing: criteria checked, tests green, a delivery tag, a complete project passport (`wiki/passport.md`: where everything lives, names of environment variables but never their values), customer documents, a final handoff; `vibe-maestro pack` builds the customer archive from the delivery tag. Checks run once: the plan is always checked against the real situation, a plan audit before approval, one code review per slice, then only the fixes are re-checked; the agent runs tests and checks itself and asks the human only about what they understand and own. Independent audit findings are recorded with stable IDs on one `critical | high | medium | low` scale (sample: `maestro/templates/audit.md`); open `high` or `critical` findings block a green doctor result.
|
|
161
|
+
The important part is not the number of files. It is the reading path every new session receives: `wiki/hot.md` first, then the capsule of the current slice, the active plan and open check reports—and from each only the part the session needs.
|
|
182
162
|
|
|
183
163
|
Claude Code projects receive six thin commands:
|
|
184
164
|
|
|
@@ -189,31 +169,17 @@ Claude Code projects receive six thin commands:
|
|
|
189
169
|
- `/wiki` — reconcile allowed project memory;
|
|
190
170
|
- `/handoff` — record the state and update `wiki/hot.md`.
|
|
191
171
|
|
|
192
|
-
##
|
|
193
|
-
|
|
194
|
-
Maestro is deliberately conservative around existing data and Git state:
|
|
195
|
-
|
|
196
|
-
- it refuses a non-empty, non-canonical destination before writing;
|
|
197
|
-
- a copied or forged manifest is not enough—the canonical identity, inventory, and actual tree must agree;
|
|
198
|
-
- repeat initialization is not an implicit repair command: an incomplete canonical tree is rejected without writing;
|
|
199
|
-
- user-owned files are not silently overwritten or deleted;
|
|
200
|
-
- protected paths and their parents are checked for symlinks, including dangling links;
|
|
201
|
-
- Git bootstrap uses `main`, does not run `git add -A` over unrelated work, and does not change global Git configuration;
|
|
202
|
-
- `doctor` is deterministic, has versioned JSON output, and makes no LLM call;
|
|
203
|
-
- `doctor --strict` also treats warnings as blocking;
|
|
204
|
-
- audit findings must be resolved with evidence; `waived` is not accepted by the 0.3 contract;
|
|
205
|
-
- when the approval digest is recorded (the protocol asks the agent to), a later change of the plan text or its classification closes the gate until a human approves again — a tripwire, not a lock;
|
|
206
|
-
- `.claude/settings.json` ships default rules for Claude Code: its file tools are denied Maestro files, and `git push`, `npm publish`, `rm -rf` and `git reset --hard` ask first; this is not a sandbox, and the file belongs to the project, so a team can change the rules — see [how to tune protections for a project](docs/USER_GUIDE.md#как-подстроить-защиты-под-проект) (Russian);
|
|
207
|
-
- API keys live only in `.env`, which `.gitignore` excludes and `doctor` reports if Git tracks it; the agent writes a key you paste into `.env` itself, or opens `.env` in an editor for you to paste it (a key typed into the chat stays in the session history);
|
|
208
|
-
- `sources` reads existing code read-only and writes nothing without an explicit `--write`;
|
|
209
|
-
- `pack` builds the customer archive only from a delivery tag, leaves Maestro and agent folders out, adds `HANDOVER.md` with «change all passwords and keys» (or «there were no accesses» when every access section of the passport is «не применимо»), refuses on common kinds of secrets (a sieve, not a guarantee) or an incomplete passport, and gives the same bytes for the same tag; `pack --dry-run` shows the archive list first and highlights service files, personal paths, Maestro names, internal folders and plan numbers;
|
|
210
|
-
- `upgrade` is a dry run without `--apply` (`--diff` prints the changes themselves), refuses a modified managed file, removes only untouched Maestro files that left the canon, and rolls back a failed apply; `archive` moves old memory inside the project the same way — nothing deleted, text byte for byte except link addresses, a plan's approval digest rewritten only when the text matched it;
|
|
211
|
-
- generated projects pin the exact Maestro version instead of `@latest`, so a new release cannot change a project's checks until someone runs `upgrade`;
|
|
212
|
-
- there is intentionally no `doctor --fix` that could overwrite useful work.
|
|
172
|
+
## A normal working cycle
|
|
213
173
|
|
|
214
|
-
`
|
|
174
|
+
Material in `maestro/inbox/` → `/start` → plan → human approval → one bounded slice with tests and live evidence → `doctor` → handoff → a new session for the next slice. What keeps that cycle honest over weeks:
|
|
215
175
|
|
|
216
|
-
|
|
176
|
+
- **One slice at a time.** The agent edits only the files the plan names and stops at the slice's stop gate.
|
|
177
|
+
- **Goal check.** Each slice has a numbered list of criteria. A handoff in the middle of a slice says how many are proven; when the count does not grow twice in a row, the agent changes its approach and says so. Your «да» does not replace met criteria, and you are not asked whether the work is done.
|
|
178
|
+
- **Sessions stay affordable.** `vibe-maestro context` tells the agent how large the session has grown and, near the limit, about how many steps are left before a new session is cheaper. A new session reads the short capsule of the slice, not the whole history.
|
|
179
|
+
- **Checks run once.** A plan audit before approval and one code review per slice (not in `light` projects), then only the fixes are re-checked. Findings have stable IDs on one `critical | high | medium | low` scale; open `high` or `critical` findings block a green `doctor`; a `medium` or `low` finding that will not be fixed is closed with the reason and a note where it is recorded.
|
|
180
|
+
- **Nothing open gets lost.** What waits for you and visible defects are carried from handoff to handoff in `wiki/hot.md`; “later” goes to `wiki/icebox.md`. A handoff marks what the agent did not check itself and lists what it decided on its own.
|
|
181
|
+
- **Memory does not grow without end.** `archive` moves old memory into an archive inside the project, and `doctor` says when memory falls behind the code.
|
|
182
|
+
- **Delivery.** `protocols/completion.md` walks through closing: criteria checked, tests green, a delivery tag, a complete project passport (`wiki/passport.md`: where everything lives, names of environment variables but never their values), customer documents, a final handoff; `vibe-maestro pack` builds the customer archive from the delivery tag.
|
|
217
183
|
|
|
218
184
|
## Choose a depth
|
|
219
185
|
|
|
@@ -225,11 +191,11 @@ All depths are projections of one canonical system, not separate products.
|
|
|
225
191
|
| `standard` | Most solo and small-team projects | Full planning, progress, review, and handoff path; default |
|
|
226
192
|
| `advanced` | Longer or higher-risk work | Additional architecture, seams, audit, and lessons contracts |
|
|
227
193
|
|
|
228
|
-
|
|
194
|
+
The guided setup uses `standard`, so a new user does not have to decide immediately. Scripts choose with `--depth light|standard|advanced`.
|
|
229
195
|
|
|
230
196
|
## When Maestro helps—and when it does not
|
|
231
197
|
|
|
232
|
-
|
|
198
|
+
Maestro is a good fit when:
|
|
233
199
|
|
|
234
200
|
- an AI-assisted project lasts more than a few sessions;
|
|
235
201
|
- you switch between people, models, or coding interfaces;
|
|
@@ -237,21 +203,46 @@ Choose non-interactively with `--depth light|standard|advanced`. The Guided Firs
|
|
|
237
203
|
- Git state, ownership, auditability, and safe handoff matter;
|
|
238
204
|
- you want portable Markdown rather than provider-locked chat memory.
|
|
239
205
|
|
|
240
|
-
|
|
206
|
+
Maestro is probably unnecessary when:
|
|
241
207
|
|
|
242
208
|
- the task is a one-off script or a short disposable prototype;
|
|
243
209
|
- you do not use Git or filesystem-aware AI tools;
|
|
244
|
-
- you want an
|
|
210
|
+
- you want an agent that works with no plan and no approval from you;
|
|
245
211
|
- you need to retrofit an existing non-canonical repository today;
|
|
246
212
|
- you need enterprise access control, cloud sync, SSO, or a hosted dashboard.
|
|
247
213
|
|
|
248
214
|
Maestro also cannot replace project tests, backups, code review, or human judgment.
|
|
249
215
|
|
|
216
|
+
> [!WARNING]
|
|
217
|
+
> **Maestro creates new projects only.** It can re-check a complete project created by the same canonical engine, and `vibe-maestro upgrade` moves a provably canonical project forward from an earlier published version (0.2.0-beta.1, 0.3.0-beta.1 – 0.3.0-beta.4, 0.3.0, 0.3.1, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5). It refuses to modify a non-empty, non-canonical directory, and no flag overrides that refusal. Safe conversion of arbitrary existing projects belongs to a separate future Converter.
|
|
218
|
+
|
|
219
|
+
## Safety by default
|
|
220
|
+
|
|
221
|
+
Maestro is deliberately conservative around existing data and Git state:
|
|
222
|
+
|
|
223
|
+
- it refuses a non-empty, non-canonical destination before writing;
|
|
224
|
+
- a copied or forged manifest is not enough—the canonical identity, inventory, and actual tree must agree;
|
|
225
|
+
- repeat initialization is not an implicit repair command: an incomplete canonical tree is rejected without writing;
|
|
226
|
+
- user-owned files are not silently overwritten or deleted;
|
|
227
|
+
- protected paths and their parents are checked for symlinks, including dangling links;
|
|
228
|
+
- Git bootstrap uses `main`, does not run `git add -A` over unrelated work, and does not change global Git configuration;
|
|
229
|
+
- `doctor` is deterministic, has versioned JSON output, and makes no LLM call; `doctor --strict` also treats warnings as blocking; there is intentionally no `doctor --fix` that could overwrite useful work;
|
|
230
|
+
- audit findings must be resolved with evidence; `waived` is not accepted;
|
|
231
|
+
- when the approval digest is recorded (the protocol asks the agent to), a later change of the plan text or its classification closes the gate until a human approves again — a tripwire, not a lock;
|
|
232
|
+
- `.claude/settings.json` ships default rules for Claude Code: its file tools are denied Maestro files, and `git push`, `npm publish`, `rm -rf` and `git reset --hard` ask first; this is not a sandbox, and the file belongs to the project, so a team can change the rules — see [how to tune protections for a project](docs/USER_GUIDE.md#как-подстроить-защиты-под-проект) (Russian);
|
|
233
|
+
- API keys live only in `.env`, which `.gitignore` excludes and `doctor` reports if Git tracks it; the agent writes a key you paste into `.env` itself, or opens `.env` in an editor for you to paste it (a key typed into the chat stays in the session history);
|
|
234
|
+
- `sources` reads existing code read-only and writes nothing without an explicit `--write`;
|
|
235
|
+
- `pack` builds the customer archive only from a delivery tag, leaves Maestro and agent folders out, adds `HANDOVER.md` with «change all passwords and keys», refuses on common kinds of secrets (a sieve, not a guarantee) or an incomplete passport, and gives the same bytes for the same tag; `pack --dry-run` shows the archive list first;
|
|
236
|
+
- `upgrade` is a dry run without `--apply` (`--diff` prints the changes themselves), refuses a modified managed file, removes only untouched Maestro files that left the canon, and rolls back a failed apply; `archive` moves old memory inside the project the same way — nothing deleted, text byte for byte except link addresses;
|
|
237
|
+
- generated projects pin the exact Maestro version instead of `@latest`, so a new release cannot change a project's checks until someone runs `upgrade`.
|
|
238
|
+
|
|
239
|
+
These protections reduce accidental damage. They do **not** make Maestro a sandbox, backup system, digital signature, or proof that the code and product decisions are correct. Read the complete [threat model](docs/THREAT_MODEL.md).
|
|
240
|
+
|
|
250
241
|
## Integration status
|
|
251
242
|
|
|
252
243
|
The core format is vendor-neutral; integration depth is not identical across tools.
|
|
253
244
|
|
|
254
|
-
| Interface | Level
|
|
245
|
+
| Interface | Level | What is available |
|
|
255
246
|
|---|---|---|
|
|
256
247
|
| Humans | Native | Plain Markdown, Git diffs, explicit ownership, runbooks |
|
|
257
248
|
| Claude Code | Native adapter | `.claude/rules/` loaded every session, six project commands including `/start` and `/plan`, read-only reviewer and explorer, default `settings.json` |
|
|
@@ -259,19 +250,28 @@ The core format is vendor-neutral; integration depth is not identical across too
|
|
|
259
250
|
| Cursor and other filesystem-aware tools | Generic | They can read the same Markdown; no dedicated adapter yet |
|
|
260
251
|
| Cowork-style research/audit | Runbook | Copyable plan, discovery, and independent-audit workflows; human imports the result |
|
|
261
252
|
|
|
262
|
-
Claude Code and Cowork are two different doors into the same `protocols/plan.md`; neither of them owns planning rules.
|
|
263
|
-
|
|
264
|
-
“Generic” means the shared files are usable; it does not claim the same tested UX as the native Claude Code adapter.
|
|
253
|
+
Claude Code and Cowork are two different doors into the same `protocols/plan.md`; neither of them owns planning rules. “Generic” means the shared files are usable; it does not claim the same tested UX as the native Claude Code adapter.
|
|
265
254
|
|
|
266
255
|
## Updating a project
|
|
267
256
|
|
|
257
|
+
> [!IMPORTANT]
|
|
258
|
+
> **0.4.6 is published on npm.** Every generated project records the exact Maestro version it was created with, so its checks do not change under it when a new version is published; `vibe-maestro upgrade` moves it forward when you decide. Interfaces may still change before 1.0.
|
|
259
|
+
|
|
268
260
|
Run the preview from the project folder; it writes nothing:
|
|
269
261
|
|
|
270
262
|
```bash
|
|
271
263
|
npx --package create-vibe-maestro@latest vibe-maestro upgrade --path .
|
|
272
264
|
```
|
|
273
265
|
|
|
274
|
-
It lists every file it would add, update or remove, with changed line counts, and prints the exact command, with the exact version, that applies the change (`--apply`); `--diff` prints the changes line by line. A file you edited by hand is never overwritten or removed: the upgrade stops and names it.
|
|
266
|
+
It lists every file it would add, update or remove, with changed line counts, and prints the exact command, with the exact version, that applies the change (`--apply`); `--diff` prints the changes line by line. A file you edited by hand is never overwritten or removed: the upgrade stops and names it. After applying, add the changed files to Git, review and commit them — until then `doctor` reports the uncommitted Maestro files — then run `doctor --strict` with the same version.
|
|
267
|
+
|
|
268
|
+
What a move changes:
|
|
269
|
+
|
|
270
|
+
- **to 0.4.6** from 0.4.5 — twelve Maestro files get new text; nothing is added or removed, and project files such as `wiki/hot.md`, the log and existing capsules are not touched;
|
|
271
|
+
- **to 0.4.3** — ten small protocols are removed (their text moved into `protocols/build.md`, `protocols/audit.md` and `protocols/wiki.md`), and `maestro/templates/audit.md` and `wiki/icebox.md` are added;
|
|
272
|
+
- **to 0.4.2** from 0.4.1 or earlier — the `/start` command and protocol, `maestro/inbox/.gitattributes` and `wiki/restore.md` are added, and a `README.md` only if the project has none; if materials already sit in `maestro/inbox/`, run `git add --renormalize maestro/inbox` before committing so Git keeps them byte for byte.
|
|
273
|
+
|
|
274
|
+
The [changelog](CHANGELOG.md) has the full list for every version.
|
|
275
275
|
|
|
276
276
|
## Automation and CI
|
|
277
277
|
|
|
@@ -281,7 +281,9 @@ For scripts, pass every decision explicitly:
|
|
|
281
281
|
npx create-vibe-maestro@latest --yes --target "My Project" --name "My Project" --start materials --depth standard --json
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
|
|
284
|
+
`--start` is `idea`, `materials`, `spec` or `code`. Two optional flags: `--github` creates a private GitHub repository after the first commit (it needs the GitHub CLI `gh`, logged in; a `gh` failure is only a warning with the command for later), and `--push-without-asking` lets the agent run a plain `git push` without a question while force pushes still ask. Without them `create --yes` creates no repository and keeps the default protections. Set `NO_COLOR=1` for plain output.
|
|
285
|
+
|
|
286
|
+
Service commands (run from the project folder; in a real project use the exact version from its `.claude/rules/maestro.md`):
|
|
285
287
|
|
|
286
288
|
```bash
|
|
287
289
|
npx --package create-vibe-maestro@latest vibe-maestro doctor --path . --json
|
|
@@ -290,39 +292,14 @@ npx --package create-vibe-maestro@latest vibe-maestro skills --path .
|
|
|
290
292
|
npx --package create-vibe-maestro@latest vibe-maestro preflight --path . --json
|
|
291
293
|
npx --package create-vibe-maestro@latest vibe-maestro sources --path . --source "../durak" --source "../dice-poker"
|
|
292
294
|
npx --package create-vibe-maestro@latest vibe-maestro archive --path .
|
|
295
|
+
npx --package create-vibe-maestro@latest vibe-maestro context --path .
|
|
293
296
|
```
|
|
294
297
|
|
|
295
298
|
`preflight` and `doctor` exit `0` when the check passes and `1` when it blocks; `sources`, `upgrade` and `archive` write nothing at all unless you add `--write` or `--apply`.
|
|
296
299
|
|
|
297
|
-
The repository release gate covers tests, type checking, build, audit, source acceptance, packed-tarball installation, all three depths, paths with spaces, deterministic doctor JSON, protocol drift, canonical identity forgery, incomplete canonical trees, forbidden audit waivers, symlink boundaries, and upgrades from projects created by
|
|
298
|
-
|
|
299
|
-
##
|
|
300
|
-
|
|
301
|
-
Available now:
|
|
302
|
-
|
|
303
|
-
- Guided First Run, with an optional private GitHub copy when `gh` is logged in;
|
|
304
|
-
- fresh canonical project creation, then `/start`: the first session reads what exists and agrees on the task and on how we work, one question at a time;
|
|
305
|
-
- `maestro/inbox/` as the one place for materials, kept byte for byte by Git;
|
|
306
|
-
- Planning Gate: `/plan`, Cowork plan runbook, project plans, and the human approval gate;
|
|
307
|
-
- mechanical `preflight` before the first line of code;
|
|
308
|
-
- read-only `sources` inventory of existing code;
|
|
309
|
-
- safe `upgrade` of a provably canonical project from an earlier published version;
|
|
310
|
-
- exact Maestro version pinned in every generated project;
|
|
311
|
-
- Maestro rules in `.claude/rules/`, with `CLAUDE.md`, `AGENTS.md` and `wiki/index.md` owned by the project;
|
|
312
|
-
- approval digest for plans and one consistent approved → active cycle in `doctor` and `preflight`;
|
|
313
|
-
- project identity by `project.id`: a cloned or renamed folder is the same project;
|
|
314
|
-
- templates for handoff, ADR and progress;
|
|
315
|
-
- `light`, `standard`, and `advanced` depth projections;
|
|
316
|
-
- shared project memory and handoffs;
|
|
317
|
-
- canonical protocols with thin adapters;
|
|
318
|
-
- manifest, ownership inventory, checksums, and deterministic doctor;
|
|
319
|
-
- safe Git bootstrap;
|
|
320
|
-
- discovery and independent-audit runbooks;
|
|
321
|
-
- project-local skill inventory;
|
|
322
|
-
- JSON and strict CI modes;
|
|
323
|
-
- source and packed-install acceptance.
|
|
324
|
-
|
|
325
|
-
Not available yet:
|
|
300
|
+
The repository release gate covers tests, type checking, build, audit, source acceptance, packed-tarball installation, all three depths, paths with spaces, deterministic doctor JSON, protocol drift, canonical identity forgery, incomplete canonical trees, forbidden audit waivers, symlink boundaries, and upgrades from projects created by every published version since the 0.3 betas, up to 0.4.5. Pull requests and `main` run on Ubuntu, macOS, and Windows with Node.js 20 and 22; a branch push runs one quick Ubuntu job.
|
|
301
|
+
|
|
302
|
+
## Not available yet
|
|
326
303
|
|
|
327
304
|
- safe conversion of existing non-canonical projects (`upgrade` covers only canonical projects of known versions);
|
|
328
305
|
- English-generated templates;
|
|
@@ -330,7 +307,7 @@ Not available yet:
|
|
|
330
307
|
- automatic installation or execution of third-party skills;
|
|
331
308
|
- a guarantee that an AI agent will not make mistakes.
|
|
332
309
|
|
|
333
|
-
What comes next
|
|
310
|
+
What comes next is listed in the [roadmap](docs/ROADMAP.md).
|
|
334
311
|
|
|
335
312
|
## Documentation
|
|
336
313
|
|