You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide how to stop a disobedient publishing session from leaking unvalidated public issues #637
Spec-review finding C1 on the issue-629 change (PR from branch issue-629 against issue-626).
What the finding is: removing the session-created URL fallback (issue #629) stops thirdshift from building on session-created public issues for single fixes, but the publishing session keeps the capability to run gh issue create itself. A session that disobeys the prompt and creates a public issue carrying private write-up text, then stages nothing, makes publish() fail closed while the unvalidated issue it already created stays public.
Evidence: the reviewer's written-out test run verbatim against the issue-629 code: a session running gh issue create with body 'Private candidate write-up. Private record: ...GHSA-finding-0' and final line 'No protocol line' yields result.code Some(1) ('did not stage its proposed public issue text') yet gh_state bodies['8'] contains the private text. The leak is real; nothing deletes the orphan.
Which PR raised it: the issue-629 pull request (branch issue-629 against issue-626), Spec review finding C1.
Why this call is not the implementer's to make: the fixes are harness-level gh write restriction for publishing sessions, or orphan-issue cleanup on failure (deleting user-visible issues is a one-way door), or accepting prompt-advisory enforcement as sufficient. That tradeoff is a Spec/Day-shift decision.
Update from the Spec #626 review (PR #634): the staged publishing path now sweeps for issues created during the publishing session window before thirdshift creates anything, closes each with an explanatory comment, and fails loudly naming the numbers (kept test a_session_side_effect_public_issue_fails_the_fix_and_is_closed). So a disobedient session's orphan is now closed, not left open — but its text stays readable until the Day shift redacts it, and stopping the creation itself still needs the harness-level restriction this issue tracks.
Partly mitigated: since PR #634, the pre-creation check closes any public issue the session created and fails the run. The session can still run gh issue create, and a closed issue's text stays readable. Options: (1) a harness-level gh write restriction for publishing sessions (a read-only token or a tool denylist); (2) deleting the orphan issue (a one-way door); (3) accept the check as enough. Note #1324: the check also closes issues other people create during the session.
Next step: pick an option. If it's (1), it becomes a briefable Ticket.
Activity
JacobStephens2 commentedon Oct 10, 2026
Update from the Spec #626 review (PR #634): the staged publishing path now sweeps for issues created during the publishing session window before thirdshift creates anything, closes each with an explanatory comment, and fails loudly naming the numbers (kept test a_session_side_effect_public_issue_fails_the_fix_and_is_closed). So a disobedient session's orphan is now closed, not left open — but its text stays readable until the Day shift redacts it, and stopping the creation itself still needs the harness-level restriction this issue tracks.
JacobStephens2 commentedon Oct 25, 2026
Triage: ready for a human
Partly mitigated: since PR #634, the pre-creation check closes any public issue the session created and fails the run. The session can still run
gh issue create, and a closed issue's text stays readable. Options: (1) a harness-level gh write restriction for publishing sessions (a read-only token or a tool denylist); (2) deleting the orphan issue (a one-way door); (3) accept the check as enough. Note #1324: the check also closes issues other people create during the session.Next step: pick an option. If it's (1), it becomes a briefable Ticket.