remove :storage-ksqlite (conversation/message) and related tests; decouple schema from journal
ci / JVM build + tests (push) Successful in 6m6s

This commit is contained in:
2026-09-22 16:01:05 +03:00
parent 639c7d1748
commit 84f5fd84f3
39 changed files with 1569 additions and 616 deletions
@@ -33,8 +33,10 @@ data class Reflection(
interface ReflectionStore : AutoCloseable {
suspend fun insert(reflection: Reflection)
suspend fun get(id: String): Reflection?
/** Самые свежие рефлексии (по всему агенту). */
suspend fun listRecent(limit: Int = 10): List<Reflection>
/** Рефлексии для конкретного диалога. */
suspend fun listForConversation(conversationId: String, limit: Int = 10): List<Reflection>
suspend fun deleteOlderThan(cutoff: Instant)
@@ -55,5 +57,5 @@ sealed interface ReflectionEvent {
* БД-схемах было видно сразу.
*/
object Ids {
fun new(): String = "refl-${kotlin.uuid.Uuid.random()}"
fun new() = "refl-${kotlin.uuid.Uuid.random()}"
}