make incremental reviews silent (suppress progress comments)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Colin McDonnell
2026-03-05 21:11:34 +00:00
committed by pullfrog[bot]
parent 734e8197db
commit 808849fcc8
7 changed files with 33 additions and 14 deletions
+7 -5
View File
@@ -141043,7 +141043,9 @@ async function checkoutPrBranch(pullNumber, params) {
log.debug(`already on PR branch ${localBranch}, skipping checkout`);
} else {
log.debug(`\xBB fetching base branch (${baseBranch})...`);
$git("fetch", ["--no-tags", "origin", baseBranch], {
const isShallow = $("git", ["rev-parse", "--is-shallow-repository"], { log: false }).trim();
const baseFetchArgs = isShallow === "true" ? ["--deepen=1000", "--no-tags", "origin", baseBranch] : ["--no-tags", "origin", baseBranch];
$git("fetch", baseFetchArgs, {
token: gitToken,
restricted: shell !== "enabled"
});
@@ -141058,7 +141060,9 @@ async function checkoutPrBranch(pullNumber, params) {
}
if (alreadyOnBranch) {
log.debug(`\xBB fetching base branch (${baseBranch})...`);
$git("fetch", ["--no-tags", "origin", baseBranch], {
const isShallow = $("git", ["rev-parse", "--is-shallow-repository"], { log: false }).trim();
const baseFetchArgs = isShallow === "true" ? ["--deepen=1000", "--no-tags", "origin", baseBranch] : ["--no-tags", "origin", baseBranch];
$git("fetch", baseFetchArgs, {
token: gitToken,
restricted: shell !== "enabled"
});
@@ -143145,7 +143149,7 @@ var SetOutputParams = type({
function SetOutputTool(ctx) {
return tool({
name: "set_output",
description: "Set the action output. When called by a subagent, returns a summary result to the orchestrator. When called in standalone mode, exposes the value as the 'result' GitHub Action output.",
description: "Set the action output. When called by a subagent, returns a summary result to the orchestrator \u2014 this is the ONLY way to pass results back. When called by the orchestrator in standalone mode (trigger: unknown), exposes the value as the 'result' GitHub Action output for downstream workflow steps. Do NOT use this for progress reporting \u2014 use report_progress instead.",
parameters: SetOutputParams,
execute: execute(async (params) => {
const selfId = ctx.toolState.selfSubagentId;
@@ -147359,8 +147363,6 @@ To investigate questions, prefer \`${ghPullfrogMcpName}/ask_question\` over \`${
After each \`delegate\` call, you receive a \`results\` array \u2014 one entry per task with \`label\`, \`success\`, \`summary\` (from set_output), and \`stdoutFile\` (inspectable via \`${ghPullfrogMcpName}/file_read\`). Follow the post-delegation steps from the select_mode guidance.
When all delegations are complete, call \`${ghPullfrogMcpName}/set_output\` with the final result. This makes it available as the GitHub Action output.
### Subagent capabilities
Subagents have: file operations, shell (for local git, tests, builds), read-only GitHub queries, and upload_file. They do NOT have: \`git\`, \`checkout_pr\`, \`push_branch\`, \`create_pull_request\`, \`create_pull_request_review\`, \`report_progress\`, \`create_issue_comment\`, \`reply_to_review_comment\`, \`resolve_review_thread\`, \`delegate\`, \`ask_question\`, or any dependency/remote-mutating tools. All GitHub-write and state-mutating operations are your responsibility.