Append-only log
The log holds what people and tools said and did about the subject, in order. Each statement adds one entry at the end. A correction is a new entry too. The process computes the status from the entries and the program each time someone asks. So these hold for every log:- The same log and the same program give the same status.
- The status after any earlier entry is still there to read.
- The
openentry records a hash of the program. The log gives a status only under that program.
Entry kinds
Each entry names its writer as a role and a person:
uw:alice.
A process waits on three kinds of outside value: an answer from a role, a result from a host tool, and a decision by a role.
RSL 0.5 intake contract
In an RSL 0.5 record, a field margin can give the intake screen a short label (@short), a section (@group), a description (@description), source documents (@found_on) and an answer format (@format). Each tag takes quoted text; @found_on may name several documents. A quoted margin on an enum member becomes its answer label. These values appear in the process log contract’s questions schema.
Write as note on a record field or on an ask line to keep the answer in the log without making it a required question. Group calculations in a process with step name { … }; the contract lists each step and its values. An interval field’s or refuse CODE "message" appears in rules at that field’s path. Referral rule names may be lower case, such as floor, or upper case.
For a keyed list of records, for l in layers { … } gives each item its own ask, let, show, and rule lines. The binder l names the current record in expressions. An item rule is evaluated and decided for each key: a referral for layers[number=1] does not refer layers[number=2]. The contract marks item outcomes and referrals with their list grain. Give every published outcome a unique name across the process, including its root and all item lists.
Acts and states
A process names its acts, the states each one leaves and enters, and the role that takes it. This excerpt comes from the staffing example:
An
end act leaves each live state, so every log can reach a final status.
The check proves it for each program.
Related
- Rules, grants and decisions explains what holds an act and who may take it.
- Submission log lists every entry field, status and refusal code.
- Run a submission plays one submission from open to bind.