Repository navigation
feat(assessment): batch adjudication and support skill-file follow-ups - #116
Merged
Merged
Conversation
Review findings in batches of twenty, preserving original identities and combining validated results into one adjudication. Allow one supporting-file request per batch and share supplied context with subsequent batches. Expose the assessment and adjudication workflows to Python consumers. Align scanner deadlines, raise the configurable completion allowance, and keep CLI option definitions and recovery guidance consistent. Validation: 236 Python tests, Ruff, installed-wheel checks, and a live gateway smoke test covering batched adjudication and a supporting-file follow-up.
Apply the repository's single-line prose formatting to the added README paragraphs without changing their content. Validation: npm run markdown:check, npm run markdown:lint, and git diff --check.
Require both package-defined Markdown checks with lockfile-installed tools whenever Markdown changes. Validation: npm run markdown:check; npm run markdown:lint; git diff --check.
Preserve actionable, sanitized timeout causes for urllib connection failures. Extend public failure coverage and remove the hypothetical option-renaming test. Check the scanner prerequisite once on each fresh or reused assessment path. Validation: 237 tests passed with a compatible scanner, including static integration; Ruff and diff checks passed. Independent follow-up review found no further issues.
Group validated findings by determination even when a later batch fails. Keep uncertain and unadjudicated findings unresolved and preserve the incomplete-assessment safety warning. Strengthen the existing partial-failure workflow test with mixed determinations and summary counts. The regression failed before the fix; all 22 batch and summary tests now pass. Full Python suite: 236 passed, one real-scanner prerequisite failure also reproduced on the unchanged PR revision. Ruff and diff checks pass. Skills: implement, durable-behavior-tests, code-review. Reviewed 20 changed lines against the reported behavior and repository standards; no additional findings or checkpoint additions to remove. No maintainer corrections yet. Scanner/model boundaries are mocked for the regression; no live gateway exercised.
Use the combined verdict and finding totals for new multi-batch assessments. Extend the existing batch test to cover an early approval followed by a caution.
Keep the existing batch, follow-up, and failure tests as the regression coverage for new reviews. Continue with readable evidence and retry only the interrupted request once.
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.
Why
Large finding sets can produce unwieldy adjudication responses, while reviewing only
SKILL.mdleaves relevant supporting code unavailable. Assessment callers also need consistent execution limits and actionable failure messages.What changed
assess()andadjudicate()Python entry points.>=2.11.2,<3. Default to a 600-second process/request timeout, a scanner workflow deadline at 90% of that timeout unless overridden, and a configurable 32,768-token adjudication allowance. Honor configured reasoning effort.How to verify
Known gaps
Live gateway verification covered one OpenAI-compatible endpoint; the other supported gateway protocols were exercised through automated tests.