multi-agents-cli 1.1.89 → 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/.agents/backend/API.md +13 -0
- package/core/templates/.agents/backend/AUTH.md +13 -0
- package/core/templates/.agents/backend/DB.md +13 -0
- package/core/templates/.agents/backend/EVENTS.md +13 -0
- package/core/templates/.agents/backend/INIT.md +13 -0
- package/core/templates/.agents/backend/JOBS.md +13 -0
- package/core/templates/.agents/backend/LOGIC.md +13 -0
- package/core/templates/.agents/backend/TESTING.md +13 -0
- package/core/templates/.agents/client/ACCESSIBILITY.md +13 -0
- package/core/templates/.agents/client/FORMS.md +13 -0
- package/core/templates/.agents/client/LOGIC.md +13 -0
- package/core/templates/.agents/client/ROUTING.md +13 -0
- package/core/templates/.agents/client/TESTING.md +13 -0
- package/core/templates/.agents/client/UI.md +13 -0
- package/core/templates/.agents/shared/SECURITY.md +13 -0
- package/core/templates/CLAUDE.md +8 -9
- package/package.json +1 -1
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Implement all API endpoint handlers, request/response shaping, DTO design,
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all authentication and authorization implementations for the backend
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all database schema design, entity or model definitions, query
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all event-driven patterns for the backend project - event emission,
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Scaffold the entire backend architecture for this project. This agent owns
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all background job definitions, scheduled task implementations, retry
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all business logic, domain rules, and service layer implementations
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;33m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all backend test authoring - unit tests, integration tests, and
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all accessibility compliance across the client project - semantic markup,
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all form architecture, field definitions, validation logic, and submission
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all client-side logic that is not visual - state management, data fetching,
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all route definitions, navigation structure, route guards, lazy loading
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all client-side test authoring - unit tests, integration tests, and
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;36m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Build, modify, and maintain all UI components, layouts, and visual patterns
|
|
@@ -5,6 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Output Mode Contract
|
|
9
|
+
|
|
10
|
+
Before doing anything else, read `output_mode` from `.claude-scope` and store it as OUTPUT_MODE. This is a hard contract for the entire session — violation of it is an error:
|
|
11
|
+
|
|
12
|
+
- `full` — no restrictions, behave normally
|
|
13
|
+
- `insights` — exactly three output types are permitted. Any text outside these must not be emitted:
|
|
14
|
+
1. Before each phase, output this exact string (replace placeholders): `\033[1;31m▶\033[0m [phase] — [what and why, one line]`
|
|
15
|
+
2. After each phase completes, 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]`
|
|
16
|
+
3. When action is blocked or a decision is required, output this exact string (replace placeholder): `\033[38;5;208m\033[1m⚠\033[0m [blocker or decision]`
|
|
17
|
+
- `silent` — show `✢ working...` between phases; emit only `\033[1;32m✔\033[0m` git operations, errors, and verification results; no other output
|
|
18
|
+
|
|
19
|
+
Confirm OUTPUT_MODE by emitting exactly: `Output mode: [OUTPUT_MODE]` — then proceed.
|
|
20
|
+
|
|
8
21
|
## Mission
|
|
9
22
|
|
|
10
23
|
Own all security auditing, vulnerability assessment, and security-hardening
|
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