The object model
Phaseline represents a product promise as a named outcome with a condition. A comparison asks which outcomes change between two editions and which inputs expose the difference.
What the checker reads
- Fact
- An input that can distinguish one case from another. A name such as
signed_incan be true or false. - Guarantee
- A named outcome and the condition under which it applies. Give the same promise the same name in both versions so the checker can follow it.
- Edition
- A set of named guarantees. The issued edition supplies the baseline. The proposed edition supplies the candidate change.
- Witness
- One assignment of facts that gives different outcomes under the two editions. It tells you which case to inspect.
From source to an object
This line says a signed-in author is entitled to a saved draft.
guarantee save_draft when signed_in
The public parser produces this object for the one-line edition. The checker can vary the fact and evaluate the named guarantee in each case.
{
"facts": ["signed_in"],
"guarantees": [{"id": "save_draft", "when": "signed_in"}]
}
What belongs to the product record?
The source above describes behavior. The product record establishes whose agreement governs, which edition was issued, who may approve a replacement and what the delivered product actually did. A person reviewing a proposed change needs both. If the approved edition is missing, a comparison against a guessed baseline cannot settle what the team promised.