<?xml version="1.0" encoding="UTF-8"?>
<voice xmlns="https://www.tinyactors.dev/ns/voice" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="explanation" kinds="explanation" xsi:schemaLocation="https://www.tinyactors.dev/ns/voice voice.xsd">
  <name>Explanation</name>
  <description>A chapter of a book that argues: a reader follows it from start to end to understand a design, and its costs, before depending on it.</description>
  <rule id="headings">Headlines, headings and claims' statements are 1 to 8 words, sentence case, with no period at the end ("Build a team chat"); a question keeps its question mark.</rule>
  <rule id="findings">A headline states a benefit, a heading its finding, and a sentence before a block what the block shows.</rule>
  <rule id="lede">The lede sets the context a newcomer lacks: what the thing is, what problem the page explains, and what the reader can judge after it.</rule>
  <rule id="rhythm">Sentences are at most 30 words and vary in length: most under 20, about a third under 8, so a short sentence lands each point.</rule>
  <rule id="paragraphs">The prose is passages of up to five sentences, each at most 32 words, varying in length.</rule>
  <rule id="cause">Join a cause to its effect in one sentence with "so", "because" or "which is why", rather than two sentences side by side.</rule>
  <rule id="numbers">A number says what was measured, on what and with what, and which way the setup leans; a measured number replaces any adjective.</rule>
  <rule id="plain">No adjective that does not measure something, no hype words, no emoji. Never write "formal verification".</rule>
  <rule id="negatives">A negative names the reader's current tool or belief ("never opens a socket", "no server to operate"); never deny what nobody assumed.</rule>
  <rule id="address">The reader is "you"; "we" is the maintainers, for what they decided, measured or got wrong. Contractions are fine.</rule>
  <rule id="questions">No rhetorical questions. A question only quotes the reader: an objection, or a heading of frequently asked questions.</rule>
  <rule id="actions">Actions are a verb and an object, 2 to 4 words.</rule>
  <rule id="terms">Name SCXML and actor terms exactly (state, event, transition, actor, host). The product name is lowercase: tinyactors.</rule>
  <rule id="commas">No serial comma: "states, events and transitions".</rule>
  <rule id="examples">Examples are things people build: an order, a payment, a subscription, a chat session; never a door, a light switch or a traffic light.</rule>
  <rule id="facts">Never add a claim, number, name or capability that the page or its sources do not state.</rule>
  <rule id="audience">Never name the reader's role ("as a tech lead", "for operators"); write for them by choosing what to explain.</rule>
  <rule id="site">Never explain how the site is made (that a page is generated, captured or checked); say what the thing does for the reader.</rule>
  <rule id="proof">Each section opens with a problem, the concrete situation it solves with its stakes, never a question; passages build the idea, then a figure, a table or a claim with its source proves it.</rule>
  <rule id="history">Tell how the reader's system got where it is as a sequence of reasonable steps, then what it costs; say what the design does not fix.</rule>
  <rule id="order">Terms are introduced before they are used, and each section ends where the next one's question starts.</rule>
</voice>