Skip to content
Edit this page

003: Writing Style

  • Type:
  • Status: Accepted
  • Date: 2026-12-02
  • Author(s) / Deciders: João V. Farias
  • Question: Who reads this documentation, and what style rules govern all committed text?

Context

Inconsistent terms, repeated inline explanations, and padded filler slow down readers who consult documentation for exact schemas, CLI flags, and architectural constraints. Every page in winesmith targets rapid visual scanning and direct technical precision.

Requirements and restrictions

Documentation standards address readership, language, terminology, and prose hygiene:

  • Specifications serve Linux developers adopting winesmith, Rust contributors, CI maintainers, and supervised coding agents.
  • Committed documentation, glossary definitions, error diagnostics, and CLI help text MUST use technical English.
  • Specifications MUST separate mandatory invariants from optional behaviors via standard normative keywords.
  • Domain terms MUST live centrally in the Glossary rather than being redefined inside unrelated paragraphs.
  • Prose MUST follow the repository humanizer-v2 rules with concise sentences and zero filler phrases.

Alternatives

Maintaining bilingual English and Portuguese pages would help Portuguese-speaking contributors, though duplicating every ADR and schema change doubles maintenance effort and invites drift. Leaving prose rules informal reduces upfront editing overhead, yet lets vague obligation phrasing (should try to) and wordy AI patterns accumulate.

Decision

Every document and specification in the repository MUST adhere to four writing rules:

  1. Write all documentation, code comments, diagnostic messages, and CLI descriptions in direct English.
  2. Interpret MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL per RFC 2119.
  3. Define domain terms once in documentation/content/glossary.md using ### Term headings or inline via <!-- zensical-glossary: Term --> so zensical-glossary creates tooltips across pages.
  4. Keep sentences short and literal under straight quotes and apostrophes only, omitting em dashes, double hyphens in prose, fabricated numbers, bold noun-phrase bullet labels, and padded phrasing such as contrastive reframing or -ing clause tails.

Consequences

Positives

Technical constraints stay explicit across human authors and AI-assisted edits. Tooltips powered by the Glossary explain domain jargon on demand without bloating requirement specs.

Negatives

Contributors and agents must run both a humanizer-v2 prose check and zensical build --clean before committing documentation updates.