@emiliosp/pi-maestro 0.23.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/README.md +25 -47
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,44 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://codecov.io/gh/emiliosp/pi-maestro)
|
|
4
4
|
|
|
5
|
-
Pi extension for writing a
|
|
5
|
+
Pi extension for writing a specification and optionally implementing it through a spec-driven multiagent workflow.
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## How it works
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
`Maestro` has two goals:
|
|
14
|
-
|
|
15
|
-
1. Help the `owner` write and approve a `specification` (`spec`) for one reversible change.
|
|
16
|
-
2. Implement the approved `spec` through a multiagent workflow.
|
|
17
|
-
|
|
18
|
-
The `owner` can use `Maestro` only to write and approve a `spec`, leaving implementation to another workflow, or to write the `spec` and implement it within `Maestro`.
|
|
19
|
-
`Spec` preparation and approval are required. The entire implementation stage is optional, and each of its phases is optional too:
|
|
20
|
-
|
|
21
|
-
1. The `builder` implements the approved `spec`.
|
|
22
|
-
2. The independent `verifier` checks every `acceptance criterion`.
|
|
23
|
-
3. The `simplifier` refactors accepted code without changing behavior.
|
|
11
|
+
Every change starts with a `spec`. `Maestro` helps the `owner` to define a specification (`spec`) for a change, including clear requirements and acceptance criteria.
|
|
24
12
|
|
|
25
|
-
|
|
26
|
-
independently.
|
|
13
|
+
Two ways of working with `Maestro` are available:
|
|
27
14
|
|
|
28
|
-
|
|
15
|
+
- **Spec only:** Stop after approval and use the `spec` in another workflow.
|
|
16
|
+
- **Spec and implementation:** The `builder` implements the approved `spec`. Three optional steps can follow: the `verifier` independently checks every
|
|
17
|
+
`acceptance criterion`, the `simplifier` improves the code without changing its behavior, and the [`scorer`](#llm-as-judge) rates the result and the quality of the
|
|
18
|
+
verification evidence. These steps can be enabled independently. See [Phase selection](docs/configuration.md#phase-selection) for setup and defaults.
|
|
29
19
|
|
|
30
|
-
|
|
20
|
+
Each agent has a separate job. No agent approves its own work and the `owner` makes decisions when questions come up and reviews the final code.
|
|
31
21
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
The `owner` performs the final review.
|
|
35
|
-
|
|
36
|
-
Five principles hold the workflow together:
|
|
37
|
-
|
|
38
|
-
1. The approved `spec` defines the required work for the `builder` and `verifier`.
|
|
39
|
-
2. No agent approves its own work.
|
|
40
|
-
3. When enabled, the `verifier` checks every `acceptance criterion` independently.
|
|
41
|
-
4. The `owner` decides requirements, scope, and unresolved questions.
|
|
42
|
-
5. Each agent has one and only one role. Specific and with clear instruction.
|
|
22
|
+
Read [The Pi Maestro Manifesto](MANIFESTO.md) for the motivation behind the project.
|
|
43
23
|
|
|
44
24
|
https://github.com/user-attachments/assets/dffa8bc7-6c79-491f-95df-2ee95b6447aa
|
|
45
25
|
|
|
@@ -52,18 +32,18 @@ concepts to a sequential multiagent workflow in Pi. See [Inspirations](docs/insp
|
|
|
52
32
|
|
|
53
33
|
| Role | Responsibility |
|
|
54
34
|
| ------------ | ----------------------------------------------------------------------------------------------------------------------- |
|
|
55
|
-
| `Owner` | Brings the problem, approves the `spec`, decides questions and
|
|
35
|
+
| `Owner` | Brings the problem, approves the `spec`, decides questions, and reviews the final code. |
|
|
56
36
|
| `Maestro` | Works directly with the `owner`, prepares the `spec`, runs the other agents, records decisions, and summarizes results. |
|
|
57
|
-
| `Builder` | Implements the approved `spec
|
|
58
|
-
| `Verifier` | Independently checks the
|
|
37
|
+
| `Builder` | Implements the approved `spec`. |
|
|
38
|
+
| `Verifier` | Independently checks the implementation against the approved `spec` and reports any technical issues it finds. |
|
|
59
39
|
| `Simplifier` | Refactors accepted code for clarity without changing behavior or introducing check failures. |
|
|
60
40
|
| `Scorer` | Optional classifier invoked by `Maestro` to score correctness and verification quality. |
|
|
61
41
|
|
|
62
42
|
## Prerequisites
|
|
63
43
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
44
|
+
- Node.js 26 or later.
|
|
45
|
+
- Pi 1.5.0 or later.
|
|
46
|
+
- Access to the models for enabled agents.
|
|
67
47
|
|
|
68
48
|
## Installation
|
|
69
49
|
|
|
@@ -133,20 +113,18 @@ The `owner` can edit this file before activation. See [Configuration](docs/confi
|
|
|
133
113
|
|
|
134
114
|
## Documentation
|
|
135
115
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
3. [Configuration](docs/configuration.md): project paths, models, and thinking levels.
|
|
141
|
-
4. [Subagent integration](docs/subagent-integration.md): agent context, execution, and activity tracking.
|
|
116
|
+
- [Glossary](docs/glossary.md): terms and identifiers used in `specs`, reports, and `Maestro` messages. Read this before the first workflow.
|
|
117
|
+
- [Workflow](docs/workflow.md): approvals, decisions, and how each `run` produces `artifacts`.
|
|
118
|
+
- [Configuration](docs/configuration.md): project paths, models, and thinking levels.
|
|
119
|
+
- [Subagent integration](docs/subagent-integration.md): agent context, execution, and activity tracking.
|
|
142
120
|
|
|
143
121
|
## Project constitution
|
|
144
122
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
123
|
+
- [Mission](docs/MISSION.md): purpose, scope, and `owner` responsibilities.
|
|
124
|
+
- [Tech stack](docs/TECH_STACK.md): runtime technologies and development tools.
|
|
125
|
+
- [Roadmap](docs/roadmap/README.md): completed outcomes and planned work maintained in the repository.
|
|
126
|
+
- [Changelog](CHANGELOG.md): meaningful codebase changes and breaking changes.
|
|
127
|
+
- [Architecture decision records](docs/adr/README.md): architectural choices, context, consequences, and evidence.
|
|
150
128
|
|
|
151
129
|
## License
|
|
152
130
|
|