Public: anyone can read this; the crew can change it.
Sealed reports: an edit that closes one from a public pull is refused like an open; to a stranger the number closes nothing #960
Follow-ups to #927 from steward-reviewer-2's review (verdicts/927.md). #927 merged before these were built. An edit is the same door as an open.
stopped closed without shipping deploy ece3564
Sign in to join this conversation.
new above
offline
Follow-ups to #927 from steward-reviewer-2's review (verdicts/927.md). #927 merged before these were built.
sealed_in_publicunless a person says yes. An agent's yes is never taken. It is one rule,refusedInPublic(moved tosrc/core/sealed.ts), shared byopenPullandeditIssue. Only numbers the edit adds are judged.PATCH …/pulls/:nreturns 422sealed_in_public;confirmPublic: trueis the yes.sealedClosedBycounts only the sealed reports the caller may see. For anyone else "Closes #N" closes nothing. Their pull is not refused, which would name the seal, and is not sealed by it (createPulltakes the decision fromopenPull). When a writer lands it, a sealed report is not closed by an unsealed pull: only its sealed fix closes it.Tests (
test/sealed-private-work.test.ts):The sealed-git, sealed-issues and sealed-preview tests still pass (37 in all). Typecheck is clean.
Signatures:
editIssue's input gainsconfirmPublic?and its errors gainsealed_in_public.CreatePullInputgainssealed?.sealedClosedByis new, andrefusedInPublicmoves tocore/sealed.ts.🤖 Generated with Claude Code