NixLabConnectionconnecting
ProjectsProject
web /

dreamstop.openfp.net

publicguest

dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation

git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.git
c46d9ab01fba5e4e33328e3479a8600176055ce4manual/layers.typ
#import "style.typ": a, entry, readings, rewrites, source

= The codes, layer by layer

Each clause has one value in each of a fixed set of slots. Force and aspect are always filled. The others are filled only when the English carries them. This chapter takes the slots in the order an annotation prints them, and gives for each its codes, then real sentences whose readings differ in that slot, with the rewrites that settle them. The reference at the end of the manual lists every code again.

Every example after the introduction is a minimal pair from one of the document kinds: a sentence with several readings, or none, and the smallest rewrite that leaves one. The source line names the kind.

== Force

Force says what the clause does for its reader. Every clause has exactly one.

#table(
  columns: (auto, 1fr, 1.4fr),
  table.header([*Code*], [*Meaning*], [*Example*]),
  a("ASR"), [assertive: states that something is so], [Changed `metering.config` to raise the fuel default. #a("[ASR·PFV]")],
  a("DIR"), [directive: tells the reader to do something], [Build with `nix build` and test with `nix flake check`. #a("[DIR·PFV] [DIR·PFV]")],
  a("IRG"), [interrogative: asks which of several things holds], [Is the rule always on, or a `merge-gates.vx` setting? #a("[IRG·HAB]")],
  a("DEC"), [declarative: saying it makes it so], [This release deprecates `allowRevs`. #a("[DEC·PFV]")],
  a("ADM"), [admonitive: warns of a hazard], [Do not reboot the machine. #a("[ADM·PFV·NEG]")],
  a("CMS"), [commissive: commits the author to a later act], [The `on` selector will be removed in the next release. #a("[CMS·PFV] {release: OBJ}")],
)

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

=== An imperative or a past tense

#entry[Set `metering.config` to raise the fuel default.]

"Set" is both an imperative and a past tense. One reading tells operators to change the setting. The other reports that the release changed it.

#readings(
  ("[DIR·PFV]", [an instruction to operators.]),
  ("[ASR·PFV]", [a report of what the release changed.]),
)

#rewrites(
  ("[ASR·PFV]", [Changed `metering.config` to raise the fuel default.]),
)

"Changed" has no imperative reading. A ChangeLog gives no commands, so the directive reading would be rejected in any case, but an ambiguous sentence fails before the kind is consulted.

#source[ChangeLog kind. "Split vortex-shell from the vortex repository into its own repository." has the same two readings, and "Moved" settles it. "Upgrade horizon-flake-parts from 0.33.0 to 0.44.0." has only the directive reading, which the ChangeLog kind rejects, and "Upgraded" replaces it.]

=== A command or a declaration

#entry[Deprecate `allowRevs`.]

A commit-subject imperative copied into a ChangeLog reads two ways. It tells configuration authors to stop using `allowRevs`, or it is the release's own declaration, written in the mood of a commit.

#readings(
  ("[DIR·PFV]", [an instruction to configuration authors.]),
  ("[DEC·PFV]", [the release deprecates `allowRevs` by saying so.]),
)

#rewrites(
  ("[DEC·PFV]", [This release deprecates `allowRevs`.]),
)

#source[ChangeLog kind. "Retire QC.DescribeCheckCoverage." is settled the same way by "This edition retires QC.DescribeCheckCoverage."]

=== A promise or a forecast

#entry[`seedKeys` and `services` will be removed.]

With no release named, nothing the authors do later breaks "will be removed". It reads either as their promise or as a forecast that the names will go some day.

#readings(
  ("[CMS·PFV]", [the authors commit to removing them.]),
  ("[ASR·PFV]", [a forecast that they will go.]),
)

#rewrites(
  ("[CMS·PFV]", [`seedKeys` and `services` will be removed in 0.6.0.]),
)

Naming the release gives the promise a deadline in the authors' own version numbers, which only they can keep or break.

The same words can be settled the other way. In an issue, "GHC 9.12 will be removed." reads as the author's promise or as a forecast about someone else's work. Naming who removes it leaves the forecast:

#rewrites(
  ("[ASR·PFV]", [GHC 9.12 will be removed from nixpkgs.]),
)

#source[ChangeLog kind and issue kind.]

=== A statement or a question

#entry[The rule is always on, or a `merge-gates.vx` setting.]

The author may be stating that either design is acceptable, or asking which one holds.

