Repository navigation
Remove independent public-issue creation from the publishing session - #639
Merged
Merged
Conversation
Single public fixes now require a staged proposal: without staged title and body text, publishing fails instead of accepting a session-created Ticket URL. All public single writes go through the validated staged path, which thirdshift creates after validation. Closes #629
The issue-629 change removed the publishing session's independent public-issue path, so a session-created Ticket URL now fails closed with 'did not stage its proposed public issue text'. The public-repo leg of review_old_finding_can_be_taken_by_next_security_run still used gh issue create plus a Ticket final line; stage the same title and body text for thirdshift-side validation and creation instead.
This was referenced Oct 10, 2026
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
Single public fixes no longer accept a session-created Ticket URL. Publishing fails closed unless the session stages its proposed title and body, which thirdshift validates before creating anything:
Seams under test: the security-fix publishing boundary (publishing session final message → thirdshift-validated GitHub issue creation), exercised through the
secure security-fixscenario harness intests/security_run.rs.Evidence
cargo test --test security_runwith the new gate: 14 tests using the retired session-created single path failed withdid not stage its proposed public issue text.After:
cargo test --test security_run→ 90 passed, 0 failed;cargo fmt --checkandcargo clippy --all-targetsclean. New regression testa_session_created_ticket_url_is_rejected_for_a_public_single_fixproves a bare session URL creates nothing (bodies["8"]absent, no PRs).Merge Danger
Door: two-way (test-only plus one narrowed branch; revert restores the fallback)
Blast Radius: narrow (security-fix publishing for single public fixes; spec and private paths untouched)
Unaddressed findings
Standards
printfshape repeated inline instead of reusingstage_fix()(tests/security_run.rs, new title-copy/invalid/PoC tests). Declined: explicit literals carry the exact rejected text; astage_fix(…).replace(…)chain through shell escaping is no clearer. Low-stakes judgement call; no behaviour claim, so no run applies.Spec
src/security/fixing.rs:78,src/prompt.rs:371"A spec still publishes its issues itself, as before"). Declined for this change per plan decision: the Security fix: validate staged public text before public issue creation #626 breakdown defers staged specs ("until staged specs land"). Follow-up tracked in #638 (needs-triage).gh issue create; only thirdshift acceptance was removed. Verified by running the reviewer's test verbatim:result.codewasSome(1)butbodies["8"]contained the private write-up text. Declined: harness-level restriction vs. orphan cleanup (deleting user-visible issues is a one-way door) is a Spec/Day-shift call. Tracked in #637 (needs-triage).Changed files the review left unread: none (both axes read
src/security/fixing.rsandtests/security_run.rs; full reports in.thirdshift-review-bvWi9d/standards.mdandspec.md).Closes #629
Built with muse · default model · default effort