span: derive held time from paired source records #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "land/locus-span-derivation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
span: derive held time from paired source records
An entering source record and its returning record are two atomic facts; the
elapsed time between them is a downstream derivation, and every consumer wrote
that pairing by hand. Worse, each rebuilt nesting from interval containment to
recover held time, an assumption that holds under a single thread and fails
silently anywhere else.
locus spanpairs the two edges and reports elapsed and held time for eachtraced declaration. Containment inside one trace is the only nesting evidence
the records carry, so spans that overlap without nesting refuse the whole
derivation rather than dividing a duration the stream cannot apportion. A span
that entered and never returned is named instead of dropped, because panic,
abort, cancellation, and process loss are the cases worth reading.
The substrate keeps its laws: no parent role, no lifecycle, no attribution, and
no product vocabulary. Advance the Plumb lock to 0.19.0.
Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com