Minor Changes
-
#82
23fc789Thanks @jasikpark! - Ambient recall now keeps its index current on its own. The recall worker reconciles the corpus at startup (which is also the first-run build), and a new hook queues a reindex at SessionStart and after any Write/Edit underentities/orjournal/or any macrodata journal tool call. The hook only drops a request into the worker's mailbox, so it never loads a model, and the one long-lived worker serializes every index write. SessionStart prints a one-line notice while no index exists yet.The index now records which embedding model built it. When the worker finds an index it cannot use (unparsable, or built by a different model), it moves the file aside and rebuilds once; if the rebuilt index is unusable too, it stops reindexing and SessionStart says why until the index is replaced. A reconcile that stops making progress restarts the worker, the same way a stalled search does.