S02-06 - Prose, Secrets and VM Tests
Purpose: How prose is checked, how secrets are kept out of the tree, and where the tests that run guest VMs run.
Design
Section titled “Design”Prose is checked like code. Both checks are part of lint and run in
the CI docs job.
prose:lintruns Vale over every Markdown and MDX file: specs, README, AGENTS.md, and the docs site. Errors fail, and warnings advise. CI andcirun all of it.prose:lint-changedruns Vale for local work. It lints the Markdown and MDX files changed againstorigin/mainand prints only the alerts on changed lines, so an agent isn’t led to reword text it didn’t write. It fails on an error anywhere in a changed file. CI andcidon’t run it.prose:spellruns cspell (American English) over every tracked file that isn’t source code: Markdown, MDX, YAML, JSON, TOML and similar. It depends on the frozen install of the docs package, which holds cspell, so a fresh worktree needs no other setup.prose:spell-coderuns cspell over source code (*.go,*.swift,*.protoand the other code files named in.mise.toml). It only warns, and nothing runs it by default: notprose:spell,lint,cior the CI workflow. The spell check of all of it was an experiment. Over a week it reported 178 distinct misses in.gofiles, mostly package names, test fixtures and escaped bytes, and the one real typo it caught was inrenovate.json(I760I760 (open): Prose checks: cspell in every worktree, report pages checked before the train, Vale on changed files, and a batch prose passA measurement of the prose checks (Vale prose:lint, cspell prose:spell) over 2026-11-05 to 2026-11-10 found low cost: about 2 to 3% of agent tokens and 2.2% of GitHub CI job-minutes.). Words that only code needed stay incspell-words.txt.
cspell.json skips the generated github-refs.json of the docs site,
which holds issue titles that no pull request reviews as prose.
Vale is pinned in .mise.toml. Its style packages are vendored under
.vale/styles/, with the pinned release and checksum recorded in
.vale.ini. So ci stays offline.
cspell is an exact-pinned devDependency of the docs package. mise’s
npm: backend does not record a checksum, and bun.lock pins the
whole tree.
Secrets
Section titled “Secrets”Secrets use op:// references, resolved by
fnox. An [env] block loads an optional
gitignored .env. Plaintext tokens are never written to disk.
Tests that run guest VMs
Section titled “Tests that run guest VMs”Tests that need to run guest VMs can’t run on hosted runners, and are
not part of ci. They are the conformance suite and the benchmarks
(S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq…).
- Until v1 is close, they run on the maintainer’s Mac.
- Issues that need a running macOS guest carry the
needs-vmlabel. A wave builds one of them at a time. - Whether to add a self-hosted Apple Silicon runner is revisited near v1.
Decisions
Section titled “Decisions”Vale doesn’t lint source code comments
Section titled “Vale doesn’t lint source code comments”- Why: a trial run over the Go, Swift, and config comments found little besides section rulers, command-line flags, and terse comment style.
One needs-vm issue per wave
Section titled “One needs-vm issue per wave”Status: Active