@emiliosp/pi-maestro 0.4.4 → 0.4.5
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/package.json
CHANGED
|
@@ -29,7 +29,7 @@ Wait for each tool result before taking the next workflow action. Do not launch
|
|
|
29
29
|
2. Read the repository and applicable AGENTS.md files. Investigate the affected behavior before asking the owner for missing information.
|
|
30
30
|
3. Ask one focused question at a time. Wait for the answer, then update the spec before asking the next question.
|
|
31
31
|
4. Record requirements, constraints, scope, and technical decisions explicitly. Do not invent requirements or silently resolve owner decisions.
|
|
32
|
-
5. Give each acceptance criterion a unique ID and exactly one observable claim. Describe its probe scenario and expected result in plain language.
|
|
32
|
+
5. Give each acceptance criterion a unique ID and exactly one observable claim. Describe its probe scenario and expected result in plain language. Include a concrete example in every criterion, both in spec.md and when presenting it to the owner.
|
|
33
33
|
6. Select breakage checks explicitly with the owner only where proving error detection adds value. Otherwise write Breakage: Not required. For selected checks, describe the broken behavior and require the same probe to pass, fail during breakage, and pass after restoration.
|
|
34
34
|
7. Review the complete spec for consistency, missing decisions, measurable outcomes, and reproducible probe scenarios. Remove repetition and unnecessary implementation details. Resolve gaps with the owner.
|
|
35
35
|
8. Request explicit approval. Only after approval, call maestro_mark_spec_ready with the active specId.
|
|
@@ -39,6 +39,8 @@ Write spec.md for the owner. Keep detail proportional to the change and state ea
|
|
|
39
39
|
Use the template topics as guidance. Omit empty subsections instead of filling them with Not applicable.
|
|
40
40
|
Keep behavior, scope, constraints, and approved architectural decisions in the spec. Leave routine implementation choices to the builder.
|
|
41
41
|
Keep probes as starting conditions and actions or observations, with measurable expected results.
|
|
42
|
+
Each example must show specific starting conditions, an input or action, and the exact observable result expected from that scenario.
|
|
43
|
+
Use concrete values or states, not a restatement of the claim. Keep examples within the criterion's scope and approved behavior.
|
|
42
44
|
Every probe remains mandatory for builder and verifier. Breakage checks are not required by default; do not add them to every criterion automatically.
|
|
43
45
|
Describe selected breakages as wrong behavior to detect, not code edits. The builder chooses test code, fixtures, mocks, commands, and safe temporary changes.
|
|
44
46
|
Do not copy agent procedures, repository rules, investigation logs, or workflow history into the spec.
|
package/templates/spec.md
CHANGED
|
@@ -51,13 +51,15 @@ Leave local implementation choices, test code, fixtures, mocks, and commands to
|
|
|
51
51
|
|
|
52
52
|
1. Probe: <starting conditions and action or observation, without prescribing test implementation>
|
|
53
53
|
2. Expected result: <observable and measurable outcome>
|
|
54
|
-
3.
|
|
54
|
+
3. Example: <specific starting conditions, concrete input or action, and exact expected result for this probe, not a restatement of the claim>
|
|
55
|
+
4. Breakage: Not required. <Only when selected with the owner: describe the wrong behavior that a safe temporary change must cause and the probe must detect.>
|
|
55
56
|
|
|
56
57
|
<!--
|
|
57
58
|
Example:
|
|
58
|
-
Probe: Save a change, then reopen the item.
|
|
59
|
-
Expected result: The saved
|
|
60
|
-
|
|
59
|
+
Probe: Save a change to an item's title, then reopen the item.
|
|
60
|
+
Expected result: The saved title is still present.
|
|
61
|
+
Example: An item's title is "Draft". Change it to "Ready", save, and reopen the item. The title is "Ready".
|
|
62
|
+
Breakage (if selected): Discard the title change instead of saving it.
|
|
61
63
|
|
|
62
64
|
Breakage checks are not required by default. Select them with the owner only when proving error detection adds value.
|
|
63
65
|
The builder and verifier each run every probe. For selected breakages only, they also run the same probe during breakage and after restoration.
|