#readings(
  ("[ASR·HAB]", [a statement that the rule is one or the other.]),
  ("[IRG·HAB]", [a question about which one it is.]),
)

#rewrites(
  ("[IRG·HAB]", [Is the rule always on, or a `merge-gates.vx` setting?]),
)

#source[Issue kind.]

== Mood

Mood says whether the clause is put forward as fact.

#table(
  columns: (auto, 1fr),
  table.header([*Code*], [*Meaning*]),
  a("FAC"), [factual: committed to as fact. This is the default, and it is not printed.],
  a("HYP"), [hypothetical: considered without commitment, as with "if we" or "would".],
  a("COU"), [counterfactive: considered, and known to be false, as with "would have".],
)

Only an assertion can be hypothetical or counterfactive, and a question can be hypothetical. A command, a warning, a declaration or a commitment cannot be put forward without commitment.

=== A decision or an option

#entry[If we take option B, grading moves into acid-state and the forge drops its SQLite tables.]

The second "and" may join both effects under "if", or it may add a decision already taken.

#readings(
  ("[ASR·HYP·PFV]/adv2 [ASR·HYP·PFV] [ASR·HYP·PFV]", [both effects belong to option B.]),
  ("[ASR·HYP·PFV]/adv2 [ASR·HYP·PFV] [ASR·PFV]", [dropping the tables is decided, whichever option is taken.]),
)

#rewrites(
  ("[ASR·HYP·PFV]/adv2 [ASR·HYP·PFV] [ASR·HYP·PFV]", [If we take option B, grading would move into acid-state and the forge would drop its SQLite tables.]),
)

"Would" marks each effect as part of the option.

#source[Issue kind.]

=== An option or a fact known to be false

#entry[That would make all five clear.]

#readings(
  ("[ASR·HYP·PFV]", [a proposal: doing it would make them clear.]),
  ("[ASR·COU·PFV]", [it was not done, and had it been, they would have been clear.]),
)

#rewrites(
  ("[ASR·COU·PFV]", [That would have made all five clear.]),
)

#source[Issue kind. "CI could have caught the missing module." splits between #a("[ASR·COU·PFV·ABL·POS]") and #a("[ASR·PFV·ABL·POS]"), whether CI failed to catch it or only was able to, and "CI would have caught the missing module." #a("[ASR·COU·PFV]") settles it.]

=== Fact only, in a ChangeLog

#entry[aarch64-darwin would no longer be supported.]

"Would" leaves the change either only considered or presumed.

#readings(
  ("[ASR·HYP·HAB·CSS]", [the change is only considered.]),
  ("[ASR·HAB·CSS·INF]", [the change is presumed, a tentative claim.]),
)

#rewrites(
  ("[ASR·HAB·CSS]", [aarch64-darwin is no longer supported.]),
)

A reader acts on what a ChangeLog says, so the ChangeLog kind allows only fact.

#source[ChangeLog kind.]

== Aspect

Aspect says how the event relates to the time being talked about. Every clause has one.

#table(
  columns: (auto, 1fr, 1fr),
  table.header([*Code*], [*Meaning*], [*English cues*]),
  a("PFV"), [perfective: one event, seen as a whole], [simple past, a single imperative act],
  a("PRF"), [perfect: it happened, and its result holds], ["has", "have" or "had" with a participle],
  a("PRG"), [progressive: under way, maybe unfinished], ["is …ing", "keep"],
  a("HAB"), [habitual: what the thing is or regularly does], [simple present, states, general truths],
)

Aspect decides whether a clause reports an event or describes behaviour. "Moved" against "moves" is the commonest difference in the corpus. An instruction takes `PFV` for a single act, `PRG` to keep a state going and `HAB` for a standing practice.

=== Finished or under way

#entry[Added `NixLab.ReviewTable`, which is now keeping nixlab-dsl's review book in vortex-table's `Table` over a `Reviews` schema.]

#readings(
  ("[ASR·PFV] {review: OBJ} [ASR·PRG]/rel1", [the table is keeping the book, and the change may not be finished.]),
)

`PRG` says that the change is under way and may not have finished, so a reader cannot tell whether the release completed it. The ChangeLog kind allows no `PRG`, and rejects the clause.

#rewrites(
  ("[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1", [Added `NixLab.ReviewTable`, which now keeps nixlab-dsl's review book in vortex-table's `Table` over a `Reviews` schema.]),
)

#source[ChangeLog kind. "The forge is not using it yet." is settled the same way by "The forge does not use it yet."]

