Files
hermes-agent/tools
Victor Kyriazakos 4cf4e356cc fix(delegation): include file identity in schema reconciliation cache
Pair the per-file SQLite DDL counter with device/inode identity so a
same-path replacement with the same schema_version still receives the
canonical ledger columns. Compare identity before open, after open and
after reconciliation; unavailable or changed identity disables memoization.
Do not open an extra descriptor, which would disturb SQLite POSIX locks.

Keep empty-file recreation, same-file DDL and repeated-sweep behavior.
Exercise the real dispatch write/read path for counter collisions and
replacement races, plus unavailable-stat and unnamed-database fallbacks.
Document that arbitrary in-place restore requires an offline restart.
2026-11-13 15:18:38 -08:00
..