Delta
Delta work keeps the index and the ledger current after a change.
Fast path
./auwai watch --repo /path/to/repo
The watcher waits for native inotify or FSEvents events, runs the incremental
refresh, and syncs the ledger. Polling remains the fallback.
Use --once for a single scan, --interval to change the wait period, and
--backend poll to force the portable path.
Manual refresh
./auwai refresh --repo /path/to/repo
./auwai delta --repo /path/to/repo --since HEAD
refresh re-chunks changed files and updates the plan index.
The CLI then syncs the ledger.
delta reviews changed chunks and affected tests for a commit or working tree.
Audit
./auwai audit --repo /path/to/repo
./auwai audit --repo /path/to/repo --repair
The audit compares saved hashes with the working tree.
--repair refreshes and syncs the ledger.
Stale state
A changed file gets a new hash and new chunk ids.
Old findings point at old chunk ids and are marked stale by the ledger sync.
auwai recall --stale lists facts whose chunks changed.
Re-read the new chunk and record a new finding. The old finding remains in the log as history.