Checkout-owned state, short metadata locks, explicit resource leases and recoverable activation. Slow work always runs outside the metadata lock.
Summary
Functions
Observe and validate under the artifact lease; lock only journal and rename transitions.
Atomic regular-file replacement with a durable temp file on the same filesystem.
Record immutable insertion and pointer transitions, leaving any old pointer intact until rename.
The only command allowed to initialize state or edit the source ignore rule.
Reserve a resource briefly, execute outside the lock, then release the exact token.
Run only a bounded metadata operation; this function is not reentrant.
Functions
Observe and validate under the artifact lease; lock only journal and rename transitions.
Atomic regular-file replacement with a durable temp file on the same filesystem.
Record immutable insertion and pointer transitions, leaving any old pointer intact until rename.
The only command allowed to initialize state or edit the source ignore rule.
Reserve a resource briefly, execute outside the lock, then release the exact token.
Run only a bounded metadata operation; this function is not reentrant.