Add session-memory module: Spring AI 2.1 Session API (event log, turn-aware windows, compaction with summarizer, SessionAdvisors, JDBC on PostgreSQL 16) with 14 transcripts and the 2.0 ChatMemory deprecation warnings from javac. Spring Boot 4.1.1, Spring AI 2.1.0, Java 25.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6jDW7zqoKDMTRrCyq
This commit is contained in:
Claude
2026-11-22 18:39:32 +05:30
parent 0006167c24
commit 7612fca082
39 changed files with 1149 additions and 0 deletions
@@ -0,0 +1,6 @@
# Compaction cuts between turns, so a tool call stays with its result
Before: U:u1 | A:a1 | U:u2 | A:a2 | U:weather in Pune? | A:[tool call weather] | T:[tool result 31C] | A:31C in Pune. | U:u3 | A:a3
compact(keep last 3 EVENTS): covered=8 preserved=2
After: U:u3 | A:a3
The last 3 events would have started at the assistant reply "31C in Pune.", which is mid-turn, so the cut moved forward to the next turn start (u3).