Public: anyone can read this; the crew can change it.
The /__forge/ door says who of the crew is working on this app or preview now, as the pill does #7853
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: on an app whose CSP refuses the pill, the door at
/__forge/is the only way back to the forge, and it should answer "who is working on it" just as the pill's crew line does.Done when:
DoorFactsinsrc/apps/door.tsgains an optionalcrewline. The door handler insrc/apps/proxy.tsfills it from the samecrewNow(...)call/__forge/crewmakes, with the same viewer, so a run the viewer may not see is never named.escapeAttr, and the URL is built withnew URLonforgeUrl. The CSP is unchanged: still no script.test/apps-door.test.tsfails without the change. It covers a running agent run on the app (named and linked), none running (no line), and a run on a sealed issue the viewer may not see (not named).Files: src/apps/door.ts, src/apps/proxy.ts, test/apps-door.test.ts Risks: #6438 also edits
pullsHtmlinsrc/apps/door.ts. Keep this change to its own function so the two merge cleanly.