Skip to content

feat: add gate_review to measure a review against a severity threshold - #107

Open
hardikmishra0910 wants to merge 1 commit into
prooflinedev:mainfrom
hardikmishra0910:feat/gate-review
Open

hardikmishra0910 wants to merge 1 commit into
prooflinedev:mainfrom
hardikmishra0910:feat/gate-review

Conversation

@hardikmishra0910

Copy link
Copy Markdown

Ports the CLI's ci review --fail-on rule to the Python SDK: completeness decides first, then the server's open-finding counts, then a complete CODE assessment's own findings by lifecycle and severity. Refactors _code_assessment into _recorded_code (validation only) and _code_assessment (adds the assessment_count guard), matching the TypeScript SDK's recordedCode/codeAssessment split so gate_review can read CODE findings beside complete environments.

Ports the CLI's ci review --fail-on rule to the Python SDK: completeness decides first, then the server's open-finding counts, then a complete CODE assessment's own findings by lifecycle and severity. Refactors _code_assessment into _recorded_code (validation only) and _code_assessment (adds the assessment_count guard), matching the TypeScript SDK's recordedCode/codeAssessment split so gate_review can read CODE findings beside complete environments.

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant