Commit Graph

19 Commits

Author SHA1 Message Date
80a4f90004 fix: align spawn user manifest env overlay 2026-05-26 10:09:17 +09:00
e2688da828 feat: restore tui sessions by pod 2026-05-23 09:13:06 +09:00
12a4ba5edf feat: resume pods by name 2026-05-22 22:57:16 +09:00
e8c16be475 feat: Session(Segment 群の grouping)を導入
- SessionId 型を新設、各 SegmentStart に session_id を持たせる
- compaction / 内部 fork は同 SessionId を継承、fork() は新 Session を発行
- Store API を (SessionId, SegmentId) ベースに、FsStore layout は
  <root>/<session_id>/<segment_id>.jsonl に
- Store::list_sessions / list_segments(session_id) / lookup_session_of を追加
- restore_by_segment shim を session-store に提供(pod-cli --session で使用)
- SegmentState に SegmentLocation (session_id, segment_id) を保持し ArcSwap で更新
- RestoredState に session_id: Option<SessionId> を追加
- Picker は Session 単位に列挙、leaf segment を解決して resume
2026-05-20 06:17:56 +09:00
a63f076856 update: 残存 Session 識別子の Segment 化(review follow-up)
レビュー指摘の通り、次の session-grouping-introduce で新 SessionId が
入る前に名称衝突を避けるため取り残しを掃除。

- PodError::Session{Empty,ScopeMissing} → Segment{Empty,ScopeMissing}
- ScopeLockError::SessionConflict → SegmentConflict
- Pod.session_state / SegmentState.set_session_id 系
- source_session_id / prev_session_id / ensure_session_head / short_session
- pod_cli の "Session ID:" 表示
- fs_store の sessions ローカル変数
2026-05-20 05:17:49 +09:00
d5fcbc2125 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
f35d99900f update: 書き込みの不要なasyncを削除 2026-05-14 19:16:48 +09:00
92cee690f8 feat: client-crateの実装 2026-05-10 00:57:50 +09:00
5fbb9c47dd update: tuiからspawnする際にエラー詳細が落ちていた問題を修正 2026-05-03 21:47:54 +09:00
557d5da391 feat: resume時のscope claimを過去の有効scopeに揃える 2026-05-03 17:12:36 +09:00
f1d8f42fd5 fix: tuiからのPod作成の挙動を修正・開発時にcargo runでpodを起動する経路を実装 2026-05-02 02:13:30 +09:00
6bf1f9a110 fix: SpawnPodの起動経路の問題・を修正 2026-05-02 01:09:57 +09:00
2c9db5a27b cargo fmt 2026-04-29 23:20:25 +09:00
5ea99673fc tuiからセッションを復帰する経路の実装 2026-04-29 19:03:03 +09:00
d1be97fbc2 resumeの実装 2026-04-28 18:52:58 +09:00
cabf9c967c cargo fmt 2026-04-27 22:51:07 +09:00
325ae6fa27 pod-spawn-ui完了・設定UI関連のチケット作成 2026-04-27 17:38:32 +09:00
2ed4bd007b manifest側で設定ファイルの収集を行うようにした 2026-04-27 16:52:23 +09:00
5ebdeff76d tuiからSpawnする仮UI 2026-04-27 16:22:06 +09:00