multi-agents-cli 1.1.90 → 1.1.91
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/core/templates/CLAUDE.md +8 -9
- package/package.json +1 -1
package/core/templates/CLAUDE.md
CHANGED
|
@@ -146,15 +146,14 @@ the agent must:
|
|
|
146
146
|
# then take the parent directory of that path - this is PROJECT_ROOT
|
|
147
147
|
```
|
|
148
148
|
Store this as PROJECT_ROOT. All subsequent paths (`.scaffold/`, `BUILD_STATE.md`, `CONTRACTS.md`, etc.) resolve from PROJECT_ROOT, never from the worktree directory.
|
|
149
|
-
2. Read `output_mode` from `.claude-scope` in the current worktree directory:
|
|
150
|
-
- `full` —
|
|
151
|
-
- `insights` — three permitted
|
|
152
|
-
1.
|
|
153
|
-
2.
|
|
154
|
-
3.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
Store this as OUTPUT_MODE. Apply it consistently for the entire session.
|
|
149
|
+
2. Read `output_mode` from `.claude-scope` in the current worktree directory. Do this silently — before emitting any output whatsoever, including narration of this session start sequence. Store as OUTPUT_MODE and enforce immediately:
|
|
150
|
+
- `full` — no restrictions on output
|
|
151
|
+
- `insights` — hard contract for the entire session. Emit exactly: `Output mode: insights` then proceed. Only three output types are permitted — any other text is a violation:
|
|
152
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]` (color per agent scope: cyan client, yellow backend `\033[1;33m`, red shared `\033[1;31m`)
|
|
153
|
+
2. After each phase, output this exact string (replace placeholder): `\033[1;32m✔\033[0m [result — outcome in 10 words or fewer, stated as fact, no first-person narration]`
|
|
154
|
+
3. When blocked or a decision is required, output this exact string: `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
155
|
+
- `silent` — emit exactly: `Output mode: silent` then proceed. Show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
156
|
+
All remaining session start steps execute silently under insights and silent modes.
|
|
158
157
|
3. Read `BUILD_STATE.md` at PROJECT_ROOT - understand what has been built
|
|
159
158
|
3. Check if `TASK.md` exists in the current directory
|
|
160
159
|
4. If yes - read it and verify dependencies are met against BUILD_STATE.md
|
package/package.json
CHANGED