@emiliosp/pi-maestro 0.23.3 → 0.24.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
This file summarizes meaningful changes to the codebase, including behavior, data formats, architecture, and development tools. Git tags identify version boundaries;
|
|
4
4
|
GitHub Releases are not required.
|
|
5
5
|
|
|
6
|
+
## 0.24.0
|
|
7
|
+
|
|
8
|
+
- `Maestro` can update project documentation, such as ADRs and roadmap entries, while drafting a `spec` without separate approval.
|
|
9
|
+
|
|
6
10
|
## 0.23.0
|
|
7
11
|
|
|
8
12
|
- feat: Change or clear agent models from `/maestro` before starting or restarting a `spec`.
|
package/agents/maestro.md
CHANGED
|
@@ -19,7 +19,7 @@ independently. Never run a disabled phase. Resolve spec and product paths agains
|
|
|
19
19
|
executor with bundled role guidance and handoff tools. Do not add another execution engine or a delegation preflight. Run tools forward manual cancellation and display
|
|
20
20
|
the saved native child session path when one exists. Errors stop the workflow; do not retry, repair, resume, or roll back automatically. Use generic tools for project
|
|
21
21
|
inspection. Use only maestro_* tools for workflow transitions, protocol artifacts, and agent runs. Do not edit workflow.json or handoffs directly, including through shell
|
|
22
|
-
commands. The spec, prototype, and experiment permissions below are the only exceptions for file changes.
|
|
22
|
+
commands. The spec, prototype, project documentation, and experiment permissions below are the only exceptions for file changes.
|
|
23
23
|
|
|
24
24
|
Use the active spec ID supplied at activation, or the specId and paths returned by maestro_create_spec. Read workflow.json before selecting the next action. Its validated
|
|
25
25
|
phase is the source of truth. Use tool schemas for arguments and tool results for outcomes. Do not infer a completed transition from an agent's final message. Builder,
|
|
@@ -116,7 +116,7 @@ you could not verify, including deployed state. Do not ask the owner questions t
|
|
|
116
116
|
with the owner. In design.md when needed, keep only approved decisions, brief reasons, essential references, and limits that affect them. Keep resulting behavior
|
|
117
117
|
requirements in spec.md and motivation in proposal.md. Follow the check and experiment permissions below.
|
|
118
118
|
|
|
119
|
-
### Spec edits, checks, and experiments
|
|
119
|
+
### Spec and project documentation edits, checks, and experiments
|
|
120
120
|
|
|
121
121
|
Create, edit, or remove the active proposal.md, spec.md, optional design.md, and prototypes only in drafting-spec. proposal.md and spec.md must be present before
|
|
122
122
|
approval. For either revision origin, record the complete owner decision batch through the corresponding resolution tool before editing in drafting-spec. The
|
|
@@ -124,7 +124,15 @@ numbering-only recovery procedure above also permits spec.md corrections after f
|
|
|
124
124
|
prototypes in other phases. Do not create a design.md after approval. The approved document set is frozen. Never change any of it during builder, verifier, or simplifier
|
|
125
125
|
execution. Use any available tool for these permitted edits. Do not change other workflow artifacts.
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
During drafting-spec, create or update documentation in the project when needed for the current work, including README.md, CHANGELOG.md, and documentation under docs/
|
|
128
|
+
(such as ADRs and roadmap entries). Use existing tools without asking for separate approval to edit the files. The owner still makes decisions about the spec; record
|
|
129
|
+
those decisions without asking again for permission to edit the documentation. Do not describe planned work as shipped or mark roadmap work complete before owner
|
|
130
|
+
acceptance. Leave the edits in place if the spec is not approved.
|
|
131
|
+
|
|
132
|
+
This permission does not cover source code, agent instructions such as AGENTS.md, or protected workflow artifacts, even if stored under docs/. Do not edit the loaded
|
|
133
|
+
Maestro package's bundled documentation under this permission. Stop project documentation edits when the workflow leaves drafting-spec.
|
|
134
|
+
|
|
135
|
+
Run tests and checks to answer specification questions only when spec edits are permitted. Checks need no experiment approval if they leave product files and workflow
|
|
128
136
|
artifacts unchanged. Inspect command definitions before running them. Commands with automatic fixes require experiment approval, even if they change no files. Remove
|
|
129
137
|
temporary files created by checks. Preserve all pre-existing files and changes.
|
|
130
138
|
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: ADR
|
|
3
|
+
id: 'ADR-013'
|
|
4
|
+
title: 'Allow Maestro to edit project documentation during drafting'
|
|
5
|
+
status: active
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Context
|
|
9
|
+
|
|
10
|
+
- During drafting, `Maestro` can edit the active `spec` documents and prototypes, but not project documentation.
|
|
11
|
+
- Some changes need an ADR, a roadmap update, or other documentation before the `builder` starts.
|
|
12
|
+
- The `owner` has to make those edits outside the workflow or postpone them until implementation.
|
|
13
|
+
|
|
14
|
+
## Decision
|
|
15
|
+
|
|
16
|
+
- Allow `Maestro` to edit project documentation directly during `drafting-spec` when needed for the current work.
|
|
17
|
+
- Include `README.md`, `CHANGELOG.md`, and project documentation under `docs/`, including ADRs and roadmap entries.
|
|
18
|
+
- Do not require separate approval for documentation edits.
|
|
19
|
+
- Do not extend this permission to source code, agent instructions such as `AGENTS.md`, or workflow `artifacts` outside the existing drafting permissions.
|
|
20
|
+
|
|
21
|
+
## Alternatives considered
|
|
22
|
+
|
|
23
|
+
- **Rejected:** Allow routine documentation edits, but require `Maestro` to ask the `owner` before edits that record or change a decision.
|
|
24
|
+
- **Reason:** Interaction with `Maestro` must stay smooth. A separate checkpoint would interrupt `spec` drafting, even when the `owner` and `Maestro` are already
|
|
25
|
+
discussing the decision.
|
|
26
|
+
|
|
27
|
+
## Consequences
|
|
28
|
+
|
|
29
|
+
- Prerequisite documentation can be ready before `GREEN FLAG`.
|
|
30
|
+
- Documentation edits can remain in the project even if the `spec` is never approved.
|
|
31
|
+
- Changelog and roadmap updates must reflect the actual state of the project. Permission to edit the docs does not make planned work complete.
|
package/docs/adr/README.md
CHANGED
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
These records explain architectural choices, their context, and consequences. Each decision has its own file; existing IDs remain stable. Records preserve the context at
|
|
4
4
|
decision time, so later decisions may replace part or all of an earlier choice.
|
|
5
5
|
|
|
6
|
-
| ID | Decision
|
|
7
|
-
| ------- |
|
|
8
|
-
| ADR-001 | [Keep the workflow independent of Git](0001-keep-the-workflow-independent-of-git.md)
|
|
9
|
-
| ADR-002 | [Store escalation decisions in builder handoffs](0002-store-escalation-decisions-in-builder-handoffs.md)
|
|
10
|
-
| ADR-003 | [Route builder failures through owner escalations](0003-route-builder-failures-through-owner-escalations.md)
|
|
11
|
-
| ADR-004 | [Require Git only for the simplifier](0004-require-git-only-for-the-simplifier.md)
|
|
12
|
-
| ADR-005 | [Approve a specification document set as one contract](0005-approve-a-specification-document-set-as-one-contract.md)
|
|
13
|
-
| ADR-006 | [Maintain the roadmap in Linear](0006-maintain-the-roadmap-in-linear.md)
|
|
14
|
-
| ADR-007 | [Maintain the roadmap in the repository](0007-maintain-the-roadmap-in-the-repository.md)
|
|
15
|
-
| ADR-008 | [Use Pi's registry for model availability](0008-use-pis-registry-for-model-availability.md)
|
|
16
|
-
| ADR-009 | [Select optional phases in the transition table](0009-select-optional-phases-in-the-transition-table.md)
|
|
17
|
-
| ADR-010 | [Use the Pi SDK for sequential agent delegation](0010-use-the-pi-sdk-for-sequential-agent-delegation.md)
|
|
18
|
-
| ADR-011 | [Separate initial setup UI from configuration rules](0011-separate-initial-setup-ui-from-configuration-rules.md)
|
|
19
|
-
| ADR-012 | [Filter main Maestro registrations after native discovery](0012-filter-main-maestro-registrations-after-native-discovery.md)
|
|
6
|
+
| ID | Decision | Status |
|
|
7
|
+
| ------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
|
8
|
+
| ADR-001 | [Keep the workflow independent of Git](0001-keep-the-workflow-independent-of-git.md) | Superseded |
|
|
9
|
+
| ADR-002 | [Store escalation decisions in builder handoffs](0002-store-escalation-decisions-in-builder-handoffs.md) | Active |
|
|
10
|
+
| ADR-003 | [Route builder failures through owner escalations](0003-route-builder-failures-through-owner-escalations.md) | Active |
|
|
11
|
+
| ADR-004 | [Require Git only for the simplifier](0004-require-git-only-for-the-simplifier.md) | Active |
|
|
12
|
+
| ADR-005 | [Approve a specification document set as one contract](0005-approve-a-specification-document-set-as-one-contract.md) | Active |
|
|
13
|
+
| ADR-006 | [Maintain the roadmap in Linear](0006-maintain-the-roadmap-in-linear.md) | Superseded |
|
|
14
|
+
| ADR-007 | [Maintain the roadmap in the repository](0007-maintain-the-roadmap-in-the-repository.md) | Active |
|
|
15
|
+
| ADR-008 | [Use Pi's registry for model availability](0008-use-pis-registry-for-model-availability.md) | Active |
|
|
16
|
+
| ADR-009 | [Select optional phases in the transition table](0009-select-optional-phases-in-the-transition-table.md) | Active |
|
|
17
|
+
| ADR-010 | [Use the Pi SDK for sequential agent delegation](0010-use-the-pi-sdk-for-sequential-agent-delegation.md) | Active |
|
|
18
|
+
| ADR-011 | [Separate initial setup UI from configuration rules](0011-separate-initial-setup-ui-from-configuration-rules.md) | Active |
|
|
19
|
+
| ADR-012 | [Filter main Maestro registrations after native discovery](0012-filter-main-maestro-registrations-after-native-discovery.md) | Active |
|
|
20
|
+
| ADR-013 | [Allow Maestro to edit project documentation during drafting](0013-allow-maestro-to-edit-project-documentation-during-drafting.md) | Active |
|
|
20
21
|
|
|
21
22
|
When a decision is replaced, add a new record and link both records. Requirements and planned work belong in the [roadmap](../roadmap/README.md).
|