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
2909a4167fa0d2af5510c8027a771a51f3dc4d31manual/dreamstop.vx
let
  s :: String -> String -> [Inline]
  s annotation sentence = [text (sentence ++ " ")]
  sx :: String -> [Inline] -> [Inline]
  sx annotation inlines = inlines ++ [text " "]
  stepThen :: String -> String -> String -> String -> Content ()
  stepThen stepAnnotation stepSentence resultAnnotation resultSentence = paragraph (s stepAnnotation stepSentence ++ s resultAnnotation resultSentence)
  recover :: String -> String -> Content ()
  recover annotation sentence = paragraph (s annotation sentence)
  c :: String -> [Inline]
  c code = [inlineCode Nothing code]
  t :: String -> [Inline]
  t phrase = [text phrase]
  pairs :: [[[Inline]]] -> Content ()
  pairs = table [t "Kind", t "Question", t "Bad side", t "Good side", t "Source"]
  pair :: String -> String -> String -> String -> String -> String -> String -> [[Inline]]
  pair kind question bad badReadings good goodReading source = [t kind, t question, [text bad, text " ", inlineCode Nothing badReadings], [text good, text " ", inlineCode Nothing goodReading], t source]
  readings :: String -> [Content ()] -> Content ()
  readings sentence items = paragraph [text sentence] >> paragraph [text "Readings:"] >> ordered items
  reading :: String -> String -> Content ()
  reading codes gloss = paragraph [inlineCode Nothing codes, text (": " ++ gloss)]
  codes :: [[[Inline]]] -> Content ()
  codes = table [t "Code", t "Meaning", t "English cues", t "Example", t "Reading"]
  code :: String -> String -> String -> String -> String -> [[Inline]]
  code name meaning cues example reading = [c name, t meaning, t cues, t example, c reading]
