Skip to content

Test multi-sub-agent Review Agent - #3

Merged
ben-alkov merged 13 commits into
mainfrom
feat-review-agent-parallel-specialized-subagents
Jun 2, 2026
Merged

Test multi-sub-agent Review Agent#3
ben-alkov merged 13 commits into
mainfrom
feat-review-agent-parallel-specialized-subagents

Conversation

@ben-alkov

Copy link
Copy Markdown
Owner

No description provided.

The log messages in submitFormalReview() said "finding(s) omitted"
when out-of-diff findings could not be posted as inline comments.
This wording led agents to incorrectly conclude the findings were
irrelevant to the verdict. In reality, the GitHub API cannot accept
review comments on lines outside the PR diff — the findings
themselves remain valid and still influence the verdict.

Changes:
- postreview.go: Reword log messages from "finding(s) omitted: ..."
  to "inline comment(s) omitted (...) — findings still count toward
  verdict". Add a code comment explaining the GitHub API limitation.
- postreview_test.go: Update test assertions to match new messages.
- pr-review/SKILL.md: Add a "Findings vs inline comments" section
  documenting the pipeline: findings determine the verdict; inline
  comments are a delivery mechanism with GitHub API constraints.

Note: pre-commit could not run in sandbox (Go toolchain permission
error, exit 3). TestResolveLinuxBinary_Download failed due to
sandbox network restrictions (pre-existing, unrelated).

Closes fullsend-ai#1537
@ben-alkov
ben-alkov force-pushed the feat-review-agent-parallel-specialized-subagents branch 3 times, most recently from 5429f13 to 91af2bd Compare May 28, 2026 20:00
The botsend account used by e2e tests accumulates classic PATs over
time when test runs crash or time out before cleanup. Add a Playwright-
based script that paginates the GitHub tokens settings page, deletes
all expired tokens, and reports how many remain.

- hack/cleanup-pats: bash wrapper for manual use
- hack/cleanup-pats.go: Playwright Go program that deletes expired PATs
  via fetch+POST against each token's delete form
- .github/workflows/pat-cleanup.yml: weekly cron (Sundays 4am UTC)
  using the existing E2E_GITHUB_SESSION secret

Closes fullsend-ai#1683

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ralph Bean <rbean@redhat.com>
@ben-alkov
ben-alkov force-pushed the feat-review-agent-parallel-specialized-subagents branch 2 times, most recently from de617ba to 4224b6d Compare May 29, 2026 20:01
ggallen and others added 3 commits June 1, 2026 07:04
Introduces internal/resolve package that orchestrates fetch, cache,
validation, and audit logging for URL-referenced declarative harness
fields (agent, policy, skills). Modifies the harness in place,
replacing URLs with local cache paths. Phase 1: single-level only.

Moves NewTestPolicy to internal/fetch/fetchtest/ package for safe
cross-package test use, and fixes ResolveRelativeTo to skip
URL-valued fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Greg Allen <gallen@redhat.com>
Remove hack/cleanup-pats shell script and call
go run hack/cleanup-pats.go from the workflow step.

Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ralph Bean <rbean@redhat.com>
The previous commit deleted the bash wrapper but missed updating
the workflow step that invoked it.

Assisted-by: Claude claude-opus-4-6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Ralph Bean <rbean@redhat.com>
@ben-alkov
ben-alkov force-pushed the feat-review-agent-parallel-specialized-subagents branch from 4224b6d to cfbe17f Compare June 1, 2026 14:59
ben-alkov added 3 commits June 1, 2026 11:07
Single-pass monolithic review cannot scale depth with PR complexity.
Specialized sub-agents let the orchestrator fan out independent
dimensions concurrently, each with model pinning tuned to its task.

Assisted-by: Claude Code (Opus 4.6)
Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
Single-pass review misses domain-specific issues and cannot scale
review depth with PR complexity. Orchestrator pattern enables parallel
specialist dispatch across nine review dimensions.

Assisted-by: Claude Code (Opus 4.6)
Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
The orchestrator dispatches docs-review as a sub-agent, but docs-review
also dispatches its own sub-agent. Without context detection via
REVIEW_SUB_AGENT_TRUE, this creates wasteful nested dispatch.

Assisted-by: Claude Code (Opus 4.6)
Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
@ben-alkov
ben-alkov force-pushed the feat-review-agent-parallel-specialized-subagents branch from cfbe17f to 0681c7d Compare June 1, 2026 15:07
Assisted-by: Claude Code (Opus 4.6)
Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
@ben-alkov
ben-alkov force-pushed the feat-review-agent-parallel-specialized-subagents branch from 0681c7d to 0c8944b Compare June 1, 2026 15:24
ggallen and others added 4 commits June 1, 2026 16:16
…solver

feat: add resource resolver for URL-referenced harness resources
…parallel-specialized-subagents

feat(review): parallel specialized sub-agents for PR review
…fy-findings-vs-comments

docs(fullsend-ai#1537): clarify findings vs inline comments distinction
…nd-pats

ci: add weekly cleanup of expired e2e PATs
@ben-alkov
ben-alkov merged commit 027de9f into main Jun 2, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants