Commit Graph

26 Commits

Author SHA1 Message Date
0b23aa8191 fix: rename installed binaries 2026-05-29 09:28:31 +09:00
405339fb04 fix: align spawn user manifest env overlay 2026-05-26 10:09:17 +09:00
fd1b06198e feat: add visible pod discovery tools 2026-05-23 12:04:45 +09:00
0e562dd4d9 feat: resume pods by name 2026-05-22 22:57:16 +09:00
5edc4d3b03 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
c2b55a498b 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
22f5d02385 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
988495cfea update: 書き込みの不要なasyncを削除 2026-05-14 19:16:48 +09:00
b67023aafc feat: organize pod manifest cli flags 2026-05-13 02:57:50 +09:00
8a8fd225bf scope-lock -> pod-registry 2026-04-29 20:01:32 +09:00
fd96a517bb tuiからセッションを復帰する経路の実装 2026-04-29 19:03:03 +09:00
2b89bb6d2e resumeの実装 2026-04-28 18:52:58 +09:00
7a0ed7d744 cargo fmt 2026-04-27 22:51:07 +09:00
8cf0bd6374 home-dir-layout修正 2026-04-27 22:10:36 +09:00
8658845b02 home-dirの整理 2026-04-27 21:45:30 +09:00
c4ca9e1d89 tuiからSpawnする仮UI 2026-04-27 16:22:06 +09:00
88e29d7bbe マニフェスト解決の相対パス化 2026-04-19 07:53:54 +09:00
73acfcb7f2 SpawnPodツール完了 2026-04-18 20:31:10 +09:00
aa138e6583 プロトコル経由のshutdow経路 2026-04-16 13:49:53 +09:00
493ed2c781 pod-factory完了 2026-04-16 00:57:26 +09:00
81e28a3c07 podのマニフェストの分離実装 2026-04-16 00:54:27 +09:00
2db2c1611c scopeの再設計 2026-04-14 12:09:18 +09:00
a0a9df11c0 cargo fmt 2026-04-14 03:13:36 +09:00
cdafd5d914 session-storeとして分離 2026-04-12 06:31:34 +09:00
7249a8ee6a Podにキーを渡す実装 2026-04-11 19:28:59 +09:00
9363c76354 Podのバイナリ実装 2026-04-11 03:26:38 +09:00