copy brief: config receipts plan 1 Luna pass (#522)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+41
−0
docs/superpowers/specs/LUNA-COPY-BRIEF-CONFIG-RECEIPTS-1.md+41 −0
diff --git a/docs/superpowers/specs/LUNA-COPY-BRIEF-CONFIG-RECEIPTS-1.md b/docs/superpowers/specs/LUNA-COPY-BRIEF-CONFIG-RECEIPTS-1.md| new file mode 100644 |
| index 000000000..02f1cebd6 |
| --- /dev/null |
| +++ b/docs/superpowers/specs/LUNA-COPY-BRIEF-CONFIG-RECEIPTS-1.md |
| @@ -0,0 +1,41 @@ |
| +# Copy pass brief: config versions, digests and receipts (#522 plan 1) |
| + |
| +You are reviewing user-facing strings for a hosting platform's CLI, console |
| +doors and docs. Paul, the owner, delegated this review to you. Apply his |
| +house rules and return improved strings. Do not edit any files. |
| + |
| +The feature: `carlos env` and `carlos secrets` now show a **version** for |
| +each config bundle (a hash of what is stored; `none` when the bundle does |
| +not exist) and a **digest** for each var (changes whenever the stored value |
| +changes; for a secret it is computed from the sealed form, so it reveals |
| +nothing). A write can say `--if-version <v>`: only write if the bundle is |
| +still at that version. If it moved, nothing is written, the command prints |
| +the current version and exits 4. Every write through a console prints a |
| +**receipt**: what was set, removed, asked to remove but absent, and the |
| +version before and after. `carlos env effective --host <h>` shows, for one |
| +instance, which layer (default, environment, overlay) each key comes from |
| +and which lower layers it hides. `carlos env digest` computes a digest |
| +locally so a script can compare it with a listing. |
| + |
| +Readers: app owners and the scripts or agents they run, at a terminal. They |
| +know what an env var and a secret are; they do not know the platform's |
| +internals (bucket, CAS, etag, manifest). |
| + |
| +## House rules |
| + |
| +- No em dashes or en dashes used as dashes. End the sentence and start another. |
| +- CLI output and console door errors (`internal/console/*.go` jsonError strings): lower case, no full stop at the very end. Docs prose (`docs/site/cli.md`): sentence case and full stops. |
| +- Plain words, short sentences, no marketing tone, no exclamation marks. Avoid internal terms (bucket, CAS, etag, manifest, store) in anything a user reads; "bundle", "version", "digest", "receipt", "layer", "overlay" are the feature's own words and stay. |
| +- Keep every placeholder (`%s`, `%q`, `%d`, `%v`, `%w`) and their order. Keep command names, flags, JSON field names, `none`, `cv1:`, `vd1:` and exit code numbers exactly. |
| +- Where existing help text in the same usage block uses sentence case, match the block's existing style rather than introducing a second one; say which you chose. |
| +- Human text only. Leave log lines, test names and JSON keys alone. |
| + |
| +## The strings |
| + |
| +1. Door and CLI strings: the "Draft strings" lists in |
| + `.superpowers/sdd/2026-11-03-config-receipts-plan-1/draft-strings.md`, each with file:line. Read each in its file for context. |
| +2. Docs: the three `####` subsections added between `### carlos env` and `### carlos secrets` in `docs/site/cli.md`, plus the short pointer paragraph in `### carlos secrets`. Return replacement paragraphs only where you would change them. |
| + |
| +## Answer |
| + |
| +A table per group: `file:line | current | proposed | why` (omit rows you would keep). Then a **Flags** list: anything where the string states something you think may be false or unclear, which a person should check. Then the line `COPY PASS DONE`. |