@emiliosp/pi-maestro 0.21.0 → 0.23.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/CHANGELOG.md +5 -0
- package/README.md +55 -114
- package/agents/builder.md +7 -7
- package/agents/maestro.md +62 -45
- package/agents/simplifier.md +6 -5
- package/agents/verifier.md +13 -13
- package/docs/adr/0001-keep-the-workflow-independent-of-git.md +25 -0
- package/docs/adr/0002-store-escalation-decisions-in-builder-handoffs.md +24 -0
- package/docs/adr/0003-route-builder-failures-through-owner-escalations.md +23 -0
- package/docs/adr/0004-require-git-only-for-the-simplifier.md +35 -0
- package/docs/adr/0005-approve-a-specification-document-set-as-one-contract.md +32 -0
- package/docs/adr/0006-maintain-the-roadmap-in-linear.md +25 -0
- package/docs/adr/0007-maintain-the-roadmap-in-the-repository.md +27 -0
- package/docs/adr/0008-use-pis-registry-for-model-availability.md +23 -0
- package/docs/adr/0009-select-optional-phases-in-the-transition-table.md +24 -0
- package/docs/adr/0010-use-the-pi-sdk-for-sequential-agent-delegation.md +109 -0
- package/docs/adr/0011-separate-initial-setup-ui-from-configuration-rules.md +25 -0
- package/docs/adr/0012-filter-main-maestro-registrations-after-native-discovery.md +21 -0
- package/docs/adr/README.md +21 -0
- package/docs/configuration.md +33 -12
- package/docs/glossary.md +38 -49
- package/docs/inspiration.md +32 -0
- package/docs/roadmap/README.md +42 -0
- package/docs/roadmap/maestro-10-improve-status-presentation-and-activation-feedback.md +18 -0
- package/docs/roadmap/maestro-11-introduce-maestro-at-activation.md +19 -0
- package/docs/roadmap/maestro-12-verify-code-quality-against-agentsmd-instructions.md +21 -0
- package/docs/roadmap/maestro-13-check-subagent-extensions-at-activation.md +21 -0
- package/docs/roadmap/maestro-14-rename-the-test-support-directory.md +16 -0
- package/docs/roadmap/maestro-15-match-handoff-criteria-to-the-approved-spec.md +19 -0
- package/docs/roadmap/maestro-16-route-finding-driven-spec-revisions-through-drafting-spec.md +19 -0
- package/docs/roadmap/maestro-17-keep-acceptance-criterion-numbering-continuous.md +19 -0
- package/docs/roadmap/maestro-18-record-escalation-resolutions-when-the-spec-changes.md +18 -0
- package/docs/roadmap/maestro-19-guide-initial-configuration.md +22 -0
- package/docs/roadmap/maestro-20-rename-the-npm-package.md +17 -0
- package/docs/roadmap/maestro-21-label-acceptance-criterion-coverage.md +18 -0
- package/docs/roadmap/maestro-22-avoid-acceptance-criteria-already-covered-by-tests.md +16 -0
- package/docs/roadmap/maestro-23-change-agent-models-before-a-builder-run.md +14 -0
- package/docs/roadmap/maestro-24-add-a-simplifier-with-one-clear-purpose-per-agent.md +23 -0
- package/docs/roadmap/maestro-25-define-workflow-reconciliation.md +19 -0
- package/docs/roadmap/maestro-26-exit-maestro-mode-automatically-at-workflow-completion.md +18 -0
- package/docs/roadmap/maestro-27-make-all-implementation-phases-optional.md +26 -0
- package/docs/roadmap/maestro-28-add-maestro-role-instructions-alongside-the-other-agents.md +14 -0
- package/docs/roadmap/maestro-6-display-specs-in-a-browser.md +14 -0
- package/docs/roadmap/maestro-7-route-builder-failures-through-owner-escalations.md +19 -0
- package/docs/roadmap/maestro-8-store-escalations-and-owner-decisions-in-builder-handoffs.md +19 -0
- package/docs/roadmap/maestro-9-format-glossary-terms-consistently.md +14 -0
- package/docs/roadmap/maestro-free-1-require-pi-150.md +16 -0
- package/docs/roadmap/maestro-free-2-remove-maestro-run-timeouts.md +18 -0
- package/docs/roadmap/maestro-free-3-run-the-builder-through-the-pi-sdk.md +31 -0
- package/docs/roadmap/maestro-free-4-run-the-verifier-through-the-pi-sdk.md +22 -0
- package/docs/roadmap/maestro-free-5-run-the-simplifier-through-the-pi-sdk.md +22 -0
- package/docs/roadmap/maestro-free-6-show-sdk-agent-activity-through-pi.md +21 -0
- package/docs/roadmap/maestro-free-7-remove-the-pi-subagents-dependency.md +21 -0
- package/docs/roadmap/maestro-free-pre-3-implement-internal-sdk-delegation.md +37 -0
- package/docs/subagent-integration.md +9 -29
- package/docs/workflow.md +62 -246
- package/extensions/maestro.ts +96 -19
- package/package.json +2 -6
- package/src/MaestroPaths.ts +9 -0
- package/src/config/assertConfiguration.ts +23 -21
- package/src/config/defaults.ts +2 -1
- package/src/config/loadConfiguration.ts +3 -2
- package/src/config/saveConfiguration.ts +38 -14
- package/src/config/schema.ts +13 -0
- package/src/maestro/checks/assertEnvironment.ts +8 -33
- package/src/maestro/selectAgentModels.ts +70 -0
- package/src/maestro/setupInitialConfiguration.ts +26 -0
- package/src/maestro/status/formatMaestroStatus.ts +3 -0
- package/src/score/collectWorkflowEvidence.ts +170 -0
- package/src/score/parseClassifierScores.ts +51 -0
- package/src/score/questions.json +24 -0
- package/src/score/requestEvaluation.ts +54 -0
- package/src/score/scoreWorkflow.ts +100 -0
- package/src/tools/child/record-builder-handoff.ts +1 -0
- package/src/tools/child/record-simplifier-handoff.ts +2 -1
- package/src/tools/child/record-verifier-handoff.ts +1 -0
- package/src/tools/main/create-spec.ts +1 -0
- package/src/tools/main/mark-spec-ready.ts +1 -0
- package/src/tools/main/resolve-escalations.ts +1 -0
- package/src/tools/main/resolve-findings.ts +6 -1
- package/src/tools/main/run-builder.ts +8 -1
- package/src/tools/main/run-simplifier.ts +26 -6
- package/src/tools/main/run-verifier.ts +8 -1
- package/src/tools/main/score-workflow.ts +43 -0
- package/src/ui/selectModel.ts +23 -15
- package/src/ui/showAgentRolesSetupMenu.ts +65 -0
- package/src/workflow/spec/markSpecReady.ts +13 -3
- package/src/workflow/state/schema.ts +3 -0
- package/src/workflow/transitions.ts +9 -2
- package/templates/spec.md +1 -1
- package/ADR.md +0 -457
- package/ROADMAP.md +0 -641
- package/src/maestro/setupConfiguration.ts +0 -50
- package/src/ui/selectSpec.ts +0 -14
- package/src/ui/showSetupMenu.ts +0 -44
- package/src/ui/showSpecMenu.ts +0 -36
- /package/{MISSION.md → docs/MISSION.md} +0 -0
- /package/{TECH_STACK.md → docs/TECH_STACK.md} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Inspirations
|
|
2
|
+
|
|
3
|
+
Pi Maestro is inspired by concepts from [OpenSpec](https://github.com/Fission-AI/OpenSpec) and [GitHub Spec Kit](https://github.com/github/spec-kit). It adapts those
|
|
4
|
+
concepts to a sequential multiagent workflow in Pi.
|
|
5
|
+
|
|
6
|
+
The following official sources document the conceptual references. The links point to fixed revisions so the cited content remains inspectable.
|
|
7
|
+
|
|
8
|
+
1. **The `specification` drives the code.** [Spec Kit's philosophy][spec-kit-philosophy] treats the `specification` as the primary `artifact` and code as its expression.
|
|
9
|
+
In `Maestro`, the approved `spec` defines a working contract for the `builder` and `verifier`.
|
|
10
|
+
2. **Describe behavior, not routine implementation choices.** [OpenSpec's schema][openspec-schema] defines a `specification` as a behavior contract, not an implementation
|
|
11
|
+
plan. `Maestro` records required behavior, constraints, and approved architectural decisions in the `spec`, leaving routine implementation choices to the `builder`.
|
|
12
|
+
3. **Use concrete, testable scenarios.** [OpenSpec's schema][openspec-schema] pairs requirements with scenarios; [Spec Kit's template][spec-kit-template] uses
|
|
13
|
+
Given/When/Then acceptance scenarios. Each `Maestro` `acceptance criterion` includes a `GIVEN`, a `WHEN`, a `THEN`, and a concrete example.
|
|
14
|
+
4. **Clarify requirements progressively.** [Spec Kit's clarify command][spec-kit-clarify] asks one question at a time and integrates accepted answers into the
|
|
15
|
+
`specification`. `Maestro` likewise asks one focused question, waits for the owner's answer, and updates the `spec` before asking the next question.
|
|
16
|
+
5. **Review requirements separately from testing code.** [Spec Kit's checklist command][spec-kit-checklist] evaluates requirements for completeness, clarity, consistency,
|
|
17
|
+
and measurability, not implementation correctness. Before approval, `Maestro` reviews the `spec` for consistency, missing decisions, measurable outcomes, and
|
|
18
|
+
reproducible scenarios. The later `verifier` checks the implementation independently.
|
|
19
|
+
6. **Separate motivation, behavior, and design.** [OpenSpec's schema][openspec-schema] separates these concerns and calls for `design.md` only when significant technical
|
|
20
|
+
decisions need recording, including reasons, alternatives, and risks.
|
|
21
|
+
7. **Make requirement changes explicit.** [OpenSpec's schema][openspec-schema] distinguishes added, modified, removed, and renamed requirements. `Maestro` adapts this
|
|
22
|
+
concept with one `Delta` field per requirement: `added`, `modified`, or `removed`. Each requirement heading states the required outcome with a named actor and `MUST`.
|
|
23
|
+
8. **Make requirement coverage traceable.** [Spec Kit's analyze command][spec-kit-analyze] maps requirements to implementation tasks and identifies coverage gaps.
|
|
24
|
+
`Maestro` applies a related principle to verification: each requirement has a `Verified by` field linking to its `acceptance criteria`, existing tests covering exact
|
|
25
|
+
scenarios, or both. The mapping connects requirements to verification.
|
|
26
|
+
|
|
27
|
+
[openspec-schema]: https://github.com/Fission-AI/OpenSpec/blob/6d04a1b58dedc95729d34e4f223d9d483aae210a/schemas/spec-driven/schema.yaml
|
|
28
|
+
[spec-kit-philosophy]: https://github.com/github/spec-kit/blob/222a973f8b8794366680c043fb935a31f71902af/spec-driven.md
|
|
29
|
+
[spec-kit-template]: https://github.com/github/spec-kit/blob/222a973f8b8794366680c043fb935a31f71902af/templates/spec-template.md
|
|
30
|
+
[spec-kit-clarify]: https://github.com/github/spec-kit/blob/222a973f8b8794366680c043fb935a31f71902af/templates/commands/clarify.md
|
|
31
|
+
[spec-kit-checklist]: https://github.com/github/spec-kit/blob/222a973f8b8794366680c043fb935a31f71902af/templates/commands/checklist.md
|
|
32
|
+
[spec-kit-analyze]: https://github.com/github/spec-kit/blob/222a973f8b8794366680c043fb935a31f71902af/templates/commands/analyze.md
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Roadmap
|
|
2
|
+
|
|
3
|
+
This roadmap is the source of truth for planned outcomes and recorded completion. Roadmap entries are not permission to implement them. The `owner` selects work and
|
|
4
|
+
approves its `specification` before implementation starts. Backlog items have no agreed order or date. The `owner` approves priority and scope changes.
|
|
5
|
+
|
|
6
|
+
Completed items describe their original goals and completion conditions, which may refer to behavior later changed.
|
|
7
|
+
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
| ID | Item | Status |
|
|
11
|
+
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | --------- |
|
|
12
|
+
| MAESTRO-6 | [Display specs in a browser](maestro-6-display-specs-in-a-browser.md) | Backlog |
|
|
13
|
+
| MAESTRO-7 | [Route builder failures through owner escalations](maestro-7-route-builder-failures-through-owner-escalations.md) | Completed |
|
|
14
|
+
| MAESTRO-8 | [Store escalations and owner decisions in builder handoffs](maestro-8-store-escalations-and-owner-decisions-in-builder-handoffs.md) | Completed |
|
|
15
|
+
| MAESTRO-9 | [Format glossary terms consistently](maestro-9-format-glossary-terms-consistently.md) | Completed |
|
|
16
|
+
| MAESTRO-10 | [Improve status presentation and activation feedback](maestro-10-improve-status-presentation-and-activation-feedback.md) | Completed |
|
|
17
|
+
| MAESTRO-11 | [Introduce Maestro at activation](maestro-11-introduce-maestro-at-activation.md) | Completed |
|
|
18
|
+
| MAESTRO-12 | [Verify code quality against AGENTS.md instructions](maestro-12-verify-code-quality-against-agentsmd-instructions.md) | Completed |
|
|
19
|
+
| MAESTRO-13 | [Check subagent extensions at activation](maestro-13-check-subagent-extensions-at-activation.md) | Completed |
|
|
20
|
+
| MAESTRO-14 | [Rename the test support directory](maestro-14-rename-the-test-support-directory.md) | Completed |
|
|
21
|
+
| MAESTRO-15 | [Match handoff criteria to the approved spec](maestro-15-match-handoff-criteria-to-the-approved-spec.md) | Completed |
|
|
22
|
+
| MAESTRO-16 | [Route finding-driven spec revisions through drafting-spec](maestro-16-route-finding-driven-spec-revisions-through-drafting-spec.md) | Completed |
|
|
23
|
+
| MAESTRO-17 | [Keep acceptance criterion numbering continuous](maestro-17-keep-acceptance-criterion-numbering-continuous.md) | Completed |
|
|
24
|
+
| MAESTRO-18 | [Record escalation resolutions when the spec changes](maestro-18-record-escalation-resolutions-when-the-spec-changes.md) | Completed |
|
|
25
|
+
| MAESTRO-19 | [Guide initial configuration](maestro-19-guide-initial-configuration.md) | Completed |
|
|
26
|
+
| MAESTRO-20 | [Rename the npm package](maestro-20-rename-the-npm-package.md) | Backlog |
|
|
27
|
+
| MAESTRO-21 | [Label acceptance criterion coverage](maestro-21-label-acceptance-criterion-coverage.md) | Completed |
|
|
28
|
+
| MAESTRO-22 | [Avoid acceptance criteria already covered by tests](maestro-22-avoid-acceptance-criteria-already-covered-by-tests.md) | Completed |
|
|
29
|
+
| MAESTRO-23 | [Change agent models before a builder run](maestro-23-change-agent-models-before-a-builder-run.md) | Backlog |
|
|
30
|
+
| MAESTRO-24 | [Add a simplifier with one clear purpose per agent](maestro-24-add-a-simplifier-with-one-clear-purpose-per-agent.md) | Completed |
|
|
31
|
+
| MAESTRO-25 | [Define workflow reconciliation](maestro-25-define-workflow-reconciliation.md) | Completed |
|
|
32
|
+
| MAESTRO-26 | [Exit Maestro mode automatically at workflow completion](maestro-26-exit-maestro-mode-automatically-at-workflow-completion.md) | Completed |
|
|
33
|
+
| MAESTRO-27 | [Make all implementation phases optional](maestro-27-make-all-implementation-phases-optional.md) | Completed |
|
|
34
|
+
| MAESTRO-28 | [Add Maestro role instructions alongside the other agents](maestro-28-add-maestro-role-instructions-alongside-the-other-agents.md) | Backlog |
|
|
35
|
+
| MAESTRO-FREE-1 | [Require Pi 1.5.0](maestro-free-1-require-pi-150.md) | Completed |
|
|
36
|
+
| MAESTRO-FREE-2 | [Remove Maestro run timeouts](maestro-free-2-remove-maestro-run-timeouts.md) | Completed |
|
|
37
|
+
| MAESTRO-FREE-PRE-3 | [Implement internal SDK delegation](maestro-free-pre-3-implement-internal-sdk-delegation.md) | Completed |
|
|
38
|
+
| MAESTRO-FREE-3 | [Run the builder through the Pi SDK](maestro-free-3-run-the-builder-through-the-pi-sdk.md) | Completed |
|
|
39
|
+
| MAESTRO-FREE-4 | [Run the verifier through the Pi SDK](maestro-free-4-run-the-verifier-through-the-pi-sdk.md) | Completed |
|
|
40
|
+
| MAESTRO-FREE-5 | [Run the simplifier through the Pi SDK](maestro-free-5-run-the-simplifier-through-the-pi-sdk.md) | Completed |
|
|
41
|
+
| MAESTRO-FREE-6 | [Show SDK agent activity through Pi](maestro-free-6-show-sdk-agent-activity-through-pi.md) | Completed |
|
|
42
|
+
| MAESTRO-FREE-7 | [Remove the pi-subagents dependency](maestro-free-7-remove-the-pi-subagents-dependency.md) | Completed |
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-10'
|
|
4
|
+
title: 'Improve status presentation and activation feedback'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Make workflow progress and configured agent settings easy to see without adding model context.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261007-170438-update-maestro-status-bar-with-agent-models-theme-colors-and-phase-icons/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- Pi's status shows phase icons, theme colors, and shortened `spec` IDs.
|
|
18
|
+
- Successful activation displays the configured agent settings in the UI without adding session history or model context.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-11'
|
|
4
|
+
title: 'Introduce Maestro at activation'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Introduce `Maestro` at activation and make its documentation available on demand.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261013-171954-introduce-maestro-at-activation/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- Successful activation introduces `Maestro` and invites the `owner` to ask how it works.
|
|
18
|
+
- The notice retains configured agent details without adding session history or starting a model request.
|
|
19
|
+
- Active instructions identify the installed README and documentation paths. Their contents are read only when needed.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-12'
|
|
4
|
+
title: 'Verify code quality against AGENTS.md instructions'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Require independent review of affected code against applicable `AGENTS.md` code-quality rules.
|
|
11
|
+
|
|
12
|
+
This review was later removed by [MAESTRO-24](maestro-24-add-a-simplifier-with-one-clear-purpose-per-agent.md).
|
|
13
|
+
|
|
14
|
+
See the
|
|
15
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261013-185941-verify-code-quality-against-agents-md-instructions/spec.md).
|
|
16
|
+
|
|
17
|
+
## Completed When
|
|
18
|
+
|
|
19
|
+
- The `verifier` checks code affected by the approved change against applicable written rules.
|
|
20
|
+
- A rule-violation `finding` identifies the instruction file, quotes the rule, and explains the violation.
|
|
21
|
+
- Missing rules skip only this added review. Personal preferences are not requirements.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-13'
|
|
4
|
+
title: 'Check subagent extensions at activation'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Check parent `pi-subagents` availability before activation, without launching an agent.
|
|
11
|
+
|
|
12
|
+
This check was later removed by the SDK migration.
|
|
13
|
+
|
|
14
|
+
See the
|
|
15
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261013-194407-check-pi-subagents-availability-with-ping-at-activation/spec.md).
|
|
16
|
+
|
|
17
|
+
## Completed When
|
|
18
|
+
|
|
19
|
+
- Activation requires a matching successful version 1 `ping` reply within 2000 ms.
|
|
20
|
+
- Failed or invalid replies, emission errors, and timeouts prevent activation and explain the installation requirement.
|
|
21
|
+
- The check starts no agent or model request and makes no claim about child execution readiness.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-14'
|
|
4
|
+
title: 'Rename the test support directory'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Rename `test/` to `tests/` and update affected references.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
- Imports, fixture paths, lint configuration, and project instructions use `tests/`.
|
|
15
|
+
- Fixtures are under `tests/fixtures`; source tests remain beside their source files.
|
|
16
|
+
- Historical `handoffs` retain their recorded paths.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-15'
|
|
4
|
+
title: 'Match handoff criteria to the approved spec'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Require every approved `spec` criterion ID in each submitted `builder` and `verifier` `handoff`.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261013-211629-match-handoff-criteria-to-the-approved-spec/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- Both submissions check for every approved `acceptance criterion` ID before saving a report or changing phase.
|
|
18
|
+
- Missing IDs reject the submission. Extra report IDs remain allowed.
|
|
19
|
+
- This check does not add duplicate-ID validation to the `spec`.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-16'
|
|
4
|
+
title: 'Route finding-driven spec revisions through drafting-spec'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Record `finding` decisions before revising a `spec`, and require renewed approval before implementation resumes.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261015-154812-route-finding-driven-spec-revisions-through-drafting-spec/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- All current decisions are saved before entering `drafting-spec`; revision takes priority in mixed batches.
|
|
18
|
+
- The `owner` reviews the same revised `spec` and gives renewed `GREEN FLAG` before separate approval and another `builder` `run`.
|
|
19
|
+
- Direct approval from `finding-decisions` is rejected.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-17'
|
|
4
|
+
title: 'Keep acceptance criterion numbering continuous'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Reject gaps in `acceptance criterion` numbering before approving a `spec`.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261013-202811-check-acceptance-criterion-numbering-before-builder-execution/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- Numbered criterion headings start at `AC1` and continue without gaps.
|
|
18
|
+
- Invalid numbering is rejected without changing saved files.
|
|
19
|
+
- `Maestro` can correct numbering and references without changing criterion order or requirements, then retry using the existing `GREEN FLAG`.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-18'
|
|
4
|
+
title: 'Record escalation resolutions when the spec changes'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Save every current `escalation` answer in the original `builder` `handoff`, whether the `spec` stays unchanged or needs revision.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
- One batch saves each answer and the owner's reason before changing phase.
|
|
15
|
+
- Without a `spec` change, the workflow returns to `ready-for-builder` without renewed approval.
|
|
16
|
+
- A revision decision identifies the `escalation` and agreed change, then returns to `drafting-spec`.
|
|
17
|
+
- The revised `spec` requires renewed `GREEN FLAG` and separate approval before another `builder` `run`.
|
|
18
|
+
- Direct approval from `escalation-decisions` is rejected. Transitions use `transitionWorkflow` and the central transition definitions.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-19'
|
|
4
|
+
title: 'Guide initial configuration'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Help the `owner` configure `Maestro` through guided selectors instead of writing the configuration file manually.
|
|
11
|
+
|
|
12
|
+
See the [specification](../../.specs/20261108-141712-maestro-19-guide-initial-configuration-with-pi-selectors/spec.md).
|
|
13
|
+
|
|
14
|
+
## Completed When
|
|
15
|
+
|
|
16
|
+
- When `.pi/maestro.json` is absent, `/maestro` offers role selection and confirmation.
|
|
17
|
+
- Each selected role has searchable model selection followed by Pi's supported thinking choices, starting at the first choice. Model selection does not change the main
|
|
18
|
+
conversation's model.
|
|
19
|
+
- Completed selections can be replaced. Cancelling a nested choice discards only that pending edit; cancelling setup saves nothing.
|
|
20
|
+
- Confirmation saves the configuration and activates `Maestro`. Only selected roles are enabled; selecting none enables `spec` preparation only.
|
|
21
|
+
- There are no default models. An existing configuration missing an enabled role's model prevents activation.
|
|
22
|
+
- Setup uses public Pi controls, without private runtime access or a separate model runtime.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-20'
|
|
4
|
+
title: 'Rename the npm package'
|
|
5
|
+
status: backlog
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Rename `@emiliosp/pi-maestro` to `pi-maestro-sdd`. The `owner` installs the package under the new name. This item changes the package identity, not the development
|
|
11
|
+
workflow.
|
|
12
|
+
|
|
13
|
+
Compatibility with installations under the old name must be decided in the `specification`. No `specification` is approved yet.
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
Package metadata and installation documentation use the new name. The package is available under that name.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-21'
|
|
4
|
+
title: 'Label acceptance criterion coverage'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Label each `acceptance criterion` as success, failure, or unchanged behavior, describing the scenario rather than its test result.
|
|
11
|
+
|
|
12
|
+
These labels were later removed in `0.12.0`.
|
|
13
|
+
|
|
14
|
+
## Completed When
|
|
15
|
+
|
|
16
|
+
- Each criterion has one `Coverage` label: `success`, `failure`, or `unchanged`.
|
|
17
|
+
- Examples match their labels, and a rejected invalid action counts as a passing failure scenario.
|
|
18
|
+
- `Maestro` presents the labels during review. A `spec` does not need every category.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-22'
|
|
4
|
+
title: 'Avoid acceptance criteria already covered by tests'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Avoid duplicating `acceptance criteria` whose exact scenarios already have test coverage.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
- `Maestro` inspects existing tests before writing criteria and during `spec` review.
|
|
15
|
+
- A criterion is omitted only when a test covers the same starting conditions, action, and expected outcome. Partial or uncertain coverage is not enough.
|
|
16
|
+
- Required behavior remains in the requirements and constraints. Criterion numbering and references stay consistent, including after revisions.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-23'
|
|
4
|
+
title: 'Change agent models before a builder run'
|
|
5
|
+
status: backlog
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Let the `owner` change the `builder` and `verifier` models during `spec` preparation and the `ready-for-builder` phase. The selected models apply to subsequent `runs`.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
The `owner` can select available models in those phases. `Maestro` uses the selections.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-24'
|
|
4
|
+
title: 'Add a simplifier with one clear purpose per agent'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Give the `simplifier` one role: refactor accepted code for clarity after verification, with a separate report.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261016-090319-add-a-dedicated-simplifier-after-verification/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- Successful verification or rejection of all `findings` leads to simplification without another approval or verification cycle.
|
|
18
|
+
- The tool checks Git readiness and skips delegation with a warning if Git is unavailable.
|
|
19
|
+
- The `simplifier` considers staged, unstaged, and untracked code changes, including pre-existing edits, while preserving behavior and the accepted check baseline.
|
|
20
|
+
- No refactoring is required when the code is already clear. Unrelated refactoring, index changes, and automatic commits are excluded.
|
|
21
|
+
- A completed `pass` saves the unnumbered `handoffs/simplifier/S.json` with refactored files, summary, and notes.
|
|
22
|
+
- The final summary separates simplification from independent verification. The extra code-quality review from
|
|
23
|
+
[MAESTRO-12](maestro-12-verify-code-quality-against-agentsmd-instructions.md) is removed.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-25'
|
|
4
|
+
title: 'Define workflow reconciliation'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Let the `owner` restart an existing `spec` after an interruption without automatically recovering execution.
|
|
11
|
+
|
|
12
|
+
See the [specification](../../.specs/20261109-142858-resume-an-interrupted-workflow-from-drafting-spec/spec.md).
|
|
13
|
+
|
|
14
|
+
## Completed When
|
|
15
|
+
|
|
16
|
+
- `/maestro` offers a new `spec` or an existing `spec` to restart.
|
|
17
|
+
- Restart returns the selected `spec` to `drafting-spec` from any saved phase for document review and renewed `GREEN FLAG`.
|
|
18
|
+
- Existing code, `handoffs`, and recorded decisions are preserved.
|
|
19
|
+
- Restart does not resume an interrupted agent or reconcile partial saves.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-26'
|
|
4
|
+
title: 'Exit Maestro mode automatically at workflow completion'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Turn off `Maestro` automatically after the final summary is successfully delivered.
|
|
11
|
+
|
|
12
|
+
See the [specification](../../.specs/20261030-145712-automatically-exit-maestro-mode-at-workflow-completion/spec.md).
|
|
13
|
+
|
|
14
|
+
## Completed When
|
|
15
|
+
|
|
16
|
+
- A completed workflow remains active while `Maestro` delivers its final summary, including when simplification was skipped.
|
|
17
|
+
- Successful delivery clears live tools, status, instructions, and active `spec` selection without changing saved workflow files or other extensions.
|
|
18
|
+
- Intermediate phases, interruptions, and failed summary delivery do not trigger automatic exit.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-27'
|
|
4
|
+
title: 'Make all implementation phases optional'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Make the entire implementation stage optional, including the `builder`, `verifier`, and `simplifier` phases. Let the `owner` use `Maestro` only to prepare and approve a
|
|
11
|
+
`spec`, leaving implementation to another workflow.
|
|
12
|
+
|
|
13
|
+
When implementation runs in `Maestro`, the `owner` can still independently enable or disable the `verifier` and `simplifier` phases. `Spec` preparation and approval
|
|
14
|
+
remain required.
|
|
15
|
+
|
|
16
|
+
See the [specification](../../.specs/20261103-161424-maestro-27-make-implementation-phases-optional/spec.md).
|
|
17
|
+
|
|
18
|
+
## Completed When
|
|
19
|
+
|
|
20
|
+
1. The `owner` can complete a workflow with only an approved `spec`, without running the `builder`, `verifier`, or `simplifier`.
|
|
21
|
+
2. Implementation can be performed through another workflow using the approved `spec`, without requiring further execution in `Maestro`.
|
|
22
|
+
3. The existing requested combinations remain available: `builder` only; `builder` and `verifier`; `builder` and `simplifier`; or all three.
|
|
23
|
+
4. Disabled phases are not delegated and do not block workflow completion.
|
|
24
|
+
5. The workflow reaches `candidate-ready` after `spec` approval when no agent phases are selected, or after the selected phases complete and any required `owner`
|
|
25
|
+
decisions are resolved.
|
|
26
|
+
6. The final summary clearly identifies skipped phases and does not claim that skipped implementation or verification has been completed.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-28'
|
|
4
|
+
title: 'Add Maestro role instructions alongside the other agents'
|
|
5
|
+
status: backlog
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Add `agents/maestro.md` for `Maestro` role instructions alongside `agents/builder.md`, `agents/verifier.md`, and `agents/simplifier.md`.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
`Maestro` role instructions are maintained in `agents/maestro.md` alongside the other agent role files.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-6'
|
|
4
|
+
title: 'Display specs in a browser'
|
|
5
|
+
status: backlog
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Display the `spec` documents in a browser to improve readability and help the `owner` understand the proposed change, requirements, and `acceptance criteria`.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
The `owner` can read the `spec` documents in a browser with formatting designed for human comprehension.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-7'
|
|
4
|
+
title: 'Route builder failures through owner escalations'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Route reportable `builder` problems through `owner` `escalations` instead of a terminal failure phase.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261013-101454-route-builder-failures-through-owner-escalations/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- The `builder` reports either `done` or `escalation`.
|
|
18
|
+
- Reportable technical problems use the existing `escalation` process, leaving the next decision to the `owner`.
|
|
19
|
+
- Individual `probe` results can remain `failed`. Execution errors and missing or invalid `handoffs` stop the workflow.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-8'
|
|
4
|
+
title: 'Store escalations and owner decisions in builder handoffs'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Keep `escalation` questions and `owner` answers together in numbered `builder` `handoffs`.
|
|
11
|
+
|
|
12
|
+
See the
|
|
13
|
+
[specification](https://github.com/emilioSp/pi-maestro/blob/839ab9eb9753df22804d750657a616a9959c2c47/.specs/20261008-132344-store-escalations-in-builder-handoffs/spec.md).
|
|
14
|
+
|
|
15
|
+
## Completed When
|
|
16
|
+
|
|
17
|
+
- A `builder` `handoff` can contain multiple questions and their resolutions.
|
|
18
|
+
- The `owner` resolves all current questions in one batch, updating the same `handoff`.
|
|
19
|
+
- Earlier numbered `handoffs` remain available as history.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-9'
|
|
4
|
+
title: 'Format glossary terms consistently'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Apply glossary formatting consistently across documentation.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
Terms with the meaning defined in `docs/glossary.md` use inline code. Formatting exclusions are documented in `AGENTS.md` and the documentation audit skill.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-FREE-1'
|
|
4
|
+
title: 'Require Pi 1.5.0'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Adopt Pi 1.5.0 as the minimum supported host and verification baseline for [ADR-010](../adr/0010-use-the-pi-sdk-for-sequential-agent-delegation.md), without changing the
|
|
11
|
+
delegation engine or adding compatibility fallbacks.
|
|
12
|
+
|
|
13
|
+
## Completed When
|
|
14
|
+
|
|
15
|
+
1. Declared requirements and the development verification environment use the selected Pi baseline consistently.
|
|
16
|
+
2. The existing extension and `pi-subagents` workflow continue to work on Pi 1.5.0.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-FREE-2'
|
|
4
|
+
title: 'Remove Maestro run timeouts'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Remove configured agent timeouts and their defaults from `Maestro`.
|
|
11
|
+
|
|
12
|
+
## Completed When
|
|
13
|
+
|
|
14
|
+
- Configuration no longer supports the three `timeoutMinutes` fields.
|
|
15
|
+
- Existing configurations containing those fields fail validation until the `owner` removes them; no migration or compatibility handling is added.
|
|
16
|
+
- Configuration documentation no longer offers agent timeout settings.
|
|
17
|
+
|
|
18
|
+
The fixed deadline used by the former `pi-subagents` integration was removed separately by the SDK migration.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-FREE-3'
|
|
4
|
+
title: 'Run the builder through the Pi SDK'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Run the `builder` through the shared Pi SDK executor from [MAESTRO-FREE-PRE-3](maestro-free-pre-3-implement-internal-sdk-delegation.md), following
|
|
11
|
+
[ADR-010](../adr/0010-use-the-pi-sdk-for-sequential-agent-delegation.md).
|
|
12
|
+
|
|
13
|
+
Migrate all three roles together with [FREE-4](maestro-free-4-run-the-verifier-through-the-pi-sdk.md) and
|
|
14
|
+
[FREE-5](maestro-free-5-run-the-simplifier-through-the-pi-sdk.md), using one executor without mixed-engine routing. Live progress is covered separately by
|
|
15
|
+
[FREE-6](maestro-free-6-show-sdk-agent-activity-through-pi.md).
|
|
16
|
+
|
|
17
|
+
See the [specification](../../.specs/20261106-092601-feat-migrate-builder-verifier-and-simplifier-to-the-pi-sdk/spec.md).
|
|
18
|
+
|
|
19
|
+
## Completed When
|
|
20
|
+
|
|
21
|
+
1. An approved `spec` can be implemented by an SDK `builder` with fresh conversation history, the configured model and thinking level, role guidance, global and project
|
|
22
|
+
instructions, skills, working tools, and existing `handoff` tools.
|
|
23
|
+
2. It reuses the established executor's context and tool loading without another execution mechanism. Role instructions continue to forbid further delegation.
|
|
24
|
+
3. `done` and `escalation` outcomes preserve existing saved `handoffs`, validation, phase transitions, and subsequent workflow routes. A later `builder` `pass` starts
|
|
25
|
+
fresh and reads saved decisions rather than restoring the previous conversation.
|
|
26
|
+
4. Errors stop the workflow without rollback or repair. Manual cancellation reaches `session.abort()`, and child sessions and subscriptions are cleaned up on every exit.
|
|
27
|
+
5. Native Pi session files are saved beneath the project's Pi session directory in `subagents/`. The `owner` receives the saved path on completion or failure when a file
|
|
28
|
+
exists; it can be inspected or exported with Pi, without automatic resumption.
|
|
29
|
+
6. Existing trust, configuration, and model checks remain applicable. Activation and execution no longer require `pi-subagents` ping or launch-contract checks for any
|
|
30
|
+
role. A `builder`-only workflow uses the SDK without requiring a `pi-subagents` availability reply.
|
|
31
|
+
7. Each `run` waits for its child to finish or be interrupted before another starts. Existing optional-phase behavior remains intact.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Roadmap
|
|
3
|
+
id: 'MAESTRO-FREE-4'
|
|
4
|
+
title: 'Run the verifier through the Pi SDK'
|
|
5
|
+
status: completed
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Objective
|
|
9
|
+
|
|
10
|
+
Connect the `verifier` to the SDK executor delivered by [MAESTRO-FREE-PRE-3](maestro-free-pre-3-implement-internal-sdk-delegation.md), following
|
|
11
|
+
[ADR-010](../adr/0010-use-the-pi-sdk-for-sequential-agent-delegation.md). Implement this role's switch together with FREE-3 and FREE-5 under the
|
|
12
|
+
[shared migration scope](maestro-free-3-run-the-builder-through-the-pi-sdk.md). Do not redesign verification or its reports.
|
|
13
|
+
|
|
14
|
+
See the [specification](../../.specs/20261106-092601-feat-migrate-builder-verifier-and-simplifier-to-the-pi-sdk/spec.md).
|
|
15
|
+
|
|
16
|
+
## Completed When
|
|
17
|
+
|
|
18
|
+
1. The SDK `verifier` independently checks the approved `spec` and saves existing numbered `handoffs`, preserving criterion validation, `finding` decisions, and phase
|
|
19
|
+
transitions.
|
|
20
|
+
2. It reuses the established fresh-session context, tools, persistence, cancellation, cleanup, and error policy without a second execution mechanism.
|
|
21
|
+
3. Activation and execution no longer use `pi-subagents` for the `verifier`.
|
|
22
|
+
4. Workflows with verification enabled or disabled retain their existing routes, with all enabled roles using the common SDK executor.
|