Repository navigation
feat(review): PR summary and committable suggestion blocks (v15) - #13
Merged
Merged
Conversation
The review model now returns an object envelope {summary, findings} in the
same billable call, so the review body opens with a 2-4 sentence PR summary
walkthrough (prepended above the branding, degraded to the static body when
absent). Findings whose fix is a concrete edit to the anchored added line
carry a suggestion that the payload emits as a GitHub committable suggestion
block (fence-injection and >500-char values dropped at the trust boundary).
Also fixes the delivery worker to run the durably queued prompt version via
dataclasses.replace, so PROMPT_VERSION (now v15) is what actually executes and
the executed prompt matches the job's cache key.
dooodledad
force-pushed
the
feat/pr-summary-suggestions
branch
from
December 2, 2026 18:46
40c7195 to
8c14b21
Compare
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two coupled review-quality features, delivered together because they share the
single
v15prompt version and the worker's queued-version enablement fix:PR summary (matrix #1). The
v15prompt returns an object envelope{"summary": ..., "findings": [...]}in the SAME billable call (zero extraRPC, spend attestation untouched). The review body opens with the summary
above the branding, degraded to the static body when absent — a missing
summary never blocks a review.
Committable suggestions (matrix #5). Findings whose fix is a concrete edit
to the anchored added line carry a
suggestion; the payload emits it as aGitHub
suggestionblock you can apply in one click. Fence-injection andEnablement fix. The delivery worker now runs the durably queued prompt
version via
dataclasses.replaceinstead of the env default (which wasv6).Without this,
PROMPT_VERSION(nowv15) was stamped on the queue but theworker executed a different prompt, so the summary/suggestions never fired. Now
the executed prompt always matches the job's cache key.
Why
Both are "all 3 competitors have it" gaps from the feature-matrix plan.
Behavior
PROMPT_VERSIONbumped v13 → v15; new tolerant parser falls back to the v8array path, so a model emitting a bare array (or garbage) still yields
findings. Every other prompt version is untouched.
pr-mutation pattern, stored in the reviewresult, and survives crash-recovery resume.
Tests
and the posted review body + stored dry-run result.
emission.
Full suite: 554 passed, 2 skipped.