From f1b2011e1c6e90d37d6c557c78b12f3afc0a62af Mon Sep 17 00:00:00 2001 From: lex00 <121451605+lex00@users.noreply.github.com> Date: Tue, 15 Sep 2026 13:31:52 -0600 Subject: [PATCH] docs: the isolation column on the corpus page (#171 follow-on) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #171's title says the fraction that still folds under `isolated` is the number the by-construction claim rests on. It has been measured since #212 and lived only in `packages/conformance/corpus-report.md`, where a reader of the site would not find it. 441 files, 359 folding under `open`, 353 under `isolated`, 6 lost. Every figure comes from `figures.json` rather than the prose, as the rest of the page does. The section says what `isolated` buys and what it costs, and sends a reader to the report for the per-file list and the split by refusal kind. That split is not a figure here: `sync-spec.mjs` reads the report with regexes and #190 is the bug that habit produced, so this adds no new slurp. It also states the failure mode, which is checked rather than asserted: `corpus.isolated` is absent from `figures.json` when the report was regenerated without the Rust evaluator or the external checkouts, and the page then fails the build naming the path and the line. Stripping the section from the report and rebuilding produces exactly that, which is what the `figure` shortcode exists for — a figure that renders as nothing is the defect it stops. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01AzfJnYw9p6rAxhJqXK3CPv --- docs/content/spec/conformance/corpus.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/content/spec/conformance/corpus.md b/docs/content/spec/conformance/corpus.md index 981da2b..a0b77c3 100644 --- a/docs/content/spec/conformance/corpus.md +++ b/docs/content/spec/conformance/corpus.md @@ -143,6 +143,31 @@ At {{< figure "corpus.revision" >}} the two agree on all {{< figure "corpus.dataHost.bothFold" >}} fold on both sides to the same namespace, envelopes included. +## The isolation column + +The corpus runs a fourth time under `ι = isolated`. `F-IsolatedRefusal` refuses +every project-owned invocation there. A file whose fold would invoke project +code runs instead. The difference between the two runs is what the guarantee +costs. + +| Files | Folds under `open` | Folds under `isolated` | Lost to isolation | +|---|---|---|---| +| {{< figure "corpus.isolated.files" >}} | {{< figure "corpus.isolated.openFolds" >}} | {{< figure "corpus.isolated.isolatedFolds" >}} | {{< figure "corpus.isolated.lost" >}} | + +`isolated` is the mode that executes no project code at all, and this is the +coverage it costs. A reader deciding whether to build that way needs the number +rather than an assurance that it is small. + +The report names every lost file and splits them by what chant refused: a +composite factory, a constructor, or an import. All three kinds are isolation's +own. Since spec 2.0 a project-file callee is refused at `F-Call` step 5 under +every mode but `executing`, so what `isolated` refuses beyond that is a package +this build did not load as an active lexicon. + +The column needs a complete run. `corpus.isolated` is absent from +`figures.json` when the report was regenerated without it, and this page then +fails the build rather than rendering a blank. + ## What the test asserts `corpus.test.ts` has six assertions, and three of them guard against the check