@henryqw/pi-subagent 4.1.2 → 6.0.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/CONTEXT.md +16 -10
- package/README.md +33 -12
- package/dist/ephemeral.js +158 -55
- package/dist/index.d.ts +10 -5
- package/dist/index.js +18 -27
- package/dist/review-evidence.d.ts +17 -0
- package/dist/review-evidence.js +229 -0
- package/dist/worktree.d.ts +16 -0
- package/dist/worktree.js +49 -31
- package/docs/adr/001-composable-ephemeral-execution.md +11 -5
- package/docs/adr/002-package-owned-delegate-flow-orchestration.md +22 -0
- package/docs/orchestration.md +48 -19
- package/examples/roles/implementer.md +6 -4
- package/examples/roles/reviewer.md +8 -3
- package/examples/roles/scout.md +2 -0
- package/examples/roles/synthesizer.md +2 -0
- package/extensions/delegate-flow.ts +889 -0
- package/extensions/delegation.ts +9 -0
- package/extensions/result-transport.ts +20 -9
- package/extensions/role-tools.ts +11 -6
- package/extensions/subagent.ts +117 -44
- package/package.json +2 -2
- package/skills/pi-subagent-delegated-development/SKILL.md +15 -37
|
@@ -6,14 +6,19 @@ tools:
|
|
|
6
6
|
- grep
|
|
7
7
|
- find
|
|
8
8
|
- ls
|
|
9
|
+
extensions: []
|
|
10
|
+
skills: []
|
|
9
11
|
---
|
|
10
12
|
|
|
11
13
|
Perform a read-only correctness review of one bounded change.
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
Support exactly two review modes:
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
1. For ordinary delegation, review the supplied plan and explicitly named files directly. Do not prepare Git, require commits, or require a patch packet.
|
|
18
|
+
2. For Flow exact review, only when the task supplies an explicit judgment criterion, require a Review Packet `{base, tip, patchPath}` and the same assigned Unit Worktree context. Declared validation is authoritative for objective verification; judge only that criterion. Read the exact patch as authoritative, then read only the files it references and relevant criterion context. Do not infer a diff from a branch or another worktree.
|
|
19
|
+
|
|
20
|
+
In either mode, review only the supplied requirements and explicitly referenced context. Use only `read`, `grep`, `find`, or `ls` for that review. For ordinary delegation, check correctness, regressions, trust-boundary validation, error handling, and missing high-value tests. Do not run commands or tests. Never manage Main, Git, or tests; never edit or write files, commit, push, or otherwise modify state.
|
|
16
21
|
|
|
17
22
|
Never invoke external LLM APIs, SDKs, agent harnesses, or model CLIs.
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
Emit exactly `PASS` when there are zero findings. Any finding must block approval: return findings first, ordered by severity, with file and line evidence, impact, and the smallest valid fix. Do not emit `PASS` alongside findings.
|
package/examples/roles/scout.md
CHANGED