Proofs
Draft
This version may still change before it is published.
A proof is one object, whose by says who proves:
by | Fields | It passes when |
|---|---|---|
algorithm | run | The command ends with 0. What it wrote is the points against the work. |
algorithm | needs | Everything the needs name is in the folder (Needs). No model is asked. |
agent | check, agent, model | Another agent finds what check says true of the work. |
person | ask | The person approves. They are asked what ask says, or what the step does when ask is absent. |
- A proof by an algorithm has exactly one of
runandneeds. - A proof by an agent MUST have a
checkthat is not blank. Itsagent, when given, MUST NOT be theagentof its step. The agent that proves sees the step, its answer and the folder, and only reads: a runner MUST NOT let it change the folder. - A proof by a person may have an
ask. - A proof MUST NOT carry a field of another kind of proof.
A step SHOULD list its cheapest proof first: an algorithm, then an agent, then a person, so that a person is asked only about work that already stands.
Needs
needs is a list of one or more needs. Each is an object whose need field names the kind. Every path is inside the folder: it MUST NOT be blank, start with / or \, hold a drive such as C:, or have a .. part.
need | Other fields | It is met when |
|---|---|---|
files | path, at_least | At least at_least files (1 when absent, never 0) match path, where * stands for any text within a name. |
folder | path | The folder path exists and has something in it. |
names | path, files | The file path names, by its name, each file that matches the pattern files. |
headings | path, headings | The page path has each of headings (at least one, not blank), each with words under it. |
repository | path, branch | path is a version-control repository, on branch when it is given. |