Коммит заменяет SQLDelight на ksqlite и добавляет journal/context/outbox
ci / JVM build + tests (push) Failing after 1m24s

This commit is contained in:
2026-09-21 01:12:31 +03:00
parent bd65c29b48
commit acc7237e51
61 changed files with 1623 additions and 1750 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ bounded tail** для live-SSE и недавнего replay. Полный audit
## Где используется
- `:standalone` ChatAgent — append через `MutableEventStore` (заменяет
- `:standalone` ChatAgent — append через `MutableOutboxStore` (заменяет
текущий `agentEvents: MutableSharedFlow` + `persistAgentEvent`).
- `:server` Routes.kt — `/events/all` SSE endpoint читает через
`EventStore.events(after)`.
@@ -60,7 +60,7 @@ eventStore.events(after = client.lastSeen).collect { apply(it) }
## API
### `EventStore` (read-only, для consumer'ов)
### `OutboxStore` (read-only, для consumer'ов)
```kotlin
interface EventStore : AutoCloseable {
@@ -123,7 +123,7 @@ append по TTL/cap. Producer не должен полагаться на то,
## Текущее состояние
- ✅ Interface дизайн (`EventStore` + `MutableEventStore`)
- ✅ Interface дизайн (`OutboxStore` + `MutableOutboxStore`)
- ✅ KMP build (jvm + linuxX64 + mingwX64)
- ⏳ Нет implementations (next: `InMemoryEventStore` для тестов)
- ⏳ Не интегрирован в `:standalone`/`:server`