Repository navigation
Deepen Security fix publication behind one testable operation - #719
Merged
Merged
Conversation
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
One private publication operation handles private Single reuse and raw Session messages for all four Security fix flows. Worktree, Session, log and clock ownership stay in the publishing shell.
Closes #716
Evidence
cargo test security::fixing::publication::tests::public_single_stages_checks_and_readies_the_created_ticket -- --nocapturefailed against the new operation's stub withpublication not implemented.After:
cargo test --bin thirdshift security::fixing::publication::tests -- --nocapturepasses all 20 operation tests, including raw proposal rejection, all four flows, child validation, fresh label reads, interruption, ordered sweeps and partial failures.cargo test --test security_run -- --nocapture: all 97 CLI integration tests pass; the full suite also repeats them successfully on the final commit.cargo test: full repository suite passes (996 unit tests passed, 2 ignored; all integration suites passed).cargo check --all-targets,cargo fmt --check, andcargo clippy --all-targets -- -D warnings: pass.Test seams
Review
Reviewed against
main(53bb9c6) by independent Standards and Spec reviewers, then checked again after the readiness-helper change. Standards' P3 duplicated readiness transition was addressed; Spec found no gaps or behavior changes.Changed files left unread: none on either axis. Both axes read
src/security/fixing.rs,src/security/fixing/publication.rs, andsrc/security/fixing/publication/tests.rs, including the removed implementation and helper tests.Unaddressed findings
Standards
None.
Spec
None.
Security
None. Reviewed
53bb9c6ad4c558dbc5d08e36081c2cfe9a046cd3...HEADand supporting code using the relevant attack-class guidance and the security boundaries in ADRs 0013 and 0015. No introduced Security findings identified. All 20 publication-operation tests and 97 Security run integration tests passed in an isolated offline sandbox.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Internal refactor; revert restores the previous publication implementation.
Blast Radius: Security
Security fix publication retains its existing eligibility, public-text checks, native links, sweeps, readiness and partial-failure behavior.
Built with codex · gpt-6.1-sol · high