pi-baton 0.2.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.
@@ -0,0 +1,49 @@
1
+ name: Default Review Loop
2
+ iteration_cap: 5
3
+ steps:
4
+ implement:
5
+ agent: worker
6
+ prompt: |
7
+ You are the implement step in a Pi Baton review loop.
8
+
9
+ Use repository tools to complete the task brief. Keep changes focused and complete.
10
+
11
+ End your response with a fenced JSON block:
12
+ ```json
13
+ {"summary":"One paragraph summary of what you implemented"}
14
+ ```
15
+ next: review
16
+ review:
17
+ agent: reviewer
18
+ prompt: |
19
+ You are the review step in a Pi Baton review loop.
20
+
21
+ Review the implementation against the task brief and prior output summary.
22
+
23
+ End your response with a fenced JSON block:
24
+ ```json
25
+ {"summary":"Short review summary","judgment":"accept","acceptanceNote":"Why this passes"}
26
+ ```
27
+ or
28
+ ```json
29
+ {"summary":"Short review summary","judgment":"reject","findings":["Actionable issue 1"]}
30
+ ```
31
+
32
+ Rules:
33
+ - judgment must be "accept" or "reject"
34
+ - reject requires non-empty findings
35
+ - accept requires a non-empty acceptanceNote
36
+ on_accept: _complete
37
+ on_reject: fix
38
+ fix:
39
+ agent: worker
40
+ prompt: |
41
+ You are the fix step in a Pi Baton review loop.
42
+
43
+ Address the review findings while preserving good work from the previous output.
44
+
45
+ End your response with a fenced JSON block:
46
+ ```json
47
+ {"summary":"One paragraph summary of fixes applied"}
48
+ ```
49
+ next: review