Refactor: replace BackgroundScheduler with ReflectionScheduler, migrate to outbox-driven event processing, and remove skill mining logic
ci / JVM build + tests (push) Has been cancelled

This commit is contained in:
2026-09-23 04:40:45 +03:00
parent e447525059
commit 266ec38c1b
14 changed files with 176 additions and 315 deletions
@@ -24,10 +24,11 @@ import pw.binom.litert.LiteTool
/**
* События, по которым SkillMiningComponent решает, что пора майнить новые скилы.
*
* Standalone-часть мэпит свой [pw.binom.agentik.standalone.agent.BackgroundEventBus]
* на этот sealed interface и подаёт результат в [SkillMiningComponent.events].
* Делаем так, чтобы модуль :skill-mining не зависел от :standalone и его
* внутренних типов.
* Standalone-часть мэпит свой [pw.binom.agentik.outbox.OutboxStore] (через
* [pw.binom.agentik.outbox.Event.ConversationClosing] и
* [pw.binom.agentik.outbox.Event.CompactionTriggered]) на этот sealed
* interface и подаёт результат в [SkillMiningComponent.events]. Делаем так,
* чтобы модуль :skill-mining не зависел от :standalone и его внутренних типов.
*/
sealed interface SkillMiningEvent {
val conversationId: String