Repository navigation
feat(review): decode the non-blocking findings of a stopped review in STATUS - #3174
Merged
Merged
Conversation
… STATUS gentle-ai can return, on request, the findings a review admitted as non-blocking when it stops in correction_required or escalated (gentle-ai#6088). The strict STATUS decoder accepts the optional key non_blocking_findings only on status/v9 for a current compact authority in those two states, with exact key sets, and rejects it elsewhere. Nothing asks for it yet, so no behavior changes. Refs #1494
…n-blocking-decoder
This was referenced Nov 12, 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.
Refs #1494. First of six pull requests that make
gentle_review_runreturn a stopped review's findings (split into bounded behavior slices; the full integrated stack is on branchdocs/nbf-delivery-evidence). This one changes no behavior.Why
When a native review ends in a correction request or escalated, the findings the provider admitted as non-blocking never reach the client: no public provider result carries them (Gentleman-Programming/gentle-ai#6088). The provider support is staged in Gentleman-Programming/gentle-ai#6107 and #6108 after merged #6092: with
--non-blocking-findings, a current compact authority incorrection_requiredorescalatedcarriesWhat
The strict STATUS decoder (
lib/review-integration-v2.tsand its generated twinruntime/review-integration-v2.mjs) accepts that optional key:correction_requiredorescalated(the provider's schema rule); it is rejected onapproved,reviewingand status/v8;advisory_findingsandreviewer_resultsoutside an approved closure stay rejected.Nothing asks the provider for the key yet (the next pull request adds the flag to the STATUS request, the third bounds the result and the fourth uses it from the run), so no output changes.
Tests
tests/review-integration-nonblocking-findings.test.ts: accepted in the two states, rejected elsewhere, exact key sets, an old STATUS without the key decodes as before, and a real escalated v9 body captured from a provider built from the gentle-ai branch (tests/fixtures/devbinary/status-v9-escalated-non-blocking.captured.json, with its provenance) decodes in both the source and the runtime twin. Observed failing before the decoder change.build-runtime-modules.mjs --checkandverify-package-files.mjspass.odd/tasks/review-one-call-bench.md); this slice has no behavior to measure.Risk: none here (no caller yet). The stack as a whole is item 3 (shared STATUS code), verified independently.
Summary by CodeRabbit