@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 +1 -1
- package/review.prompt.md +1 -1
- package/src/conversation-summary.ts +3 -1
package/package.json
CHANGED
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
|
-
-
|
|
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(
|
|
205
|
+
const conversation = buildSummaryInput(
|
|
206
|
+
ctx.sessionManager.buildContextEntries(),
|
|
207
|
+
);
|
|
206
208
|
if (!conversation.trim()) return undefined;
|
|
207
209
|
|
|
208
210
|
const response = await completeSummary(
|