Showcase
A command spec, for the operator and the model
Commands accumulate lore — arguments in one place, steps in another, the caution that saves you at 2am in a third. As one SemText document, the argument table, the ordered procedure and the invariants are records: an agent can execute the procedure or answer “what does --verify-schema do?” from the same file the operator skims.
The document
The properties block renders a definition grid (the
aria-label repeats the key for
assistive tech), and the procedure's
current step shows where a run
stands.
command example
Render view: this block wires to the SemText runtime bundle in the full example viewer (port-reference lane) — the source beside it is the same file, byte for byte.
Why this works
-
sem-propertypairs are a closed set: key is the term, content is the value — a definition list, not a layout. -
kindqualifies every block (arguments,runbook,invariant) — the machine reading knows what each record is. - The danger note renders beside the flow in every tier — cautions are content, not chrome.
Elements used: sem-properties,
sem-procedure,
sem-facts,
sem-note. Their contracts live on
the reference pages
.