Written to: 1 requirement: 0 proved, 0 partly, 0 failing, 1 with no test recorded. 0002-planning-core FR-006
The state of an item is the result of fold, a pure and total function from the events of the item (0037-planningFR-004): events are taken in the order of their id (a UUID version 7 sorts as text in the order its time and its counter give), the first being the opening, and the same events in any order or with any repeats give the same item. Two events with one id are one event where their content is the same and a conflict value where it is not; nothing is settled by taking either. The authority over each field (FR-012) is applied here, over the events, and not by overwriting a field: where the authority of a field is person-only, a change by an agent or a tool waits as a proposal and changes nothing, and an agent that acts for a person is not that person. An item inferred by a heuristic or an agent starts proposed and leaves that state only by a confirmation by a person (FR-006).