=== Before, during or after

#entry[Once nixlab-shell 0.122.0.0 imports the reviews and sign-offs, `reviews` and `approvals` are the only copy of them.]

The simple present after "once" can mean whenever the import runs, or the import as one event, with no telling whether the copy is the only one from its start or from its end.

#readings(
  ("[ASR·HAB]/adv2 [ASR·HAB]", [whenever the import runs, including while it runs.]),
  ("[ASR·PFV]/adv2 [ASR·HAB]", [the import as one event, start or end unsaid.]),
)

#rewrites(
  ("[ASR·PRF]/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.]),
)

`PRF` says the import is over and its result holds, so the backup must contain the books from then on.

#source[Manual kind. "When the forge is importing the reviews, back up `STATE/reviews/`." has one reading, #a("[ASR·PRG]/adv2 [DIR·PFV]"), which the manual kind rejects: a step that waits on an event under way can run before the event finishes. "When the forge has imported the reviews" #a("[ASR·PRF]/adv2") replaces it.]

=== An event or a description

#entry[vortex-elab turned the monomorphism restriction off, so `let cast = roll 100` is accepted.]

#readings(
  ("[ASR·PFV] [ASR·HAB]/adv1", [an event in the past: something once turned it off.]),
)

A README describes the revision it ships with, and a past event belongs to the ChangeLog, so the README kind rejects `PFV` in a main claim.

#rewrites(
  ("[ASR·HAB] [ASR·HAB]/adv1", [vortex-elab turns the monomorphism restriction off, so `let cast = roll 100` is accepted.]),
)

The ChangeLog needs the opposite edit. "NixLab 0.57.0 replaces 0.55.0, with nixlab-shell 0.121.0.0 and nixlab-web 0.40.0.0." #a("[ASR·HAB]") describes, so it is not the release's action, and it does not say whether it is new. The past tense makes it the action:

#rewrites(
  ("[ASR·PFV]", [NixLab 0.57.0 replaced 0.55.0, with nixlab-shell 0.121.0.0 and nixlab-web 0.40.0.0.]),
)

#source[README kind and ChangeLog kind.]

== Phase

Phase says how a clause's truth changes across a reference point. The document sets the point: in a ChangeLog it is the release the entry sits under, and in an issue it is the time of writing. A README, a manual and a website have no reference point, so they allow no phase.

#table(
  columns: (auto, auto, auto, auto),
  table.header([*Code*], [*English*], [*Before the point*], [*After the point*]),
  a("INC"), ["now"], [false], [true],
  a("CSS"), ["no longer"], [true], [false],
  a("CNT"), ["still"], [true], [true],
  a("EXP"), ["not yet"], [false], [false, and expected to become true],
)

In a ChangeLog every standing claim needs a phase, because without one the entry can be read as new in this release or as unchanged.

=== New

#entry[`/search` is a page of the app.]

#readings(
  ("[ASR·HAB]", [a standing claim, with no word on whether it is new.]),
)

#rewrites(
  ("[ASR·HAB·INC]", [`/search` is now a page of the app.]),
)

#source[ChangeLog kind. The good side is verbatim from nixlab-shell's ChangeLog. "`FirstPaint.paint` takes the journal to write to." is settled the same way by "now takes".]

=== No longer

#entry[Typing quickly into a search or filter box dropped keys.]

A past tense with a subject reads two ways.

#readings(
  ("[ASR·PFV]", [the release made typing drop keys, a regression.]),
  ("[ASR·HAB]", [the old behaviour, with no word on whether it changed.]),
)

#rewrites(
  ("[ASR·HAB·CSS]", [Typing quickly into a search or filter box no longer drops keys.]),
)

#source[ChangeLog kind. The good side is verbatim from nixlab-web's ChangeLog.]

=== Still

#entry[A metered block's pure evaluation now spends fuel. Compiled code looping without allocating is uninterruptible.]

Next to a new fuel charge, a reader cannot tell whether this release made such loops uninterruptible or left them as they were.

#readings(
  ("[ASR·HAB·INC] [ASR·HAB]", [the second claim may be new or old.]),
)

