ETL
ETL is complete Extract–Transform–Load, not just a decoder. It owns the path from recovered WAL evidence through session reconstruction, protocol handling, canonical validation, and atomic storage publication.
Extract
Section titled “Extract”ETL scans the recording WAL through the recovery authority. Only envelopes through the final valid commit marker are eligible. It carries loss windows, sequence gaps, endpoint evidence, and provenance forward instead of discarding them.
Transform
Section titled “Transform”Session reconstruction groups socket generations and directions. The current HTTP/1.1 path handles bounded origin-form requests, exact Content-Length, bounded chunked responses, trusted close-delimited responses, and sequential keep-alive exchanges. Missing or conflicting socket evidence is typed failure; operations are not fabricated.
Protocol modules own detection, decoding, correlation, canonicalization, replay, and verification contracts. A registry entry without a complete implementation is scaffolding, not support.
ETL validates one canonical session, stages its manifest, session JSON, and content-addressed payloads in a private directory, writes the manifest last, and atomically publishes the destination. Checkpoint ordering follows publication: a checkpoint cannot claim progress that has not been published.
recovered WAL prefix │ ▼socket/session reconstruction │ ▼bounded protocol decode │ ▼canonical validation │ ▼atomic filesystem publicationIncremental processing
Section titled “Incremental processing”During recording, ETL runs incrementally over the recovery-authoritative committed WAL prefix: it publishes canonical delta batches and advances a durable incremental checkpoint only after publication. Epoch rollover persists bounded, checksummed, lineage-verified continuation evidence so cross-epoch state remains processable; a WAL epoch boundary is not a protocol reconstruction boundary. Finalization performs the final authoritative publication of one deterministic canonical session per finalized epoch.
Deployment independence
Section titled “Deployment independence”Recorder and ETL may be co-located in the current local deployment, but ETL consumes recovery-authoritative evidence through a durable evidence contract and does not require capture ownership, the Recorder process, or a shared filesystem namespace. ETL owns canonical publication, publication verification, and checkpoint advancement ordering.
Restartability
Section titled “Restartability”A failed finalization can resume from the persisted WAL and checkpoint/publication state. The checkpoint is progress evidence, not a replacement for WAL durability and not an identity binding to arbitrary output. Contradictory metadata fails closed and remains available for diagnosis.