dreamstop: a user manual for continuous disambiguation

1 About this manual

This manual is for people and agents who work on OpenFP documentation. It teaches dreamstop, a language for continuous disambiguation. It covers the codes, clause positions, the semantics, verdicts, questions, the six document kinds and minimal pairs.

The manual follows the dreamstop specification, version 2. The dreamstop Haskell package lives in the dreamstop/dreamstop repository. No step in this manual uses that package.

The chapters from The one property to Document kinds introduce the language in order. The chapters from Annotating a sentence to Reviewing with dreamstop are procedures. Reference table and the Glossary collect the codes and the terms.

Readings appear in monospace, as in [ASR·HAB]. Every sentence of this manual has a reading under the manual kind, kept beside the sentence in the source. The source also records each subordinate clause's position and parent after a slash, as in [ASR·HAB]/rel1. Act nouns carry BSC or OBJ in braces, as in {review: BSC}. A quoted example counts as content of the sentence around it. Every pair in this manual comes from a kind repository, and its readings are printed from the pair data in display form.

2 The one property

dreamstop secures one property. Every question that a reader is entitled to ask of a document has exactly one answer.

A document fails this property in two ways. Ambiguity of reading is a sentence with several meanings. Ambiguity by omission is a clear text that fits several situations of concern to the reader. Both leave a question with more than one answer, so dreamstop treats them as one failure.

Failure Example What it leaves open
Ambiguity of reading Added the review store, which moved reviews out of SQLite. whether the move is a one-off import or what the store does
Ambiguity by omission Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0. whether operators must do anything

Readers make both failures visible by annotating each clause with codes. A program checks every reading against the document's kind. A document passes when every question of its kind has one answer for every reader.

Continuous disambiguation applies this test at every review. A wrong reading of a ChangeLog entry costs an incident after a release. The same reading costs one rewrite at review.

3 Clauses and segmentation

A reading of a sentence is a non-empty list of clauses, in order. A sentence with several meanings has several readings.

A clause is one finite verb group with everything it governs. Five rules settle the boundaries of clauses.

  1. A finite verb group is a finite verb with its auxiliaries and modals. An imperative is finite.

  2. Every finite verb group starts a clause, including in relative, temporal and conditional clauses.

  3. Infinitives, participles and verbless adjuncts are not clauses. They belong to the clause that contains them.

  4. Coordinated finite verbs are separate clauses, even with one shared subject.

  5. Clauses are ordered by the position of their finite verb in the text.

Sentence Finite verb groups Clauses
The store removes the table and adds a log. removes, adds 2
Keep the guard armed until the import has finished. Keep, has finished 2
Set metering.vx to raise the fuel default. Set 1
The children the forge spawns inherit its lock. spawns, inherit 2

Finiteness is a syntactic test. Two readers apply it the same way, so segmentation involves no judgement about meaning. A subordinate clause takes ASR unless it is itself a command, a question or a warning.

4 Clause positions

Segmentation also gives each clause a position. A clause in any position but main has a parent, the clause around it. Position is syntax, so readers agree on it without judgement.

Position What it is Cues Example
Main a clause not inside another Added the review store
Relative describes a noun of its parent which, that, who, or a reduced relative which keeps reviews in acid-state
Adverbial says when, if, until, why or with what result its parent holds when, if, until, after, because, so when the forge has imported the reviews
Complement is the object of its parent's verb that, whether that the lock is inherited

Document kinds allow different codes in different positions. Document kinds shows the patterns.

5 Codes and their order

Every clause has ten slots. Force and aspect always have a value. Mood has the default FAC. Phase, the two negations, the modal, bound and evidence are optional.

Each code has three letters. A clause renders as its codes in a fixed order, joined by a middle dot inside square brackets.

Force · Mood · Aspect · Phase · NEG · Ground · Strength · NEG · Bound · Evidence

The block above is a template, not a reading. FAC, absent slots and false negations are not rendered. A clause with no modal has one negation position, after phase. A sentence renders as its clauses separated by spaces.

[ASR·HAB·CSS]
[ASR·HAB·DEO·NEC]
[ASR·PFV] [ASR·HAB·INC]
[ASR·PFV] or [ASR·HAB]

The block above holds four example readings, one per line. The third reading has two clauses. The fourth line joins two readings of one ambiguous sentence with or.

The fixed order makes equal meanings print equally. Aspect prints beside force, although it applies first, as Semantics and laws explains.

6 Force

Force says what the speaker does with the clause. Every clause has exactly one force.

Code Meaning English cues Example Reading
ASR assertive: states that p declarative sentence The shell no longer accepts unsigned commands. [ASR·HAB·CSS]
DIR directive: tells the reader to do something imperative Upgrade nixlab-shell. [DIR·PFV]
IRG interrogative: asks which alternative holds question mark, inversion Does healthz answer? [IRG·HAB]
DEC declarative: the utterance makes it so this release deprecates, is hereby This release deprecates oldApi. [DEC·PFV]
ADM admonitive: warns of a risk do not, never, be careful, with a hazard Do not run this against production. [ADM·PFV·NEG]
CMS commissive: commits the author to a future act will with the author as agent, is scheduled for oldApi will be removed in 0.25. [CMS·PFV]

Each force is answered differently. An assertion is true or false, and a directive is complied with. A question is answered, and a declaration takes effect by being said. A warning names a hazard, and a commitment is kept or broken.

Aspect applies under every force. Upgrade X, read as [DIR·PFV], and Upgraded X, read as [ASR·PFV], differ in force alone.

A reader checks a record against the software. A command or a question is not true or false. Each document kind therefore allows only some forces.

These pairs from the kind repositories teach the force. Each row records the source of its text.

Kind Question Bad side Good side Source
Manual Does the manual claim that one idea can replace JSON, REST and Bash? (sentence question) How can one idea replace and unify all three? [IRG·HAB·ABL·POS] or [ASR·HAB·ABL·POS] or [ASR·HAB·NEG·ABL·POS] One idea can replace and unify all three. [ASR·HAB·ABL·POS] Kept from v1 P63. The bad side is verbatim, the second half of manual/introduction.typ:11-12 ('JSON, REST and Bash are completely different ideas – how can one idea replace and unify all three?'). The good side is written.
Issue Is the author asking which design holds, or stating that either one is acceptable? (sentence question) The rule is always on, or a `merge-gates.vx` setting. [ASR·HAB] or [IRG·HAB] Is the rule always on, or a `merge-gates.vx` setting? [IRG·HAB] Kept from v1 P67. Written. Neither side is verbatim.
ChangeLog Do the authors commit to removing `seedKeys` and `services`, or only expect them to go? (sentence question, and ChangeLog: what behaves differently now) `seedKeys` and `services` will be removed. [ASR·PFV] or [CMS·PFV] `seedKeys` and `services` will be removed in 0.6.0. [CMS·PFV] Written. Based on nixlab-bundle/ChangeLog.md:619-620, where release 0.5.0 deprecates the two names. The release number 0.6.0 is invented. Neither side is verbatim.
ChangeLog what changed Split vortex-shell from the vortex repository into its own repository. [ASR·PFV] or [DIR·PFV] Moved vortex-shell from the vortex repository into its own repository. [ASR·PFV] Bad side verbatim: /home/lc/src/vortex-shell/vortex-shell/ChangeLog.md:321. Good side written.
ChangeLog what changed Retire QC.DescribeCheckCoverage. [DIR·PFV] This edition retires QC.DescribeCheckCoverage. [DEC·PFV] Good side verbatim: /home/lc/src/qc5/quality-control/ChangeLog.md:55, first sentence. Bad side written.
Manual how do I recover: can a system that fails to boot without a console be got past, or only sometimes? Do not reboot the machine: without a console, a system that fails to boot can not be got past. [ADM·PFV·NEG] [ASR·HAB]/rel3 [ASR·HAB·NEG·ABL·POS] or [ADM·PFV·NEG] [ASR·HAB]/rel3 [ASR·HAB·ABL·POS·NEG] Do not reboot the machine: without a console, a system that fails to boot cannot be got past. [ADM·PFV·NEG] [ASR·HAB]/rel3 [ASR·HAB·NEG·ABL·POS] Both halves are verbatim: "do not reboot the\nmachine" is /home/lc/src/systems/shattrath/DEPLOY.md:6-7 and "without a console, a system that fails to boot cannot be got past" is /home/lc/src/systems/shattrath/DEPLOY.md:324, joined with a colon. The bad side is written by splitting "cannot".

7 Mood

Mood says whether the clause is put forward as fact.

Code Meaning English cues Example Reading
FAC factual, the default, not rendered indicative The forge restarts the runner. [ASR·HAB]
HYP hypothetical: considered without commitment if we, would, suppose If we adopt option B, the forge would restart the runner. [ASR·HYP·PFV] [ASR·HYP·HAB]
COU counterfactive: known to be false would have, had we The law would have caught the race. [ASR·COU·PFV]