#rewrites(
  ("[ASR·HAB·INC] [ASR·HAB·CNT]", [A metered block's pure evaluation now spends fuel. Compiled code looping without allocating is still uninterruptible.]),
)

"Still" has a second sense, "even so", which is not a phase:

#entry[A rev-pinned flake input or `fetchgit` still fetches its commit after a later push to the branch.]

The author meant "even after the branch moves on". Before this release, git served only commits at the tips of branches, so a pinned commit that the branch had left could not be fetched. A reader who takes "still" as a phase reads the opposite: nothing changed.

#readings(
  ("[ASR·HAB·CNT]", [fetching worked before and works now.]),
  ("[ASR·HAB]", ["still" as "even so", with no phase.]),
)

#rewrites(
  ("[ASR·HAB·INC]", [A rev-pinned flake input or `fetchgit` now fetches its commit after a later push to the branch.]),
)

#source[ChangeLog kind.]

=== Not yet

#entry[A project or group called `sw.js` is not refused now.]

#readings(
  ("[ASR·HAB·CSS]", [refusal stopped with this release.]),
  ("[ASR·HAB·NEG]", [a remark about the present, with no word on change.]),
)

#rewrites(
  ("[ASR·HAB·EXP]", [A project or group called `sw.js` is not yet refused.]),
)

`EXP` says the name was not refused before, is not refused now, and refusal is expected. It holds its own negations, so "not yet" carries no `NEG`.

#source[ChangeLog kind. The good side is verbatim from nixlab-shell's ChangeLog. "Added `NixLab.ApprovalTable`. The forge does not use it now." is settled the same way by "yet".]

=== The phase a release action implies

A relative clause on a release action ("Added …, which …") describes what the new thing does, and the release verb already says it is new. The annotator writes only what the words carry, `[ASR·HAB]`, and the checker reads the clause as `INC` from its place.

#entry[Added the review store, which moves reviews out of SQLite.]

A migration verb in the present leaves open whether the move happens once or keeps happening.

#readings(
  ("[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ}", [the store keeps moving reviews.]),
  ("[ASR·PFV] {review: OBJ} [ASR·PFV·INC·ONE]/rel1 {reviews: OBJ}", [the store moves them once.]),
)

#rewrites(
  ("[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ}", [Added the review store, which keeps reviews in acid-state.]),
)

A verb of state settles it, and the checker supplies the `INC`. A writer who means a real one-off migration writes "once", as in the section on the bound.

The same advice holds for a change of state: name both sides in one present clause.

#entry[systems/earthrealm now holds earthrealm's whole NixOS configuration, where it held only the runner configuration before.]

#readings(
  ("[ASR·HAB·INC] [ASR·HAB]/adv1 {configuration: OBJ}", [the "where" clause as a description.]),
  ("[ASR·HAB·INC] [ASR·PFV]/adv1 {configuration: OBJ}", [the "where" clause as an event in the past.]),
)

#rewrites(
  ("[ASR·HAB·INC] {configuration: OBJ}", [systems/earthrealm now holds earthrealm's whole NixOS configuration rather than only the runner configuration.]),
)

#source[ChangeLog kind. Both pairs record owner rulings in the specification.]

== Modality

A modal is one ground and one strength, written ground first. The ground says what makes it so. The strength says how much it requires.

#table(
  columns: (auto, auto, 1fr),
  table.header([*Axis*], [*Code*], [*Meaning*]),
  [Ground], a("DEO"), [a rule or permission: doing otherwise is possible but blameworthy],
  [], a("ABL"), [the nature or capacity of the thing: otherwise is not an option],
  [], a("TEL"), [what a named goal requires: doing otherwise fails the goal, and nobody is to blame],
  [Strength], a("NEC"), [necessary: holds in every case the ground admits],
  [], a("WNC"), [weakly necessary: holds in every best case],
  [], a("POS"), [possible: holds in some case],
)

#table(
  columns: (auto, auto),
  table.header([*English*], [*Modal*]),
  ["must"], a("DEO·NEC"),
  ["should"], a("DEO·WNC"),
  ["may", as permission], a("DEO·POS"),
  ["can", as ability, and "may", as "might happen"], a("ABL·POS"),
  ["inevitably", "always", by its nature], a("ABL·NEC"),
  ["to do G, you need"], a("TEL·NEC"),
  ["to do G, you ought to"], a("TEL·WNC"),
)

`TEL` applies only when the clause names its goal. Otherwise "must" is `DEO`. Every ground goes with every strength, so no modal can be written that means nothing.

=== Permission or possibility

#entry[Any signed-in account may now read `forgePeople`.]

"May" grants permission, or says that something might happen.

#readings(
  ("[ASR·HAB·INC·DEO·POS]", [a rule now permits reading.]),
  ("[ASR·HAB·INC·ABL·POS]", [reading is now something the forge lets happen.]),
)

