Chain Patching via headUuid/anchorUuid/tailUuid
- Entity ID:
ent-20260423-p2a021000001 - Type:
mechanism - Scope:
private - Status:
active
Description
annotateBoundaryWithPreservedSegment() records headUuid, anchorUuid, and tailUuid in the compact_boundary event. These UUIDs enable the session loader to patch the message chain at read time while preserved messages keep their original parentUuids on disk. Enables mostly-append compaction that never modifies or deletes prior transcript lines.
Key claims
- Chain patching preserves compaction boundaries across resume
Relations
- Chain Patching via headUuid/anchorUuid/tailUuid --[implements]--> Five-Layer Compaction Architecture
- Conversations Outgrow a Single Path Principle --[motivates]--> Chain Patching via headUuid/anchorUuid/tailUuid