Repository navigation
Record old Security review findings privately - #594
Merged
Merged
Conversation
Preserve whole-Spec guidance Security reviews alongside private recording of pre-existing findings. Update the Spec review fixtures for the private report, pre-existing count, and pinned published merge base. Validation: cargo check --all-targets; cargo clippy --all-targets -- -D warnings; cargo fmt --check; UPDATE_PROMPTS=1 cargo test prompts_page; cargo test --no-fail-fast (1630 passed, 0 failed, 1 ignored).
This was referenced Oct 9, 2026
Merged
Merged
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
Old vulnerabilities from a guidance Security review now become private records while introduced findings retain their Self-merge hold.
Closes #552
Evidence
cargo test --test security_review an_old_finding_is_recorded_privately_without_holding_self_merge -- --exactfailed: the guidance prompt had no private report destination and the Merge run ended incomplete.After: The same test passes: one draft advisory, private proof-of-concept evidence retained, no old-finding details in the PR, and successful Self-merge even with
security-fixenabled.cargo test --test security_review review_uses_the_published_base_when_the_local_base_is_stale -- --exactfailed because classification used stale localmain.After: The same test passes against the pinned merge base from
origin/main.Validation:
cargo test: 1,628 passed, 0 failed, 1 ignored, including all 17 Security-review tests;cargo fmt --check,cargo check --all-targets, andcargo clippy --all-targets -- -D warningspassed.Seams under test: The Spec's end-to-end scenario harness: the real binary and Git, with fake GitHub and Harness CLIs. Observe private records, PR body/readiness, Self-merge, the report contract in Session prompts, and confidentiality in command output.
Merge Danger
Door: two-way
Blast Radius: Delivery
Enabled guidance reviews now require a private JSON report and
pre_existing_countin their final line. A missing or invalid report makes the review incomplete and holds Self-merge. Private records persist on GitHub; reverting the code does not remove them.Review
Reviewed with
thirdshift-code-reviewagainst the publishedissue-427commit422d954bfad171bca25c2d40e2fde846660becf8..thirdshift-review-igjmf8/standards.mdand.thirdshift-review-igjmf8/spec.mdin the Run worktree.Unaddressed findings
Standards
None. Every reported regression failed as written; the findings are fixed and their tests are retained.
Spec
None. Every reported regression failed as written; the findings are fixed and their tests are retained.
Built with codex · gpt-6.1-sol · xhigh