fix(kernel,server): remove stub compaction + log missing summary artifact
This commit is contained in:
+4
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user