fix(kernel,server): remove stub compaction + log missing summary artifact

This commit is contained in:
2026-06-08 10:22:16 +04:00
parent 2b1faeaadd
commit 7af5d602bc
2 changed files with 4 additions and 10 deletions
@@ -314,6 +314,10 @@ abstract class SessionOrchestrator(
val journalState = decisionJournalRepository.getJournal(sessionId)
val summaryText = journalState.summaryArtifactId?.let { id ->
artifactStore.get(id)?.toString(Charsets.UTF_8)
?: run {
log.warn("Journal summary artifact {} not found in store — rendering without summary", id.value)
null
}
}
val journalText = decisionJournalRenderer.render(journalState, summaryText)
val journalEntries = if (journalText.isBlank()) emptyList() else listOf(