Skip to content

chore(#583): inherit upstream REVIEW_FINDING_SEVERITY_THRESHOLD - #584

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/583-inherit-review-severity-threshold
Open

fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/583-inherit-review-severity-threshold

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

Drop the per-repo REVIEW_FINDING_SEVERITY_THRESHOLD: "high" override from .fullsend/customized/harness/review.yaml so the upstream default (low) applies via layered-config deep merge. This is option (1) from issue #583.

Why

On PR #582 (a security-sensitive change to .github/workflows/preview.yaml), the fullsend review posted zero correctness or security findings while CodeRabbit caught a fork-origin guard regression on the prepare job. The high-only threshold was the mechanism: it was discarding every sub-agent finding below high.

Verification of the pinned base harness

I read scripts/post-review.sh at fullsend-ai/agents@ce2eedd097dcccf17e29f4a7cd337ec4d95d7194 to answer the triage's open question about whether the [protected-path] medium that posted on PR #582 bypassed the filter via a category exemption:

  • Severity filter (around line 726) — a single jq pass keeps only findings whose severity rank is >= the configured threshold. There is no exception for any category.
  • Protected-path finding (around line 875) — appended by the post-script after the severity filter runs, so it survives any threshold. That is why it reached the comment on PR Harden Cloudflare preview deployments #582; it is not evidence of a category exemption.

Consequence: option (3) in the issue (per-category exemption) is not available at the pinned harness commit. Options (1) and (2) are the only choices, and this PR implements (1).

Change

-env:
-    runner:
-        REVIEW_FINDING_SEVERITY_THRESHOLD: "high"
-    sandbox:
-        REVIEW_FINDING_SEVERITY_THRESHOLD: "high"
+# REVIEW_FINDING_SEVERITY_THRESHOLD is intentionally NOT overridden here —
+# inherit the upstream default ("low") from the base harness.
+# <rationale comment with cross-references to post-review.sh>

The upstream harness sets REVIEW_FINDING_SEVERITY_THRESHOLD: "low" for both runner and sandbox. Layered-config deep merge is already relied on in this file: the previous partial override set only this one key and left REVIEW_PROTECTED_PATHS and REPO_FULL_NAME to the upstream env.runner / env.sandbox blocks. The protected-path check continued to work on PR #582, confirming the merge is deep rather than a whole-block replace. readonly_repo: true is retained explicitly as before (its inline comment explains why).

Testing

  • python3 -I -c "import yaml; yaml.safe_load(open('.fullsend/customized/harness/review.yaml'))" parses the file; base and readonly_repo remain the only top-level keys and env is correctly absent.
  • scan-secrets on the changed file and on the staged diff passed (no secret material).
  • No test suite covers this file; validation is observational per the acceptance criteria in the issue.

Follow-up

If signal noise is too high after one week of observation, the file contains an inline note on how to step up to option (2) by reintroducing env.runner / env.sandbox with "medium".


Closes #583

Post-script verification

  • Branch is not main/master (agent/583-inherit-review-severity-threshold)
  • Secret scan passed (gitleaks — c7ab8183da33a46616bfd099ec792f9b551d3039..HEAD)
  • PR body secret scan passed (gitleaks — no-git)

The per-repo review harness override previously pinned
REVIEW_FINDING_SEVERITY_THRESHOLD to "high" for both runner and
sandbox. On PR #582 (a security-sensitive change to
.github/workflows/preview.yaml) that override caused the fullsend
review to post zero correctness or security findings while a
competing bot caught a fork-origin guard regression on the
`prepare` job.

Verified behavior of scripts/post-review.sh in the pinned base
harness fullsend-ai/agents@ce2eedd:

  * The severity filter (jq pass around line 726) is absolute: it
    drops every finding below the threshold with no category-based
    exemption. A `high`-only threshold therefore discards all
    `low` and `medium` findings from the correctness, security,
    intent-coherence and style-conventions sub-agents.
  * The `[protected-path]` medium that reached the comment on
    PR #582 does not evidence a category exemption. It is appended
    by the post-script itself after severity filtering (around
    line 875), so it survives any threshold.

A per-category exemption (issue #583 option 3) is therefore not
available at the pinned harness commit. This change drops the
override entirely (issue #583 option 1) so the upstream default
`low` applies via layered-config deep merge — the previous
partial override, which set only REVIEW_FINDING_SEVERITY_THRESHOLD
and relied on the upstream REVIEW_PROTECTED_PATHS, already proved
the merge is deep. readonly_repo: true is retained explicitly for
the bool-merge reason already documented in the file.

If signal noise becomes too high after one week of observation,
step up to "medium" for both runner and sandbox (option 2) by
adding env.runner and env.sandbox back with that value; a comment
in the file points at that follow-up.

Closes #583

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner October 11, 2026 12:55
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Triggers review agent dispatch label Oct 11, 2026
@coderabbitai

coderabbitai Bot commented Oct 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3d9bb182-92c2-4c5f-b269-f0d5a6b4fc16

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview is available at https://dd897497.enterprise-contract.pages.dev

@fullsend-ai-review fullsend-ai-review Bot added the risk/low PR risk: low label Oct 11, 2026
@fullsend-ai-review

Copy link
Copy Markdown

Risk Assessment: low (1/5)

Details

Single config file change by a bot removing a YAML override, with no protected paths, no security sensitivity, no CI workflow impact, and direct 1-to-1 alignment with the linked bug issue — all signals uniformly low.

@fullsend-ai-review

Copy link
Copy Markdown

Looks good to me

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Oct 11, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge All reviewers approved — ready to merge ready-for-review Triggers review agent dispatch risk/low PR risk: low size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconsider REVIEW_FINDING_SEVERITY_THRESHOLD="high" override in .fullsend/customized/harness/review.yaml

0 participants