@emiliosp/pi-maestro 0.23.0 → 0.23.2
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 +29 -49
- package/package.json +1 -1
- package/docs/maestro.png +0 -0
package/README.md
CHANGED
|
@@ -1,45 +1,27 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="pi-maestro-logo.png" alt="Pi Maestro logo" width="200">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# pi-maestro
|
|
2
6
|
|
|
3
7
|
[](https://codecov.io/gh/emiliosp/pi-maestro)
|
|
4
8
|
|
|
5
|
-
Pi extension for writing a
|
|
6
|
-
|
|
7
|
-

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