copy: Luna pass on the demo edge protection copy table
Delegated copy review per Paul's standing rule; result applied verbatim from Task 2 onward.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/specs/LUNA-COPY-BRIEF-AGENT-START-DEMO-2.md+63 −0docs/superpowers/specs/LUNA-COPY-RESULT-AGENT-START-DEMO-2.md+32 −0
CI failed — run details
Intent
<task-notification> <task-id>bq8cq2pux</task-id> <tool-use-id>toolu_01YHYoYMre5niGVofmGxoWaJ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/6e566fe9-9aca-47cb-9753-64e881b0d285/tasks/bq8cq2pux.output</output-file> <status>completed</status> <summary>Background command "Wait for Task 1 Codex run to finish" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 14.5 g CO₂e (1,595,538 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on agent-start-demo-2, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/specs/LUNA-COPY-BRIEF-AGENT-START-DEMO-2.md b/docs/superpowers/specs/LUNA-COPY-BRIEF-AGENT-START-DEMO-2.md| new file mode 100644 |
| index 000000000..7af59739e |
| --- /dev/null |
| +++ b/docs/superpowers/specs/LUNA-COPY-BRIEF-AGENT-START-DEMO-2.md |
| @@ -0,0 +1,63 @@ |
| +# Copy pass brief: demo edge protections (branch agent-start-demo-2) |
| + |
| +You are reviewing user-facing strings for a hosting platform. Paul, the owner, delegated this review to you. Apply his house rules and return improved strings. |
| + |
| +The feature: anyone can ask their own AI coding agent to build a small app, with no account. The platform runs it for 24 hours at a random address such as `bright-otter-42.example.com`. This release protects those anonymous demos: the platform inserts a fixed warning bar at the top of every page the demo serves (with a "report abuse" link), applies a strict browser security policy, caps each demo's lifetime traffic (2,000 requests and 200 MB by default), lets the operator switch all demo serving off and take a single demo down, and keeps a small queue of abuse reports for the operator. The deck is the table at the end of this brief: ID, surface and draft text. |
| + |
| +Audiences: |
| +- **Visitors to a demo** (banner, report link, the plain error pages: limit, stopped, gone, unavailable, cannot be shown). Anyone on the web, often non-technical, who opened a link someone shared. No jargon, no internals. Say what happened and, where there is one, what they can do. |
| +- **Report form** (console page a visitor opens from the banner). Same audience. |
| +- **Operator CLI** (`carlos system demos ...` help, flag help, status labels and confirmations, configuration error). Read by the platform operator. Plain and precise; command names and flags stay exactly as written. |
| + |
| +## House rules |
| + |
| +- Plain words, short sentences, no marketing tone, no exclamation marks. |
| +- No em dashes or en dashes used as dashes. Where you would use one, end the sentence with a full stop and start a new sentence. |
| +- Sentence case, full stops on sentences. Labels, table headers and button text have no full stop. |
| +- Leave command lines, flag names, environment variable names, HTTP status codes and paths exactly as they are. |
| +- Do not name the product. Neutral examples only (`shop`, `example.com`). |
| +- Human text only. |
| + |
| +## Facts that must stay true |
| + |
| +- A demo lives 24 hours from creation and is never extended without claiming. Claiming is not available in this release (DEMO-LIMIT-PRECLAIM is the one used now; DEMO-LIMIT is for a later release when claiming exists, and uses a private claim link the person's agent gave them). |
| +- Nothing is backed up. |
| +- The warning bar is a notice. The demo's own code could hide it; do not promise it is always visible. |
| +- Hitting a limit stops the demo serving for the rest of its 24 hours; its data is kept until it expires. |
| +- "Serving off" stops all demos serving; responses already being sent may finish. Takedown removes one demo: it first stops serving, then its data is deleted (cleanup), which may be pending for a while. |
| +- Reports go to the platform operator. Nothing is emailed. Reporters should not include passwords or personal information. |
| + |
| +## Output |
| + |
| +Do not edit any file. Answer with one markdown table, `| ID | new | why |`, one row per deck row in deck order (a row with several `;`-separated strings keeps that separator and order), every row included, `unchanged` in why when you keep a string. Skip DEMO-OPERATOR-DOCS (its prose comes later). Then a short **Flags** list for anything you could not fix within these rules. Nothing else. |
| + |
| +## Deck |
| + |
| +| ID | Surface | Draft text or required content | |
| +|---|---|---| |
| +| DEMO-BANNER | Edge-inserted warning; app scripts can remove it | This app was built by an AI. It is temporary. Do not enter real passwords or sensitive information. | |
| +| DEMO-REPORT-LINK | Banner link | Report abuse | |
| +| DEMO-LIMIT | 429 page when claiming is available | This demo has hit its limit. Claim it to keep it running. Use the private claim link from your agent. | |
| +| DEMO-LIMIT-PRECLAIM | 429 page in Plan 2 dev | This demo has hit its limit. Claiming will let you keep it running when it becomes available. | |
| +| DEMO-STOPPED | 503 page | Demos are temporarily unavailable. | |
| +| DEMO-GONE | Unknown, expired or retired 404 | This demo is no longer available. | |
| +| DEMO-UNAVAILABLE | Local counter/control/transport failure | This demo cannot be checked right now. Try again shortly. | |
| +| DEMO-RESPONSE | HTML that cannot be transformed safely | This demo returned a response that cannot be shown. | |
| +| DEMO-REPORT-TITLE | Console report form | Report a demo | |
| +| DEMO-REPORT-HOST | Read-only host field | Demo address | |
| +| DEMO-REPORT-CATEGORY | Form label and choices | Reason; Phishing; Harmful content; Other | |
| +| DEMO-REPORT-DETAILS | Textarea and hint | Details; Do not include passwords or personal information. | |
| +| DEMO-REPORT-SUBMIT | Form button | Send report | |
| +| DEMO-REPORT-SENT | Confirmation | Your report has been sent to the operator. | |
| +| DEMO-REPORT-REFUSED | Validation/CSRF error | This report could not be accepted. Reload the form and try again. | |
| +| DEMO-REPORT-BUSY | Rate/queue error | Reports are temporarily limited. Try again later. | |
| +| DEMO-CLI-HELP | Family help | Manage anonymous demos: status, serving on or off, takedown, takedown-status, reports. Commands use your configured console. | |
| +| DEMO-CLI-FLAGS | Flag help | Exact public demo hostname; Report ID; Continue after this report; Reports per page, from 1 to 100. | |
| +| DEMO-CLI-STATUS | CLI headers/state labels | Host; State; Request cap; Byte cap; Cleanup; Serving; On; Off; Pending; Complete | |
| +| DEMO-CLI-OFF | Stop confirmed after acknowledgement or expiry bound | Demo serving is off. Responses already being sent may finish. | |
| +| DEMO-CLI-ON | Confirmed switch on | Demo serving is on. | |
| +| DEMO-CLI-TAKEDOWN | Serving stop confirmed, cleanup pending | This demo has stopped serving. Cleanup is pending. | |
| +| DEMO-CLI-PURGED | Confirmed purge | This demo has been removed. | |
| +| DEMO-CLI-REPORTS | Queue headers/resolution | ID; Host; Reason; Details; Created; State; Open; Resolved; Report resolved. | |
| +| DEMO-CLI-INVALID | Invalid CLI arguments | Check the command arguments. Run carlos system demos help. | |
| +| DEMO-CONFIG-PROTECTIONS | Operator configuration error | Demo edge protection settings are missing or invalid. | |
diff --git a/docs/superpowers/specs/LUNA-COPY-RESULT-AGENT-START-DEMO-2.md b/docs/superpowers/specs/LUNA-COPY-RESULT-AGENT-START-DEMO-2.md| new file mode 100644 |
| index 000000000..d350faea2 |
| --- /dev/null |
| +++ b/docs/superpowers/specs/LUNA-COPY-RESULT-AGENT-START-DEMO-2.md |
| @@ -0,0 +1,32 @@ |
| +| ID | new | why | |
| +|---|---|---| |
| +| DEMO-BANNER | This app was built by an AI. It is temporary. Do not enter real passwords or sensitive information. | unchanged | |
| +| DEMO-REPORT-LINK | Report abuse | unchanged | |
| +| DEMO-LIMIT | This demo has reached its limit. Claim it to keep it running. Use the private claim link from your agent. | “Reached” is plainer. | |
| +| DEMO-LIMIT-PRECLAIM | This demo has reached its limit. Claiming will be available in a future release. | Avoids implying claiming is currently available. | |
| +| DEMO-STOPPED | Demo serving is temporarily off. | States what is unavailable. | |
| +| DEMO-GONE | This demo is no longer available. | unchanged | |
| +| DEMO-UNAVAILABLE | This demo cannot be checked right now. Please try again shortly. | Adds a polite, clear action. | |
| +| DEMO-RESPONSE | This demo returned a response that cannot be shown. | unchanged | |
| +| DEMO-REPORT-TITLE | Report a demo | unchanged | |
| +| DEMO-REPORT-HOST | Demo address | unchanged | |
| +| DEMO-REPORT-CATEGORY | Reason; Phishing; Harmful content; Other | unchanged | |
| +| DEMO-REPORT-DETAILS | Details; Do not include passwords or personal information. | unchanged | |
| +| DEMO-REPORT-SUBMIT | Send report | unchanged | |
| +| DEMO-REPORT-SENT | Your report was sent to the operator. | More direct. | |
| +| DEMO-REPORT-REFUSED | We could not accept this report. Reload the form and try again. | Uses plain, direct language. | |
| +| DEMO-REPORT-BUSY | Reports are temporarily limited. Try again later. | unchanged | |
| +| DEMO-CLI-HELP | Manage anonymous demos: status, serving on or off, takedown, takedown-status, and reports. Commands use your configured console. | Improves list grammar. | |
| +| DEMO-CLI-FLAGS | Exact public demo hostname; Report ID; Continue after this report; Reports per page, from 1 to 100. | unchanged | |
| +| DEMO-CLI-STATUS | Host; State; Request cap; Byte cap; Cleanup; Serving; On; Off; Pending; Complete | unchanged | |
| +| DEMO-CLI-OFF | Demo serving is off. Responses already being sent may finish. | More concise. | |
| +| DEMO-CLI-ON | Demo serving is on. | More concise. | |
| +| DEMO-CLI-TAKEDOWN | This demo is no longer serving. Cleanup is pending. | Clearer state description. | |
| +| DEMO-CLI-PURGED | This demo has been removed. | unchanged | |
| +| DEMO-CLI-REPORTS | ID; Host; Reason; Details; Created; State; Open; Resolved; Report resolved. | unchanged | |
| +| DEMO-CLI-INVALID | Check the command arguments. Run carlos system demos help. | unchanged | |
| +| DEMO-CONFIG-PROTECTIONS | Demo edge protection settings are missing or invalid. | unchanged | |
| + |
| +**Flags** |
| + |
| +- None. |
| \ No newline at end of file |