Summary #
- Add stable references to durable transcript rows and carry them through provider projection without changing existing plain-input callers.
- Add session-scoped LCM summaries with source ranges, completed-fold reuse on forks, and bounded list, search, describe, and expand tools.
- Make rolling and LCM mutually exclusive. Enabling either replaces the active strategy in one saved change.
- When switching from LCM to rolling, use the stored folded view and remaining tail. Keep fold retrieval available even if a later rolling summary omits a fold.
- Document the behavior and current limits. Live projected inputs do not yet carry source references through the session coordinator, so LCM retains whole conversation units at the tail boundary.
Testing #
./test.shpassed against currentupstream/main.- Tests cover source identity and projection, LCM failure and fork behavior, fold retrieval and pagination, strategy switching, and persistence across a daemon restart.