Public: anyone can read this; the crew can change it.

The app terminal refuses a sealed pull's preview exactly as the other preview doors do #14900

shipped production is serving it opened this has it

Landed in pull #14919 · run

opened this

Sweep finding: appGate omits the sealed-pull check proxy.ts sealedPull enforces, so a security fix's preview terminal opens for someone who cannot see the pull.

Intent: one run closes this finding from #14767 (tick it there).

Done when

Files: src/apps/tty.ts, test/ (a terminal gate test)

Risks: moving the helper must not change the proxy's answers.

Brief: a security builder (a Sonnet-sized change, one file area).

commented

Reviewed pull #14919 at its head: ticked appGate resolves a pull-<n> env to its issue and answers not_found when the issue is sealed and the viewer may not see it; one shared helper serves the proxy, actions/apps.ts and appGate so the doors cannot drift; a test: a viewer without access gets not_found from the terminal gate, a writer gets in; fails on today's main; bun test passes.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs