Expand description
Implementation of the seshat review command.
Implementation of the seshat review command.
Resolves the project DB, reads the active branch’s last_scanned_commit,
and — unless --no-sync is passed — performs a blocking incremental sync
to the current git rev-parse HEAD before opening the TUI. The TUI then
reads conventions that reflect the on-disk state, not a potentially stale
snapshot from a previous scan.
Enums§
- Review
Sync Outcome - Outcome returned by
prepare_review_syncso tests can drive the freshness gate without launching the (interactive) TUI.
Functions§
- prepare_
review_ sync - Run the freshness gate and (when stale) the blocking incremental sync.
- run_
review - Run the
seshat reviewcommand end-to-end. - run_
review_ sync_ with_ freshness - Run the blocking incremental sync given an already-computed
FreshnessCheck. Letsrun_reviewconsult the gate ONCE and then drive both its banner output and the actual sync from the same reading — pre-fix it ran the gate, thenprepare_review_syncran it AGAIN, opening a TOCTOU window where HEAD could move between the two reads (P23).