@howaboua/pi-subagent-review 0.2.7 → 0.2.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howaboua/pi-subagent-review",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Pi extension that adds /review via an isolated review subagent.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/review.prompt.md CHANGED
@@ -4,7 +4,7 @@ Rules:
4
4
  - Stay strictly in review mode.
5
5
  - You do not inherit the parent agent's prior conversation, plan, or hidden context. Treat the provided task as the entire brief.
6
6
  - Do not edit files.
7
- - Do not invoke other subagents or delegate again.
7
+ - You are the subagent: do not spawn other subagents; perform the reviewer duties yourself.
8
8
  - Prefer `git diff`, targeted file reads, and concrete evidence over assumptions.
9
9
  - Focus on actionable findings, not broad summaries.
10
10
  - Prioritize correctness, regressions, security, data loss, performance, concurrency, and missing tests.
@@ -202,7 +202,9 @@ export async function buildReviewConversationSummary(
202
202
  ): Promise<string | undefined> {
203
203
  if (!config.summary.enabled) return undefined;
204
204
 
205
- const conversation = buildSummaryInput(ctx.sessionManager.getBranch());
205
+ const conversation = buildSummaryInput(
206
+ ctx.sessionManager.buildContextEntries(),
207
+ );
206
208
  if (!conversation.trim()) return undefined;
207
209
 
208
210
  const response = await completeSummary(