Expand description
Reconciliation diff logic: compare materialized audit state against file-on-disk state and produce drift items and compensating events.
This module contains only pure functions with no I/O. The orchestration
(reading files, writing events) lives in ito-core.
Enums§
- Drift
- A single drift item: a discrepancy between audit log state and file state.
Functions§
- compute_
drift - Compare materialized audit state against file-on-disk state.
- generate_
compensating_ events - Generate compensating events that bring the audit log in sync with the file state.
Type Aliases§
- File
State - File-on-disk state: a map from entity keys to their current status as read from the filesystem (e.g., from tasks.md).