pi-cohort 7.0.1 → 7.0.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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/prompts/investigate.md +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.0.2] - 2026-09-20
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- `/investigate` runs the verification wave right after the wave-1 draft instead of asking "Run the verification tasks?": every wave is read-only, so the request already authorizes the whole run. The brief prints once, with `### Verified` filled in.
|
|
8
|
+
|
|
3
9
|
## [7.0.1] - 2026-09-17
|
|
4
10
|
|
|
5
11
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-cohort",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Delegate Pi work to focused child agents: code review, scouting, implementation, parallel audits, saved chains, and background jobs.",
|
|
5
5
|
"author": "Jacek Juraszek",
|
|
6
6
|
"license": "MIT",
|
package/prompts/investigate.md
CHANGED
|
@@ -17,6 +17,7 @@ $@
|
|
|
17
17
|
- Write nothing into the repository. The brief goes to `--out` if given (relative resolves against cwd), else `$DIR/brief.md`.
|
|
18
18
|
- A question whose answer is in code, docs, or the tracker is not asked; it is looked up in wave 1 or wave 2.
|
|
19
19
|
- A verification task that would run, build, or validate the proposed change is rejected at brief-writing time. Wave 2 exercises the system as it is today.
|
|
20
|
+
- No human gate between waves: the request is the approval for the whole investigation, and every wave is read-only.
|
|
20
21
|
|
|
21
22
|
## Wave 1
|
|
22
23
|
|
|
@@ -40,12 +41,12 @@ A task that errored or left its output empty -> its section reads `<agent> faile
|
|
|
40
41
|
|
|
41
42
|
## Brief
|
|
42
43
|
|
|
43
|
-
Read the outputs and
|
|
44
|
+
Read the outputs and draft, section names fixed:
|
|
44
45
|
|
|
45
46
|
```markdown
|
|
46
47
|
# Investigation: <slug>
|
|
47
48
|
## Request
|
|
48
|
-
## Findings (cited; `### Verified`
|
|
49
|
+
## Findings (cited; `### Verified` holds wave 2 results)
|
|
49
50
|
## External context (only when context-builder ran; unreadable refs listed)
|
|
50
51
|
## Premise check (Confirmed / Contradicted / Unverified - one line each, cited)
|
|
51
52
|
## Open questions (numbered; each ends with `Recommendation: <answer> - <why>`)
|
|
@@ -53,8 +54,6 @@ Read the outputs and write, section names fixed:
|
|
|
53
54
|
## Next steps (suggestions only; no implementation task decomposition)
|
|
54
55
|
```
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
## Wave 2
|
|
57
58
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Ask: "Run the verification tasks?" No -> stop. Yes -> one call `subagent({ async: false, context: "fresh", tasks })`, one task per verification task, `scout` by default or `reviewer` when judgement is needed, each task text containing the phrase "read-only", `reads: false`, absolute `output` under `$DIR`. Fold results into `## Findings` under `### Verified` and rewrite the brief at the same path.
|
|
59
|
+
Runs immediately after the draft; no ask. One call `subagent({ async: false, context: "fresh", tasks })`, one task per verification task, `scout` by default or `reviewer` when judgement is needed, each task text containing the phrase "read-only", `reads: false`, absolute `output` under `$DIR`. No verification tasks -> skip the wave and omit `### Verified`. Fold results into `## Findings` under `### Verified`, write the brief, and print the path and the brief once.
|