#rewrites(
  ("[ASR·HAB·INC·DEO·POS]", [Any signed-in account is now allowed to read `forgePeople`.]),
)

When capacity is meant, "can" settles it the other way:

#entry[A site's `root` may now be a package or an absolute path.]

#rewrites(
  ("[ASR·HAB·INC·ABL·POS]", [A site's `root` can now be a package or an absolute path.]),
)

#source[ChangeLog kind. The first bad side is verbatim from nixlab-shell's ChangeLog and the second from skettis's.]

=== Having permission or being able to be given it

The handbook's modality example is this entry:

#entry[Guests can now download build artefacts.]

The release may give every guest that permission, or it may only make it possible to grant guests the permission. Under the first reading, every guest can download artefacts from the upgrade onwards. Under the second, nothing changes until someone grants it.

#readings(
  ("[ASR·HAB·INC·DEO·POS]", [every guest now has permission.]),
  ("[ASR·HAB·INC·ABL·POS]", [guests can now be given permission.]),
)

#rewrites(
  ("[ASR·HAB·INC·DEO·POS]", [Guests now have permission to download build artefacts.]),
  ("[ASR·HAB·INC·ABL·POS]", [Guests can now be given permission to download build artefacts.]),
)

Granting permission is not a modal of its own. The second rewrite is an ability, `ABL·POS`, whose content is a permission. The inner permission belongs to the content, and the annotation prints only the outer modal.

#source[OpenFP Quality Control Handbook, section 1.4.5.2.]

=== A rule, a necessity or a goal

#entry[The modules in `scope` must be installed where GHC can find them at run time.]

"Must" with no goal named is a rule. Here it may also be the way the system works.

#readings(
  ("[ASR·HAB·DEO·NEC] [ASR·HAB·ABL·POS]/adv1", [a rule requires the modules there.]),
  ("[ASR·HAB·ABL·NEC] [ASR·HAB·ABL·POS]/adv1", [the system cannot work otherwise.]),
)

#rewrites(
  ("[ASR·HAB·TEL·NEC] [ASR·HAB·ABL·POS]/adv1", [Elaboration needs the modules in `scope` installed where GHC can find them at run time.]),
)

The rewrite names the goal, elaboration, so the necessity is `TEL`: without the modules, elaboration fails, and nobody is to blame.

#source[README kind. "`chalk` needs typst, FFmpeg and the design kit's fonts at run time." splits between #a("TEL·NEC") and #a("ABL·NEC"), and "To run `chalk` you need typst, FFmpeg and the design kit's fonts." settles it as #a("[ASR·HAB·TEL·NEC]").]

=== A rule or what always happens

#entry[The old unbound `submitReview` and `submitReviewWithDispositions` verbs must refuse; callers must migrate to the edition-bound verbs.]

#readings(
  ("[ASR·HAB·DEO·NEC] [ASR·HAB·DEO·NEC]", [a rule says the verbs must refuse.]),
  ("[ASR·HAB·ABL·NEC] [ASR·HAB·DEO·NEC]", [the verbs refuse by their nature.]),
)

#rewrites(
  ("[ASR·HAB·ABL·NEC] [ASR·HAB·DEO·NEC]", [The old unbound `submitReview` and `submitReviewWithDispositions` verbs always refuse; callers must migrate to the edition-bound verbs.]),
)

#source[README kind.]

=== A recommendation or an expectation

#entry[Each certificate should name Let's Encrypt as its issuer.]

In a manual, this sentence tells the reader how to know a step worked. "Should" reads as a recommendation or as a guess.

#readings(
  ("[ASR·HAB·DEO·WNC]", [a recommendation.]),
  ("[ASR·HAB·INF]", [an expectation the author infers.]),
)

#rewrites(
  ("[ASR·HAB]", [Each certificate names Let's Encrypt as its issuer.]),
)

#source[Manual kind.]

== Negation

`NEG` before the modal negates the modal. `NEG` after it negates the content. With no modal there is one place for `NEG`, after the phase.

#table(
  columns: (auto, auto, auto),
  table.header([*Codes*], [*Logic*], [*English*]),
  a("NEG·DEO·NEC"), [not required], ["need not"],
  a("DEO·NEC·NEG"), [required not to], ["must not"],
  a("NEG·ABL·POS"), [not able], ["cannot"],
  a("ABL·POS·NEG"), [able not to], ["can refrain", "can leave unset"],
)