in do
  title [text "dreamstop: a user manual for continuous disambiguation"]

  section (Identifier "About this manual") [text "About this manual"] $ do
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "This manual is for people and agents who work on OpenFP documentation." ++ s "[ASR·HAB] {disambiguation: BSC}" "It teaches dreamstop, a language for continuous disambiguation." ++ s "[ASR·HAB]" "It covers the codes, clause positions, the semantics, verdicts, questions, the six document kinds and minimal pairs.")
    paragraph (s "[ASR·HAB]" "The manual follows the dreamstop specification, version 2." ++ s "[ASR·HAB]" "The dreamstop Haskell package lives in the dreamstop/dreamstop repository." ++ s "[ASR·HAB·NEG]" "No step in this manual uses that package.")
    paragraph (sx "[ASR·HAB]" [text "The chapters from ", reference (Identifier "The one property"), text " to ", reference (Identifier "Document kinds"), text " introduce the language in order."] ++ sx "[ASR·HAB]" [text "The chapters from ", reference (Identifier "Annotating a sentence"), text " to ", reference (Identifier "Reviewing with dreamstop"), text " are procedures."] ++ sx "[ASR·HAB]" [reference (Identifier "Reference table"), text " and the ", reference (Identifier "Glossary"), text " collect the codes and the terms."])
    paragraph (s "[ASR·HAB]" "Readings appear in monospace, as in [ASR·HAB]." ++ s "[ASR·HAB]" "Every sentence of this manual has a reading under the manual kind, kept beside the sentence in the source." ++ s "[ASR·HAB]" "The source also records each subordinate clause's position and parent after a slash, as in [ASR·HAB]/rel1." ++ s "[ASR·HAB]" "Act nouns carry BSC or OBJ in braces, as in {review: BSC}." ++ s "[ASR·HAB]" "A quoted example counts as content of the sentence around it." ++ s "[ASR·HAB] [ASR·HAB]" "Every pair in this manual comes from a kind repository, and its readings are printed from the pair data in display form.")

  section (Identifier "The one property") [text "The one property"] $ do
    paragraph (s "[ASR·HAB]" "dreamstop secures one property." ++ s "[ASR·HAB]/rel2 [ASR·HAB]" "Every question that a reader is entitled to ask of a document has exactly one answer.")
    paragraph (s "[ASR·HAB]" "A document fails this property in two ways." ++ s "[ASR·HAB]" "Ambiguity of reading is a sentence with several meanings." ++ s "[ASR·HAB] [ASR·HAB]/rel1" "Ambiguity by omission is a clear text that fits several situations of concern to the reader." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "Both leave a question with more than one answer, so dreamstop treats them as one failure.")
    table [t "Failure", t "Example", t "What it leaves open"]
      [ [t "Ambiguity of reading", t "Added the review store, which moved reviews and sign-offs out of SQLite.", t "whether the move is a one-off import or what the store does"]
      , [t "Ambiguity by omission", t "Upgraded nixlab-shell from 0.121.0.0 to 0.122.0.0.", t "whether operators must do anything"]
      ]
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "An annotator is a program that marks each clause with codes." ++ s "[ASR·HAB]" "Annotators make both failures visible." ++ s "[ASR·HAB]" "Another program checks every reading against the document's kind." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A document passes when every question of its kind has one answer for every annotator.")
    paragraph (s "[ASR·HAB] {disambiguation: BSC, test: BSC, review: BSC}" "Continuous disambiguation applies this test at every review." ++ s "[ASR·HAB] {release: BSC}" "A wrong reading of a ChangeLog entry costs an incident after a release." ++ s "[ASR·HAB] {rewrite: BSC, review: BSC}" "The same reading costs one rewrite at review.")

  section (Identifier "Clauses and segmentation") [text "Clauses and segmentation"] $ do
    paragraph (s "[ASR·HAB]" "A reading of a sentence is a non-empty list of clauses, in order." ++ s "[ASR·HAB]" "A sentence with several meanings has several readings.")
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "A clause is one finite verb group with everything it governs." ++ s "[ASR·HAB]" "Five rules settle the boundaries of clauses.")
    ordered
      [ paragraph (s "[ASR·HAB]" "A finite verb group is a finite verb with its auxiliaries and modals." ++ s "[ASR·HAB]" "An imperative is finite.")
      , paragraph (s "[ASR·HAB]" "Every finite verb group starts a clause, including in relative, temporal and conditional clauses.")
      , paragraph (s "[ASR·HAB·NEG]" "Infinitives, participles and verbless adjuncts are not clauses." ++ s "[ASR·HAB] [ASR·HAB]/rel1" "They belong to the clause that contains them.")
      , paragraph (s "[ASR·HAB]" "Coordinated finite verbs are separate clauses, even with one shared subject.")
      , paragraph (s "[ASR·HAB]" "Clauses are ordered by the position of their finite verb in the text.")
      ]
    table [t "Sentence", t "Finite verb groups", t "Clauses"]
      [ [t "The store removes the table and adds a log.", t "removes, adds", t "2"]
      , [t "Keep the guard armed until the import has finished.", t "Keep, has finished", t "2"]
      , [t "Set metering.vx to raise the fuel default.", t "Set", t "1"]
      , [t "The children the forge spawns inherit its lock.", t "spawns, inherit", t "2"]
      ]
    paragraph (s "[ASR·HAB] {test: BSC}" "Finiteness is a syntactic test." ++ s "[ASR·HAB] [ASR·HAB·NEG]/adv1 {segmentation: BSC}" "Two annotators apply it the same way, so segmentation involves no judgement about meaning." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A subordinate clause takes ASR unless it is itself a command, a question or a warning.")

  section (Identifier "Clause positions") [text "Clause positions"] $ do
    paragraph (s "[ASR·HAB] {segmentation: BSC}" "Segmentation also gives each clause a position." ++ s "[ASR·HAB]" "A clause in any position but main has a parent, the clause around it." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "Position is syntax, so annotators agree on it without judgement.")
    table [t "Position", t "What it is", t "Cues", t "Example"]
      [ [c "Main", t "a clause not inside another", t "", t "Added the review store"]
      , [c "Relative", t "describes a noun of its parent", t "which, that, who, or a reduced relative", t "which keeps reviews in acid-state"]
      , [c "Adverbial", t "says when, if, until, why or with what result its parent holds", t "when, if, until, after, because, so", t "when the forge has imported the reviews"]
      , [c "Complement", t "is the object of its parent's verb", t "that, whether", t "that the lock is inherited"]
      ]
    paragraph (s "[ASR·HAB]" "Document kinds allow different codes in different positions." ++ sx "[ASR·HAB]" [reference (Identifier "Document kinds"), text " shows the patterns."])

  section (Identifier "Codes and their order") [text "Codes and their order"] $ do
    paragraph (s "[ASR·HAB]" "Every clause has ten slots." ++ s "[ASR·HAB]" "Force and aspect always have a value." ++ s "[ASR·HAB]" "Mood has the default FAC." ++ s "[ASR·HAB]" "Phase, the two negations, the modal, bound and evidence are optional.")
    paragraph (s "[ASR·HAB]" "Each code has three letters." ++ s "[ASR·HAB]" "A clause renders as its codes in a fixed order, joined by a middle dot inside square brackets.")
    codeBlock (Language "text") "Force · Mood · Aspect · Phase · NEG · Ground · Strength · NEG · Bound · Evidence"
    paragraph (s "[ASR·HAB]" "The block above is a template, not a reading." ++ s "[ASR·HAB·NEG]" "FAC, absent slots and false negations are not rendered." ++ s "[ASR·HAB]" "A clause with no modal has one negation position, after phase." ++ s "[ASR·HAB]" "A sentence renders as its clauses separated by spaces.")
    codeBlock (Language "text") "[ASR·HAB·CSS]\n[ASR·HAB·DEO·NEC]\n[ASR·PFV] [ASR·HAB·INC]\n[ASR·PFV] or [ASR·HAB]"
    paragraph (s "[ASR·HAB]" "The block above holds four example readings, one per line." ++ s "[ASR·HAB]" "The third reading has two clauses." ++ s "[ASR·HAB]" "The fourth line joins two readings of one ambiguous sentence with or.")
    paragraph (s "[ASR·HAB]" "The fixed order makes equal meanings print equally." ++ sx "[ASR·HAB] [ASR·HAB]/adv1" [text "Aspect prints beside force, although it applies first, as ", reference (Identifier "Semantics and laws"), text " explains."])

  section (Identifier "Force") [text "Force"] $ do
    paragraph (s "[ASR·HAB] [ASR·HAB]/comp1" "Force says what the speaker does with the clause." ++ s "[ASR·HAB]" "Every clause has exactly one force.")
    codes
      [ code "ASR" "assertive: states that p" "declarative sentence" "The shell no longer accepts unsigned commands." "[ASR·HAB·CSS]"
      , code "DIR" "directive: tells the reader to do something" "imperative" "Upgrade nixlab-shell." "[DIR·PFV]"
      , code "IRG" "interrogative: asks which alternative holds" "question mark, inversion" "Does healthz answer?" "[IRG·HAB]"
      , code "DEC" "declarative: the utterance makes it so" "this release deprecates, is hereby" "This release deprecates oldApi." "[DEC·PFV]"
      , code "ADM" "admonitive: warns of a risk" "do not, never, be careful, with a hazard" "Do not run this against production." "[ADM·PFV·NEG]"
      , code "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]"
      ]
    paragraph (s "[ASR·HAB]" "Each force is answered differently." ++ s "[ASR·HAB] [ASR·HAB]" "An assertion is true or false, and a directive is complied with." ++ s "[ASR·HAB] [ASR·HAB]" "A question is answered, and a declaration takes effect by being said." ++ s "[ASR·HAB] [ASR·HAB]" "A warning names a hazard, and a commitment is kept or broken.")
    paragraph (s "[ASR·HAB]" "Aspect applies under every force." ++ s "[ASR·HAB]" "Upgrade X, read as [DIR·PFV], and Upgraded X, read as [ASR·PFV], differ in force alone.")
    paragraph (s "[ASR·HAB]" "A reader checks a record against the software." ++ s "[ASR·HAB·NEG]" "A command or a question is not true or false." ++ s "[ASR·HAB]" "Each document kind therefore allows only some forces.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the force." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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\"."
        ]

  section (Identifier "Mood") [text "Mood"] $ do
    paragraph (s "[ASR·HAB] [ASR·HAB]/comp1" "Mood says whether the clause is put forward as fact.")
    codes
      [ code "FAC" "factual, the default, not rendered" "indicative" "The forge restarts the runner." "[ASR·HAB]"
      , code "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]"
      , code "COU" "counterfactive: known to be false" "would have, had we" "The law would have caught the race." "[ASR·COU·PFV]"
      ]
    paragraph (s "[ASR·HAB]" "Issues and designs weigh options." ++ s "[ASR·HAB]" "An option in the place of a decision misleads a reader." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "ChangeLogs, READMEs and manuals are FAC throughout, because their reader acts on them.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the mood." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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."
        ]

  section (Identifier "Aspect") [text "Aspect"] $ do
    paragraph (s "[ASR·HAB]" "Aspect relates the event to the reference time." ++ s "[ASR·HAB]" "Every clause has an aspect.")
    codes
      [ code "PFV" "perfective: the event as a whole" "simple past, a single imperative act" "Added the review store." "[ASR·PFV]"
      , code "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]"
      , code "PRG" "progressive: under way, unfinished" "is …ing, keep" "Keep the guard below armed." "[DIR·PRG]"
      , code "HAB" "habitual: what the thing is or regularly does" "simple present, states, generic truths" "An Issue carries issueAssignee." "[ASR·HAB]"
      ]
    paragraph (s "[ASR·HAB] [ASR·HAB]/comp1" "Aspect decides whether a clause reports an event." ++ s "[ASR·HAB]" "The commonest failure in the corpus is moved against moves." ++ s "[ASR·HAB]" "States and generic truths take HAB.")
    paragraph (s "[ASR·HAB]" "An imperative takes the aspect of its act." ++ s "[ASR·HAB] [ASR·HAB] [ASR·HAB]" "A single act is PFV, a standing practice is HAB, and keeping a state is PRG.")
    paragraph (s "[ASR·HAB]" "PRG has an imperfective paradox." ++ s "[ASR·HAB] [ASR·PFV]/comp1 {import: BSC}" "“The forge was importing reviews” leaves open whether the import finished.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the aspect." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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."
        , pair "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\")."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Phase") [text "Phase"] $ do
    paragraph (s "[ASR·HAB] {change: BSC}" "Phase is a change in truth across a reference point." ++ s "[ASR·HAB]" "Each document kind fixes its reference point." ++ s "[ASR·HAB] {release: BSC} [ASR·HAB]" "A ChangeLog measures from the release, and an issue measures from the time of writing." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]/adv1" "READMEs and manuals have no reference point, so their kinds allow no phase.")
    table [t "Code", t "English cue", t "Before p", t "After p", t "Example", t "Reading"]
      [ [c "INC", t "now", t "false", t "true", t "Operators must now back up STATE/reviews/.", c "[ASR·HAB·INC·DEO·NEC]"]
      , [c "CSS", t "no longer", t "true", t "false", t "The shell no longer accepts unsigned commands.", c "[ASR·HAB·CSS]"]
      , [c "CNT", t "still", t "true", t "true", t "Compiled code that loops without allocating is still uninterruptible.", c "[ASR·HAB] [ASR·HAB·CNT]"]
      , [c "EXP", t "not yet", t "false", t "false, p expected", t "The forge does not use it yet.", c "[ASR·HAB·EXP]"]
      ]
    paragraph (s "[ASR·HAB] {release: BSC}" "A ChangeLog reader asks about the difference between the two sides of a release." ++ s "[ASR·HAB]" "Phase answers that question directly.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the phase." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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\"."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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\"."
        , pair "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."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Modality") [text "Modality: Ground and Strength"] $ do
    paragraph (s "[ASR·HAB]" "A modal is one Ground and one Strength, written ground first." ++ s "[ASR·HAB]" "The ground is the source of the modal." ++ s "[ASR·HAB]" "The strength is the share of admitted situations with the content true.")
    table [t "Axis", t "Code", t "Meaning", t "Test"]
      [ [t "Ground", c "DEO", t "a rule or permission", t "the blame test: doing otherwise is possible but blameworthy"]
      , [t "Ground", c "ABL", t "the nature or capacity of the thing", t "the impossibility test: otherwise is not an option"]
      , [t "Ground", c "TEL", t "what a named goal requires", t "the goal test: doing otherwise fails the goal, and nobody is to blame"]
      , [t "Strength", c "NEC", t "necessary", t "holds in every situation the ground admits"]
      , [t "Strength", c "WNC", t "weakly necessary", t "holds in every best situation the ground admits"]
      , [t "Strength", c "POS", t "possible", t "holds in some situation the ground admits"]
      ]
    table [t "English", t "Modal", t "Example", t "Reading"]
      [ [t "must", c "DEO·NEC", t "Callers must add pageSize = Nothing.", c "[ASR·HAB·DEO·NEC]"]
      , [t "should", c "DEO·WNC", t "Operators should rotate the token monthly.", c "[ASR·HAB·DEO·WNC]"]
      , [t "may, of permission", c "DEO·POS", t "Reviewers may record a review while CI runs.", c "[ASR·HAB·DEO·POS] [ASR·HAB]"]
      , [t "can, of ability, and may, of what might happen", c "ABL·POS", t "The spend can vary by a few units.", c "[ASR·HAB·ABL·POS]"]
      , [t "inevitably, always by its nature", c "ABL·NEC", t "xs <- … always captures the whole value.", c "[ASR·HAB·ABL·NEC]"]
      , [t "to do G, you need", c "TEL·NEC", t "To build the manual you need Typst 0.14.", c "[ASR·HAB·TEL·NEC]"]
      , [t "to do G, you ought to", c "TEL·WNC", t "For reproducible timings you should pin the GPU clock.", c "[ASR·HAB·TEL·WNC]"]
      ]
    paragraph (s "[ASR·HAB] {test: BSC}" "The three tests are applied in turn to choose a ground." ++ s "[ASR·HAB] {test: BSC}" "The blame test picks DEO." ++ s "[ASR·HAB] {test: BSC}" "The impossibility test picks ABL." ++ s "[ASR·HAB] {test: BSC} [ASR·HAB]" "The goal test picks TEL, and TEL applies only to a clause with a named goal.")
    paragraph (s "[ASR·HAB]" "Must rarely names its source." ++ s "[ASR·HAB]" "A clause without a named goal is therefore DEO.")
    paragraph (s "[ASR·HAB·NEG]" "dreamstop has no alethic ground." ++ s "[ASR·HAB]" "Necessity from the workings of the system is ABL.")
    paragraph (s "[ASR·HAB·NEG]" "Granting a permission to another party is not a modal of its own." ++ s "[ASR·HAB]" "“Guests can be given permission to push” reads as ABL·POS over DEO·POS, with the inner modal as content of the outer clause.")
    paragraph (s "[ASR·HAB]" "Every combination of ground and strength is meaningful." ++ s "[ASR·HAB·NEG]" "No reading contains an invalid modal.")
    section (Identifier "The holder of an obligation") [text "The holder of an obligation"] $ do
      paragraph (s "[ASR·HAB·NEG]" "The codes do not record the holder of a DEO clause." ++ s "[ASR·HAB] [ASR·HAB·NEG]" "The holder is a fact about the subject, and the codes see no subjects.")
      table [t "Sentence", t "Reading", t "Holder"]
        [ [t "« Il faut sauvegarder X. »", c "[ASR·HAB·DEO·NEC]", t "nobody named"]
        , [t "« Les opérateurs doivent sauvegarder X. »", c "[ASR·HAB·DEO·NEC]", t "operators"]
        ]
      paragraph (s "[ASR·HAB]" "Both sentences match the same pattern." ++ s "[ASR·HAB] [ASR·HAB]" "A ChangeLog reader asks about obligations, and annotators answer that question from the text." ++ sx "[ASR·HAB]" [reference (Identifier "What codepoints cannot see"), text " lists this limit."])
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the modality." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Negation") [text "Negation scope"] $ do
    paragraph (s "[ASR·HAB]" "NEG before the modal negates the modal." ++ s "[ASR·HAB]" "NEG after the modal negates the content." ++ s "[ASR·HAB]" "The position of NEG in the reading is its scope.")
    table [t "Codes", t "Logic", t "English", t "Example", t "Reading"]
      [ [c "NEG·DEO·NEC", t "not necessarily p", t "need not", t "Callers need not change their imports.", c "[ASR·HAB·NEG·DEO·NEC]"]
      , [c "DEO·NEC·NEG", t "necessarily not p", t "must not", t "Agents must not push to main.", c "[ASR·HAB·DEO·NEC·NEG]"]
      , [c "NEG·ABL·POS", t "not possibly p", t "cannot", t "The tag cannot be moved by a later push.", c "[ASR·HAB·NEG·ABL·POS]"]
      , [c "ABL·POS·NEG", t "possibly not p", t "can refrain, can leave unset", t "You can leave pageSize unset.", c "[ASR·HAB·ABL·POS·NEG]"]
      ]
    paragraph (s "[ASR·HAB]" "“Need not” and “must not” differ only in scope." ++ s "[ASR·HAB] [ASR·HAB]" "The first leaves an act optional, and the second forbids it." ++ s "[ASR·HAB·NEG·ABL·POS] [ASR·HAB]/adv1" "A single negation slot cannot tell them apart, so dreamstop has two.")
    paragraph (s "[ASR·HAB]" "May, in the sense of permission, is DEO·POS." ++ s "[ASR·HAB] [ASR·HAB]" "Its dual form NEG·DEO·NEC·NEG means the same and is rewritten to DEO·POS.")
    paragraph (s "[ASR·HAB] [ASR·HAB]" "A clause with no modal has one negation position, and NEG there denies the clause.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the negation scope." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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\"."
        , pair "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."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Bound") [text "Bound"] $ do
    codes
      [ code "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]"
      ]
    paragraph (s "[ASR·HAB] {migration: BSC}" "A one-off migration and recurring behaviour call for different action from operators." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "ONE excludes HAB, because one time and regularly contradict each other." ++ s "[ASR·HAB]" "Bare HAB already means each occurrence." ++ s "[ASR·HAB]" "Object quantifiers such as each and every are content, not bound.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the bound." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Evidence") [text "Evidence"] $ do
    paragraph (s "[ASR·HAB]" "Evidence states the basis of an assertion." ++ s "[ASR·HAB]" "It appears on ASR clauses with mood FAC only.")
    codes
      [ code "OBS" "observed or measured directly by the author" "we measured, on our machine" "Startup took 200 ms on an RTX 3060." "[ASR·PFV·OBS]"
      , code "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]"
      , code "RPR" "reported by someone else" "according to, reported in" "Users report that the page loads twice." "[ASR·HAB·RPR] [ASR·HAB]"
      , code "INF" "inferred" "so, must be, probably" "The lock is probably inherited." "[ASR·HAB·INF]"
      , code "REC" "remembered" "as before, last time" "The import took an hour last time." "[ASR·PFV·REC]"
      ]
    paragraph (s "[ASR·HAB]" "A ChangeLog reader asks about measured claims." ++ s "[ASR·HAB]" "OBS and PUP mark a claim as measured." ++ s "[ASR·HAB]" "A command or a question has no basis to state." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]/adv1" "A hypothetical or counterfactual clause commits to nothing, so it has nothing to back.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the evidence." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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\"."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Nominalisations") [text "Nominalisations"] $ do
    paragraph (s "[ASR·HAB]/rel2 [ASR·HAB·ABL·POS]" "A noun that names an act can mean the act or its product." ++ s "[ASR·HAB]" "Backup, build, release, review, import, migration, upgrade, check, configuration and installation are such nouns." ++ s "[ASR·HAB]" "English rarely marks the difference.")
    codes
      [ code "BSC" "the act or procedure" "the procedure, the process" "The backup now stops the forge." "[ASR·HAB·INC] {backup: BSC}"
      , code "OBJ" "what the act produces" "the copy, the result" "Restore the forge from the backup." "[DIR·PFV] {backup: OBJ}"
      ]
    paragraph (s "[ASR·HAB]" "Every such noun carries BSC or OBJ, in braces after its clause." ++ s "[ASR·HAB·NEG]" "Other nouns, such as the forge or the database, carry no code.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the nominalisation codes." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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\"."
        , pair "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."
        ]
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1 [ASR·HAB]/rel1" "The first bad side names a procedure that takes the job logs, or a copy that contains them." ++ s "[ASR·HAB] {procedure: BSC}" "The word procedure leaves only the act." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "Both readings have the same clause codes, so without the noun code the verdict is a false Clear." ++ s "[ASR·HAB]" "This manual annotates its own act nouns in the same way, such as {review: BSC} and {edit: OBJ}.")
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "Noun codes split readings only in a kind that declares significant noun." ++ sx "[ASR·HAB]" [reference (Identifier "Neutral slots"), text " explains this rule."])


  section (Identifier "Semantics and laws") [text "Semantics and laws"] $ do
    section (Identifier "What each layer denotes") [text "What each layer denotes"] $ do
      paragraph (s "[ASR·HAB]" "In this chapter, p is the content of a clause, a proposition about the program or the reader." ++ s "[ASR·HAB]" "Each layer applies to the result of the layer below it.")
      codeBlock (Language "text") "denote c = force ∘ evidence ∘ mood ∘ phase ∘ outerNeg ∘ modal ∘ innerNeg ∘ bound ∘ aspect"
      table [t "Layer", t "What it denotes"]
        [ [t "Aspect", t "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."]
        , [t "Bound", t "ONE: the event occurs exactly one time in the program's life."]
        , [t "Modal", t "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."]
        , [t "Negation", t "classical negation at its position."]
        , [t "Phase", t "defined from Before p and After p, the truth of p in the predecessor revision and in the documented revision."]
        , [t "Mood", t "FAC commits to p. HYP considers p without commitment. COU considers p and commits to not p."]
        , [t "Evidence", t "annotates the commitment with its basis and leaves p unchanged."]
        , [t "Force", t "maps the result into its kind of act: judgements, plans, sets of alternatives, changes made by saying, hazards or commitments."]
        ]
    section (Identifier "Normal form") [text "Normal form"] $ do
      paragraph (s "[ASR·HAB]" "The order is fixed." ++ s "[ASR·HAB] [ASR·HAB]/adv1 {rewrite: BSC}" "Two readings mean the same only if they are equal after three rewrites.")
      ordered
        [ paragraph (s "[ASR·HAB] [ASR·HAB]" "NEG·G·NEC·NEG becomes G·POS, and NEG·G·POS·NEG becomes G·NEC.")
        , paragraph (s "[ASR·HAB]" "A clause with no modal carries at most one NEG.")
        , paragraph (s "[ASR·HAB] [ASR·HAB]" "INC directly over a negation becomes CSS on the positive, and CSS over a negation becomes INC." ++ s "[ASR·HAB]" "CNT and EXP keep a negation beneath them.")
        ]
    section (Identifier "Laws") [text "Laws"] $ do
      paragraph (s "[ASR·HAB]" "The package checks each law on every reading or on every pair.")
      table [t "Law", t "Statement"]
        [ [t "1. Well-formed", t "every clause has a force and an aspect, and every act noun in it carries BSC or OBJ"]
        , [t "2. Strength order", t "G·NEC p implies G·WNC p, which implies G·POS p, within a ground"]
        , [t "3. Duality", t "G·POS equals NEG·G·NEC·NEG within a ground. WNC has no dual code."]
        , [t "4. Counit", t "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."]
        , [t "5. Unit of ability", t "p implies ABL·POS p: what happens was within capacity"]
        , [t "6. Phase from Before and After", t "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."]
        , [t "7. Phase needs a reference point", t "a kind whose documents have no reference point allows no phase in its patterns"]
        , [t "8. No phase on DEC or CMS", t "a declaration takes effect at the release and a commitment lies after it"]
        , [t "9. ONE excludes HAB", t "one time and regularly contradict each other"]
        , [t "10. Evidence on ASR·FAC only", t "only a factual assertion has a basis to state"]
        , [t "11. Mood restrictions", t "HYP only on ASR and IRG, COU only on ASR"]
        , [t "12. TEL names its goal", t "annotators apply this test, and the package cannot check it"]
        ]
      paragraph (s "[ASR·HAB]" "Law 4 is the deontic no-counit point." ++ s "[ASR·HAB]/rel2 [ASR·HAB]" "A reviewer who reads an obligation as a fact takes a requirement for evidence of compliance.")

  section (Identifier "Verdicts") [text "Verdicts"] $ do
    paragraph (s "[ASR·HAB]" "People or agents produce readings." ++ s "[ASR·HAB·NEG·ABL·POS]" "No program can compute readings from English." ++ s "[ASR·HAB]" "Everything after the readings is computed.")
    ordered
      [ paragraph (s "[ASR·HAB] [ASR·HAB]" "The package normalises every reading and drops any reading against a law, as an annotator error.")
      , paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "Each annotator contributes the set of readings it finds." ++ s "[ASR·HAB·NEG]/rel2 [ASR·HAB]" "An annotator that finds none contributes the token no reading.")
      , paragraph (s "[ASR·HAB·NEG]/adv2 [ASR·HAB]" "If every annotator finds no reading, the verdict is Nonsense." ++ s "[ASR·HAB]/adv2 [ASR·HAB]" "If the union of contributions is one reading, the verdict is Clear." ++ s "[ASR·HAB]" "Otherwise the verdict is Ambiguous, with the readings found.")
      ]
    paragraph (s "[ASR·HAB] [ASR·HAB]" "One annotator with no reading beside another annotator with one reading is a disagreement, and a disagreement is ambiguity.")
    table [t "Sentence", t "Readings", t "Verdict"]
      [ [t "The shell no longer accepts unsigned commands.", c "[ASR·HAB·CSS]", t "Clear"]
      , [t "Added the review store, which moved reviews and sign-offs out of SQLite.", c "[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ} or [ASR·PFV] {review: OBJ} [ASR·PFV·ONE]/rel1 {reviews: OBJ}", t "Ambiguous"]
      , [t "Removed the legacy importer, which reads the old export format.", t "no reading", t "Nonsense"]
      ]
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "The ambiguous sentence has two readings, which differ in the relative clause." ++ s "[ASR·HAB] [ASR·HAB]/rel1" "The nonsense sentence describes a removed importer as one that reads a format.")
    readings "Added the review store, which moved reviews and sign-offs out of SQLite."
      [ reading "[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ}" "the store moves reviews and sign-offs out of SQLite, which is what it does from now on"
      , reading "[ASR·PFV] {review: OBJ} [ASR·PFV·ONE]/rel1 {reviews: OBJ}" "reviews and sign-offs were moved out of SQLite once, a migration that already happened"
      ]
    section (Identifier "No reading") [text "No reading"] $ do
      paragraph (s "[ASR·HAB]" "A pair records an annotator with no reading as no reading beside the bad side's readings." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A bad side is Nonsense when no annotator finds a reading." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "It is Ambiguous when no reading stands beside one or more readings.")
      pairs
          [ pair "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."
          , pair "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."
          , pair "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."
          ]
    section (Identifier "Place in a reading") [text "Place in a reading"] $ do
      paragraph (s "[ASR·HAB]" "The place of a clause is part of a reading." ++ s "[ASR·HAB]" "A reading prints each subordinate clause's position and parent after a slash, as in [ASR·HAB]/adv2.")
      paragraph (s "[ASR·HAB]" "Two readings with the same codes but different places are two readings." ++ s "[ASR·HAB]/rel2 [ASR·HAB] [ASR·HAB]/rel2 [ASR·HAB]/adv2" "A clause that is a condition gives a different answer from a clause that states a fact, so the verdict counts both.")
      pairs
          [ pair "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."
          ]
    section (Identifier "Readings compared by their answers") [text "Readings compared by their answers"] $ do
      paragraph (s "[ASR·HAB]" "The package compares readings by their answers, not by their code strings." ++ s "[ASR·HAB]/rel2 [ASR·HAB]" "Readings that differ only in neutral slots count as one reading for a verdict and for the pair laws." ++ s "[ASR·HAB]" "Ambiguity is a question with more than one answer, not more than one code string." ++ sx "[ASR·HAB]" [reference (Identifier "Neutral slots"), text " lists the neutral slots."])

  section (Identifier "Questions") [text "Questions"] $ do
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "Each document kind has questions that its reader is entitled to have answered." ++ s "[ASR·HAB]" "A kind's question set is the set of questions in its pairs.")
    table [t "Kind", t "Questions"]
      [ [t "ChangeLog", t "What changed? What behaves differently now? Must I do anything? Is any claim measured?"]
      , [t "README", t "What is this? What does it do? What does it need?"]
      , [t "Manual", t "What do I do? In what order? How do I know it worked? How do I recover?"]
      , [t "Website", t "What is this? What does it do for me? What do I do next?"]
      , [t "Every kind", t "Which reading does it have?"]
      ]
    section (Identifier "The sentence question") [text "The sentence question"] $ do
      paragraph (s "[ASR·HAB]" "Every sentence of every document carries the sentence question." ++ s "[ASR·HAB]" "Its answer is the verdict, resolved only for a Clear verdict." ++ s "[ASR·HAB]" "The sentence question is the only computed question." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "Patterns are checked only on clear sentences, so a pattern meets one reading.")
    section (Identifier "Questions answered by annotators") [text "Questions answered by annotators"] $ do
      paragraph (s "[ASR·HAB]" "Annotators answer the other questions, in the same way as readings." ++ s "[ASR·HAB]" "Each annotator gives the answers of the text." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A question is resolved when every annotator gives the same single answer.")
      paragraph (s "[ASR·HAB]" "The holder of an obligation and the result of a step depend on content beyond the codes." ++ s "[ASR·HAB]" "The codes still decide part of each answer." ++ s "[ASR·HAB]" "A clause outside the kind's patterns is rejected before any annotator answers." ++ s "[ASR·HAB·NEG·ABL·POS]" "A standing claim without a phase cannot answer the ChangeLog question about differences.")

  section (Identifier "Document kinds") [text "Document kinds"] $ do
    paragraph (s "[ASR·HAB]" "A document kind is the set of code patterns it allows for each clause position." ++ s "[ASR·HAB·NEG]" "A kind has nothing else: no header, no name inside the file and no rules beyond the patterns." ++ s "[ASR·HAB·NEG]/rel2 [ASR·HAB]" "A clause that matches no pattern for its position is rejected.")
    section (Identifier "Kind repositories") [text "Kind repositories"] $ do
      paragraph (s "[ASR·HAB]" "dreamstop owns the document kinds." ++ s "[ASR·HAB]" "Each kind is its own repository under dreamstop/kinds, with its own tags, beside the language package dreamstop/dreamstop." ++ s "[ASR·HAB]" "The kind's name is the repository's name." ++ s "[ASR·HAB]" "The repository holds allowed.vx, the patterns, and pairs.vx, the pairs.")
      paragraph (s "[ASR·HAB·ABL·POS]" "Anyone can fork a kind without forking the language." ++ s "[ASR·HAB] [ASR·HAB]" "Quality-control guides and other projects refer to a kind by repository and tag, and render its patterns and pairs from it." ++ s "[ASR·HAB·NEG]" "A guide never restates a kind.")
      paragraph (s "[ASR·HAB] {check: BSC}" "The repository's flake has one check." ++ s "[ASR·HAB]" "It confirms the three laws for every pair, the patterns on both sides of every pair, and a good side for every pattern body." ++ s "[ASR·HAB]" "A body shared by several parents is covered by a good side under any of them." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]" "A limit pair is not held to the three laws and covers no pattern.")
    section (Identifier "Patterns") [text "Patterns"] $ do
      paragraph (s "[ASR·HAB]" "A kind file is a Vortex do-block." ++ s "[ASR·HAB] [ASR·HAB]" "The statement main declares a pattern for main clauses and returns its name." ++ s "[ASR·HAB] [ASR·HAB]" "The statements relative, adverbial and complement declare a pattern for a subordinate clause and name the pattern of its parent." ++ s "[ASR·HAB]" "A pattern is a do-block with one line per slot.")
      paragraph (s "[ASR·HAB]" "The block below is part of the ChangeLog kind, not a complete file." ++ s "[ASR·HAB]" "In the file the statements sit at the left margin, without the leading do.")
      codeBlock (Language "haskell") "do action <- main $ do\n     force [ASR]\n     aspect [PFV]\n   relative action $ do\n     force [ASR]\n     aspect [HAB]\n     phase [INC, CSS]"
      table [t "Line", t "Meaning"]
        [ [c "aspect [PFV]", t "the slot holds that code"]
        , [c "phase [INC, CSS]", t "the slot holds one of these codes"]
        , [c "required phase", t "the slot holds some value, any of them"]
        , [c "optional modal", t "the slot holds some value, or is empty"]
        , [t "slot not mentioned", t "the slot is empty, and an unmentioned mood is FAC"]
        ]
      paragraph (s "[ASR·HAB]" "A main clause is allowed by a matching main pattern." ++ s "[ASR·HAB]" "A subordinate clause is allowed by a matching subordinate pattern for the pattern of its parent.")
      paragraph (s "[ASR·HAB]" "The modal line covers both negations, the ground and the strength." ++ s "[ASR·HAB·NEG]" "Adding a code to a slot changes no kind file." ++ s "[ASR·HAB]" "A slot twice in one pattern is an error." ++ s "[ASR·HAB]" "Shared patterns are ordinary values, bound with let and reused.")
      paragraph (s "[ASR·HAB] [ASR·HAB]/comp1 [ASR·HAB]/adv1" "A kind says what it allows, so a slot left out is forbidden." ++ s "[ASR·HAB·NEG]" "A reader never has to remember a default." ++ s "[ASR·HAB] [ASR·HAB·NEG]/adv1" "Every clause also obeys the laws, so a pattern never allows a breach of a law.")
    section (Identifier "Neutral slots") [text "Neutral slots"] $ do
      paragraph (s "[ASR·HAB]" "Ambiguity is a question with more than one answer, not more than one code string." ++ s "[ASR·HAB]" "A pattern can therefore mark a slot neutral, as in neutral aspect." ++ s "[ASR·HAB]" "The pattern must still allow the slot in its own statement.")
      paragraph (s "[ASR·HAB]/rel2 [ASR·HAB]" "Readings that differ only in slots neutral at every pattern for their clause collapse to one reading." ++ s "[ASR·HAB]" "The collapse applies to verdicts and to the pair laws." ++ s "[ASR·HAB]/rel2 [ASR·HAB] [ASR·HAB·NEG]/adv2" "A clause that no pattern allows has no neutral slot, so the collapse never merges readings with different significant slots.")
      paragraph (s "[ASR·HAB]" "Imperative aspect is neutral in the README step and in the manual step and warning." ++ s "[ASR·HAB]" "“Keep the volume” read as one act or as a standing instruction asks the reader to do the same thing." ++ s "[ASR·HAB]" "Aspect is significant in every other pattern.")
      paragraph (s "[ASR·HAB]" "Nominalisation codes are neutral by default." ++ s "[ASR·HAB]" "Law 1 still requires BSC or OBJ on every act noun." ++ s "[ASR·HAB] [ASR·HAB]/rel1" "Noun codes split readings only in a kind that declares significant noun." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A kind declares it where a pair shows the act and the product giving different answers." ++ s "[ASR·HAB]" "The ChangeLog and issue kinds declare significant noun.")
    section (Identifier "The ChangeLog kind") [text "The ChangeLog kind"] $ do
      codeBlock (Language "haskell") "significant noun\nlet standing = do\n      force [ASR]\n      aspect [HAB]\n      required phase\n      optional modal\n    background = do\n      force [ASR]\n      aspect [PFV, PRF, HAB]\n      optional modal\naction <- main $ do\n  force [ASR]\n  aspect [PFV]\nrelative action $ do\n  force [ASR]\n  aspect [HAB]\n  phase [INC, CSS]\noneOff <- main $ do\n  force [ASR]\n  aspect [PFV]\n  required phase\n  bound [ONE]\nmeasured <- main $ do\n  force [ASR]\n  aspect [PFV, HAB]\n  evidence [OBS, PUP]\nobligation <- main $ do\n  force [ASR]\n  aspect [HAB]\n  modal deontic\nclaim <- main standing\ndeclared <- main $ do\n  force [DEC]\n  aspect [PFV]\ncommitted <- main $ do\n  force [CMS]\n  aspect [PFV]\nforM_ [action, claim] $ \\parent ->\n  relative parent $ do\n    force [ASR]\n    aspect [PFV]\n    optional phase\n    bound [ONE]\nforM_ [oneOff, measured, obligation, claim, declared, committed] $ \\parent -> do\n  relative parent standing\n  adverbial parent background\n  complement parent background"
      bullets
        [ paragraph (s "[ASR·HAB]" "The forces are ASR, DEC and CMS." ++ s "[ASR·HAB] [ASR·HAB]/adv1 [ASR·HAB]/adv1" "A ChangeLog states obligations as assertions, so “Operators must now set metering.config” is allowed and “Set metering.config” is rejected.")
        , paragraph (s "[ASR·HAB] {release: BSC}" "A PFV main clause with no phase and no bound is the release action, such as Added, Removed or Upgraded." ++ s "[ASR·HAB]" "One-off behaviour of the released program is PFV with ONE and a phase.")
        , paragraph (s "[ASR·HAB]/rel2 [ASR·HAB] {release: BSC}" "A relative clause that describes a release action is HAB with INC or CSS." ++ s "[ASR·HAB] {release: BSC} [ASR·HAB·NEG]/adv1" "The release verb already says the thing is new, so the English needs no now." ++ s "[ASR·HAB]" "“Added the review store, which keeps reviews in acid-state” is annotated [ASR·PFV] [ASR·HAB]/rel1, as the words say." ++ s "[ASR·HAB]" "The checker reads the relative clause as INC from its position." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]/rel1" "Annotators never write a phase that the words do not carry.")
        , paragraph (s "[ASR·HAB] {migration: BSC}" "A ChangeLog describes the resulting state, not the migration." ++ s "[ASR·HAB] {change: BSC}" "“Reviews and sign-offs are now kept in acid-state rather than SQLite” is one clause, [ASR·HAB·INC], with both sides of the change." ++ s "[ASR·HAB] {migration: BSC} [ASR·HAB]/comp1 {migration: BSC} [ASR·HAB]/comp1" "A migration verb in the present, as in “which moves reviews out of SQLite”, leaves open whether the migration happens once or keeps happening." ++ s "[ASR·HAB] {migration: BSC}" "A real one-off migration takes once and reads as PFV·ONE, as in “On first start the forge imports the SQLite reviews once.”")
        , paragraph (s "[ASR·HAB·DEO·POS] {release: BSC}" "A relative clause on a release action or on a standing claim may state one-off behaviour, PFV with ONE." ++ s "[ASR·HAB] [ASR·HAB]/adv1 {release: BSC}" "Its phase is optional, since a release action already implies INC.")
        , paragraph (s "[ASR·HAB] {upgrade: BSC}" "An upgrade needs no reason." ++ s "[ASR·HAB]" "A bare “Upgraded GHC from 9.12.3 to 10.0.0.20260917.” is the norm.")
        , paragraph (s "[ASR·HAB]/adv2 [ASR·HAB]" "A reason, where one is given, is its own sentence, as in “GHC 9.12 is no longer supported.”")
        , paragraph (s "[ASR·HAB]" "Only a library supports a GHC version." ++ s "[ASR·HAB·NEG]" "A website or an application does not.")
        , paragraph (s "[ASR·HAB·NEG] [ASR·HAB]/adv1 {release: OBJ}" "The kind has no PRG, because a released version is a fixed state.")
        , paragraph (s "[ASR·HAB·NEG]" "An obligation needs no phase." ++ s "[ASR·HAB] [ASR·HAB] {release: OBJ}" "It binds the readers of this release, and the release is their reference point.")
        , paragraph (s "[ASR·HAB]" "Every standing claim has a phase." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A measured outcome is exempt, because it states both sides itself." ++ s "[ASR·HAB]" "A measured outcome is PFV, as in “Startup took 200 ms”, or HAB, as in “each write costs 4 µs”.")
        , paragraph (s "[ASR·HAB] [ASR·HAB]/adv1" "The kind declares significant noun, so act and product split readings.")
        , paragraph (s "[ASR·HAB·NEG] [ASR·HAB]/adv1" "No pattern mentions mood, so every clause is FAC.")
        ]
    section (Identifier "The README kind") [text "The README kind"] $ do
      codeBlock (Language "haskell") "let description = do\n      force [ASR]\n      aspect [HAB]\n      optional modal\nclaim <- main description\nstep <- main $ do\n  force [DIR]\n  aspect [PFV, PRG, HAB]\n  neutral aspect\n  optional modal\nforM_ [claim, step] $ \\parent -> do\n  relative parent description\n  complement parent description\n  adverbial parent $ do\n    force [ASR]\n    required aspect\n    optional modal"
      bullets
        [ paragraph (s "[ASR·HAB·NEG] [ASR·HAB·NEG]/adv1" "The kind allows no phase, because a README has no reference point.")
        , paragraph (s "[ASR·HAB·NEG] [ASR·HAB]/adv1 {release: BSC}" "Main and relative assertions allow no PFV or PRF, because release history belongs in the ChangeLog.")
        , paragraph (s "[ASR·HAB]" "DIR main clauses carry task steps." ++ s "[ASR·HAB]" "The aspect of a step is neutral.")
        , paragraph (s "[ASR·HAB]" "Every clause is FAC.")
        ]
    section (Identifier "The manual kind") [text "The manual kind"] $ do
      codeBlock (Language "haskell") "let plain = do\n      force [ASR]\n      required aspect\n      optional modal\nstep <- main $ do\n  force [DIR]\n  aspect [PFV, PRG, HAB]\n  neutral aspect\n  optional modal\nadverbial step $ do\n  force [ASR]\n  aspect [PRF, HAB]\n  optional modal\nadverbial step $ do\n  force [IRG]\n  aspect [HAB]\n  optional modal\nstatement <- main $ do\n  force [ASR]\n  aspect [PFV, HAB]\n  optional modal\n  optional evidence\nwarning <- main $ do\n  force [ADM]\n  aspect [PFV, PRG, HAB]\n  neutral aspect\n  optional modal\nforM_ [step, statement, warning] $ \\parent -> do\n  relative parent plain\n  complement parent plain\nforM_ [statement, warning] $ \\parent ->\n  adverbial parent plain"
      bullets
        [ paragraph (s "[ASR·HAB] [ASR·HAB]" "Steps are DIR main clauses, and warnings are ADM main clauses." ++ s "[ASR·HAB]" "ASR·PFV main clauses state the product of a step, as in “The forge printed its version.”")
        , paragraph (s "[ASR·HAB]" "The condition of a step is PRF or HAB, never PRG." ++ s "[ASR·HAB]/rel2 [ASR·HAB·ABL·POS]" "A step that waits on an event under way can run before the end of the event.")
        , paragraph (s "[ASR·HAB]" "Questions appear only as the condition of a step.")
        , paragraph (s "[ASR·HAB]" "The aspect of a step or a warning is neutral.")
        , paragraph (s "[ASR·HAB·NEG]" "The kind allows no phase.")
        ]
      paragraph (s "[ASR·HAB]" "This manual is written in the manual kind." ++ s "[ASR·HAB] {build: BSC}" "The build checks every reading in the source against these patterns.")
    section (Identifier "Issues and labels") [text "The issue and labels kinds"] $ do
      codeBlock (Language "haskell") ("-- issue\n" ++ "significant noun\nlet open = do\n      required mood\n      required aspect\n      optional phase\n      optional modal\n      optional bound\nstatement <- main $ do\n  force [ASR]\n  open\n  optional evidence\nrequest <- main $ do\n  force [DIR]\n  required aspect\n  optional modal\nquestion <- main $ do\n  force [IRG]\n  open\nforM_ [statement, request, question] $ \\parent -> do\n  relative parent (force [ASR] >> open >> optional evidence)\n  adverbial parent (force [ASR] >> open >> optional evidence)\n  complement parent (force [ASR] >> open >> optional evidence)" ++ "\n-- labels\n" ++ "main $ do\n  force [ASR]\n  aspect [HAB]\n  optional modal\nmain $ do\n  force [DIR]\n  aspect [PFV]")
      paragraph (s "[ASR·HAB]" "An issue weighs options and open questions." ++ s "[ASR·HAB]" "Its kind allows every mood, aspect, phase and modal, with phase relative to the time of writing." ++ s "[ASR·HAB]" "Labels are the short strings of a user interface, such as buttons, status lines and error messages." ++ s "[ASR·HAB] [ASR·HAB]" "A button names an action, and a status states a fact." ++ s "[ASR·HAB·NEG]" "A label has no subordinate clauses." ++ s "[ASR·HAB·NEG]" "These two kinds have no question set beyond the sentence question." ++ s "[ASR·HAB]" "The issue kind declares significant noun.")
    section (Identifier "The website kind") [text "The website kind"] $ do
      codeBlock (Language "haskell") "let description = do\n      force [ASR]\n      aspect [HAB]\n      optional modal\n      optional evidence\nclaim <- main description\nplan <- main $ do\n  force [CMS]\n  aspect [PFV]\ninvitation <- main $ do\n  force [DIR]\n  aspect [PFV]\nforM_ [claim, plan, invitation] $ \\parent -> do\n  relative parent description\n  complement parent description\n  adverbial parent $ do\n    force [ASR]\n    aspect [PRF, HAB]\n    optional modal"
      paragraph (s "[ASR·HAB]" "A website page describes the offering to someone deciding whether to use it.")
      bullets
        [ paragraph (s "[ASR·HAB]" "Standing claims are ASR·HAB, with no phase." ++ s "[ASR·HAB] [ASR·HAB·NEG]/adv1" "A visitor reads the site at an unknown time, so now has no reference point.")
        , paragraph (s "[ASR·HAB]" "Plans are CMS·PFV, never HAB." ++ s "[ASR·HAB·NEG]" "A roadmap item is not a released capability.")
        , paragraph (s "[ASR·HAB·DEO·POS]" "Claims may carry evidence." ++ s "[ASR·HAB·NEG]" "The codes do not show an absolute claim, so evidence is optional.")
        , paragraph (s "[ASR·HAB]" "Calls to action are DIR·PFV main clauses, as in “Read the manual.”")
        , paragraph (s "[ASR·HAB]" "Every clause is FAC.")
        ]
      paragraph (s "[ASR·HAB] [ASR·HAB]/comp1 [ASR·HAB]/comp1 [ASR·HAB]/comp1" "The website kind asks what this is, what it does for the visitor and what the visitor does next." ++ s "[ASR·HAB] [ASR·HAB] {build: BSC}" "The front page of this site is written in the website kind, and the build checks it.")
    paragraph (s "[ASR·HAB]" "These pairs from the kind repositories teach the document kinds." ++ s "[ASR·HAB]" "Each row records the source of its text.")
    pairs
        [ pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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\"."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        ]

  section (Identifier "Minimal pairs") [text "Minimal pairs"] $ do
    paragraph (s "[ASR·HAB] [ASR·HAB]/rel1 [ASR·HAB]/rel2 {edit: OBJ}" "A minimal pair is two sentences that differ by the smallest possible edit that makes the sentence clear." ++ s "[ASR·HAB] [ASR·HAB]/comp1" "The question is what the pair settles." ++ s "[ASR·HAB]" "Minimal pairs specify every kind." ++ s "[ASR·HAB]" "dreamstop has one kind of pair.")
    table [t "Part", t "Content"]
      [ [t "Question", t "a question from the kind's set, or the sentence question"]
      , [t "Bad side", t "a text and its readings, which leave the question with no answer or several"]
      , [t "Good side", t "a text and its one reading, which give exactly one answer"]
      , [t "Edit", t "the difference between the two, derived and never declared"]
      ]
    paragraph (s "[ASR·HAB]" "Every pair obeys three laws.")
    ordered
      [ paragraph (s "[ASR·HAB]" "The good side resolves the question.")
      , paragraph (s "[ASR·HAB·NEG]" "The bad side does not resolve it.")
      , paragraph (s "[ASR·HAB] {edit: OBJ}" "The edit is minimal." ++ s "[ASR·HAB·NEG] {edit: OBJ}" "No smaller edit to the bad side resolves the question.")
      ]
    section (Identifier "Edit size") [text "Edit size"] $ do
      paragraph (s "[ASR·HAB] {edit: OBJ}" "The package computes the edit from the readings." ++ s "[ASR·HAB]" "A bad side with several readings is compared through its closest reading." ++ s "[ASR·HAB] {edit: OBJ, change: OBJ} [ASR·HAB]" "The edit is the set of slot changes, and an inserted or deleted clause counts as all its slots." ++ s "[ASR·HAB] {change: OBJ}" "Its size is the number of slot changes.")
      paragraph (s "[ASR·HAB]" "Law 3 is checked over readings." ++ s "[ASR·HAB] {change: OBJ}" "The package applies every proper non-empty subset of the slot changes to the bad reading." ++ s "[ASR·HAB·NEG] {edit: OBJ}" "None of those smaller edits resolves the question." ++ s "[ASR·HAB] [ASR·HAB]/comp1" "Annotators judge whether the wording is minimal.")
    section (Identifier "The corpus") [text "The corpus"] $ do
      paragraph (s "[ASR·HAB]" "The corpus is Vortex data." ++ s "[ASR·HAB]" "The pairs for a kind live in its repository." ++ s "[ASR·HAB]" "The pairs for the sentence question and the laws live in dreamstop/dreamstop.")
      paragraph (s "[ASR·HAB]" "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." ++ s "[ASR·HAB] [ASR·HAB]/rel1" "A bad side that some annotator cannot read at all is written with noReading." ++ s "[ASR·HAB] [ASR·HAB]/rel1" "A pair that teaches a limit is written with limit.")
      table [t "Kind repository", t "Pairs", t "Limit pairs"]
        [ [c "dreamstop/kinds/changelog", t "52", t "6"]
        , [c "dreamstop/kinds/readme", t "24", t "1"]
        , [c "dreamstop/kinds/manual", t "21", t "2"]
        , [c "dreamstop/kinds/issue", t "20", t "0"]
        , [c "dreamstop/kinds/labels", t "5", t "0"]
        , [c "dreamstop/kinds/website", t "9", t "0"]
        , [t "All six kinds", t "131", t "9"]
        ]
      paragraph (s "[ASR·HAB·NEG] {edit: OBJ}" "The edit is not stored." ++ s "[ASR·HAB]" "Disputed pairs stay in a separate appendix with both annotators' readings.")
      paragraph (s "[ASR·HAB]" "Agreement of two independent annotators on the good side and on the verdict of the bad side admits a pair." ++ s "[ASR·HAB]" "The package then confirms the three laws." ++ s "[ASR·HAB] [ASR·HAB]/adv1 [ASR·HAB]/adv1" "Annotating agents receive the pairs for their kind, so the pairs both calibrate and test them.")

  section (Identifier "Annotating a sentence") [text "Annotating a sentence"] $ do
    ordered
      [ stepThen "[ASR·PRF]/adv2 [DIR·PFV]" "When you have read the patterns of the document's kind, mark every finite verb group in the sentence." "[ASR·HAB]" "Each marked group is one clause, in text order."
      , stepThen "[DIR·PFV]" "Give each clause its position and parent." "[ASR·HAB]" "Each clause is main, relative, adverbial or complement."
      , stepThen "[DIR·PFV]" "Choose a force for each clause." "[ASR·HAB]" "Each clause has one of ASR, DIR, IRG, DEC, ADM and CMS."
      , stepThen "[DIR·PFV]" "Choose a mood for each clause." "[ASR·HAB]" "Most clauses take the default FAC."
      , stepThen "[DIR·PFV]" "Choose an aspect for each clause." "[ASR·HAB]" "Each clause has one of PFV, PRF, PRG and HAB."
      , stepThen "[ASR·HAB]/adv2 [DIR·PFV]" "If the kind has a reference point, choose a phase for each clause." "[ASR·HAB]" "Each clause has INC, CSS, CNT, EXP or no phase."
      , stepThen "[DIR·PFV] {test: BSC} [DIR·PFV]" "Choose a modal with the blame, impossibility and goal tests, and place each NEG by its scope." "[ASR·HAB]" "Each clause has at most one modal and at most two negations."
      , stepThen "[DIR·PFV]" "Give each noun for an act BSC or OBJ." "[ASR·HAB]" "Each act noun names the act or its product."
      , stepThen "[DIR·PFV]" "Add ONE and evidence to the clauses with a bound or a basis." "[ASR·HAB]" "Each clause is complete."
      , stepThen "[DIR·PFV] [DIR·PFV] {rewrite: BSC}" "Write the codes in the fixed order, and apply the three rewrites." "[ASR·HAB]" "The reading is in normal form."
      , stepThen "[DIR·PFV]" "Write a second reading for each slot with a different code from another annotator." "[ASR·HAB]" "The sentence has one reading or several."
      ]
    section (Identifier "Checking a reading") [text "Checking a reading"] $ do
      paragraph (s "[ASR·HAB] [ASR·HAB]/adv1" "A reading is well formed when every law holds for it." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "It fits the kind when every clause matches a pattern for its position." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "A sentence is clear when every annotator writes the same single reading.")
    section (Identifier "When annotators disagree") [text "When annotators disagree"] $ do
      recover "[ASR·HAB·NEG]/adv2 [DIR·PFV]" "If two readings do not match, find the first slot with different codes."
      paragraph (s "[ASR·HAB]" "That slot names the open question of the sentence.")
      recover "[ASR·HAB·NEG]/adv2 {test: BSC} [DIR·PFV]" "If the layer's test does not settle the slot, rewrite the sentence for one code."
      paragraph (s "[ASR·HAB]" "The rewritten sentence returns to the first step.")
      recover "[ASR·HAB·NEG]/adv2 [DIR·PFV]" "If a clause matches no pattern, rewrite the clause within the kind."
      paragraph (s "[ASR·HAB]" "The rewritten clause returns to the first step.")

  section (Identifier "Writing a pair") [text "Writing a pair"] $ do
    ordered
      [ stepThen "[ASR·PRF]/adv2 {review: BSC} [DIR·PFV]" "When a review has found a question with no answer or several, write the question in its reader's words." "[ASR·HAB]" "The pair has its question."
      , stepThen "[DIR·PFV] [DIR·PFV]" "Copy the bad side verbatim, and annotate it." "[ASR·HAB]" "The bad side has its readings."
      , stepThen "[DIR·PFV] {edit: OBJ} [DIR·PFV]" "Make the smallest edit with exactly one answer to the question, and annotate the result." "[ASR·HAB]" "The good side has its one reading."
      , stepThen "[DIR·PFV] {edit: OBJ}" "Try every smaller edit to the bad side." "[ASR·HAB·NEG]" "None of them resolves the question."
      , stepThen "[DIR·PFV]" "Record the kind, the rule, a paragraph of reasons and the source." "[ASR·HAB] {verification: BSC}" "The pair is ready for verification."
      ]
    section (Identifier "Checking a pair") [text "Checking a pair"] $ do
      paragraph (s "[ASR·HAB] [ASR·HAB]/adv1" "A pair is complete when the three laws hold for it." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "It is accepted when two independent annotators agree on it.")
    section (Identifier "When a pair cannot be written") [text "When a pair cannot be written"] $ do
      recover "[ASR·HAB·NEG]/adv2 [DIR·PFV]" "If no code separates the two sides, open an issue with a proposal for a new code or pattern."
      paragraph (s "[ASR·HAB]" "The issue carries both sides and the question.")
      recover "[ASR·HAB·NEG]/adv2 [DIR·PFV]" "If the annotators do not agree, move the pair to the appendix of disputed pairs with both readings."
      paragraph (s "[ASR·HAB]" "The dispute marks an ambiguity in the language.")

  section (Identifier "Reviewing with dreamstop") [text "Reviewing with dreamstop"] $ do
    ordered
      [ stepThen "[ASR·HAB]/adv2 {change: OBJ, review: BSC} [DIR·PFV]" "When the commits under review hold their documentation, annotate every changed sentence alone." "[ASR·HAB]" "Each sentence has a verdict."
      , stepThen "[DIR·PFV]" "Answer each question of the document's kind from the text." "[ASR·HAB]" "Each question has an answer from each reviewer."
      , stepThen "[DIR·PFV]" "Report each unclear sentence, each clause outside the kind and each question with no answer or several." "[ASR·HAB]" "Each finding names a slot, a pattern or a question."
      ]
    section (Identifier "Checking a review") [text "Checking a review"] $ do
      paragraph (s "[ASR·HAB] {change: OBJ} [ASR·HAB]/adv1 [ASR·HAB]/adv1" "A reviewed change passes when every sentence is clear and every question has the same single answer from every reviewer." ++ s "[ASR·HAB]" "Clause 2, PFV against HAB, is a complete finding.")
    section (Identifier "Settling a finding") [text "Settling a finding"] $ do
      recover "[ASR·HAB·NEG]/adv2 [DIR·PFV]" "If a sentence does not get one reading, rewrite the sentence."
      paragraph (s "[ASR·HAB·NEG]" "An explanation of the author's intent does not settle a finding.")
      recover "[ASR·HAB·NEG]/adv2 [DIR·PFV]" "If a question does not get one answer, add a clause with the answer."
      paragraph (s "[ASR·HAB]" "Every settled finding is a candidate pair for the corpus.")

  section (Identifier "This manual's questions") [text "This manual's questions"] $ do
    paragraph (s "[ASR·HAB]" "This manual answers the manual kind's questions for each procedure." ++ s "[ASR·HAB]" "A sentence with the result follows each step." ++ s "[ASR·HAB] {check: BSC}" "Each procedure has a section for a failed check." ++ s "[ASR·HAB] [ASR·HAB] {build: BSC}" "The repository keeps this map in prose/questions.vx, and the build checks it.")
    table [t "Procedure", t "What do I do?", t "In what order?", t "How do I know it worked?", t "How do I recover?"]
      [ [t "Annotating a sentence", t "its steps", t "their numbers", t "Checking a reading", t "When annotators disagree"]
      , [t "Writing a pair", t "its steps", t "their numbers", t "Checking a pair", t "When a pair cannot be written"]
      , [t "Reviewing with dreamstop", t "its steps", t "their numbers", t "Checking a review", t "Settling a finding"]
      ]

  section (Identifier "Worked examples") [text "Worked examples"] $ do
    paragraph (s "[ASR·HAB]" "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.")
    section (Identifier "Example: the review store") [text "The review store"] $ do
      quotation $ paragraph (t "Added the review store (NixLab.ReviewStore), which moved reviews and sign-offs out of SQLite.")
      table [t "Reading", t "Codes", t "What a reader takes from it"]
        [ [t "1", c "[ASR·PFV] [ASR·PFV·ONE]", t "the release moved the existing reviews one time"]
        , [t "2", c "[ASR·PFV] [ASR·HAB]", t "the store is the home of reviews"]
        ]
      paragraph (s "[ASR·HAB]" "The sentence is ambiguous in the aspect of clause 2." ++ s "[ASR·HAB·NEG]" "Neither reading fits the ChangeLog kind." ++ s "[ASR·HAB] {release: BSC}" "A relative clause on a release action is HAB with INC or CSS.")
      paragraph (s "[ASR·HAB] {rewrite: OBJ, migration: BSC}" "A rewritten sentence with now moves keeps the migration verb." ++ s "[ASR·HAB·NEG·ABL·POS] [ASR·HAB]/comp1 {move: BSC}" "Annotators cannot tell whether the move happens once or at every write.")
      quotation $ paragraph (t "Added the review store (NixLab.ReviewStore), which keeps reviews and sign-offs in acid-state rather than SQLite.")
      paragraph (s "[ASR·HAB] {rewrite: OBJ}" "The rewritten sentence describes the resulting state." ++ s "[ASR·HAB]" "It reads as [ASR·PFV] [ASR·HAB]/rel1." ++ s "[ASR·HAB]" "The checker reads clause 2 as INC from its position." ++ s "[ASR·HAB·NEG] [ASR·HAB]/adv1 {release: BSC}" "Clause 2 needs no now, because the release verb Added supplies the newness." ++ s "[ASR·HAB] {import: BSC}" "A real one-time import takes its own sentence in the same entry, with PFV, INC and ONE.")
    section (Identifier "Example: vortex-shell") [text "vortex-shell and uninterruptible loops"] $ do
      quotation $ paragraph (t "Compiled code that loops without allocating is neither charged nor interruptible.")
      paragraph (s "[ASR·PFV]" "vortex-shell 0.7.0.0 had this entry." ++ s "[ASR·HAB·NEG]" "Its main clause has no phase." ++ s "[ASR·HAB·NEG]" "The ChangeLog kind rejects a standing claim without a phase.")
      paragraph (s "[ASR·PFV]" "vortex-shell 0.7.0.1 corrected the entry with still.")
      quotation $ paragraph (t "Compiled code that loops without allocating is still uninterruptible, so the shell cannot stop it.")
      paragraph (s "[ASR·HAB] {rewrite: OBJ}" "The rewritten sentence reads as [ASR·HAB] [ASR·HAB·CNT] [ASR·HAB·NEG·ABL·POS]." ++ s "[ASR·HAB] {change: BSC}" "Still is news only beside a change in the same entry." ++ s "[ASR·HAB·NEG] [ASR·HAB]/adv1" "Patterns do not see the entry, so annotators check this.")
    section (Identifier "Example: operator obligations") [text "Operator obligations"] $ do
      quotation $ paragraph (t "Operators must now back up STATE/reviews/ and STATE/approvals/ with the rest of the state directory.")
      paragraph (s "[ASR·HAB]" "This sentence from nixlab-shell 0.122.0.0 is clear." ++ s "[ASR·HAB]" "It reads as [ASR·HAB·INC·DEO·NEC].")
      paragraph (s "[ASR·HAB]" "Its force is ASR, as for every ChangeLog obligation." ++ s "[ASR·HAB] [ASR·HAB]/adv1 {backup: BSC}" "Its ground is DEO, because skipping the backup is possible but blameworthy." ++ s "[ASR·HAB] [ASR·HAB]/adv1" "Its subject names operators, so annotators give one answer to the question about obligations.")
      quotation $ paragraph (t "After restoring a state directory without them, operators should now restore them.")
      paragraph (s "[ASR·HAB]" "The companion sentence reads as [ASR·HAB·INC·DEO·WNC]." ++ s "[ASR·HAB]" "The strength slot records the difference between a recommendation and an obligation.")

  section (Identifier "What codepoints cannot see") [text "What codepoints cannot see"] $ do
    paragraph (s "[ASR·HAB]" "dreamstop checks the shape of meaning, not its content." ++ s "[ASR·HAB·ABL·POS]" "A passing document can fail its reader through these limits.")
    table [t "Limit", t "What it means"]
      [ [t "1. Annotation is human", t "people or agents write the readings, and two annotators can differ for reasons unrelated to the language"]
      , [t "2. Content is invisible", t "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"]
      , [t "3. Synonyms share codes", t "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"]
      , [t "4. Who an obligation binds", t "« Il faut sauvegarder X » and « Les opérateurs doivent sauvegarder X » match the same pattern, so annotators answer whether they must act"]
      , [t "5. Patterns see a clause and its parent only", t "still beside a change in the same entry, a result after every step and a release action in every release are for annotators and pairs"]
      , [t "6. Segmentation is syntactic", t "the finiteness rule can split a sentence where meaning does not, or join non-finite material that carries its own condition"]
      , [t "7. The weakest boundary", t "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"]
      , [t "8. The evidence for the aspect set", t "the choice rests on 78 pairs and two annotators per scheme, without correction for chance, so it is a decision, not a measurement"]
      , [t "9. Empty content", t "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"]
      , [t "10. A predicate that does not fit its subject", t "“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"]
      , [t "One reference point per document", t "a phase measured from another point, such as since the token rotated, cannot be written"]
      ]
    paragraph (s "[ASR·HAB]" "A limit pair teaches one of these limits." ++ s "[ASR·HAB]" "Its two sides share their codes on purpose." ++ s "[ASR·HAB·NEG] [ASR·HAB·NEG]" "The pair laws skip it, and it covers no pattern." ++ s "[ASR·HAB]" "These are the limit pairs in the kind repositories.")
    pairs
        [ pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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."
        , pair "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\"."
        , pair "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."
        ]
    paragraph (s "[ASR·HAB·NEG]" "No pair in the kind repositories teaches limit 9 or limit 10.")

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

  section (Identifier "Glossary") [text "Glossary"] $ do
    glossary
      [ definition (Identifier "Term: clause") [text "Clause"] $ paragraph (s "[ASR·HAB]" "A clause is one finite verb group with its dependents.")
      , definition (Identifier "Term: code") [text "Code"] $ paragraph (s "[ASR·HAB]" "A code is one three-letter value of one slot, such as HAB or CSS.")
      , definition (Identifier "Term: continuous disambiguation") [text "Continuous disambiguation"] $ paragraph (s "[ASR·HAB] {disambiguation: BSC, check: BSC, review: BSC}" "Continuous disambiguation is a check at every review for exactly one answer to each question.")
      , definition (Identifier "Term: corpus") [text "Corpus"] $ paragraph (s "[ASR·HAB]" "The corpus is the set of verified minimal pairs, kept as Vortex data.")
      , definition (Identifier "Term: document kind") [text "Document kind"] $ paragraph (s "[ASR·HAB]" "A document kind is the set of code patterns allowed for each clause position, kept in its own repository with its pairs.")
      , definition (Identifier "Term: minimal pair") [text "Minimal pair"] $ paragraph (s "[ASR·HAB] [ASR·HAB]/rel1 [ASR·HAB]/rel2 {edit: OBJ}" "A minimal pair is two sentences that differ by the smallest possible edit that makes the sentence clear." ++ s "[ASR·HAB] [ASR·HAB]/comp1" "The question is what the pair settles.")
      , definition (Identifier "Term: neutral slot") [text "Neutral slot"] $ paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "A neutral slot is a slot whose codes split no reading under the pattern that marks it.")
      , definition (Identifier "Term: nominalisation") [text "Nominalisation"] $ paragraph (s "[ASR·HAB] [ASR·HAB]/rel1" "A nominalisation is a noun that names an act, coded BSC for the act or OBJ for the product.")
      , definition (Identifier "Term: normal form") [text "Normal form"] $ paragraph (s "[ASR·HAB] {rewrite: BSC}" "A normal form is a reading in the fixed order after the three rewrites.")
      , definition (Identifier "Term: parent") [text "Parent"] $ paragraph (s "[ASR·HAB]" "The parent of a subordinate clause is the clause around it.")
      , definition (Identifier "Term: pattern") [text "Pattern"] $ paragraph (s "[ASR·HAB]" "A pattern is a do-block with one line for each allowed slot of a clause in one position.")
      , definition (Identifier "Term: position") [text "Position"] $ paragraph (s "[ASR·HAB]" "A position is the syntactic place of a clause: main, relative, adverbial or complement.")
      , definition (Identifier "Term: reading") [text "Reading"] $ paragraph (s "[ASR·HAB]" "A reading is one meaning of a sentence, written as its clauses' codes in order.")
      , definition (Identifier "Term: reference point") [text "Reference point"] $ paragraph (s "[ASR·HAB]" "The reference point is the point of comparison for phase.")
      , definition (Identifier "Term: verdict") [text "Verdict"] $ paragraph (s "[ASR·HAB]" "A verdict is the answer to the sentence question: Nonsense, Clear or Ambiguous.")
      ]