Skip to content

Deepen Security fix publication behind one testable operation - #719

Merged
JacobStephens2 merged 5 commits into
mainfrom
issue-716
Oct 17, 2026
Merged

JacobStephens2 merged 5 commits into
mainfrom
issue-716

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

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.

src/security/
├── fixing.rs                           # Worktree, Sessions, logs and clock
└── fixing/
    ├── publication.rs                  # one operation and the GitHub effects adapter
    └── publication/tests.rs            # in-memory adapter, 20 operation tests

Closes #716

Evidence

  • Before: cargo test security::fixing::publication::tests::public_single_stages_checks_and_readies_the_created_ticket -- --nocapture failed against the new operation's stub with publication not implemented.
    After: cargo test --bin thirdshift security::fixing::publication::tests -- --nocapture passes 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, and cargo clippy --all-targets -- -D warnings: pass.

Test seams

  • The private publication operation: existing finding or raw optional Session final message → Issue URL/error, observed through issue, graph and label state and meaningful GitHub/interruption effect ordering.
  • Existing Security run CLI integration boundary, retained for Harness credentials, Resume, staged dispatch, private reuse and Session logs.

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, and src/security/fixing/publication/tests.rs, including the removed implementation and helper tests.

Unaddressed findings

Standards

None.

Spec

None.

Security

None. Reviewed 53bb9c6ad4c558dbc5d08e36081c2cfe9a046cd3...HEAD and 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

@JacobStephens2
JacobStephens2 merged commit b9911e4 into main Oct 17, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-716 branch October 17, 2026 03:45
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.

Deepen Security fix publication behind one testable interface

1 participant