"Need not" and "must not" differ only in where the negation sits, and they ask opposite things of the reader.

=== Need not

#entry[Callers cannot change their imports when upgrading from version 0.2.1.]

#readings(
  ("[ASR·HAB·NEG·ABL·POS] {imports: OBJ}", [callers are unable to change their imports.]),
)

The sentence states an inability, and no rule. An upgrading caller learns nothing about what they must do.

#rewrites(
  ("[ASR·HAB·NEG·DEO·NEC] {imports: OBJ}", [Callers need not change their imports when upgrading from version 0.2.1.]),
)

#source[ChangeLog kind.]

=== Must not

#entry[A store written for one schema may not be opened with a schema that adds, removes or reorders any of them.]

#readings(
  ("[ASR·HAB·NEG·DEO·POS] [ASR·HAB]/rel1 [ASR·HAB]/rel1 [ASR·HAB]/rel1", [it is not permitted.]),
  ("[ASR·HAB·ABL·POS·NEG] [ASR·HAB]/rel1 [ASR·HAB]/rel1 [ASR·HAB]/rel1", [it might fail to open.]),
)

#rewrites(
  ("[ASR·HAB·DEO·NEC·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.]),
)

"Adds, removes or reorders" are three coordinated verbs, so three relative clauses.

#source[README kind.]

=== Cannot, and can leave unset

#entry[The tag can not be moved by a later push.]

Written as two words, "can not" reads as "cannot" or as "can refrain from".

#readings(
  ("[ASR·HAB·NEG·ABL·POS]", [the tag is unable to be moved.]),
  ("[ASR·HAB·ABL·POS·NEG]", [the tag is able not to be moved.]),
)

#rewrites(
  ("[ASR·HAB·NEG·ABL·POS]", [The tag cannot be moved by a later push.]),
)

When the second reading is meant, a different verb carries it:

#entry[A host can not set `pageSize`.]

#rewrites(
  ("[ASR·HAB·ABL·POS·NEG]", [A host can leave `pageSize` unset.]),
)

The same split appears under a warning in a manual. "Do not reboot the machine: without a console, a system that fails to boot can not be got past." reads as #a("[ADM·PFV·NEG] [ASR·HAB]/rel3 [ASR·HAB·NEG·ABL·POS]") or with #a("ABL·POS·NEG") in the last clause, and "cannot" settles it.

#source[README kind and manual kind.]

== Bound

#table(
  columns: (auto, 1fr, 1fr),
  table.header([*Code*], [*Meaning*], [*English cues*]),
  a("ONE"), [happens one time in the program's life, however long it takes], ["once", "the first time", "a one-off"],
)

A one-off migration and recurring behaviour need different action from an operator. `ONE` cannot go with `HAB`, because one time and regularly contradict each other, so a one-off clause is `PFV·ONE`. Words such as "each" and "every" are content, not a bound.

"Once" has three other uses in English: a count inside each run, a conjunction meaning "as soon as", and "at one earlier time". The examples below meet each of them.

=== Every time or one time

#entry[The store now imports the SQLite review and sign-off tables.]

#readings(
  ("[ASR·HAB·INC]", [the store imports them at every open.]),
  ("[ASR·PFV·INC·ONE]", [a one-off migration.]),
)

#rewrites(
  ("[ASR·PFV·INC·ONE]", [The store now imports the SQLite review and sign-off tables once, at its first use.]),
)

Operators act differently on the two: back up before the first start, or expect the import cost on every start.

#source[ChangeLog kind. The good side is verbatim from nixlab-shell's ChangeLog.]

=== One time, or once per start

#entry[The server now opens the review store once.]

#readings(
  ("[ASR·PFV·INC·ONE] {review: OBJ}", [one time in the server's life.]),
  ("[ASR·HAB·INC] {review: OBJ}", [one open per start, rather than several.]),
)

#rewrites(
  ("[ASR·HAB·INC] {review: OBJ}", [The server now opens the review store at each start.]),
)

"At each start" is content, so only `HAB` is left.

#source[ChangeLog kind.]

=== The bound or the conjunction

#entry[A search asks the forge once the box has been left alone for 250 ms.]

#readings(
  ("[ASR·HAB] [ASR·PRF]/adv1", ["once" as "as soon as": every search asks.]),
  ("[ASR·PFV·ONE] [ASR·PRF]/adv1", ["once" as the bound: a search asks one time.]),
)

#rewrites(
  ("[ASR·HAB] [ASR·PRF]/adv1", [A search asks the forge whenever the box has been left alone for 250 ms.]),
)

