Repository navigation
Conversation
Member
|
Codex Please split the cited-file improvement from the new check-outcome/lifecycle feed. Keep supported citations and align incomplete/environment output with the current Kian contract and quiet-output policy. Resolve the conflicts with main and rerun both required checks on that smaller change. |
This branch has not been deployed
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.
Summary
Surfaces deterministic check evidence (
CustomerCheck.files) and non-clean check outcomes in terminal review summaries while holding the CLI's typed models to the public OpenAPI contract introduced in #31.Who This Helps
Engineers inspecting a review in the terminal (
proofline review,proofline findings,proofline ci review,proofline rerun) previously sawproduction: COMPLETED (incomplete: CHECKS_UNRESOLVED)with no indication of which check failed to settle or which repository files World read, and an assessment with zero narrative findings alongside aBLOCKEDgating check printedproduction: COMPLETED, no findingswithout naming the blocked check. Surfacing non-ready checks and their cited files lets engineers see which Terraform, workflow, or configuration files at the proposed commit (proposed) vs merge base (base) drove the check result without switching to--json.Decisions Made
src/model.rs,tests/contract.rs): AddedUntrustedTextandCheckFile, added#[serde(default)] pub files: Vec<CheckFile>onCheckso older recorded reviews withoutfilesstill decode cleanly, and addedholds::<CheckFile>("CheckFile")andholds::<UntrustedText>("UntrustedText")to the contract suite.src/render.rs,src/outcome.rs): Clean checks (READYandNOT_APPLICABLEunder a known evaluator lifecycle) stay quiet so clean runs gain no noise;BLOCKED,UNRESOLVED,UNAVAILABLE,NOT_ASKED, or unknown-lifecycle checks print their outcome, name, lifecycle, optionalunresolved_reason, and cited files. When an assessment has zero narrative findings alongside one or more blocked checks, the summary header qualifiesno findings (N blocked check[s])instead of reading as clean.one_line()so control characters or terminal escape sequences in repository paths cannot manipulate the terminal, andcheck.detail(which can carry protected World environment values) is never printed in text summaries (retaining parity with the Python SDK behavior inprooflinedev/sdk-python#23).Verification
cargo fmt --checkcargo clippy --locked --all-targets -- -D warningscargo test --locked(including new contract assertions intests/contract.rs, unit coverage insrc/render.rs, and an end-to-end loopback HTTP test intests/http.rsverifyingfindings --reviewtext and--jsonoutput, ANSI escape neutralization, andcheck.detailredaction)