carlos / platform Public

docs: claim API on the site host in the operator section

Luna pass on two sentences. A third was already correct from Plan 3's merge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 23dba1834f68041f534c0295906253cd7b779c55 parent b65f2b8
3 files changed, +42 −2
  • README.md +2 −2
  • docs/superpowers/specs/LUNA-COPY-BRIEF-DEMO-API-CLAIM-PATHS.md +27 −0
  • docs/superpowers/specs/LUNA-COPY-RESULT-DEMO-API-CLAIM-PATHS.md +13 −0

Intent

Attributed to this commit: 14.5 g CO₂e (1,597,977 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on demo-api-claim-paths, 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/README.md b/README.md
index 5fcd5804a..f88fca23d 100644
--- a/README.md
+++ b/README.md
@@ -659,9 +659,9 @@ Take down every existing Plan 1 demo through `carlos system demos takedown --hos
<!-- DEMO-API-SITE-ROUTE: approved by delegation, Luna copy pass, 2026-11-05. -->
#### Serve the demo API on the site origin
-The site can serve anonymous demo requests for create, update and status operations on its own hostname. The alias is off by default. Confirm that the site host is already claimed by the intended account before enabling it. Once the console setting is enabled, only operators can change that host's claim.
+The site host can serve demo requests for create, update, status and claim operations. The alias is off by default. Confirm that the site host is already claimed by the intended account before enabling it. Once the console setting is enabled, only operators can change that host's claim.
-Set `CARLOS_DEMO_API_ORIGIN` to the site's HTTPS origin and `CARLOS_DEMO_API_CONSOLE_ORIGIN` to the canonical `CONSOLE_ORIGIN`. Set both on every public ingress that can receive the site, including regions without a local console, and on the console's home edge. Both must be canonical HTTPS DNS origins without ports, paths, credentials, queries or fragments. They must differ. With valid, different values, setting both enables the alias. Setting only one, using an invalid value, or setting equal values prevents edge startup.
+Set `CARLOS_DEMO_API_ORIGIN` to the site's HTTPS origin and `CARLOS_DEMO_API_CONSOLE_ORIGIN` to the canonical `CONSOLE_ORIGIN`. Set both on every public ingress that can receive the site, including regions without a local console, and on the console's home edge. Both must be canonical HTTPS DNS origins without ports, paths, credentials, queries or fragments. They must differ. With valid, different values, setting both enables the alias. Setting only one, using a value that is not a valid origin, or setting equal values makes the host-env writer refuse the pair. An edge started with such values by another route also refuses to start.
Deliver both settings through root-owned `/etc/carlos/host.env`. For group boxes, update the operator parameters in every participating region and use the existing `system host-env write --group` workflow without `--install`. Confirm replacement bootstrap releases recognize both names first. Fixed boxes keep their existing host.env workflow. Do not rewrite a fixed box with the group writer.
diff --git a/docs/superpowers/specs/LUNA-COPY-BRIEF-DEMO-API-CLAIM-PATHS.md b/docs/superpowers/specs/LUNA-COPY-BRIEF-DEMO-API-CLAIM-PATHS.md
new file mode 100644
index 000000000..104571189
--- /dev/null
+++ b/docs/superpowers/specs/LUNA-COPY-BRIEF-DEMO-API-CLAIM-PATHS.md
@@ -0,0 +1,27 @@
+# Copy pass brief: claim paths on the site host (branch demo-api-claim-paths)
+
+You are the copy-review gate itself for this set. Paul delegated copy review to you on 2026-10-25; your verdicts ARE the review. Do NOT run the copy-review skill or start any server. Do not edit any file. Answer in your final message only.
+
+These are small changes to an operator README section you already passed (`LUNA-COPY-RESULT-DEMO-API-SITE-ROUTE.md`). The audience is an operator running their own deployment.
+
+## House rules
+
+Plain words, short sentences, no marketing tone. No em dashes or en dashes used as dashes. Leave setting names, paths and backticked text exactly as they are. Do not add steps or conditions.
+
+## Facts that must stay true
+
+- The site host now also serves the claim API, as well as create, update and status.
+- Only the claim API is forwarded. The browser claim page stays on the console.
+- The host-env writer now refuses a pair where only one name is set, the two are equal, or either is not a valid origin. An edge started with such values by another route still refuses to start.
+
+## Output
+
+One markdown table, `| key | new | why |`, every row in order, `unchanged` in why when you keep a string. Then a short **Flags** list for anything wrong or unclear in fact.
+
+## Deck
+
+| key | Surface | Draft text |
+|---|---|---|
+| readmeIntroSentence | First sentence of the section's intro | The site can serve anonymous demo requests for create, update, status and claim operations on its own hostname. |
+| readmeSettingsLast | Replaces the last sentence of the settings paragraph | Setting only one, using an invalid value, or setting equal values prevents edge startup. The host-env writer refuses the same values. |
+| readmeConsoleLast | Replaces "Claim API paths are not available through this alias yet." at the end of the console paragraph | Agents use the claim API on the site host. The browser claim page stays on the console. |
diff --git a/docs/superpowers/specs/LUNA-COPY-RESULT-DEMO-API-CLAIM-PATHS.md b/docs/superpowers/specs/LUNA-COPY-RESULT-DEMO-API-CLAIM-PATHS.md
new file mode 100644
index 000000000..82d01a5a5
--- /dev/null
+++ b/docs/superpowers/specs/LUNA-COPY-RESULT-DEMO-API-CLAIM-PATHS.md
@@ -0,0 +1,13 @@
+# Luna copy result: claim paths on the site host
+
+Brief: LUNA-COPY-BRIEF-DEMO-API-CLAIM-PATHS.md. Rows 1 and 2 applied verbatim. Row 3 not applied: Plan 3's merge had already replaced that sentence with accurate text, and Luna's version ("Only the claim API is forwarded to the site host") is false, since create, update and status are forwarded too.
+
+| key | new | why |
+|---|---|---|
+| readmeIntroSentence | The site host can serve demo requests for create, update, status and claim operations. | Removes the unsupported “anonymous” claim. |
+| readmeSettingsLast | Setting only one, using a value that is not a valid origin, or setting equal values makes the host-env writer refuse the pair. An edge started with such values by another route also refuses to start. | Names every rejection case and startup behavior. |
+| readmeConsoleLast | Only the claim API is forwarded to the site host. Agents use it there. The browser claim page stays on the console. | Clarifies the forwarding boundary and both claim surfaces. |
+
+**Flags**
+
+- The intro draft incorrectly says all demo requests are anonymous.
\ No newline at end of file