#source[README kind.]

=== The bound or one earlier time

#entry[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.]

After a past verb, "once" can mean "at one earlier time", which is release history.

#readings(
  ("[ASR·HAB·INC] {reviews: OBJ, sign-offs: OBJ} [ASR·PFV]/rel1", [the import happened at some earlier time.]),
  ("[ASR·HAB·INC] {reviews: OBJ, sign-offs: OBJ} [ASR·PFV·ONE]/rel1", [a one-off import, with no word on whether it is new.]),
)

#rewrites(
  ("[ASR·HAB·INC] {reviews: OBJ, sign-offs: OBJ} [ASR·PFV·INC·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.]),
)

#source[ChangeLog kind.]

== Evidence

Evidence states the basis of an assertion. It appears only on assertions put forward as fact: a command or a question has no basis to state, and a hypothesis commits to nothing.

#table(
  columns: (auto, 1fr, 1fr),
  table.header([*Code*], [*Basis*], [*English cues*]),
  a("OBS"), [observed or measured by the author], ["we measured", "on our machine"],
  a("PUP"), [a record anyone can check, such as CI or a checked-in benchmark], ["in the recorded benchmark", "CI shows"],
  a("RPR"), [reported by someone else], ["according to", "reportedly"],
  a("INF"), [inferred], ["so", "must be", "probably"],
  a("REC"), [remembered], ["last time"],
)

=== An unsupported figure

#entry[Median startup time fell from 800 ms to 200 ms.]

#readings(
  ("[ASR·PFV]", [a claim with no basis given.]),
  ("[ASR·PFV·OBS]", [the author's own measurement.]),
)

#rewrites(
  ("[ASR·PFV·PUP]", [Median startup time fell from 800 ms to 200 ms in the recorded benchmark.]),
)

A measured figure says where it can be checked.

#source[ChangeLog kind. "The generation triggers add about 4 µs per written row." #a("[ASR·HAB]") gains its basis as "Measured on a copy of the live database, the generation triggers add about 4 µs per written row." #a("[ASR·HAB·OBS]"). The participle stays in the clause.]

=== Inferred or reported

#entry[Apparently the merge request page loads twice.]

#readings(
  ("[ASR·HAB·INF]", [the author infers it.]),
  ("[ASR·HAB·RPR]", [someone told the author.]),
)

#rewrites(
  ("[ASR·HAB·RPR]", [Reportedly, the merge request page loads twice.]),
)

#source[Issue kind.]

=== A rule or an inference

#entry[The 0.122.0.0 tag must be on `master`.]

#readings(
  ("[ASR·HAB·DEO·NEC]", [a rule about tags.]),
  ("[ASR·HAB·INF]", [the author's inference about one tag.]),
)

#rewrites(
  ("[ASR·HAB·INF]", [The 0.122.0.0 tag is probably on `master`.]),
)

#source[Issue kind. "After the import, the store should hold 349,035 events." splits between #a("DEO·WNC") and #a("INF") in the same way, and "probably holds" settles it.]

=== Remembered or unchanged

#entry[The `jungle-publish` run took 14 minutes, as before.]

#readings(
  ("[ASR·PFV·REC]", [the author remembers a past run.]),
  ("[ASR·PFV·CNT]", [the duration is unchanged.]),
  ("[ASR·PFV]", [a plain report.]),
)

#rewrites(
  ("[ASR·PFV·REC]", [The `jungle-publish` run took 14 minutes last time.]),
)

#source[Manual kind.]

== Act and product nouns

A noun that names an act, such as backup, build, release, review, import, check, switch or configuration, can mean the act or what the act produces, and English rarely says which. Every such noun carries a code, written in braces after its clause.

#table(
  columns: (auto, 1fr),
  table.header([*Code*], [*Meaning*]),
  a("BSC"), [the act or procedure],
  a("OBJ"), [what the act produces],
)

Other nouns, such as "the forge" or "the database", carry nothing. The annotator always writes the code, but it splits readings only in a document kind that declares nouns significant, as the ChangeLog and issue kinds do.

=== The procedure or the copy

#entry[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.]

"The backup" names the procedure or the copy it makes. The sentence says that the procedure now copies these things, or that the copy now contains them.

#readings(
  ("[ASR·HAB·INC] {backup: BSC} [ASR·HAB·INC] [ASR·HAB·INC]", [the procedure.]),
  ("[ASR·HAB·INC] {backup: OBJ} [ASR·HAB·INC] [ASR·HAB·INC]", [the copy.]),
)

