spec: Paul's answers on phishing protection and launch agents
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+14
−14
docs/superpowers/specs/2026-11-02-agent-start-demo-design.md+14 −14
diff --git a/docs/superpowers/specs/2026-11-02-agent-start-demo-design.md b/docs/superpowers/specs/2026-11-02-agent-start-demo-design.md| index e6f75bc6f..69928f619 100644 |
| --- a/docs/superpowers/specs/2026-11-02-agent-start-demo-design.md |
| +++ b/docs/superpowers/specs/2026-11-02-agent-start-demo-design.md |
| @@ -1,6 +1,6 @@ |
| # Try it from any agent: `/start`, anonymous demo apps, claim by email |
| -Status: draft for Paul's read, 2026-11-02. Brainstormed with Paul in |
| +Status: draft for Paul's read, 2026-11-02; builder-check questions answered. Brainstormed with Paul in |
| chat the same day, prompted by a tester's failed first run and Chris's |
| suggestions. Branch: `design-agent-start-demo`. |
| @@ -206,6 +206,10 @@ where that setting usually lives, then retry. here.now does the same. |
| creates are refused with a clear message, never evicting. |
| - **A demo banner,** added by the edge on HTML responses: built by an |
| AI, temporary, don't enter real passwords, report abuse. |
| +- **A strict Content-Security-Policy,** set by the edge on every demo |
| + response and not overridable by the app: forms, fetches, images and |
| + scripts may only go to the app's own origin, so a demo page can't send |
| + what a visitor types somewhere else (Paul, ruling 9). |
| ### 4.4 The demo domain |
| @@ -325,6 +329,14 @@ Paul's (2026-11-02, in chat): |
| 6. 24 hours, no backups, very tight CPU, memory and bandwidth. |
| 7. Claim with an email address. |
| 8. Unclaimed demos live on a separate domain: `trycarlos.com`. |
| +9. Phishing protection is the banner plus an edge-enforced strict |
| + Content-Security-Policy on the demo domain: `form-action`, |
| + `connect-src`, `img-src` and `script-src` limited to `'self'`. No |
| + first-visit warning page. |
| +10. Launch must work in Claude Code and Codex (local, cloud and phone) |
| + and Cursor. In a cloud sandbox, one plain-words step where the user |
| + allows our API host still counts as success. Chat apps that can't |
| + make outbound requests are out of scope. |
| Mine (Paul can overrule any): |
| @@ -361,16 +373,4 @@ Mine (Paul can overrule any): |
| ## 7. Open for Paul |
| -Raised by the builder check (Astra, 2026-11-02): |
| - |
| -- **How strong the phishing protection must be.** Blocking a demo's |
| - outbound network doesn't stop its page from making the *visitor's* |
| - browser send typed data elsewhere, and app code can hide an injected |
| - banner. Options, weakest first: banner plus takedown only; an |
| - edge-enforced strict Content-Security-Policy on the demo domain |
| - (`form-action`, `connect-src`, `img-src`, `script-src` all `'self'`), |
| - which Fiesta apps can live with; or that plus a once-per-browser |
| - "you're about to view a demo built by an AI" interstitial, as ngrok's |
| - free tier does. |
| -- **Which agents the launch must work in,** and whether "the user had |
| - to allow one host" still counts as success. |
| +Nothing open. Section 5 holds every ruling. |