pi-maestro-flow 0.3.0 → 0.4.0
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 +8 -3
- 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/src/providers/provider-registry.ts +15 -10
- package/src/tools/delegate.ts +1 -1
- package/src/tools/explore.ts +2 -2
- package/src/tools/moa.ts +2 -2
|
@@ -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)
|
|
@@ -20,7 +20,7 @@ function mapToolToProviderConfig(
|
|
|
20
20
|
name: string,
|
|
21
21
|
config: CliToolConfig,
|
|
22
22
|
): {
|
|
23
|
-
|
|
23
|
+
api: string;
|
|
24
24
|
envVar: string;
|
|
25
25
|
baseUrl?: string;
|
|
26
26
|
} {
|
|
@@ -28,46 +28,51 @@ function mapToolToProviderConfig(
|
|
|
28
28
|
switch (name) {
|
|
29
29
|
case "claude":
|
|
30
30
|
return {
|
|
31
|
-
|
|
31
|
+
api: "anthropic-messages",
|
|
32
32
|
envVar: "ANTHROPIC_API_KEY",
|
|
33
|
+
baseUrl: "https://api.anthropic.com",
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
case "gemini":
|
|
36
37
|
return {
|
|
37
|
-
|
|
38
|
+
api: "google-genai",
|
|
38
39
|
envVar: "GOOGLE_API_KEY",
|
|
40
|
+
baseUrl: "https://generativelanguage.googleapis.com",
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
case "codex":
|
|
42
44
|
return {
|
|
43
|
-
|
|
45
|
+
api: "openai-completions",
|
|
44
46
|
envVar: "OPENAI_API_KEY",
|
|
47
|
+
baseUrl: "https://api.openai.com/v1",
|
|
45
48
|
};
|
|
46
49
|
|
|
47
50
|
case "opencode":
|
|
48
51
|
return {
|
|
49
|
-
|
|
52
|
+
api: "openai-compatible",
|
|
50
53
|
envVar: "OPENAI_API_KEY",
|
|
51
54
|
baseUrl: "https://api.openai.com/v1",
|
|
52
55
|
};
|
|
53
56
|
|
|
54
57
|
case "agy":
|
|
55
58
|
return {
|
|
56
|
-
|
|
59
|
+
api: "openai-compatible",
|
|
57
60
|
envVar: "AGY_API_KEY",
|
|
61
|
+
baseUrl: "https://api.openai.com/v1",
|
|
58
62
|
};
|
|
59
63
|
|
|
60
64
|
case "api-explore":
|
|
61
65
|
return {
|
|
62
|
-
|
|
66
|
+
api: "openai-compatible",
|
|
63
67
|
envVar: "API_EXPLORE_KEY",
|
|
68
|
+
baseUrl: "https://api.openai.com/v1",
|
|
64
69
|
};
|
|
65
70
|
|
|
66
71
|
default:
|
|
67
|
-
// Generic OpenAI-compatible fallback
|
|
68
72
|
return {
|
|
69
|
-
|
|
73
|
+
api: "openai-compatible",
|
|
70
74
|
envVar: `${name.toUpperCase()}_API_KEY`,
|
|
75
|
+
baseUrl: "https://api.openai.com/v1",
|
|
71
76
|
};
|
|
72
77
|
}
|
|
73
78
|
}
|
|
@@ -102,7 +107,7 @@ export function registerMaestroProviders(pi: ExtensionAPI): void {
|
|
|
102
107
|
// pi-agent-core version.
|
|
103
108
|
if (typeof pi.registerProvider === "function") {
|
|
104
109
|
pi.registerProvider(name, {
|
|
105
|
-
|
|
110
|
+
api: providerMapping.api,
|
|
106
111
|
apiKey: `$${providerMapping.envVar}`,
|
|
107
112
|
...(providerMapping.baseUrl
|
|
108
113
|
? { baseUrl: providerMapping.baseUrl }
|
package/src/tools/delegate.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import type { AgentToolResult } from "@earendil-works/pi-agent-core";
|
|
10
10
|
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
11
|
-
import { runTeammate } from "
|
|
11
|
+
import { runTeammate } from "../../../pi-teammate/src/runs/execution.ts";
|
|
12
12
|
|
|
13
13
|
export interface DelegateParams {
|
|
14
14
|
prompt?: string;
|
package/src/tools/explore.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
import type { AgentToolResult } from "@earendil-works/pi-agent-core";
|
|
10
10
|
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
11
|
-
import { runTeammate } from "
|
|
12
|
-
import type { SingleResult } from "
|
|
11
|
+
import { runTeammate } from "../../../pi-teammate/src/runs/execution.ts";
|
|
12
|
+
import type { SingleResult } from "../../../pi-teammate/src/shared/types.ts";
|
|
13
13
|
|
|
14
14
|
export interface ExploreParams {
|
|
15
15
|
prompts?: string[];
|
package/src/tools/moa.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
import type { AgentToolResult } from "@earendil-works/pi-agent-core";
|
|
11
11
|
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
12
|
-
import { runTeammate } from "
|
|
13
|
-
import type { SingleResult } from "
|
|
12
|
+
import { runTeammate } from "../../../pi-teammate/src/runs/execution.ts";
|
|
13
|
+
import type { SingleResult } from "../../../pi-teammate/src/shared/types.ts";
|
|
14
14
|
|
|
15
15
|
export interface MoaParams {
|
|
16
16
|
prompts?: string[];
|