fix review reply trigger: treat replies to Pullfrog threads as implicit triggers, only add eyes reaction when dispatching

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Colin McDonnell
2026-02-24 19:28:08 +00:00
committed by pullfrog[bot]
parent edd240f535
commit 52ec35790a
3 changed files with 7 additions and 28 deletions
+4 -6
View File
@@ -141651,10 +141651,8 @@ function DelegateTool(ctx) {
const outcome = settled[i];
const error49 = outcome.status === "rejected" ? String(outcome.reason) : outcome.value.error;
const result = buildTaskResult(entry.task.label, entry.effort, entry.subagent, error49);
log.info(
`\xBB task "${entry.task.label}" ${result.success ? "succeeded" : "failed"}:
${result.summary}`
);
const status = result.success ? "succeeded" : "failed";
log.box(result.summary, { title: `task "${entry.task.label}" ${status}` });
return result;
});
const succeeded = results.filter((r) => r.success).length;
@@ -144281,8 +144279,7 @@ function buildCommonTools(ctx) {
FileWriteTool(ctx),
FileEditTool(ctx),
FileDeleteTool(ctx),
ListDirectoryTool(ctx),
ReportProgressTool(ctx)
ListDirectoryTool(ctx)
];
if (ctx.payload.shell === "restricted") {
tools.push(ShellTool(ctx));
@@ -144293,6 +144290,7 @@ function buildCommonTools(ctx) {
function buildOrchestratorTools(ctx) {
return [
...buildCommonTools(ctx),
ReportProgressTool(ctx),
SelectModeTool(ctx),
DelegateTool(ctx),
AskQuestionTool(ctx),