One execution has at most one stored snapshot
The rule
Normative: this is the rule
- Storing a snapshot MUST be an upsert keyed by execution identifier: an existing record for the same execution MUST be overwritten in place, so that one execution never accumulates two snapshot records.
- Cleanup MUST delete the records created before a given time.
- Where a set of statuses is given, cleanup MUST delete only those whose status is in it.
- Cleanup MUST answer with the number deleted, zero when nothing matches.
- Access to a snapshot MUST be enforced at the API boundary, and enforced once there, not repeated by the layer that stores them.
- A scheduled cleanup MUST run with no principal and MUST delete on the predicate above alone.
Why
Recorded under OPEN-25.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · INT-9 · changed in spec 1.0