v0.3.3cerebra2026-06-12
Phase 8 Step 1 — RuntimeSession persistence foundation
Adds session lifecycle management: RuntimeSession frozen dataclass, SessionManager, SQLite persistence via runtime_sessions table, and PredictionInput adapter bridging session state to Phase 6 prediction pipeline.
v0.3.32026-06-12
- ·RuntimeSession frozen dataclass + SessionState view type in cerebra/cognition/session.py
- ·SessionManager: open_session (emits SessionOpened via fossic), flush_session, build_session_state
- ·Migration014: runtime_sessions table with self-referential FK for parent/child re-injection chains
- ·DEV-013: table named runtime_sessions (not sessions) to avoid Phase 5 working_memory collision
- ·predict_input_from_session() adapter bridges SessionState → PredictionInput with zero changes to PredictionPipeline
- ·52 new tests (30 unit, 22 integration) — all pass; pre-existing 42 failures unchanged