#rewrites(
  ("[ASR·HAB·INC] {backup: BSC} [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.]),
)

#source[ChangeLog kind. The pair records an owner ruling in the specification.]

=== Every backup it takes

#entry[From now on, the loop must include `keys` in every backup it takes.]

#readings(
  ("[ASR·HAB·INC·DEO·NEC] {backup: BSC} [ASR·HAB]/rel1", [the backup procedure must cover `keys`.]),
  ("[ASR·HAB·INC·DEO·NEC] {backup: OBJ} [ASR·HAB]/rel1", [each backup file must contain it.]),
)

#rewrites(
  ("[ASR·HAB·INC·DEO·NEC] {backup: OBJ} [ASR·HAB]/rel1", [From now on, the loop must include `keys` in every backup it writes.]),
)

#source[Issue kind. "Inspect the switch." reads as the switch to be made, the system it produced, or neither, and "Inspect the switch with `nix run .#cache-dry-run`." settles it as the act, #a("[DIR·PFV] {switch: BSC}").]

== Clause place

Every clause is a main clause or sits inside another, its parent. The place is syntax, so annotators agree on it without judgement, and a subordinate clause prints its place after its brackets.

#table(
  columns: (auto, auto, 1fr),
  table.header([*Place*], [*Printed*], [*What it is*]),
  [main], [nothing], [a clause not inside another],
  [relative], [`/rel1`], [describes a noun of its parent: "which", "that", "who", or no word at all],
  [adverbial], [`/adv1`], [says when, if, until, why or with what result its parent holds],
  [complement], [`/comp1`], [is the object of its parent's verb: "that", "whether"],
)

The number is the parent's position in the sentence. A subordinate clause is an assertion unless it is itself a command, a question or a warning.

=== From relative to adverbial

#entry[OFP.CheckDeterministically and the Checking and auditing OpenFP work preamble no longer refer to QC.DescribeCheckCoverage, which the Quality Control Method chapter retires in standards 0.6.0.0.]

The relative clause puts another release's declaration in the present tense.

#readings(
  ("[ASR·HAB·CSS] [DEC·PFV]/rel1", [this ChangeLog itself retires a rule it does not own.]),
  ("[ASR·HAB·CSS] [ASR·HAB]/rel1", [the retirement as a timeless fact.]),
)

#rewrites(
  ("[ASR·HAB·CSS] [ASR·PFV]/adv1", [OFP.CheckDeterministically and the Checking and auditing OpenFP work preamble no longer refer to QC.DescribeCheckCoverage, because the Quality Control Method chapter retired it in standards 0.6.0.0.]),
)

In the rewrite the retirement is past history in an adverbial clause, which the ChangeLog kind allows.

#source[ChangeLog kind. The bad side is verbatim from the openfp guide's ChangeLog.]

=== Main or adverbial

#entry[Does an `old:` line appear? End that process with `kill PID`.]

The step may end the process always, or only if the line appears.

#readings(
  ("[IRG·HAB] [DIR·PFV]", [two separate sentences: always end it.]),
  ("[IRG·HAB]/adv2 [DIR·PFV]", [the question is the step's condition.]),
)

#rewrites(
  ("[IRG·HAB]/adv2 [DIR·PFV]", [Does an `old:` line appear? – end that process with `kill PID`.]),
)

The dash joins the question to the step as its condition. A statement in that position has the same two readings, and turning it into a question settles it: "The narinfo is missing – build the system here." becomes "Is the narinfo missing? – build the system here." #a("[IRG·HAB]/adv2 [DIR·PFV]").

#source[Manual kind.]

=== A complement that describes or requires

#entry[HS.RejectWarnings now says that authors and agents run `nix flake check` before pushing.]

#readings(
  ("[ASR·HAB·INC] [ASR·HAB]/comp1", [the rule describes what authors do.]),
  ("[ASR·HAB·INC] [ASR·HAB·DEO·NEC]/comp1", [the rule requires it.]),
)

#rewrites(
  ("[ASR·HAB·INC] [ASR·HAB·DEO·NEC]/comp1", [HS.RejectWarnings now says that authors and agents must run `nix flake check` before pushing.]),
)

A complement in a ChangeLog may carry a modal but no phase, which is why "must" is allowed there and "now" is not.

#source[ChangeLog kind. The bad side is cut from the Haskell guide's ChangeLog.]