Issues and designs weigh options. An option in the place of a decision misleads a reader. ChangeLogs, READMEs and manuals are FAC throughout, because their reader acts on them.

These pairs from the kind repositories teach the mood. Each row records the source of its text.

Kind Question Bad side Good side Source
README What does it do? The forge refuses to import the SQLite tables again, since a token revoked or a key removed since the import would work again. [ASR·HAB] [ASR·HYP·HAB]/adv1 {import: BSC} or [ASR·HAB] [ASR·COU·HAB]/adv1 {import: BSC} The forge refuses to import the SQLite tables again, since importing them again makes a token revoked or a key removed since the import work again. [ASR·HAB] [ASR·HAB]/adv1 {import: BSC} The bad side is from /home/lc/src/nixlab-shell-todos-266/nixlab-shell/README.md:979-982, verbatim from "refuses" on, with the subject "it" replaced by "The forge" and the opening conditional dropped. The good side is written.
README What does it do? Here: which pushes does the forge refuse? A push that would give a branch and a tag one name is refused, since git takes such a name for the tag. [ASR·HYP·HAB]/rel2 [ASR·HAB] [ASR·HAB]/adv2 or [ASR·COU·HAB]/rel2 [ASR·HAB] [ASR·HAB]/adv2 A push that tries to give a branch and a tag one name is refused, since git takes such a name for the tag. [ASR·HAB]/rel2 [ASR·HAB] [ASR·HAB]/adv2 The bad side is verbatim from /home/lc/src/nixlab-shell-todos-266/nixlab-shell/README.md:246-248. The good side is written.

8 Aspect

Aspect relates the event to the reference time. Every clause has an aspect.

Code Meaning English cues Example Reading
PFV perfective: the event as a whole simple past, a single imperative act Added the review store. [ASR·PFV]
PRF perfect: it happened and its result holds has, have, had with a participle When the forge has imported the reviews, back up STATE/reviews/. [ASR·PRF] [DIR·PFV]
PRG progressive: under way, unfinished is …ing, keep Keep the guard below armed. [DIR·PRG]
HAB habitual: what the thing is or regularly does simple present, states, generic truths An Issue carries issueAssignee. [ASR·HAB]

Aspect decides whether a clause reports an event. The commonest failure in the corpus is moved against moves. States and generic truths take HAB.

An imperative takes the aspect of its act. A single act is PFV, a standing practice is HAB, and keeping a state is PRG.

PRG has an imperfective paradox. “The forge was importing reviews” leaves open whether the import finished.

These pairs from the kind repositories teach the aspect. Each row records the source of its text.

