Repository navigation
feat(friction): build dated digests and catch up - #1935
salmonumbrella wants to merge 1 commit into
Conversation
roborev: Combined Review (
|
|
rebasing |
b508e19 to
d5c0013
Compare
roborev: Combined Review (
|
d5c0013 to
4139b56
Compare
roborev: Combined Review (
|
4139b56 to
3e165cb
Compare
roborev: Combined Review (
|
3e165cb to
7673454
Compare
roborev: Combined Review (
|
A completed day needs a stable digest even when the daemon was offline. Keep review opt-in and retain daily membership so resumed sessions and repeat runs do not inflate recurrence counts. Use the merged finding pipeline and renderer contracts. Freeze native usage alongside the digest without reintroducing the deferred persona and spend presentation.
7673454 to
e68cead
Compare
roborev: Combined Review (
|
AgentsView now stores daily Friction Log digests and catches up after time offline. Late sessions and delayed reviews update their day within the configured backfill window. Routine catch-up reads stay within that window. A session contributes to only one day, even when hub processes build at the same time. Local days wait for review to finish; PostgreSQL and CockroachDB hubs use the findings pushed by each source.
Review stays off by default. Catch-up covers seven days by default, using local time on SQLite and UTC on PostgreSQL unless a timezone is configured. SQLite builds share the sync and resync lock, including with
--no-sync, and release it between days. Usage-only SQLite archives do not build digests.Digests retain findings and usage totals and survive full resyncs that retain transcript text. Read APIs and CLI commands remain a follow-up.
Builds on merged #1933 and #1934. Refs #1908.