Commit Graph

10 Commits

Author SHA1 Message Date
0d7c37f673
update: SessionId / SessionStart / SessionOrigin 等を Segment 系名称へ
- Type/Function/Variantを Segment* 系へ統一
  - SessionId/SessionStart/SessionOrigin/SessionStartState/SessionState/SessionLogSink/SessionLockInfo
  - new_session_id / session_id / create_session* / list_sessions / lookup_session / update_session / find_by_session
  - protocol Event::SessionRotated → SegmentRotated、CompactDone.new_session_id → new_segment_id
- Module: session_log → segment_log / session → segment (file mv 含む)
  pod 側の session_log_sink → segment_log_sink も同様
- crate 名 (session-store)、CLI flag (--session)、ResumeWithSession (CLI tied) は据え置き
- session-tests/session_metrics_test 等の Store impl も追従
2026-05-20 05:06:04 +09:00
d5dff6d17b
update: entry hash chain と session_head mutex を撤廃
- HashedEntry / EntryHash / compute_hash / build_chain 撤去、JSONL は 1 行 1 LogEntry
- SessionOrigin.at_hash → at_turn_index (TurnEnd 由来) に置換
- Pod 側 SessionHead mutex を ArcSwap<SessionId> + AtomicUsize の SessionState に置換
- ensure_head_or_fork は store の entry count と writer の append tally で判定
- session-store から sha2 / hex 依存、pod から parking_lot 依存を削除
2026-05-20 04:31:37 +09:00
7520dcad87
update: 書き込みの不要なasyncを削除 2026-05-14 19:16:48 +09:00
010edf2c94
session-log-segments実装 2026-04-29 22:42:10 +09:00
1ab6dbcee3
session-log-decouple-item実装 2026-04-29 22:24:18 +09:00
e72aac8cf2 セッション関連の責務の分離 2026-04-28 15:43:34 +09:00
9eef8117c8 cargo fmt 2026-04-14 03:13:36 +09:00
029bb1fba7 Compactの実装 2026-04-13 02:08:25 +09:00
48e62f65df compactの実装 2026-04-12 07:09:48 +09:00
46526ed262 session-storeとして分離 2026-04-12 06:31:34 +09:00