Kind Question Bad side Good side Source
ChangeLog what behaves differently now (does the review table now hold the book as a settled fact, or is that move still going on?) Added `NixLab.ReviewTable`, which is now keeping nixlab-dsl's review book in vortex-table's `Table` over a `Reviews` schema. [ASR·PFV] {review: OBJ} [ASR·PRG]/rel1 Added `NixLab.ReviewTable`, which now keeps nixlab-dsl's review book in vortex-table's `Table` over a `Reviews` schema. [ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 Good side adapted from /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md, line 24 ("which keeps nixlab-dsl's review book …"). "now" was added; it matches the INC a release action gives its relative clause. The bad side is constructed.
ChangeLog what changed (in release 0.20.0) NixLab 0.57.0 replaces 0.55.0, with nixlab-shell 0.121.0.0 and nixlab-web 0.40.0.0. [ASR·HAB] NixLab 0.57.0 replaced 0.55.0, with nixlab-shell 0.121.0.0 and nixlab-web 0.40.0.0. [ASR·PFV] Bad side verbatim from /home/lc/src/shattrath/ChangeLog.md, 0.20.0. The good side is constructed. "Upgraded NixLab from 0.55.0 to 0.57.0", the style of 0.21.0, would also do.
README what does it do (does the documented revision turn the monomorphism restriction off?) vortex-elab turned the monomorphism restriction off, so `let cast = roll 100` is accepted. [ASR·PFV] [ASR·HAB]/adv1 vortex-elab turns the monomorphism restriction off, so `let cast = roll 100` is accepted. [ASR·HAB] [ASR·HAB]/adv1 Constructed for a README. The good side's wording follows /home/lc/src/vortex-elab/vortex-elab/ChangeLog.md ("vortex-elab turns that restriction off, so the binding is accepted").
Manual Sentence question: which reading does it have? (Operator: "From when are `reviews` and `approvals` the only copy, so that the backup must contain them?") Once nixlab-shell 0.122.0.0 imports the reviews and sign-offs, `reviews` and `approvals` are the only copy of them. [ASR·HAB]/adv2 [ASR·HAB] or [ASR·PFV]/adv2 [ASR·HAB] Once nixlab-shell 0.122.0.0 has imported the reviews and sign-offs, `reviews` and `approvals` are the only copy of them. [ASR·PRF]/adv2 [ASR·HAB] Good side verbatim from /home/lc/src/shattrath/DEPLOY.md, lines 85–86, cut before "and a restore without either …". The bad side is constructed.
ChangeLog what behaves differently now Typing quickly into a search or filter box dropped keys. [ASR·PFV] or [ASR·HAB] Typing quickly into a search or filter box no longer drops keys. [ASR·HAB·CSS] Good side verbatim from /home/lc/src/nixlab-web-review-verdicts/nixlab-web/ChangeLog.md:88, the first sentence of the bullet. The bad side is written.

9 Phase

Phase is a change in truth across a reference point. Each document kind fixes its reference point. A ChangeLog measures from the release, and an issue measures from the time of writing. READMEs and manuals have no reference point, so their kinds allow no phase.

Code English cue Before p After p Example Reading
INC now false true Operators must now back up STATE/reviews/. [ASR·HAB·INC·DEO·NEC]
CSS no longer true false The shell no longer accepts unsigned commands. [ASR·HAB·CSS]
CNT still true true Compiled code that loops without allocating is still uninterruptible. [ASR·HAB] [ASR·HAB·CNT]
EXP not yet false false, p expected The forge does not use it yet. [ASR·HAB·EXP]

A ChangeLog reader asks about the difference between the two sides of a release. Phase answers that question directly.

These pairs from the kind repositories teach the phase. Each row records the source of its text.

Kind Question Bad side Good side Source
ChangeLog What behaves differently now? `/search` is a page of the app. [ASR·HAB] `/search` is now a page of the app. [ASR·HAB·INC] Good side: the first clause of a verbatim sentence in /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md:232 (0.99.0.0). Bad side written by deleting "now".
ChangeLog What behaves differently now? A metered block's pure evaluation now spends fuel. Compiled code looping without allocating is uninterruptible. [ASR·HAB·INC] [ASR·HAB] A metered block's pure evaluation now spends fuel. Compiled code looping without allocating is still uninterruptible. [ASR·HAB·INC] [ASR·HAB·CNT] Written from /home/lc/src/vortex-shell/vortex-shell/ChangeLog.md:5 and :12 (0.7.0.0), whose two bullets are joined into one entry here, with "now" and "still" added. The second sentence follows the CNT example in spec section 2.7. The source's finite relative clause "that loops" became the participle "looping": a finite relative clause is itself an ASR clause, and it would need a phase of its own.
ChangeLog What behaves differently now? Updated openfp.net from 2.3.19 to 2.3.20, cut on lts/2.3. It serves the Quality Control page at `https://openfp.net/quality-control/`. It still serves handbook edition 0.16.0.0. [ASR·PFV] [ASR·HAB] [ASR·HAB·CNT] Updated openfp.net from 2.3.19 to 2.3.20, cut on lts/2.3. It now serves the Quality Control page at `https://openfp.net/quality-control/`. It still serves handbook edition 0.16.0.0. [ASR·PFV] [ASR·HAB·INC] [ASR·HAB·CNT] Bad side verbatim from /home/lc/src/systems/skettis/ChangeLog.md:102-107 (0.2.63), trimmed. The trims are the relative clause "which describes the handbook…" and the sentence about the home page, each of whose finite verbs would be one more clause to judge. Good side written.
ChangeLog Which reading does it have? (sentence question) A rev-pinned flake input or `fetchgit` still fetches its commit after a later push to the branch. [ASR·HAB·CNT] or [ASR·HAB] A rev-pinned flake input or `fetchgit` now fetches its commit after a later push to the branch. [ASR·HAB·INC] Adapted from /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md:1323 (0.2.1), which says verbatim "a rev-pinned flake input or `fetchgit` still fetches after its branch moves on". The temporal clause "after its branch moves on" became the verbless adjunct "after a later push to the branch": as a finite subordinate clause it is ASR and would need a phase of its own.
ChangeLog Which reading does it have? (sentence question) A project or group called `sw.js` is not refused now. [ASR·HAB·CSS] or [ASR·HAB·NEG] A project or group called `sw.js` is not yet refused. [ASR·HAB·EXP] Good side verbatim from /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md:239 (0.98.0.0). Bad side written as a realistic variant.
ChangeLog What behaves differently now? The forge imports each book from SQLite once, at its first use. [ASR·PFV·ONE] The forge now imports each book from SQLite once, at its first use. [ASR·PFV·INC·ONE] Good side verbatim from /home/lc/src/nixlab/ChangeLog.md:5 (0.58.0). Bad side written by deleting "now".
ChangeLog Which reading does it have? (sentence question) Added `NixLab.ApprovalTable`. The forge does not use it now. [ASR·PFV] [ASR·HAB·CSS] or [ASR·PFV] [ASR·HAB·NEG] Added `NixLab.ApprovalTable`. The forge does not use it yet. [ASR·PFV] [ASR·HAB·EXP] Good side adapted from /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md:25 (0.120.0.0). The bullet's middle sentences are trimmed, and its last sentence, "The forge does not use it yet.", is verbatim. Bad side written.
ChangeLog ChangeLog: what behaves differently now Breaking: callers constructing a `Shell` must add `pageSize = Nothing` to keep the old behaviour. [ASR·HAB·TEL·NEC] Breaking: callers constructing a `Shell` must now add `pageSize = Nothing` to keep the old behaviour. [ASR·HAB·INC·TEL·NEC] /home/lc/src/vortex-shell/vortex-shell/ChangeLog.md:103. The bad side is verbatim (the entry's first sentence). The good side adds "now" and is constructed.
ChangeLog Sentence question: which reading does it have? (Operator: "Did the import already happen somewhere, or does the forge do it once after this release?") Reviews and sign-offs are now kept in acid-state books under `/var/lib/nixlab/reviews/` and `/var/lib/nixlab/approvals/`, which the forge imported once from SQLite. [ASR·HAB·INC] {reviews: OBJ, sign-offs: OBJ} [ASR·PFV]/rel1 or [ASR·HAB·INC] {reviews: OBJ, sign-offs: OBJ} [ASR·PFV·ONE]/rel1 Reviews and sign-offs are now kept in acid-state books under `/var/lib/nixlab/reviews/` and `/var/lib/nixlab/approvals/`, which the forge now imports once from SQLite. [ASR·HAB·INC] {reviews: OBJ, sign-offs: OBJ} [ASR·PFV·INC·ONE]/rel1 Good side from /home/lc/src/shattrath/ChangeLog.md, 0.21.0. The real text says "which the forge imports once", with no "now", which leaves the change without a phase, so "now" was added. The bad side is constructed.

10 Modality: Ground and Strength

A modal is one Ground and one Strength, written ground first. The ground is the source of the modal. The strength is the share of admitted situations with the content true.

Axis Code Meaning Test
Ground DEO a rule or permission the blame test: doing otherwise is possible but blameworthy
Ground ABL the nature or capacity of the thing the impossibility test: otherwise is not an option
Ground TEL what a named goal requires the goal test: doing otherwise fails the goal, and nobody is to blame
Strength NEC necessary holds in every situation the ground admits
Strength WNC weakly necessary holds in every best situation the ground admits
Strength POS possible holds in some situation the ground admits
English Modal Example Reading
must DEO·NEC Callers must add pageSize = Nothing. [ASR·HAB·DEO·NEC]
should DEO·WNC Operators should rotate the token monthly. [ASR·HAB·DEO·WNC]
may, of permission DEO·POS Reviewers may record a review while CI runs. [ASR·HAB·DEO·POS] [ASR·HAB]
can, of ability, and may, of what might happen ABL·POS The spend can vary by a few units. [ASR·HAB·ABL·POS]
inevitably, always by its nature ABL·NEC xs <- … always captures the whole value. [ASR·HAB·ABL·NEC]
to do G, you need TEL·NEC To build the manual you need Typst 0.14. [ASR·HAB·TEL·NEC]
to do G, you ought to TEL·WNC For reproducible timings you should pin the GPU clock. [ASR·HAB·TEL·WNC]

The three tests are applied in turn to choose a ground. The blame test picks DEO. The impossibility test picks ABL. The goal test picks TEL, and TEL applies only to a clause with a named goal.

Must rarely names its source. A clause without a named goal is therefore DEO.

dreamstop has no alethic ground. Necessity from the workings of the system is ABL.

Granting a permission to another party is not a modal of its own. “Guests can be given permission to push” reads as ABL·POS over DEO·POS, with the inner modal as content of the outer clause.

Every combination of ground and strength is meaningful. No reading contains an invalid modal.

10.1 The holder of an obligation

The codes do not record the holder of a DEO clause. The holder is a fact about the subject, and the codes see no subjects.

Sentence Reading Holder
« Il faut sauvegarder X. » [ASR·HAB·DEO·NEC] nobody named
« Les opérateurs doivent sauvegarder X. » [ASR·HAB·DEO·NEC] operators

Both sentences match the same pattern. A ChangeLog reader asks about obligations, and readers answer that question from the text. What codepoints cannot see lists this limit.

These pairs from the kind repositories teach the modality. Each row records the source of its text.

Kind Question Bad side Good side Source
Manual Manual: how do I know it worked Each certificate should name Let's Encrypt as its issuer. [ASR·HAB·DEO·WNC] or [ASR·HAB·INF] Each certificate names Let's Encrypt as its issuer. [ASR·HAB] /home/lc/src/systems/skettis/DEPLOY.md:166. The bad side is verbatim up to the comma. The source continues "and www.nixlab.systems's should name www.nixlab.systems as its subject", which has the same issue. The good side is constructed.
README README: what does it need The modules in `scope` must be installed where GHC can find them at run time. [ASR·HAB·DEO·NEC] [ASR·HAB·ABL·POS]/adv1 or [ASR·HAB·ABL·NEC] [ASR·HAB·ABL·POS]/adv1 Elaboration needs the modules in `scope` installed where GHC can find them at run time. [ASR·HAB·TEL·NEC] [ASR·HAB·ABL·POS]/adv1 /home/lc/src/vortex-shell/vortex-shell/README.md:47-48. The good side is verbatim up to its closing colon, which introduces a code block. The bad side is constructed.
README what does it do A Maintainer may create it. [ASR·HAB·DEO·POS] or [ASR·HAB·ABL·POS] A Maintainer is permitted to create it. [ASR·HAB·DEO·POS] Bad side verbatim: /home/lc/src/nixlab-shell/nixlab-shell/README.md:111 (the protected branch is "it"). Good side written.
README what does it need `chalk` needs typst, FFmpeg and the design kit's fonts at run time. [ASR·HAB·TEL·NEC] or [ASR·HAB·ABL·NEC] To run `chalk` you need typst, FFmpeg and the design kit's fonts. [ASR·HAB·TEL·NEC] Bad side verbatim: /home/lc/src/chalk/chalk-shell/README.md:153. Good side written.

11 Negation scope

NEG before the modal negates the modal. NEG after the modal negates the content. The position of NEG in the reading is its scope.

Codes Logic English Example Reading
NEG·DEO·NEC not necessarily p need not Callers need not change their imports. [ASR·HAB·NEG·DEO·NEC]
DEO·NEC·NEG necessarily not p must not Agents must not push to main. [ASR·HAB·DEO·NEC·NEG]
NEG·ABL·POS not possibly p cannot The tag cannot be moved by a later push. [ASR·HAB·NEG·ABL·POS]
ABL·POS·NEG possibly not p can refrain, can leave unset You can leave pageSize unset. [ASR·HAB·ABL·POS·NEG]

“Need not” and “must not” differ only in scope. The first leaves an act optional, and the second forbids it. A single negation slot cannot tell them apart, so dreamstop has two.

May, in the sense of permission, is DEO·POS. Its dual form NEG·DEO·NEC·NEG means the same and is rewritten to DEO·POS.

A clause with no modal has one negation position, and NEG there denies the clause.

These pairs from the kind repositories teach the negation scope. Each row records the source of its text.

Kind Question Bad side Good side Source
ChangeLog must I do anything, for callers Callers cannot change their imports when upgrading from version 0.2.1. [ASR·HAB·NEG·ABL·POS] {imports: OBJ} Callers need not change their imports when upgrading from version 0.2.1. [ASR·HAB·NEG·DEO·NEC] {imports: OBJ} Corpus v1 pair P48, both sides kept verbatim. Real house wording of the good shape: nixlab-shell-metering/ChangeLog.md:819, "the forge need not be redeployed for it".
README Which reading does it have? A host can not set `pageSize`. [ASR·HAB·NEG·ABL·POS] or [ASR·HAB·ABL·POS·NEG] A host can leave `pageSize` unset. [ASR·HAB·ABL·POS·NEG] Written for this corpus from vortex-shell-metering/README.md:59 and :124, where `pageSize = Nothing` and `pageSize = Just n` are both shown. Neither side is verbatim.
README Which reading does it have? A store written for one schema may not be opened with a schema that adds, removes or reorders any of them. [ASR·HAB·NEG·DEO·POS] [ASR·HAB]/rel1 [ASR·HAB]/rel1 [ASR·HAB]/rel1 or [ASR·HAB·ABL·POS·NEG] [ASR·HAB]/rel1 [ASR·HAB]/rel1 [ASR·HAB]/rel1 A store written for one schema must not be opened with a schema that adds, removes or reorders any of them. [ASR·HAB·DEO·NEC·NEG] [ASR·HAB]/rel1 [ASR·HAB]/rel1 [ASR·HAB]/rel1 Good side verbatim: vortex-table-acid/vortex-table-acid/README.md:52-54, the clause after "so". The bad side is a one-word edit.
README Which reading does it have? The tag can not be moved by a later push. [ASR·HAB·NEG·ABL·POS] or [ASR·HAB·ABL·POS·NEG] The tag cannot be moved by a later push. [ASR·HAB·NEG·ABL·POS] Written for this corpus. The good side is the 2.9 example. Not found verbatim under /home/lc/src.

12 Bound

Code Meaning English cues Example Reading
ONE happens one time in the program's life, however long it takes once, the first time, a one-off The store now imports the SQLite review tables once, at its first use. [ASR·PFV·INC·ONE]

A one-off migration and recurring behaviour call for different action from operators. ONE excludes HAB, because one time and regularly contradict each other. Bare HAB already means each occurrence. Object quantifiers such as each and every are content, not bound.

These pairs from the kind repositories teach the bound. Each row records the source of its text.

Kind Question Bad side Good side Source
ChangeLog Sentence question: which reading does it have? (Operator: "Does each restart open the review store again?") It now holds nixlab-dsl's review book in vortex-table-acid's durable tables under `STATE/reviews/` and its approval book under `STATE/approvals/`, and the server now opens it once. [ASR·HAB·INC] {review: OBJ} [ASR·PFV·INC·ONE] or [ASR·HAB·INC] {review: OBJ} [ASR·HAB·INC] It now holds nixlab-dsl's review book in vortex-table-acid's durable tables under `STATE/reviews/` and its approval book under `STATE/approvals/`, and the server now opens it once per start. [ASR·HAB·INC] {review: OBJ} [ASR·HAB·INC] Bad side verbatim from /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md, 0.122.0.0, line 5 (second sentence of the review-store entry). The good side is constructed.
Manual Sentence question: which reading does it have? (Operator: "Can this failure appear in the journal more than once?") `MovesNotFollowed` or `CheckpointFailed` after the import is reported once and tried again with the next to-do call. [ASR·PFV·ONE] {import: BSC} [ASR·HAB] or [ASR·HAB] {import: BSC} [ASR·HAB] `MovesNotFollowed` or `CheckpointFailed` after the import is reported once per failure and tried again with the next to-do call. [ASR·HAB] {import: BSC} [ASR·HAB] Bad side verbatim from /home/lc/src/shattrath/DEPLOY.md, lines 265–267. The good side is constructed.
ChangeLog Which reading does it have? The server now opens the review store once. [ASR·PFV·INC·ONE] {review: OBJ} or [ASR·HAB·INC] {review: OBJ} The server now opens the review store at each start. [ASR·HAB·INC] {review: OBJ} Corpus v1 pair P52, kept verbatim. Written for the corpus, not found verbatim under /home/lc/src.

13 Evidence

Evidence states the basis of an assertion. It appears on ASR clauses with mood FAC only.

Code Meaning English cues Example Reading
OBS observed or measured directly by the author we measured, on our machine Startup took 200 ms on an RTX 3060. [ASR·PFV·OBS]
PUP a verifiable third-party record, such as CI in the recorded benchmark, CI shows Median startup fell from 800 ms to 200 ms in the recorded benchmark. [ASR·PFV·PUP]
RPR reported by someone else according to, reported in Users report that the page loads twice. [ASR·HAB·RPR] [ASR·HAB]
INF inferred so, must be, probably The lock is probably inherited. [ASR·HAB·INF]
REC remembered as before, last time The import took an hour last time. [ASR·PFV·REC]

A ChangeLog reader asks about measured claims. OBS and PUP mark a claim as measured. A command or a question has no basis to state. A hypothetical or counterfactual clause commits to nothing, so it has nothing to back.

These pairs from the kind repositories teach the evidence. Each row records the source of its text.

Kind Question Bad side Good side Source
ChangeLog what behaves differently now The generation triggers add about 4 µs per written row. [ASR·HAB] Measured on a copy of the live database, the generation triggers add about 4 µs per written row. [ASR·HAB·OBS] Good side verbatim, first clause: nixlab-shell-todos-266/ChangeLog.md:478. The sentence goes on ", so they are unchanged." Corpus v1 pair P55.
ChangeLog ChangeLog: is any claim measured `issueSearch` costs 35065, 211675 and 1998115 steps for its first page. [ASR·HAB] In the recorded benchmark `bench.vx`, `issueSearch` costs 35065, 211675 and 1998115 steps for its first page. [ASR·HAB·PUP] Bad side from /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md:206, verbatim up to the cut before ", which vortex-budget measures as Linearithmic, at 1249 steps an issue". Good side written. `bench.vx` exists at /home/lc/src/nixlab-shell/nixlab-shell/bench.vx, and the entry says it "keeps the class measured".
Issue Sentence question: which reading does it have? (Who is the basis for the claim that the page loads twice?) Apparently the merge request page loads twice. [ASR·HAB·INF] or [ASR·HAB·RPR] Reportedly, the merge request page loads twice. [ASR·HAB·RPR] Written. The proposition comes from rejected pair X36 in /home/lc/reports/dreamstop corpus v2.md, whose bad side was clear.
ChangeLog Which reading does it have? The page opens in its loading state, as before. [ASR·HAB·CNT] or [ASR·HAB·REC] The page still opens in its loading state. [ASR·HAB·CNT] Bad side verbatim, first clause only: nixlab-web/nixlab-web/ChangeLog.md:46 (also nixlab-web-wasm/nixlab-web/ChangeLog.md:39). The good side is a one-word rewrite.

14 Nominalisations

A noun that names an act can mean the act or its product. Backup, build, release, review, import, migration, upgrade, check, configuration and installation are such nouns. English rarely marks the difference.

Code Meaning English cues Example Reading
BSC the act or procedure the procedure, the process The backup now stops the forge. [ASR·HAB·INC] {backup: BSC}
OBJ what the act produces the copy, the result Restore the forge from the backup. [DIR·PFV] {backup: OBJ}

Every such noun carries BSC or OBJ, in braces after its clause. Other nouns, such as the forge or the database, carry no code.

These pairs from the kind repositories teach the nominalisation codes. Each row records the source of its text.

Kind Question Bad side Good side Source
ChangeLog what does the backup now take? The backup now stops the forge, takes the database, every acid-state store, the repositories and the job logs as one state, and starts the forge again. [ASR·HAB·INC] {backup: BSC} [ASR·HAB·INC] [ASR·HAB·INC] or [ASR·HAB·INC] {backup: OBJ} [ASR·HAB·INC] [ASR·HAB·INC] The backup procedure now stops the forge, takes the database, every acid-state store, the repositories and the job logs as one state, and starts the forge again. [ASR·HAB·INC] {backup: BSC} [ASR·HAB·INC] [ASR·HAB·INC] Owner ruling, specification section 2.12. Written.
Issue Which reading does it have? Here: does the request name what the switch will do, or the system the switch has produced? Inspect the switch. [DIR·PFV] {switch: BSC} or [DIR·PFV] {switch: OBJ} or [DIR·PFV] Inspect the switch with `nix run .#cache-dry-run`. [DIR·PFV] {switch: BSC} /home/lc/src/systems/cache.openfp.net/README.md:30, "Inspect the switch with `nix run .#cache-dry-run`, then install the configuration with `nix run .#cache`." Good side verbatim up to the comma. Bad side is the good side cut before "with".
Issue Sentence question: which reading does it have? (Maintainer: must the backup procedure now cover `keys`, or must each backup file contain it?) From now on, the loop must include `keys` in every backup it takes. [ASR·HAB·INC·DEO·NEC] {backup: BSC} [ASR·HAB]/rel1 or [ASR·HAB·INC·DEO·NEC] {backup: OBJ} [ASR·HAB]/rel1 From now on, the loop must include `keys` in every backup it writes. [ASR·HAB·INC·DEO·NEC] {backup: OBJ} [ASR·HAB]/rel1 Written. Adapted from /home/lc/src/deploy-0.20.0/issue-body.md ("Every backup from now on must include `keys`; the backup loop already lists it"). The subject was changed to the loop and "from now on" was moved to the front so that the sentence has one reduced relative clause and the adjunct attaches to the main clause. The bad side keeps the source's backup, taken by the loop; the good side is written.

The first bad side names a procedure that takes the job logs, or a copy that contains them. The word procedure leaves only the act. Both readings have the same clause codes, so without the noun code the verdict is a false Clear. This manual annotates its own act nouns in the same way, such as {review: BSC} and {edit: OBJ}.

Noun codes split readings only in a kind that declares significant noun. Neutral slots explains this rule.

15 Semantics and laws

15.1 What each layer denotes

In this chapter, p is the content of a clause, a proposition about the program or the reader. Each layer applies to the result of the layer below it.

denote c = force ∘ evidence ∘ mood ∘ phase ∘ outerNeg ∘ modal ∘ innerNeg ∘ bound ∘ aspect
Layer What it denotes
Aspect PFV: the event occurs as a whole. PRF: it has occurred and its result holds. PRG: it is under way and may not finish. HAB: it is what the thing typically does, with exceptions allowed.
Bound ONE: the event occurs exactly one time in the program's life.
Modal the ground selects the situations that count. NEC: p in all of them. WNC: p in all the best of them. POS: p in some.
Negation classical negation at its position.
Phase defined from Before p and After p, the truth of p in the predecessor revision and in the documented revision.
Mood FAC commits to p. HYP considers p without commitment. COU considers p and commits to not p.
Evidence annotates the commitment with its basis and leaves p unchanged.
Force maps the result into its kind of act: judgements, plans, sets of alternatives, changes made by saying, hazards or commitments.

15.2 Normal form

The order is fixed. Two readings mean the same only if they are equal after three rewrites.

  1. NEG·G·NEC·NEG becomes G·POS, and NEG·G·POS·NEG becomes G·NEC.

  2. A clause with no modal carries at most one NEG.

  3. INC directly over a negation becomes CSS on the positive, and CSS over a negation becomes INC. CNT and EXP keep a negation beneath them.

15.3 Laws

The package checks each law on every reading or on every pair.

Law Statement
1. Well-formed every clause has a force and an aspect, and every act noun in it carries BSC or OBJ
2. Strength order G·NEC p implies G·WNC p, which implies G·POS p, within a ground
3. Duality G·POS equals NEG·G·NEC·NEG within a ground. WNC has no dual code.
4. Counit only ABL·NEC has a counit: ABL·NEC p implies p. DEO·NEC p does not imply p, because an obligation is not a fact. TEL·NEC p does not either, because a goal may be abandoned.
5. Unit of ability p implies ABL·POS p: what happens was within capacity
6. Phase from Before and After INC p is not Before p and After p. CSS p is Before p and not After p. CNT p is Before p and After p. EXP p is neither, with p expected.
7. Phase needs a reference point a kind whose documents have no reference point allows no phase in its patterns
8. No phase on DEC or CMS a declaration takes effect at the release and a commitment lies after it
9. ONE excludes HAB one time and regularly contradict each other
10. Evidence on ASR·FAC only only a factual assertion has a basis to state
11. Mood restrictions HYP only on ASR and IRG, COU only on ASR
12. TEL names its goal annotators apply this test, and the package cannot check it

Law 4 is the deontic no-counit point. A reviewer who reads an obligation as a fact takes a requirement for evidence of compliance.

16 Verdicts

People or agents produce readings. No program can compute readings from English. Everything after the readings is computed.

  1. The package normalises every reading and drops any reading against a law, as an annotator error.

  2. Each reader contributes the set of readings it finds. A reader that finds none contributes the token no reading.

  3. If every reader finds no reading, the verdict is Nonsense. If the union of contributions is one reading, the verdict is Clear. Otherwise the verdict is Ambiguous, with the readings found.

One reader with no reading beside another reader with one reading is a disagreement, and a disagreement is ambiguity.

Sentence Readings Verdict
The shell no longer accepts unsigned commands. [ASR·HAB·CSS] Clear
Added the review store, which moved reviews out of SQLite. [ASR·PFV] [ASR·PFV·ONE] or [ASR·PFV] [ASR·HAB] Ambiguous
The shell now still accepts unsigned commands. none Nonsense

16.1 No reading

A pair records a reader with no reading as no reading beside the bad side's readings. A bad side is Nonsense when no reader finds a reading. It is Ambiguous when no reading stands beside one or more readings.

Kind Question Bad side Good side Source
Website what do I do next Our open source no reading Browse our open source [DIR·PFV] Bad side verbatim: /home/lc/src/openfp.net/openfp-net-web/src/Site/View.hs:159 (hero button to #open-source, commit 3336559). Good side written.
README What is this? (first sentence of a README) The libraries the horizon toolchain uses to generate package sets. [ASR·HAB] or no reading horizon-core provides the libraries the horizon toolchain uses to generate package sets. [ASR·HAB] [ASR·HAB]/rel1 /home/lc/src/horizon-core/README.md:5. The bad side is verbatim. It is generated by horizon-flake-parts' readme module (the file says "Do not edit"), so a fix belongs in the horizon.vx description it is generated from. The good side is written.
Labels which reading does it have Open merge request [DIR·PFV] or no reading Open this merge request [DIR·PFV] Bad side verbatim: /home/lc/src/nixlab-web/nixlab-web/app/App.hs:3770 (submit button of the New merge request panel, commit e4ff059). The noun reading is supported by "Open merge requests · " in the same app. Good side written.

16.2 Place in a reading

The place of a clause is part of a reading. A reading prints each subordinate clause's position and parent after a slash, as in [ASR·HAB]/adv2.

Two readings with the same codes but different places are two readings. A clause that is a condition gives a different answer from a clause that states a fact, so the verdict counts both.

Kind Question Bad side Good side Source
Manual what do I do: does the operator build the system always, or only when the narinfo is missing? The narinfo is missing – build the system here. [ASR·HAB] [DIR·PFV] or [ASR·HAB]/adv2 [DIR·PFV] Is the narinfo missing? – build the system here. [IRG·HAB]/adv2 [DIR·PFV] Adapted from /home/lc/src/systems/skettis/DEPLOY.md:88-89 ("If the narinfo is missing, the system is not in the cache: build it where you are …"). Both sides are written, shortened to one step with "here" for "where you are" so that no relative clause is added.

16.3 Readings compared by their answers

The package compares readings by their answers, not by their code strings. Readings that differ only in neutral slots count as one reading for a verdict and for the pair laws. Ambiguity is a question with more than one answer, not more than one code string. Neutral slots lists the neutral slots.

17 Questions

Each document kind has questions that its reader is entitled to have answered. A kind's question set is the set of questions in its pairs.

Kind Questions
ChangeLog What changed? What behaves differently now? Must I do anything? Is any claim measured?
README What is this? What does it do? What does it need?
Manual What do I do? In what order? How do I know it worked? How do I recover?
Website What is this? What does it do for me? What do I do next?
Every kind Which reading does it have?

17.1 The sentence question

Every sentence of every document carries the sentence question. Its answer is the verdict, resolved only for a Clear verdict. The sentence question is the only computed question. Patterns are checked only on clear sentences, so a pattern meets one reading.

17.2 Questions answered by readers

Readers answer the other questions, in the same way as readings. Each reader gives the answers of the text. A question is resolved when every reader gives the same single answer.

The holder of an obligation and the result of a step depend on content beyond the codes. The codes still decide part of each answer. A clause outside the kind's patterns is rejected before any reader answers. A standing claim without a phase cannot answer the ChangeLog question about differences.

18 Document kinds

A document kind is the set of code patterns it allows for each clause position. A kind has nothing else: no header, no name inside the file and no rules beyond the patterns. A clause that matches no pattern for its position is rejected.

18.1 Kind repositories

dreamstop owns the document kinds. Each kind is its own repository under dreamstop/kinds, with its own tags, beside the language package dreamstop/dreamstop. The kind's name is the repository's name. The repository holds allowed.vx, the patterns, and pairs.vx, the pairs.

Anyone can fork a kind without forking the language. Quality-control guides and other projects refer to a kind by repository and tag, and render its patterns and pairs from it. A guide never restates a kind.

The repository's flake has one check. It confirms the three laws for every pair, the patterns on both sides of every pair, and a good side for every pattern body. A body shared by several parents is covered by a good side under any of them. A limit pair is not held to the three laws and covers no pattern.

18.2 Patterns

A kind file is a Vortex do-block. The statement main declares a pattern for main clauses and returns its name. The statements relative, adverbial and complement declare a pattern for a subordinate clause and name the pattern of its parent. A pattern is a do-block with one line per slot.

The block below is part of the ChangeLog kind, not a complete file. In the file the statements sit at the left margin, without the leading do.

do action <- main $ do
force [ASR]
aspect [PFV]
relative action $ do
force [ASR]
aspect [HAB]
phase [INC, CSS]
Line Meaning
aspect [PFV] the slot holds that code
phase [INC, CSS] the slot holds one of these codes
required phase the slot holds some value, any of them
optional modal the slot holds some value, or is empty
slot not mentioned the slot is empty, and an unmentioned mood is FAC

A main clause is allowed by a matching main pattern. A subordinate clause is allowed by a matching subordinate pattern for the pattern of its parent.

The modal line covers both negations, the ground and the strength. Adding a code to a slot changes no kind file. A slot twice in one pattern is an error. Shared patterns are ordinary values, bound with let and reused.

A kind says what it allows, so a slot left out is forbidden. A reader never has to remember a default. Every clause also obeys the laws, so a pattern never allows a breach of a law.

18.3 Neutral slots

Ambiguity is a question with more than one answer, not more than one code string. A pattern can therefore mark a slot neutral, as in neutral aspect. The pattern must still allow the slot in its own statement.

Readings that differ only in slots neutral at every pattern for their clause collapse to one reading. The collapse applies to verdicts and to the pair laws. A clause that no pattern allows has no neutral slot, so the collapse never merges readings with different significant slots.

Imperative aspect is neutral in the README step and in the manual step and warning. “Keep the volume” read as one act or as a standing instruction asks the reader to do the same thing. Aspect is significant in every other pattern.

Nominalisation codes are neutral by default. Law 1 still requires BSC or OBJ on every act noun. Noun codes split readings only in a kind that declares significant noun. A kind declares it where a pair shows the act and the product giving different answers. The ChangeLog and issue kinds declare significant noun.

18.4 The ChangeLog kind

significant noun
let standing = do
force [ASR]
aspect [HAB]
required phase
optional modal
background = do
force [ASR]
aspect [PFV, PRF, HAB]
optional modal
action <- main $ do
force [ASR]
aspect [PFV]
relative action $ do
force [ASR]
aspect [HAB]
phase [INC, CSS]
oneOff <- main $ do
force [ASR]
aspect [PFV]
required phase
bound [ONE]
measured <- main $ do
force [ASR]
aspect [PFV, HAB]
evidence [OBS, PUP]
obligation <- main $ do
force [ASR]
aspect [HAB]
modal deontic
claim <- main standing
declared <- main $ do
force [DEC]
aspect [PFV]
committed <- main $ do
force [CMS]
aspect [PFV]
forM_ [action, claim] $ \parent ->
relative parent $ do
force [ASR]
aspect [PFV]
optional phase
bound [ONE]
forM_ [oneOff, measured, obligation, claim, declared, committed] $ \parent -> do
relative parent standing
adverbial parent background
complement parent background

18.5 The README kind

let description = do
force [ASR]
aspect [HAB]
optional modal
claim <- main description
step <- main $ do
force [DIR]
aspect [PFV, PRG, HAB]
neutral aspect
optional modal
forM_ [claim, step] $ \parent -> do
relative parent description
complement parent description
adverbial parent $ do
force [ASR]
required aspect
optional modal

18.6 The manual kind

let plain = do
force [ASR]
required aspect
optional modal
step <- main $ do
force [DIR]
aspect [PFV, PRG, HAB]
neutral aspect
optional modal
adverbial step $ do
force [ASR]
aspect [PRF, HAB]
optional modal
adverbial step $ do
force [IRG]
aspect [HAB]
optional modal
statement <- main $ do
force [ASR]
aspect [PFV, HAB]
optional modal
optional evidence
warning <- main $ do
force [ADM]
aspect [PFV, PRG, HAB]
neutral aspect
optional modal
forM_ [step, statement, warning] $ \parent -> do
relative parent plain
complement parent plain
forM_ [statement, warning] $ \parent ->
adverbial parent plain

This manual is written in the manual kind. The build checks every reading in the source against these patterns.

18.7 The issue and labels kinds

-- issue
significant noun
let open = do
required mood
required aspect
optional phase
optional modal
optional bound
statement <- main $ do
force [ASR]
open
optional evidence
request <- main $ do
force [DIR]
required aspect
optional modal
question <- main $ do
force [IRG]
open
forM_ [statement, request, question] $ \parent -> do
relative parent (force [ASR] >> open >> optional evidence)
adverbial parent (force [ASR] >> open >> optional evidence)
complement parent (force [ASR] >> open >> optional evidence)
-- labels
main $ do
force [ASR]
aspect [HAB]
optional modal
main $ do
force [DIR]
aspect [PFV]

An issue weighs options and open questions. Its kind allows every mood, aspect, phase and modal, with phase relative to the time of writing. Labels are the short strings of a user interface, such as buttons, status lines and error messages. A button names an action, and a status states a fact. A label has no subordinate clauses. These two kinds have no question set beyond the sentence question. The issue kind declares significant noun.

18.8 The website kind

let description = do
force [ASR]
aspect [HAB]
optional modal
optional evidence
claim <- main description
plan <- main $ do
force [CMS]
aspect [PFV]
invitation <- main $ do
force [DIR]
aspect [PFV]
forM_ [claim, plan, invitation] $ \parent -> do
relative parent description
complement parent description
adverbial parent $ do
force [ASR]
aspect [PRF, HAB]
optional modal

A website page describes the offering to someone deciding whether to use it.

The website kind asks what this is, what it does for the visitor and what the visitor does next. The front page of this site is written in the website kind, and the build checks it.

These pairs from the kind repositories teach the document kinds. Each row records the source of its text.

Kind Question Bad side Good side Source
README Which reading does it have? (sentence question) Projects are still renamed and deleted in SQLite. [ASR·HAB·CNT] Projects are renamed and deleted in SQLite. [ASR·HAB] Bad side verbatim from /home/lc/src/nixlab-shell/nixlab-shell/README.md:1010-1011, the first clause, with "so the books follow…" trimmed. Good side written.
ChangeLog What changed in this release? (ChangeLog: what changed) Upgrade horizon-flake-parts from 0.33.0 to 0.44.0. [DIR·PFV] Upgraded horizon-flake-parts from 0.33.0 to 0.44.0. [ASR·PFV] Kept from v1 P58. The good side adapts nixlab-bundle/ChangeLog.md:87 ('Updated horizon-flake-parts from 0.33.0 to 0.44.0 and refreshed the lock.'), using the owner's 'Upgraded X from A to B' form. The bad side is written.
ChangeLog what behaves differently now? Added the review store, which moves reviews out of SQLite. [ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ} or [ASR·PFV] {review: OBJ} [ASR·PFV·INC·ONE]/rel1 {reviews: OBJ} Added the review store, which keeps reviews in acid-state. [ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ} Owner ruling, specification section 5.3. Written.
README Which reading does it have? (sentence question) Once an hour the forge removes the logs its retention no longer keeps. [ASR·HAB] [ASR·HAB·CSS]/rel1 Once an hour the forge removes the logs that outlive its retention. [ASR·HAB] [ASR·HAB]/rel1 Bad side verbatim from /home/lc/src/nixlab-shell/nixlab-shell/README.md:838, with the list after the colon trimmed. Good side written.
README which reading does it have? (sentence question) A changed title, description or target now withdraws approvals, pending automatic merge and rebase intent, and train membership. [ASR·HAB·INC] or [ASR·HAB] or no reading A changed title, description or target withdraws approvals, pending automatic merge and rebase intent, and train membership. [ASR·HAB] Good side verbatim: /home/lc/src/nixlab-shell/nixlab-shell/README.md:28-30. Bad side written by adding "now".
README Which reading does it have? (sentence question) An `Issue` now carries `issueAssignee`. [ASR·HAB·INC] An `Issue` carries `issueAssignee`. [ASR·HAB] Bad side: the first clause of a verbatim sentence in /home/lc/src/nixlab-shell/nixlab-shell/README.md:73, a live defect in that README. Good side written.
Manual in what order (when may I stop the guard?) Keep the guard below armed until the new system is being checked. [DIR·PRG] [ASR·PRG]/adv1 Keep the guard below armed until the new system has been checked. [DIR·PRG] [ASR·PRF]/adv1 Good side from /home/lc/src/shattrath/DEPLOY.md, line 8 ("keep the guard below armed until the new system has been checked"), taken out of its list and capitalised. The bad side is constructed.
Manual in what order When the forge is importing the reviews, back up `STATE/reviews/`. [ASR·PRG]/adv2 [DIR·PFV] When the forge has imported the reviews, back up `STATE/reviews/`. [ASR·PRF]/adv2 [DIR·PFV] Written, realistically, after the PRF example in section 2.6 of the specification and the backup section of /home/lc/src/nixlab/docs/operating.md:187-192.
Labels which reading does it have Keep branch [DIR·PFV] or [DIR·PRG] Cancel branch deletion [DIR·PFV] {deletion: BSC} Bad side verbatim: /home/lc/src/nixlab-web/nixlab-web/app/Status.hs:684 (cleanupControls button, commit e4ff059). Good side written.
Labels which reading does it have The forge keeps this picture now. [ASR·HAB·INC] or [ASR·HAB] The forge keeps this picture. [ASR·HAB] Bad side verbatim: /home/lc/src/nixlab-web/nixlab-web/app/App.hs:1942 (toast after a profile picture upload, commit e4ff059). Good side written.
Website what does it do for me Continuous Disambiguation will read, annotate and clarify English prose. [CMS·PFV] or [ASR·HAB] We will make Continuous Disambiguation read, annotate and clarify English prose. [CMS·PFV] Bad side verbatim: /home/lc/src/openfp.net/openfp-net-web/src/Site/View.hs:118 (Disambiguation project card, commit 3336559). Good side written.
Website what does it do for me `flake` says who wrote `flake.nix`. [ASR·HAB] [ASR·PFV]/comp1 `flake` says who writes `flake.nix`. [ASR·HAB] [ASR·HAB]/comp1 Good side verbatim: /home/lc/src/horizon-haskell.net/pages/Configuration.md:144, first sentence under "Who owns flake.nix" (commit 4525dfc). Bad side written by changing "writes" to "wrote". Hand-annotated by Claude from a rejected final-round candidate, confirmed by the checker; to be checked by the owner.

19 Minimal pairs

Minimal pairs specify every kind. dreamstop has one kind of pair.

Part Content
Question a question from the kind's set, or the sentence question
Bad side a text and its readings, which leave the question with no answer or several
Good side a text and its one reading, which give exactly one answer
Edit the difference between the two, derived and never declared

Every pair obeys three laws.

  1. The good side resolves the question.

  2. The bad side does not resolve it.

  3. The edit is minimal. No smaller edit to the bad side resolves the question.

19.1 Edit size

The package computes the edit from the readings. A bad side with several readings is compared through its closest reading. The edit is the set of slot changes, and an inserted or deleted clause counts as all its slots. Its size is the number of slot changes.

Law 3 is checked over readings. The package applies every proper non-empty subset of the slot changes to the bad reading. None of those smaller edits resolves the question. Annotators judge whether the wording is minimal.

19.2 The corpus

The corpus is Vortex data. The pairs for a kind live in its repository. The pairs for the sentence question and the laws live in dreamstop/dreamstop.

Each entry holds the kind, the question, the rule, the bad side, the good side, a paragraph of reasons and the source of the text. A bad side that some reader cannot read at all is written with noReading. A pair that teaches a limit is written with limit.

Kind repository Pairs Limit pairs
dreamstop/kinds/changelog 52 6
dreamstop/kinds/readme 24 1
dreamstop/kinds/manual 21 2
dreamstop/kinds/issue 20 0
dreamstop/kinds/labels 5 0
dreamstop/kinds/website 9 0
All six kinds 131 9

The edit is not stored. Disputed pairs stay in a separate appendix with both annotators' readings.

Agreement of two independent annotators on the good side and on the verdict of the bad side admits a pair. The package then confirms the three laws. Annotating agents receive the pairs for their kind, so the pairs both calibrate and test them.

20 Annotating a sentence

  1. When you have read the patterns of the document's kind, mark every finite verb group in the sentence. Each marked group is one clause, in text order.

  2. Give each clause its position and parent. Each clause is main, relative, adverbial or complement.

  3. Choose a force for each clause. Each clause has one of ASR, DIR, IRG, DEC, ADM and CMS.

  4. Choose a mood for each clause. Most clauses take the default FAC.

  5. Choose an aspect for each clause. Each clause has one of PFV, PRF, PRG and HAB.

  6. If the kind has a reference point, choose a phase for each clause. Each clause has INC, CSS, CNT, EXP or no phase.

  7. Choose a modal with the blame, impossibility and goal tests, and place each NEG by its scope. Each clause has at most one modal and at most two negations.

  8. Give each noun for an act BSC or OBJ. Each act noun names the act or its product.

  9. Add ONE and evidence to the clauses with a bound or a basis. Each clause is complete.

  10. Write the codes in the fixed order, and apply the three rewrites. The reading is in normal form.

  11. Write a second reading for each slot with a different code from another careful reader. The sentence has one reading or several.

20.1 Checking a reading

A reading is well formed when every law holds for it. It fits the kind when every clause matches a pattern for its position. A sentence is clear when every reader writes the same single reading.

20.2 When readers disagree

If two readings do not match, find the first slot with different codes.

That slot names the open question of the sentence.

If the layer's test does not settle the slot, rewrite the sentence for one code.

The rewritten sentence returns to the first step.

If a clause matches no pattern, rewrite the clause within the kind.

The rewritten clause returns to the first step.

21 Writing a pair

  1. When a review has found a question with no answer or several, write the question in its reader's words. The pair has its question.

  2. Copy the bad side verbatim, and annotate it. The bad side has its readings.

  3. Make the smallest edit with exactly one answer to the question, and annotate the result. The good side has its one reading.

  4. Try every smaller edit to the bad side. None of them resolves the question.

  5. Record the kind, the rule, a paragraph of reasons and the source. The pair is ready for verification.

21.1 Checking a pair

A pair is complete when the three laws hold for it. It is accepted when two independent annotators agree on it.

21.2 When a pair cannot be written

If no code separates the two sides, open an issue with a proposal for a new code or pattern.

The issue carries both sides and the question.

If the annotators do not agree, move the pair to the appendix of disputed pairs with both readings.

The dispute marks an ambiguity in the language.

22 Reviewing with dreamstop

  1. When the commits under review hold their documentation, annotate every changed sentence alone. Each sentence has a verdict.

  2. Answer each question of the document's kind from the text. Each question has an answer from each reviewer.

  3. Report each unclear sentence, each clause outside the kind and each question with no answer or several. Each finding names a slot, a pattern or a question.

22.1 Checking a review

A reviewed change passes when every sentence is clear and every question has the same single answer from every reviewer. Clause 2, PFV against HAB, is a complete finding.

22.2 Settling a finding

If a sentence does not get one reading, rewrite the sentence.

An explanation of the author's intent does not settle a finding.

If a question does not get one answer, add a clause with the answer.

Every settled finding is a candidate pair for the corpus.

23 This manual's questions

This manual answers the manual kind's questions for each procedure. A sentence with the result follows each step. Each procedure has a section for a failed check. The repository keeps this map in prose/questions.vx, and the build checks it.

Procedure What do I do? In what order? How do I know it worked? How do I recover?
Annotating a sentence its steps their numbers Checking a reading When readers disagree
Writing a pair its steps their numbers Checking a pair When a pair cannot be written
Reviewing with dreamstop its steps their numbers Checking a review Settling a finding

24 Worked examples

These sentences come from the ChangeLogs of nixlab-shell 0.122.0.0 and vortex-shell 0.7.0.0 and 0.7.0.1.

24.1 The review store

Added the review store (NixLab.ReviewStore), which moved reviews and sign-offs out of SQLite.

Reading Codes What a reader takes from it
1 [ASR·PFV] [ASR·PFV·ONE] the release moved the existing reviews one time
2 [ASR·PFV] [ASR·HAB] the store is the home of reviews

The sentence is ambiguous in the aspect of clause 2. Neither reading fits the ChangeLog kind. A relative clause on a release action is HAB with INC or CSS.

A rewritten sentence with now moves keeps the migration verb. Readers cannot tell whether the move happens once or at every write.

Added the review store (NixLab.ReviewStore), which keeps reviews and sign-offs in acid-state rather than SQLite.

The rewritten sentence describes the resulting state. It reads as [ASR·PFV] [ASR·HAB]/rel1. The checker reads clause 2 as INC from its position. Clause 2 needs no now, because the release verb Added supplies the newness. A real one-time import takes its own sentence in the same entry, with PFV, INC and ONE.

24.2 vortex-shell and uninterruptible loops

Compiled code that loops without allocating is neither charged nor interruptible.

vortex-shell 0.7.0.0 had this entry. Its main clause has no phase. The ChangeLog kind rejects a standing claim without a phase.

vortex-shell 0.7.0.1 corrected the entry with still.

Compiled code that loops without allocating is still uninterruptible, so the shell cannot stop it.

The rewritten sentence reads as [ASR·HAB] [ASR·HAB·CNT] [ASR·HAB·NEG·ABL·POS]. Still is news only beside a change in the same entry. Patterns do not see the entry, so readers check this.

24.3 Operator obligations

Operators must now back up STATE/reviews/ and STATE/approvals/ with the rest of the state directory.

This sentence from nixlab-shell 0.122.0.0 is clear. It reads as [ASR·HAB·INC·DEO·NEC].

Its force is ASR, as for every ChangeLog obligation. Its ground is DEO, because skipping the backup is possible but blameworthy. Its subject names operators, so readers give one answer to the question about obligations.

After restoring a state directory without them, operators should now restore them.

The companion sentence reads as [ASR·HAB·INC·DEO·WNC]. The strength slot records the difference between a recommendation and an obligation.

25 What codepoints cannot see

dreamstop checks the shape of meaning, not its content. A passing document can fail its reader through these limits.

Limit What it means
1. Annotation is human people or agents write the readings, and two annotators can differ for reasons unrelated to the language
2. Content is invisible the package cannot see whether a TEL clause names its goal, whether a figure ought to carry evidence, whether a failed precondition negates the result it claims to, or whether two clauses talk about the same thing
3. Synonyms share codes the spend can vary and the spend may vary are both ABL·POS, so no pair can separate them, though a reader might hear permission in may
4. Who an obligation binds « Il faut sauvegarder X » and « Les opérateurs doivent sauvegarder X » match the same pattern, so readers answer whether they must act
5. Patterns see a clause and its parent only still beside a change in the same entry, a result after every step and a release action in every release are for readers and pairs
6. Segmentation is syntactic the finiteness rule can split a sentence where meaning does not, or join non-finite material that carries its own condition
7. The weakest boundary PFV against HAB for things that happen once in the program's life split annotators, ONE should fix most of it, and it is the first place to rethink if it does not
8. The evidence for the aspect set the choice rests on 78 pairs and two annotators per scheme, without correction for chance, so it is a decision, not a measurement
9. Empty content a clause can be well formed and fit its pattern while saying nothing: in “Added the site generator, which now compiles the page.” the relative clause is a lawful [ASR·HAB]/rel1, but compiling the page is what a site generator is for, so the reader learns nothing
10. A predicate that does not fit its subject “The website now supports GHC 9.12.” is a lawful [ASR·HAB·INC], but only a library supports a GHC version, and whether a predicate suits its subject is a fact about the words
One reference point per document a phase measured from another point, such as since the token rotated, cannot be written

A limit pair teaches one of these limits. Its two sides share their codes on purpose. The pair laws skip it, and it covers no pattern. These are the limit pairs in the kind repositories.

Kind Question Bad side Good side Source
ChangeLog What behaves differently now? Upgraded nixlab-shell from 0.106.1.0 to 0.114.0.0. A project's first scan of its tags still holds up renames, deletions and scans of other projects. A rename or deletion during the scan still leaves no release behind. [ASR·PFV] [ASR·HAB·CNT] [ASR·HAB·CNT·NEG] Upgraded nixlab-shell from 0.106.1.0 to 0.114.0.0. A project's first scan of its tags no longer holds up renames, deletions and scans of other projects. A rename or deletion during the scan still leaves no release behind. [ASR·PFV] [ASR·HAB·CSS] [ASR·HAB·CNT·NEG] Good side adapted from /home/lc/src/systems/shattrath/ChangeLog.md:13 (0.18.2). The source opens with "nixlab-shell 0.114.0.0 replaces 0.106.1.0", which is ASR·HAB and so cannot be a release-action. It is rewritten as "Upgraded … from … to …". "while it hashes a source archive of every tag" is trimmed because it is a finite clause with no phase. Bad side written.
ChangeLog What behaves differently now? A project or group called `sw.js` is not yet refused, and its page can still be reached at `/sw.js`. [ASR·HAB·EXP] [ASR·HAB·CNT·ABL·POS] A project or group called `sw.js` is not yet refused, and its page can no longer be reached at `/sw.js`. [ASR·HAB·EXP] [ASR·HAB·CSS·ABL·POS] Good side verbatim from /home/lc/src/systems/shattrath/ChangeLog.md:87 (0.14.3), and also in /home/lc/src/nixlab/ChangeLog.md:72. Bad side written.
ChangeLog What behaves differently now? Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0. Every review and sign-off verb still gives the same answers. [ASR·PFV] [ASR·HAB·CNT] Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0. Reviews and sign-offs are now kept in acid-state. Every review and sign-off verb still gives the same answers. [ASR·PFV] [ASR·HAB·INC] [ASR·HAB·CNT] Adapted from /home/lc/src/nixlab/ChangeLog.md:5 (0.58.0), which says verbatim "Reviews and sign-offs are now kept in acid-state under … in place of SQLite" and "Every review and sign-off verb still answers as it did." "As it did" became "gives the same answers": its finite past verb would be a PFV clause outside a release-action, which the ChangeLog patterns do not allow.
ChangeLog must I do anything, for operators ## 0.58.0 / - Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0. [ASR·PFV] ## 0.58.0 / - Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0. / - Operators must now back up `STATE/reviews/` and `STATE/approvals/` with the rest of the state directory. [ASR·PFV] [ASR·HAB·INC·DEO·NEC] Both sentences verbatim from /home/lc/src/nixlab/ChangeLog.md:5-6 (0.58.0, first sentence of each entry). The bad side was made by deleting the second entry. " / " marks a line or sentence break.
ChangeLog must I do anything Clients reading projects must now be rebuilt against this release. [ASR·HAB·INC·DEO·NEC] {release: OBJ} Maintainers of clients reading projects must now rebuild them against this release. [ASR·HAB·INC·DEO·NEC] {release: OBJ} Bad side adapted from /home/lc/src/nixlab-dsl-typed-issue-query/nixlab-dsl/ChangeLog.md line 419 and /home/lc/src/nixlab-shell-todos-266/nixlab-shell/ChangeLog.md line 861 ("a client reading projects must be rebuilt against it"). "now" was added so the claim has the phase the pattern requires, and "it" became "this release". Good side written.
ChangeLog must I do anything `STATE/reviews/` and `STATE/approvals/` must now be backed up with the rest of the state directory. [ASR·HAB·INC·DEO·NEC] Operators must now back up `STATE/reviews/` and `STATE/approvals/` with the rest of the state directory. [ASR·HAB·INC·DEO·NEC] Good side verbatim, the first clause of /home/lc/src/nixlab-shell/nixlab-shell/ChangeLog.md line 11. Bad side written.
README README: what does it need Every flake must be fully locked. [ASR·HAB·DEO·NEC] To pass its pipeline, every flake must be fully locked. [ASR·HAB·TEL·NEC] /home/lc/src/nixlab/README.md:12-13. The bad side is cut from the verbatim "Every flake must evaluate, and must be fully locked: a lock that `nix flake lock` would change fails the pipeline." The good side is constructed.
Manual Manual: what do I do (do I run `curl -4 -s ifconfig.me` again before comparing?) The address `ifconfig.me` prints is in the `networks` of `host/operator.nix`. [ASR·HAB]/rel2 [ASR·HAB] The address `ifconfig.me` printed is in the `networks` of `host/operator.nix`. [ASR·PFV]/rel2 [ASR·HAB] Good side adapted from /home/lc/src/systems/skettis/DEPLOY.md:55 ("the address `ifconfig.me` printed is in its `networks`"), whose `curl -4 -s ifconfig.me` is line 38. "its" is spelled out as "the `networks` of `host/operator.nix`" so that the sentence stands alone, the same on both sides. The bad side is written: "printed" becomes "prints".
Manual who must do it? Il faut sauvegarder STATE/reviews. [ASR·HAB·DEO·NEC] Les opérateurs doivent sauvegarder STATE/reviews. [ASR·HAB·DEO·NEC] Owner ruling. Written.

No pair in the kind repositories teaches limit 9 or limit 10.

26 Reference table

The table lists every code in display order, then the positions.

Layer Code Meaning
Force ASR states that p
Force DIR tells the reader to act
Force IRG asks which alternative holds
Force DEC makes it so by saying
Force ADM warns of a risk
Force CMS commits the author
Mood FAC factual, not rendered
Mood HYP considered without commitment
Mood COU known to be false
Aspect PFV the event as a whole
Aspect PRF happened, result holds
Aspect PRG under way
Aspect HAB typically, or a state
Phase INC false before, true after
Phase CSS true before, false after
Phase CNT true before and after
Phase EXP false before and after, expected
Negation NEG before the modal: negates the modal. After it: negates the content.
Ground DEO a rule or permission
Ground ABL the nature or capacity of the thing
Ground TEL what a named goal requires
Strength NEC in every admitted situation
Strength WNC in every best admitted situation
Strength POS in some admitted situation
Bound ONE one time in the program's life
Evidence OBS observed by the author
Evidence PUP a verifiable third-party record
Evidence RPR reported by someone else
Evidence INF inferred
Evidence REC remembered
Nominalisation BSC the act or procedure
Nominalisation OBJ what the act produces
Position Main not inside another clause
Position Relative describes a noun of its parent
Position Adverbial says when, if, until, why or with what result
Position Complement the object of its parent's verb

27 Glossary

Clause

A clause is one finite verb group with its dependents.

Code

A code is one three-letter value of one slot, such as HAB or CSS.

Continuous disambiguation

Continuous disambiguation is a check at every review for exactly one answer to each question.

Corpus

The corpus is the set of verified minimal pairs, kept as Vortex data.

Document kind

A document kind is the set of code patterns allowed for each clause position, kept in its own repository with its pairs.

Minimal pair

A minimal pair is a question, a bad side, a good side and the smallest edit between the sides.

Neutral slot

A neutral slot is a slot whose codes split no reading under the pattern that marks it.

Nominalisation

A nominalisation is a noun that names an act, coded BSC for the act or OBJ for the product.

Normal form

A normal form is a reading in the fixed order after the three rewrites.

Parent

The parent of a subordinate clause is the clause around it.

Pattern

A pattern is a do-block with one line for each allowed slot of a clause in one position.

Position

A position is the syntactic place of a clause: main, relative, adverbial or complement.

Reading

A reading is one meaning of a sentence, written as its clauses' codes in order.

Reference point

The reference point is the point of comparison for phase.

Verdict

A verdict is the answer to the sentence question: Nonsense, Clear or Ambiguous.