feat(journalism-101): write for readers who weren't there

The rule against traces of the conversation lived in docs-files-api,
under JSDoc and worded for comments, so it didn't stop chat leaking
into a setup guide ("it needn't be NixOS"). It applies to every doc,
commit message, and issue, so it moves here, with two more failures:
answers to questions only the conversation raised, and rebuttals of a
draft the reader never saw. docs-files-api keeps a pointer for comments.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-12-02 20:32:05 -06:00
1 parent 035bf497c8
commit 7728a1d908
3 files changed
+14 -7

No files matched your search

+4 -4
View File
@@ -56,10 +56,10 @@ JSDoc placement rules (from the
no docstrings; a string literal is the honest equivalent) rather than
copying it or reading the script's own source. Helpers inside still get
their own JSDoc.
- **Write for the reader, not the conversation:** Comments say what the
code is and why, in the reader's terms. No traces of how it came to be
(design discussions, who asked, "for now", analogies used while
deciding), and nothing the code or its shebang already says.
- **Write for the reader, not the conversation:** comments say what the
code is and why; no "for now", no traces of the design discussion
(see journalism-101, "Write for readers who weren't there"), and
nothing the code or its shebang already says.
- **External design constraints:** If a module is constrained by external
contracts, standards, or off-repo design docs, add a short JSDoc note with a
`@see` link to the authoritative source at the relevant entry point(s).