carlos / platform Public

copy: Luna brief for static Markdown twins docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 80912cf53193dedd0cf9d78cbfc37fb57adf1556 parent 70cab1d
1 file changed, +27 −0
  • docs/superpowers/specs/LUNA-COPY-BRIEF-STATIC-MARKDOWN-TWINS.md +27 −0

CI cancelled — superseded by a newer push — run details

Intent

Human

<task-notification> <task-id>b7wsp11zv</task-id> <tool-use-id>toolu_014H357PzxNwFcRDyPpb2c9M</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/fadfb62a-03f5-4192-bd2b-e123c5e6663f/tasks/b7wsp11zv.output</output-file> <status>completed</status> <summary>Background command "Wait for Task 2 Codex run" completed (exit code 0)</summary> </task-notification>

diff --git a/docs/superpowers/specs/LUNA-COPY-BRIEF-STATIC-MARKDOWN-TWINS.md b/docs/superpowers/specs/LUNA-COPY-BRIEF-STATIC-MARKDOWN-TWINS.md
new file mode 100644
index 000000000..c92d59416
--- /dev/null
+++ b/docs/superpowers/specs/LUNA-COPY-BRIEF-STATIC-MARKDOWN-TWINS.md
@@ -0,0 +1,27 @@
+# Copy pass brief: Markdown twins for static sites (branch static-markdown-twins)
+
+You are reviewing a new docs section for a hosting platform's static-site documentation (`docs/site/cli.md`, the page that already documents `_redirects` and `_headers`). Paul, the owner, delegated this review to you. Apply his house rules and return improved strings.
+
+The feature: a static site can ship a Markdown file beside an HTML page (`shop/index.md` beside `shop/index.html`, `page.md` beside `page.html`). The edge serves the Markdown at the same URL when the request's `Accept` header prefers it, and HTML otherwise. The audience is a developer deploying a static site, often so that AI agents fetching the page get Markdown. The deck is `.superpowers/sdd/2026-11-04-static-markdown-twins/task-2-copy-deck.md` (the draft as written into the page).
+
+## House rules
+
+- Plain words, short sentences, no marketing tone, no exclamation marks. Ordinary sentence case, full stops.
+- No em dashes or en dashes used as dashes. Where you would use one, end the sentence and start a new one.
+- Match the neighbouring sections' voice: "Put a file named `_headers` at the top of the site directory...". Second person, direct.
+- The heading should match its siblings (`#### Redirects for a static site`, `#### Response headers for a static site`). Drop the "(draft)" marker. Return `remove` for the DRAFT HTML comment row.
+- Leave header names, media types, paths, `q`, code and the curl command exactly as they are. Neutral examples only (`shop`, `example.com`).
+- Do not name the product.
+
+## Facts that must stay true
+
+- Markdown is served only when a Markdown file sits beside an HTML file the site already serves at that URL. A Markdown file alone creates no page and no directory index.
+- Markdown wins only when its quality is positive and strictly higher than HTML's. Ties, no `Accept` header, or neither acceptable: HTML. The more specific media range decides each type's quality; `q` defaults to 1.
+- Served Markdown has content type `text/markdown; charset=utf-8`.
+- Both versions of a page that has a twin carry `Vary: Accept` (also HEAD, 304 and range responses); other `Vary` values are kept.
+- Slash redirects and `_redirects` rules apply first; `/shop` still redirects to `/shop/`. `.md` files can still be fetched directly at their own path.
+- No server and no setting to turn on.
+
+## Output
+
+Do not edit any file. Answer with one markdown table, `| line | new | why |`, one row per deck block in deck order, every row included, `unchanged` in why when you keep a block, `remove` in new for a block to delete. Keep the block's Markdown (backticks, code fences) intact; write line breaks inside a cell as `<br>`. Then a short **Flags** list for anything you could not fix within these rules. Nothing else.