pi-maestro-flow 0.3.0 → 0.3.1
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/agents/team-worker.md +1 -1
- package/agents/workflow-analyzer.md +1 -1
- package/agents/workflow-codebase-mapper.md +1 -1
- package/agents/workflow-collab-planner.md +1 -1
- package/agents/workflow-debugger.md +1 -1
- package/agents/workflow-executor.md +1 -1
- package/agents/workflow-integration-checker.md +1 -1
- package/agents/workflow-nyquist-auditor.md +1 -1
- package/agents/workflow-phase-researcher.md +1 -1
- package/agents/workflow-planner.md +1 -1
- package/agents/workflow-project-researcher.md +1 -1
- package/agents/workflow-reviewer.md +1 -1
- package/agents/workflow-verifier.md +1 -1
- package/package.json +7 -2
- package/skills/domain-add/SKILL.md +3 -1
- package/skills/maestro/SKILL.md +4 -3
- package/skills/maestro-amend/SKILL.md +2 -2
- package/skills/maestro-analyze/SKILL.md +10 -7
- package/skills/maestro-blueprint/SKILL.md +8 -5
- package/skills/maestro-brainstorm/SKILL.md +11 -8
- package/skills/maestro-composer/SKILL.md +4 -3
- package/skills/maestro-execute/SKILL.md +8 -5
- package/skills/maestro-fork/SKILL.md +8 -5
- package/skills/maestro-grill/SKILL.md +8 -5
- package/skills/maestro-init/SKILL.md +9 -6
- package/skills/maestro-merge/SKILL.md +3 -1
- package/skills/maestro-milestone-audit/SKILL.md +3 -1
- package/skills/maestro-milestone-complete/SKILL.md +6 -3
- package/skills/maestro-milestone-release/SKILL.md +4 -2
- package/skills/maestro-overlay/SKILL.md +4 -4
- package/skills/maestro-plan/SKILL.md +10 -7
- package/skills/maestro-quick/SKILL.md +3 -1
- package/skills/maestro-ralph/SKILL.md +3 -2
- package/skills/maestro-ralph-v2/SKILL.md +3 -2
- package/skills/maestro-roadmap/SKILL.md +8 -7
- package/skills/maestro-tools-execute/SKILL.md +3 -1
- package/skills/maestro-tools-register/SKILL.md +3 -1
- package/skills/maestro-ui-codify/SKILL.md +6 -5
- package/skills/manage-codebase-rebuild/SKILL.md +3 -1
- package/skills/manage-drift-realign/SKILL.md +9 -6
- package/skills/manage-harvest/SKILL.md +8 -5
- package/skills/manage-issue/SKILL.md +6 -3
- package/skills/manage-issue-discover/SKILL.md +8 -5
- package/skills/manage-knowhow/SKILL.md +3 -1
- package/skills/manage-knowhow-capture/SKILL.md +3 -1
- package/skills/manage-knowledge-audit/SKILL.md +8 -5
- package/skills/manage-status/SKILL.md +3 -1
- package/skills/manage-wiki/SKILL.md +3 -1
- package/skills/odyssey-debug/SKILL.md +1 -1
- package/skills/odyssey-improve/SKILL.md +1 -1
- package/skills/odyssey-planex/SKILL.md +1 -1
- package/skills/odyssey-review-test-fix/SKILL.md +1 -1
- package/skills/odyssey-ui/SKILL.md +1 -1
- package/skills/quality-auto-test/SKILL.md +3 -1
- package/skills/quality-debug/SKILL.md +3 -1
- package/skills/quality-refactor/SKILL.md +3 -1
- package/skills/quality-retrospective/SKILL.md +10 -7
- package/skills/quality-review/SKILL.md +6 -3
- package/skills/quality-sync/SKILL.md +3 -1
- package/skills/quality-test/SKILL.md +3 -1
- package/skills/security-audit/SKILL.md +3 -1
- package/skills/spec-add/SKILL.md +3 -1
- package/skills/spec-load/SKILL.md +3 -1
- package/skills/spec-remove/SKILL.md +3 -1
- package/skills/spec-setup/SKILL.md +3 -1
package/agents/team-worker.md
CHANGED
|
@@ -77,7 +77,7 @@ Before executing role-specific logic, load available cross-role context:
|
|
|
77
77
|
Follow the instructions loaded from the role_spec body. This contains the domain-specific execution phases for the role. Key rules:
|
|
78
78
|
|
|
79
79
|
- Team workers cannot call Agent() to spawn other agents
|
|
80
|
-
- Use CLI tools (`maestro delegate`) or direct tools (Read, Grep, Glob) for analysis — see
|
|
80
|
+
- Use CLI tools (`maestro delegate`) or direct tools (Read, Grep, Glob) for analysis — see ~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md for tool selection
|
|
81
81
|
- If agent delegation is needed, send a request to the coordinator via SendMessage
|
|
82
82
|
|
|
83
83
|
### Context-Aware Signal Emission (Optional)
|
|
@@ -17,7 +17,7 @@ tools:
|
|
|
17
17
|
You perform structured multi-dimensional analysis of technical topics, proposals, or decisions. You evaluate across six standard dimensions, score each with evidence, and produce actionable recommendations. You are invoked when a decision needs rigorous evaluation before proceeding.
|
|
18
18
|
|
|
19
19
|
## Search Tools
|
|
20
|
-
|
|
20
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
21
21
|
|
|
22
22
|
## Process
|
|
23
23
|
|
|
@@ -15,7 +15,7 @@ tools:
|
|
|
15
15
|
You analyze an existing codebase from a specific focus area (tech, arch, features, or concerns). You are typically spawned 4 times in parallel, each mapping a different dimension of the codebase. Your output feeds into planning and execution agents.
|
|
16
16
|
|
|
17
17
|
## Search Tools
|
|
18
|
-
|
|
18
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
19
19
|
|
|
20
20
|
## Process
|
|
21
21
|
|
|
@@ -14,7 +14,7 @@ tools:
|
|
|
14
14
|
You are a collaborative planner that works within a pre-allocated task ID range. Multiple collab-planners run in parallel, each responsible for planning a subset of the work. You coordinate through a shared plan-note.md file and produce task definitions within your assigned ID range.
|
|
15
15
|
|
|
16
16
|
## Search Tools
|
|
17
|
-
|
|
17
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md
|
|
18
18
|
|
|
19
19
|
## Process
|
|
20
20
|
|
|
@@ -16,7 +16,7 @@ tools:
|
|
|
16
16
|
You perform hypothesis-driven debugging of issues identified by verification or testing. You form hypotheses, design experiments, execute them, and log structured evidence. You iterate until the root cause is found and a fix is implemented, or you reach a checkpoint requiring user input. Maximum 5 hypothesis cycles before checkpoint.
|
|
17
17
|
|
|
18
18
|
## Search Tools
|
|
19
|
-
|
|
19
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
20
20
|
|
|
21
21
|
## Process
|
|
22
22
|
|
|
@@ -16,7 +16,7 @@ tools:
|
|
|
16
16
|
You implement a single task from the execution plan. Each task is executed atomically: you make the code changes, verify the convergence criteria are met, run test commands if defined, create an atomic git commit, and write a completion summary. You never modify code outside the task's scope.
|
|
17
17
|
|
|
18
18
|
## Search Tools
|
|
19
|
-
|
|
19
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
20
20
|
|
|
21
21
|
## Process
|
|
22
22
|
|
|
@@ -14,7 +14,7 @@ tools:
|
|
|
14
14
|
You validate cross-phase integration at milestone boundaries. You check that shared interfaces match across phases, data contracts are honored, and no cross-phase dependencies are broken. You are invoked during milestone audits to ensure phases compose correctly.
|
|
15
15
|
|
|
16
16
|
## Search Tools
|
|
17
|
-
|
|
17
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
18
18
|
|
|
19
19
|
## Schema Reference
|
|
20
20
|
N/A -- reads code artifacts, not task JSON.
|
|
@@ -15,7 +15,7 @@ tools:
|
|
|
15
15
|
You audit test coverage by mapping requirements to test files, calculating coverage metrics, identifying gaps, and generating test stubs for missing coverage. Named after the Nyquist theorem -- you ensure the testing "sample rate" is sufficient to capture the signal of correctness.
|
|
16
16
|
|
|
17
17
|
## Search Tools
|
|
18
|
-
|
|
18
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
19
19
|
|
|
20
20
|
## Schema Reference
|
|
21
21
|
- `@templates/validation.json` -- defines the validation artifact schema for coverage data and gap reporting
|
|
@@ -16,7 +16,7 @@ tools:
|
|
|
16
16
|
You research the implementation approach for a specific phase of the roadmap. You investigate libraries, patterns, and potential pitfalls relevant to that phase's goals, producing a research document that the planner consumes when creating tasks.
|
|
17
17
|
|
|
18
18
|
## Search Tools
|
|
19
|
-
|
|
19
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md
|
|
20
20
|
|
|
21
21
|
## Process
|
|
22
22
|
|
|
@@ -15,7 +15,7 @@ tools:
|
|
|
15
15
|
You create structured execution plans from context, research, and specifications. You group work into feature-level tasks, assign them to parallel waves, set dependencies only when truly needed, and define verifiable convergence criteria. You support both full planning (detailed) and quick mode (one task per feature, minimal waves).
|
|
16
16
|
|
|
17
17
|
## Search Tools
|
|
18
|
-
|
|
18
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
19
19
|
|
|
20
20
|
## Process
|
|
21
21
|
|
|
@@ -16,7 +16,7 @@ tools:
|
|
|
16
16
|
You are a domain researcher for project initialization. You explore a specific angle of the project domain (tech stack, architecture, features, or concerns) and produce a focused research document. You are typically spawned 4 times in parallel, each with a different focus angle.
|
|
17
17
|
|
|
18
18
|
## Search Tools
|
|
19
|
-
|
|
19
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md
|
|
20
20
|
|
|
21
21
|
## Schema Reference
|
|
22
22
|
N/A -- produces markdown research documents, not task JSON artifacts.
|
|
@@ -14,7 +14,7 @@ tools:
|
|
|
14
14
|
You perform focused code review for a single dimension (e.g., security, performance, architecture). You analyze changed files, identify issues with evidence, classify severity, and produce structured findings. You are read-only and never modify project files.
|
|
15
15
|
|
|
16
16
|
## Search Tools
|
|
17
|
-
|
|
17
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
18
18
|
|
|
19
19
|
## Process
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ tools:
|
|
|
14
14
|
You perform goal-backward verification of completed work using a three-layer checking approach. You verify that artifacts exist, contain real substance, and are properly connected to the rest of the system. You also validate each task's convergence criteria individually. You are read-only and never modify project files.
|
|
15
15
|
|
|
16
16
|
## Search Tools
|
|
17
|
-
|
|
17
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md — Follow search tool priority and selection patterns.
|
|
18
18
|
|
|
19
19
|
## Process
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-maestro-flow",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Pi extension for Maestro workflow orchestration — explore, delegate, MOA tools, 113 skills, 82 workflow docs, and 28 agent definitions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -61,7 +61,12 @@
|
|
|
61
61
|
"maestro": {
|
|
62
62
|
"required": true,
|
|
63
63
|
"minVersion": "1.0.0",
|
|
64
|
-
"features": [
|
|
64
|
+
"features": [
|
|
65
|
+
"search",
|
|
66
|
+
"load",
|
|
67
|
+
"delegate",
|
|
68
|
+
"explore"
|
|
69
|
+
],
|
|
65
70
|
"installUrl": "https://github.com/catlog22/maestro2"
|
|
66
71
|
}
|
|
67
72
|
}
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Bash Glob Grep maestro
|
|
|
8
8
|
Register a domain term into `.workflow/domain/glossary.yaml`. Domain terms are automatically injected into agent context via hooks (domain-compact for all prompts, domain-expanded on keyword match).
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/domain-add.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS -- expects `<canonical> "<definition>"`
|
package/skills/maestro/SKILL.md
CHANGED
|
@@ -9,9 +9,10 @@ Orchestrate all maestro commands: classify intent → select chain → create se
|
|
|
9
9
|
Session: `.workflow/.maestro/{session_id}/status.json`.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
<deferred_reading>
|
|
13
|
+
- [maestro.md](~/.pi/agent/packages/pi-maestro-flow/workflows/maestro.md) — read at execution start for intent analysis + chain selection
|
|
14
|
+
- [maestro-super.md](~/.pi/agent/packages/pi-maestro-flow/workflows/maestro-super.md) — read when `--super` flag active
|
|
15
|
+
</deferred_reading>
|
|
15
16
|
|
|
16
17
|
<context>
|
|
17
18
|
$ARGUMENTS — user intent text, or special keywords.
|
|
@@ -9,8 +9,8 @@ Signal-driven overlay generator — collect workflow deficiency signals from mul
|
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
11
|
<required_reading>
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/overlays.md
|
|
13
|
+
~/.maestro/cli-tools.json
|
|
14
14
|
</required_reading>
|
|
15
15
|
|
|
16
16
|
<context>
|
|
@@ -8,12 +8,15 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Multi-dimensional analysis of a proposal, decision, or architecture choice via CLI-assisted exploration and interactive discussion. Produces analysis.md (6-dimension scoring), context.md (Locked/Free/Deferred decisions), conclusions.json, and discussion.md with Go/No-Go recommendation. Use `--gaps` for issue root cause analysis feeding `plan --gaps`.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/analyze.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- [state.json](~/.pi/agent/packages/pi-maestro-flow/templates/state.json) — read when registering artifact
|
|
17
|
+
- [issue-gaps-analyze.md](~/.pi/agent/packages/pi-maestro-flow/workflows/issue-gaps-analyze.md) — read when --gaps is triggered
|
|
18
|
+
- [boundary-grill.md](~/.pi/agent/packages/pi-maestro-flow/workflows/boundary-grill.md) — read when boundary conflicts detected (between Phase 4 and Phase 5)
|
|
19
|
+
</deferred_reading>
|
|
17
20
|
|
|
18
21
|
<context>
|
|
19
22
|
$ARGUMENTS -- milestone number for micro mode, topic text for macro/adhoc mode, no args for current milestone.
|
|
@@ -61,7 +64,7 @@ Output directory format, artifact registration schema, and output artifact listi
|
|
|
61
64
|
</context>
|
|
62
65
|
|
|
63
66
|
<interview_protocol>
|
|
64
|
-
Follows
|
|
67
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
65
68
|
|
|
66
69
|
**Interaction mode**: convergent menu-driven
|
|
67
70
|
**Decision tree** (strict order): scope (phase / topic / milestone-wide / adhoc / --gaps) → depth (quick / standard / deep) → dimensions (which of the 6 to keep) → Go/No-Go threshold
|
|
@@ -122,7 +125,7 @@ Status verdicts:
|
|
|
122
125
|
|
|
123
126
|
### Session seal
|
|
124
127
|
|
|
125
|
-
|
|
128
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/finish-work.md — SESSION_DIR=OUTPUT_DIR, SESSION_TYPE=analyze, SESSION_ID={artifact_id}, LINKED_MILESTONE={target_milestone or null}
|
|
126
129
|
</completion>
|
|
127
130
|
|
|
128
131
|
<error_codes>
|
|
@@ -10,10 +10,13 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
10
10
|
Pipeline: brainstorm (optional) → **blueprint** → analyze / roadmap / plan.
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/blueprint.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
|
-
>
|
|
16
|
-
|
|
17
|
+
<deferred_reading>
|
|
18
|
+
- [blueprint-config.json](~/.pi/agent/packages/pi-maestro-flow/templates/blueprint-config.json) — read when initializing blueprint configuration
|
|
19
|
+
</deferred_reading>
|
|
17
20
|
|
|
18
21
|
<context>
|
|
19
22
|
$ARGUMENTS -- idea text, @file reference, or upstream context source.
|
|
@@ -43,7 +46,7 @@ $ARGUMENTS -- idea text, @file reference, or upstream context source.
|
|
|
43
46
|
</context>
|
|
44
47
|
|
|
45
48
|
<interview_protocol>
|
|
46
|
-
Follows
|
|
49
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
47
50
|
|
|
48
51
|
**Interaction mode**: convergent menu-driven, depth-first
|
|
49
52
|
**Decision tree** (strict depth-first): scope (full product / feature set / single feature) → spec type (service / api / library / platform) → focus areas → whether to run codebase exploration → requirement priorities
|
|
@@ -152,5 +155,5 @@ Status verdicts:
|
|
|
152
155
|
</success_criteria>
|
|
153
156
|
|
|
154
157
|
<on_complete>
|
|
155
|
-
|
|
158
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/finish-work.md — SESSION_DIR={session_dir}, SESSION_TYPE=blueprint, SESSION_ID={session_id}, LINKED_MILESTONE=null
|
|
156
159
|
</on_complete>
|
|
@@ -10,13 +10,16 @@ Multi-role brainstorming with cross-role conflict resolution. Auto mode: guidanc
|
|
|
10
10
|
Pipeline: grill (optional) → **brainstorm** → roadmap / analyze / blueprint.
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/brainstorm.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
|
-
>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<deferred_reading>
|
|
18
|
+
- [scratch-index.json](~/.pi/agent/packages/pi-maestro-flow/templates/scratch-index.json) — read when operating in scratch mode
|
|
19
|
+
- [index.json](~/.pi/agent/packages/pi-maestro-flow/templates/index.json) — read when operating in phase mode
|
|
20
|
+
- [brainstorm-visualize.md](~/.pi/agent/packages/pi-maestro-flow/workflows/brainstorm-visualize.md) — read when html-prototypes/ produced and user wants to browse them
|
|
21
|
+
- [boundary-grill.md](~/.pi/agent/packages/pi-maestro-flow/workflows/boundary-grill.md) — read when boundary conflicts detected (in cross-role review)
|
|
22
|
+
</deferred_reading>
|
|
20
23
|
|
|
21
24
|
<context>
|
|
22
25
|
$ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
@@ -54,7 +57,7 @@ $ARGUMENTS -- topic text for auto mode, or role name for single role mode.
|
|
|
54
57
|
</context>
|
|
55
58
|
|
|
56
59
|
<interview_protocol>
|
|
57
|
-
Follows
|
|
60
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
58
61
|
|
|
59
62
|
**Interaction mode**: convergent menu-driven
|
|
60
63
|
**Decision tree** (flexible order — user may jump between branches): mode (auto / single-role / review-only) → role selection and --count → --from upstream source (grill:ID, blueprint:ID, @file, path) → whether to enable design-research and DESIGN.md sub-pipeline
|
|
@@ -186,5 +189,5 @@ Status verdicts:
|
|
|
186
189
|
</success_criteria>
|
|
187
190
|
|
|
188
191
|
<on_complete>
|
|
189
|
-
|
|
192
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/finish-work.md — SESSION_DIR={output_dir}, SESSION_TYPE=brainstorm, SESSION_ID={artifact_id}, LINKED_MILESTONE=null
|
|
190
193
|
</on_complete>
|
|
@@ -9,9 +9,10 @@ Interactive workflow template composer: natural language to DAG template.
|
|
|
9
9
|
Three modes: new design (default), resume (`--resume`), edit (`--edit <path>`).
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
<deferred_reading>
|
|
13
|
+
- [node-catalog](~/.pi/agent/packages/pi-maestro-flow/templates/workflows/specs/node-catalog.md) — read at Phase 2 (Resolve)
|
|
14
|
+
- [template-schema](~/.pi/agent/packages/pi-maestro-flow/templates/workflows/specs/template-schema.md) — read at Phase 5 (Persist)
|
|
15
|
+
</deferred_reading>
|
|
15
16
|
|
|
16
17
|
<context>
|
|
17
18
|
$ARGUMENTS — natural language description, or flags.
|
|
@@ -9,11 +9,14 @@ Execute confirmed plan tasks via wave-based parallel dispatch.
|
|
|
9
9
|
Consumes plan from maestro-plan; registers EXC artifact in state.json.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/execute.md
|
|
14
|
+
</required_reading>
|
|
15
|
+
|
|
16
|
+
<deferred_reading>
|
|
17
|
+
- [task.json](~/.pi/agent/packages/pi-maestro-flow/templates/task.json) — read when reading task definitions
|
|
18
|
+
- [state.json](~/.pi/agent/packages/pi-maestro-flow/templates/state.json) — read when registering artifact
|
|
19
|
+
</deferred_reading>
|
|
17
20
|
|
|
18
21
|
<context>
|
|
19
22
|
$ARGUMENTS — milestone number, or no args for current milestone, with optional flags.
|
|
@@ -9,11 +9,14 @@ Create or sync a milestone-level git worktree for parallel development.
|
|
|
9
9
|
Supports `--sync` mode to pull latest main changes into an active worktree.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/fork.md
|
|
14
|
+
</required_reading>
|
|
15
|
+
|
|
16
|
+
<deferred_reading>
|
|
17
|
+
- [worktrees.json](~/.pi/agent/packages/pi-maestro-flow/templates/worktrees.json) — read when updating registry
|
|
18
|
+
- [worktree-scope.json](~/.pi/agent/packages/pi-maestro-flow/templates/worktree-scope.json) — read when writing scope marker
|
|
19
|
+
</deferred_reading>
|
|
17
20
|
|
|
18
21
|
<context>
|
|
19
22
|
$ARGUMENTS -- milestone number and optional flags.
|
|
@@ -10,10 +10,13 @@ Socratic stress-testing of plans/ideas against codebase reality. Produces grill-
|
|
|
10
10
|
Pipeline position: BEFORE brainstorm (stress-test → then elaborate).
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/grill.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
|
-
>
|
|
16
|
-
|
|
17
|
+
<deferred_reading>
|
|
18
|
+
- [state.json](~/.pi/agent/packages/pi-maestro-flow/templates/state.json) — read when registering artifact
|
|
19
|
+
</deferred_reading>
|
|
17
20
|
|
|
18
21
|
<context>
|
|
19
22
|
$ARGUMENTS -- topic/plan text for interactive mode, or --from source for upstream input.
|
|
@@ -44,7 +47,7 @@ $ARGUMENTS -- topic/plan text for interactive mode, or --from source for upstrea
|
|
|
44
47
|
</context>
|
|
45
48
|
|
|
46
49
|
<interview_protocol>
|
|
47
|
-
Follows
|
|
50
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
48
51
|
|
|
49
52
|
**Interaction mode override**: adversarial Socratic — NOT menu-driven
|
|
50
53
|
**Question style**:
|
|
@@ -144,5 +147,5 @@ Status verdicts:
|
|
|
144
147
|
</success_criteria>
|
|
145
148
|
|
|
146
149
|
<on_complete>
|
|
147
|
-
|
|
150
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/finish-work.md — SESSION_DIR={output_dir}, SESSION_TYPE=grill, SESSION_ID={artifact_id}, LINKED_MILESTONE=null
|
|
148
151
|
</on_complete>
|
|
@@ -9,12 +9,15 @@ Initialize project: detect state, create `.workflow/` with project.md, state.jso
|
|
|
9
9
|
Entry point; downstream: maestro-roadmap or maestro-brainstorm.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/init.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
<deferred_reading>
|
|
17
|
+
- [project.md](~/.pi/agent/packages/pi-maestro-flow/templates/project.md) — read when generating project description
|
|
18
|
+
- [state.json](~/.pi/agent/packages/pi-maestro-flow/templates/state.json) — read when creating initial state
|
|
19
|
+
- [config.json](~/.pi/agent/packages/pi-maestro-flow/templates/config.json) — read when creating workflow configuration
|
|
20
|
+
</deferred_reading>
|
|
18
21
|
|
|
19
22
|
<context>
|
|
20
23
|
$ARGUMENTS — none for interactive mode, or `-y` with `@file` reference for auto mode.
|
|
@@ -41,7 +44,7 @@ Check for `.workflow/state.json` -- loads context if project already initialized
|
|
|
41
44
|
</invariants>
|
|
42
45
|
|
|
43
46
|
<interview_protocol>
|
|
44
|
-
Follows
|
|
47
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
45
48
|
|
|
46
49
|
**Interaction mode**: convergent menu-driven
|
|
47
50
|
**Decision tree** (strict order): project type (greenfield / existing codebase onboarding) → tech stack detection and confirmation → directory structure preferences → initial configuration (specs categories, wiki bootstrap)
|
|
@@ -9,7 +9,9 @@ Merge a milestone worktree branch back into main, sync scratch artifacts, and re
|
|
|
9
9
|
Two-phase: git merge first, artifact sync second (only after git succeeds).
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/merge.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
$ARGUMENTS -- milestone number and optional flags.
|
|
@@ -9,7 +9,9 @@ Audit milestone for phase coverage, execution completeness, and integration gaps
|
|
|
9
9
|
Produces audit-report.md with PASS/FAIL verdict.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/milestone-audit.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json).
|
|
@@ -9,10 +9,13 @@ Archive passed milestone: validate, archive artifacts, extract knowhow, advance
|
|
|
9
9
|
Requires audit PASS; produces milestone archive and learnings.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/milestone-complete.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
+
<deferred_reading>
|
|
17
|
+
- [state.json](~/.pi/agent/packages/pi-maestro-flow/templates/state.json) — read when updating milestone_history and advancing state
|
|
18
|
+
</deferred_reading>
|
|
16
19
|
|
|
17
20
|
<context>
|
|
18
21
|
Milestone: $ARGUMENTS (optional -- defaults to current_milestone from state.json).
|
|
@@ -10,7 +10,9 @@ Package a completed milestone into a releasable version: version bump → change
|
|
|
10
10
|
Pipeline position: downstream of `/maestro-milestone-complete`. Terminal command.
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/milestone-release.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
17
|
<context>
|
|
16
18
|
$ARGUMENTS -- optional explicit version string and flags.
|
|
@@ -38,7 +40,7 @@ $ARGUMENTS -- optional explicit version string and flags.
|
|
|
38
40
|
</context>
|
|
39
41
|
|
|
40
42
|
<interview_protocol>
|
|
41
|
-
Follows
|
|
43
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
42
44
|
|
|
43
45
|
**Decision points**: version bump type (major / minor / patch / custom), changelog review and confirmation
|
|
44
46
|
**Scope guard**: only release decisions; do not prejudge next milestone scope
|
|
@@ -10,8 +10,8 @@ Turn natural-language instructions into command overlays — JSON patch files th
|
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
12
|
<required_reading>
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/overlays.md
|
|
14
|
+
~/.maestro/cli-tools.json
|
|
15
15
|
</required_reading>
|
|
16
16
|
|
|
17
17
|
<context>
|
|
@@ -22,7 +22,7 @@ Read and follow `~/.pi/agent/packages/pi-maestro-flow/workflows/overlays.md`.
|
|
|
22
22
|
|
|
23
23
|
**Where overlays live**
|
|
24
24
|
- User overlays: `~/.maestro/overlays/*.json` — created by this skill
|
|
25
|
-
- Shared docs: `~/.maestro/overlays/docs/*.md` — referenced via
|
|
25
|
+
- Shared docs: `~/.maestro/overlays/docs/*.md` — referenced via `~/.maestro/overlays/docs/*.md` inside patch content
|
|
26
26
|
- Shipped examples: `~/.maestro/overlays/_shipped/` — read-only, do not edit
|
|
27
27
|
|
|
28
28
|
**Management** — listing and removing overlays is handled by `maestro overlay list` (ink TUI with interactive delete). This skill focuses solely on creation.
|
|
@@ -111,7 +111,7 @@ Build a slug from the user's intent (kebab-case, lowercase). Write to `~/.maestr
|
|
|
111
111
|
**Content guidelines**
|
|
112
112
|
- Lead the injected block with a heading that includes `(overlay)` so readers see it's machine-injected
|
|
113
113
|
- Keep content concise — overlays should add a step, not rewrite the command
|
|
114
|
-
-
|
|
114
|
+
- `~/.maestro/...` references are encouraged for pointing at docs
|
|
115
115
|
- Escape `\n` in JSON strings; use a HEREDOC via Bash if content is long
|
|
116
116
|
|
|
117
117
|
**Skill chain content** — if a chain was configured in Step 2.5, append a Skill Handoff block at the end of the patch `content`. The handoff uses user prompt so the user controls whether to proceed:
|
|
@@ -9,13 +9,16 @@ Create, revise, or verify execution plans (5-stage pipeline).
|
|
|
9
9
|
Produces plan.json + TASK files; registers PLN artifact in state.json.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
>
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/plan.md
|
|
14
|
+
</required_reading>
|
|
15
|
+
|
|
16
|
+
<deferred_reading>
|
|
17
|
+
- [plan.json](~/.pi/agent/packages/pi-maestro-flow/templates/plan.json) — read when generating plan output
|
|
18
|
+
- [task.json](~/.pi/agent/packages/pi-maestro-flow/templates/task.json) — read when generating task files
|
|
19
|
+
- [state.json](~/.pi/agent/packages/pi-maestro-flow/templates/state.json) — read when registering artifact
|
|
20
|
+
- [boundary-grill.md](~/.pi/agent/packages/pi-maestro-flow/workflows/boundary-grill.md) — read when boundary conflicts detected (in P4)
|
|
21
|
+
</deferred_reading>
|
|
19
22
|
|
|
20
23
|
<context>
|
|
21
24
|
$ARGUMENTS — milestone number, or no args for current milestone, with optional flags.
|
|
@@ -10,7 +10,9 @@ Flags --discuss and --full enable additional pipeline stages.
|
|
|
10
10
|
**Implicit write**: state.json scratch task entry is written automatically as part of workflow tracking (no confirmation gate).
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/quick.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
17
|
<context>
|
|
16
18
|
$ARGUMENTS
|
|
@@ -9,8 +9,9 @@ Closed-loop decision engine: read project state → infer position → build ada
|
|
|
9
9
|
Ralph builds/evaluates; ralph-execute runs steps. Session: `.workflow/.maestro/ralph-{YYYYMMDD-HHmmss}/status.json`.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
12
|
+
<deferred_reading>
|
|
13
|
+
- [ralph-amend-goal.md](~/.pi/agent/packages/pi-maestro-flow/workflows/ralph-amend-goal.md) — read when `--amend` flag active for goal amendment flow
|
|
14
|
+
</deferred_reading>
|
|
14
15
|
|
|
15
16
|
<context>
|
|
16
17
|
$ARGUMENTS — intent text, flags, or keywords.
|
|
@@ -10,8 +10,9 @@ Adaptive lifecycle orchestrator: locate step → resolve args → load context
|
|
|
10
10
|
Session: `.workflow/.maestro/ralph-v2-{YYYYMMDD-HHmmss}/status.json`
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
14
|
-
|
|
13
|
+
<deferred_reading>
|
|
14
|
+
- [ralph-amend-goal.md](~/.pi/agent/packages/pi-maestro-flow/workflows/ralph-amend-goal.md) — read when `--amend` flag active for goal amendment flow
|
|
15
|
+
</deferred_reading>
|
|
15
16
|
|
|
16
17
|
<context>
|
|
17
18
|
$ARGUMENTS — intent text, flags, or keywords.
|
|
@@ -11,12 +11,13 @@ Pipeline: brainstorm/blueprint/analyze → **roadmap** → analyze {milestone}
|
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
13
|
<required_reading>
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/roadmap-common.md
|
|
15
|
+
~/.pi/agent/packages/pi-maestro-flow/templates/roadmap.md
|
|
16
16
|
</required_reading>
|
|
17
17
|
|
|
18
|
-
>
|
|
19
|
-
|
|
18
|
+
<deferred_reading>
|
|
19
|
+
- [roadmap.md](~/.pi/agent/packages/pi-maestro-flow/workflows/roadmap.md) — read for roadmap generation workflow
|
|
20
|
+
</deferred_reading>
|
|
20
21
|
|
|
21
22
|
<context>
|
|
22
23
|
$ARGUMENTS -- requirement text, @file reference, or upstream context source.
|
|
@@ -47,7 +48,7 @@ $ARGUMENTS -- requirement text, @file reference, or upstream context source.
|
|
|
47
48
|
</context>
|
|
48
49
|
|
|
49
50
|
<interview_protocol>
|
|
50
|
-
Follows
|
|
51
|
+
Follows ~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md standard.
|
|
51
52
|
|
|
52
53
|
**Interaction mode**: convergent menu-driven
|
|
53
54
|
**Decision tree** (strict order): mode (create / revise / review) → requirement scope (MVP / complete / phased) → decomposition strategy (progressive / direct / auto) → milestone boundaries → phase dependencies and order
|
|
@@ -59,8 +60,8 @@ Follows `~/.pi/agent/packages/pi-maestro-flow/workflows/interview-mechanics.md`
|
|
|
59
60
|
|
|
60
61
|
<execution>
|
|
61
62
|
|
|
62
|
-
1. Read
|
|
63
|
-
2. Read
|
|
63
|
+
1. Read `~/.pi/agent/packages/pi-maestro-flow/workflows/roadmap-common.md` (always — shared logic)
|
|
64
|
+
2. Read `~/.pi/agent/packages/pi-maestro-flow/workflows/roadmap.md`, follow its process
|
|
64
65
|
|
|
65
66
|
Sub-modes:
|
|
66
67
|
- **Create** (default): Build roadmap from requirements or upstream context
|
|
@@ -9,7 +9,9 @@ Load registered tool documents and execute them step-by-step.
|
|
|
9
9
|
Direct (by name) or category-based (list + select) invocation.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/tools-spec.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
$ARGUMENTS — Tool name, keyword, or --category filter
|
|
@@ -9,7 +9,9 @@ Codify reusable business processes as knowhow documents with `tool: true` in `.w
|
|
|
9
9
|
Four modes: Extract, Generate, Optimize, Promote. Short processes inline; long use ref mode.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/tools-spec.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
$ARGUMENTS — Intent description
|
|
@@ -9,11 +9,12 @@ Extract design system from source code into tokens, reference package, and knowl
|
|
|
9
9
|
4-phase pipeline: validate → extract → package → knowhow.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
<deferred_reading>
|
|
13
|
+
- [ui-codify.md](~/.pi/agent/packages/pi-maestro-flow/workflows/ui-codify.md) — read always (main workflow orchestrator)
|
|
14
|
+
- [ui-codify-extract.md](~/.pi/agent/packages/pi-maestro-flow/workflows/ui-codify-extract.md) — read when Phase 2 starts (style extraction with 3 agents)
|
|
15
|
+
- [ui-codify-package.md](~/.pi/agent/packages/pi-maestro-flow/workflows/ui-codify-package.md) — read when Phase 3 starts (reference package generation)
|
|
16
|
+
- [ui-codify-knowhow.md](~/.pi/agent/packages/pi-maestro-flow/workflows/ui-codify-knowhow.md) — read when Phase 4 starts (knowledge asset generation)
|
|
17
|
+
</deferred_reading>
|
|
17
18
|
|
|
18
19
|
<context>
|
|
19
20
|
$ARGUMENTS — source path (required) with optional flags.
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Full rebuild of `.workflow/codebase/` docs: 4 parallel mapper agents → tech-stack, architecture, features, concerns. Destructive — overwrites existing docs.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/codebase-rebuild.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS -- optional flags.
|
|
@@ -8,12 +8,15 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
检测代码重构/增量变更后,代码现实与 .workflow/ 文档之间的漂移。互补于 `manage-knowledge-audit`(检测知识存储内部矛盾)。本命令通过 git 时间线 + session 历史检测 code↔document 漂移。
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
>
|
|
16
|
-
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/drift-realign.md
|
|
13
|
+
</required_reading>
|
|
14
|
+
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/knowledge-audit.md (交叉引用已有审计发现)
|
|
17
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/sync.md (codebase 文档严重漂移时自动触发)
|
|
18
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/codebase-rebuild.md (sync 不足时的回退方案)
|
|
19
|
+
</deferred_reading>
|
|
17
20
|
|
|
18
21
|
<context>
|
|
19
22
|
Arguments: $ARGUMENTS
|
|
@@ -8,11 +8,14 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Extract knowledge from workflow artifacts → route to wiki/spec/issue stores. Works on any artifact (vs retrospective which is phase-scoped).
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/harvest.md
|
|
13
|
+
</required_reading>
|
|
14
|
+
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/issue.md (issues.jsonl schema for issue routing — read when creating issues in Stage 6c)
|
|
17
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/specs-add.md (spec entry format — read when routing to spec in Stage 6b)
|
|
18
|
+
</deferred_reading>
|
|
16
19
|
|
|
17
20
|
<context>
|
|
18
21
|
Arguments: $ARGUMENTS
|
|
@@ -8,10 +8,13 @@ allowed-tools: Read Write Edit Bash Glob Grep maestro
|
|
|
8
8
|
Issue lifecycle management: create, list, status, update, close, link. Stored in `.workflow/issues/issues.jsonl`. For automated discovery, use `/manage-issue-discover`.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/issue.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- [issue.json template](~/.pi/agent/packages/pi-maestro-flow/templates/issue.json) — read when creating or updating issue records (create, update, close)
|
|
17
|
+
</deferred_reading>
|
|
15
18
|
|
|
16
19
|
<context>
|
|
17
20
|
$ARGUMENTS -- subcommand + options. Parse first token as subcommand.
|
|
@@ -8,11 +8,14 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Automated issue discovery: multi-perspective (8 perspectives) or prompt-driven. Deduplicates and records to `issues.jsonl`. For CRUD operations, use `/manage-issue`.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/issue-discover.md
|
|
13
|
+
</required_reading>
|
|
14
|
+
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- [issue.json template](~/.pi/agent/packages/pi-maestro-flow/templates/issue.json) — read when creating issue records from findings (Step 6/11)
|
|
17
|
+
- [search-tools](~/.pi/agent/packages/pi-maestro-flow/templates/search-tools.md) — search tool priority, passed to agents via workflow
|
|
18
|
+
</deferred_reading>
|
|
16
19
|
|
|
17
20
|
<context>
|
|
18
21
|
$ARGUMENTS -- optional. Parse first token to determine mode.
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep maestro
|
|
|
8
8
|
Manage knowhow across two stores: workflow (`.workflow/knowhow/`) and system memory (`~/.claude/projects/*/memory/`). Operations: list, search, view, edit, delete, prune.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/knowhow.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
Arguments: $ARGUMENTS
|
|
@@ -9,7 +9,9 @@ Capture reusable knowledge into `.workflow/knowhow/` with type-specific structur
|
|
|
9
9
|
Auto-indexed by WikiIndexer (type=knowhow), searchable via `maestro search --type knowhow`.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/knowhow.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
$ARGUMENTS — type token + description + optional flags.
|
|
@@ -8,11 +8,14 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
审查 spec/knowhow/artifact 存储,识别矛盾/失效/孤儿,通过 keep/deprecate/delete 三态清理。对称于 `manage-harvest`(写入入口)。
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/knowledge-audit.md
|
|
13
|
+
</required_reading>
|
|
14
|
+
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/harvest.md (audit 检测的 artifact 是 harvest 的产物源)
|
|
17
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/specs-add.md (deprecate 操作所需的 `<spec-entry>` 变形)
|
|
18
|
+
</deferred_reading>
|
|
16
19
|
|
|
17
20
|
<context>
|
|
18
21
|
Arguments: $ARGUMENTS
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Bash Glob Grep maestro
|
|
|
8
8
|
Project dashboard: artifact progress, task counts, active work, next-step suggestions.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/status.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS (no arguments required)
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep maestro
|
|
|
8
8
|
Wiki graph management: health, search, cleanup, stats, connect, digest.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/wiki-manage.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS — subcommand and optional flags.
|
|
@@ -4,7 +4,7 @@ description: "Long-running debug cycle — archaeology, diagnosis, fix, confirma
|
|
|
4
4
|
allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<base
|
|
7
|
+
<base>~/.pi/agent/packages/pi-maestro-flow/workflows/odyssey-base.md</base>
|
|
8
8
|
|
|
9
9
|
<purpose>
|
|
10
10
|
archaeology → explore → diagnose → fix & confirm → generalize → discover siblings → persist.
|
|
@@ -4,7 +4,7 @@ description: "Long-running codebase improvement cycle — multi-dimensional audi
|
|
|
4
4
|
allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<base
|
|
7
|
+
<base>~/.pi/agent/packages/pi-maestro-flow/workflows/odyssey-base.md</base>
|
|
8
8
|
|
|
9
9
|
<purpose>
|
|
10
10
|
survey → 6-dimension audit → diagnose → fix → verify → generalize → discover → persist.
|
|
@@ -4,7 +4,7 @@ description: "Requirement-driven iterative cycle — plan, execute, strict verif
|
|
|
4
4
|
allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<base
|
|
7
|
+
<base>~/.pi/agent/packages/pi-maestro-flow/workflows/odyssey-base.md</base>
|
|
8
8
|
|
|
9
9
|
<purpose>
|
|
10
10
|
Requirement-to-delivery closed loop: parse requirement → define acceptance criteria →
|
|
@@ -4,7 +4,7 @@ description: "Deep review + fix cycle — archaeology, exploration, multi-dimens
|
|
|
4
4
|
allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<base
|
|
7
|
+
<base>~/.pi/agent/packages/pi-maestro-flow/workflows/odyssey-base.md</base>
|
|
8
8
|
|
|
9
9
|
<purpose>
|
|
10
10
|
archaeology → explore → multi-dimensional review → fix ALL findings → confirm → generalize → discover → persist. Zero-residual: every finding gets an action.
|
|
@@ -4,7 +4,7 @@ description: "Long-running UI optimization cycle — visual survey, multi-dimens
|
|
|
4
4
|
allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
<base
|
|
7
|
+
<base>~/.pi/agent/packages/pi-maestro-flow/workflows/odyssey-base.md</base>
|
|
8
8
|
|
|
9
9
|
<purpose>
|
|
10
10
|
survey → 6-dimension audit → divergent exploration → fix → verify → generalize → discover → persist.
|
|
@@ -10,7 +10,9 @@ Unified automated testing via CSV layer pipeline. Auto-selects scenario source f
|
|
|
10
10
|
Layers L0→L3 sequential (fail-fast), scenarios within layer parallel. `--max-iter 1` = single-pass; default = full iterative cycle.
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/auto-test.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
17
|
<context>
|
|
16
18
|
Phase or task: $ARGUMENTS (required — phase number)
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Debug issues using scientific method with subagent isolation and persistent debug state. Three entry modes (standalone, from-UAT, parallel) and structured root cause collection with UAT feedback loop. Full algorithm defined in workflow debug.md.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/debug.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
User's issue: $ARGUMENTS
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Targeted refactoring with safety guarantees: plan → confirm → execute with test verification per change → reflection-log.md.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/refactor.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
Scope: $ARGUMENTS (required)
|
|
@@ -8,13 +8,16 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Post-execution retrospective (复盘): four parallel lenses (technical/process/quality/decision) → distill insights → route to spec/knowhow/issue stores.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
>
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/retrospective.md
|
|
13
|
+
</required_reading>
|
|
14
|
+
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/issue.md (issues.jsonl schema for auto-creation)
|
|
17
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/learn.md (tip routing via manage-knowhow-capture tip)
|
|
18
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/verify.md (verification.json schema for quality lens parsing)
|
|
19
|
+
- ~/.pi/agent/packages/pi-maestro-flow/workflows/review.md (review.json schema for quality lens parsing)
|
|
20
|
+
</deferred_reading>
|
|
18
21
|
|
|
19
22
|
<context>
|
|
20
23
|
Arguments: $ARGUMENTS
|
|
@@ -8,10 +8,13 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Multi-dimensional code review on a phase's changed files. Three levels (quick/standard/deep), auto-detected from file count. Level and dimension details in workflow review.md.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/review.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
+
<deferred_reading>
|
|
16
|
+
- [index.json](~/.pi/agent/packages/pi-maestro-flow/templates/index.json) — read when updating phase index after review
|
|
17
|
+
</deferred_reading>
|
|
15
18
|
|
|
16
19
|
<context>
|
|
17
20
|
Phase: $ARGUMENTS (required — phase number or slug)
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
Sync codebase docs after code changes: git diff → trace impact via doc-index.json → refresh `.workflow/codebase/` docs.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/sync.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS -- optional flags:
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Edit Bash Glob Grep teammate maestro
|
|
|
8
8
|
UAT-style conversational testing for a completed phase. Interactive scenario walk-through with severity inference. Issues trigger parallel debug agents and optional gap-fix loop (--auto-fix).
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/test.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
Phase or task: $ARGUMENTS (optional)
|
|
@@ -9,7 +9,9 @@ Systematic security audit covering OWASP Top 10, dependency supply chain, secret
|
|
|
9
9
|
CI/CD pipeline review, and optional STRIDE threat modeling. Three tiers control depth vs speed.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/review.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
$ARGUMENTS — Parse tier and scope:
|
package/skills/spec-add/SKILL.md
CHANGED
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Bash Glob Grep maestro
|
|
|
8
8
|
Add `<spec-entry>` to specs by category. 4 scopes: project (default), global, team, personal.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/specs-add.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS -- expects `[--scope <scope>] [--uid <uid>] <category> <content>`
|
|
@@ -10,7 +10,9 @@ Category-based loading: loads the category's primary doc in full + matching entr
|
|
|
10
10
|
By default, loads from both global (~/.maestro/specs/) and project (.workflow/specs/) layers.
|
|
11
11
|
</purpose>
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
<required_reading>
|
|
14
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/specs-load.md
|
|
15
|
+
</required_reading>
|
|
14
16
|
|
|
15
17
|
<context>
|
|
16
18
|
$ARGUMENTS -- optional flags and keyword
|
|
@@ -9,7 +9,9 @@ Remove a `<spec-entry>` from a specs file. Symmetric with `/spec-add`.
|
|
|
9
9
|
Uses `maestro wiki remove-entry` for atomic removal with index auto-update.
|
|
10
10
|
</purpose>
|
|
11
11
|
|
|
12
|
-
>
|
|
12
|
+
<required_reading>
|
|
13
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/specs-remove.md
|
|
14
|
+
</required_reading>
|
|
13
15
|
|
|
14
16
|
<context>
|
|
15
17
|
$ARGUMENTS -- expects `<entry-id>` (e.g., `spec-learnings-003`, `spec-coding-conventions-001`)
|
|
@@ -8,7 +8,9 @@ allowed-tools: Read Write Bash Glob Grep maestro
|
|
|
8
8
|
Initialize `.workflow/specs/` by scanning codebase for conventions. Core files always created; optional files created when signals detected. Also generates recipe knowhow for detected workflows.
|
|
9
9
|
</purpose>
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
<required_reading>
|
|
12
|
+
~/.pi/agent/packages/pi-maestro-flow/workflows/specs-setup.md
|
|
13
|
+
</required_reading>
|
|
12
14
|
|
|
13
15
|
<context>
|
|
14
16
|
$ARGUMENTS (no arguments expected)
|