Commit Graph

95 Commits

Author SHA1 Message Date
0d7d3c7bf1
cli: remove insomnia-pod binary output 2026-05-31 14:59:22 +09:00
5472ceca48
pod: simplify pod tool surface 2026-05-31 11:50:41 +09:00
4c189fb0da
merge: spawnpod profile tool 2026-05-30 14:18:48 +09:00
e65c023d4f
feat: add SpawnPod profile selection 2026-05-30 14:06:28 +09:00
b3fe725742
fix: keep scope subdelegation control-only 2026-05-30 14:01:09 +09:00
2533a3d5d3
chore: remove nix mentions from rust 2026-05-30 12:10:37 +09:00
23f234d095
fix: preserve spawn event trace setting 2026-05-30 09:30:05 +09:00
a47f2c4689
fix: preserve terminal turn failures 2026-05-30 09:02:11 +09:00
d2e80871ce
fix: reconcile missing delegated children 2026-05-30 07:46:09 +09:00
e10b4ad4f0
refactor: move scope authority to pod store 2026-05-30 07:36:17 +09:00
211738132c
refactor: split pod metadata store 2026-05-30 07:16:50 +09:00
d5d50a3214
fix: suppress pod socket peer disconnect noise 2026-05-30 02:20:33 +09:00
0b23aa8191 fix: rename installed binaries 2026-05-29 09:28:31 +09:00
8c6a4acf5f fix: suppress memory idle skip notices 2026-05-27 18:55:58 +09:00
88619f36cf merge: memory consolidation skip observability 2026-05-26 08:37:32 +09:00
3f260d7d4e fix: confirm SpawnPod initial run delivery 2026-05-26 08:37:24 +09:00
bb917246ec fix: suppress memory idle skip notices 2026-05-26 08:03:17 +09:00
be753099ae feat: surface llm retry and continuation state 2026-05-26 07:13:59 +09:00
891b6d91fd test: clean up compact event assertion 2026-05-24 09:39:57 +09:00
cabc556b2c feat: add manual compact command 2026-05-24 08:59:44 +09:00
03e7795130 feat: rollback empty interrupted turns 2026-05-23 12:50:46 +09:00
044032ef2b merge: pod-discovery-restore-tools 2026-05-23 12:04:59 +09:00
fd1b06198e feat: add visible pod discovery tools 2026-05-23 12:04:45 +09:00
d5da95499d fix: remove memory extract input cap 2026-05-23 09:14:07 +09:00
a26f18c466 fix: reclaim delegated scope from stopped children 2026-05-23 08:38:42 +09:00
a267ad8114 feat: show context usage in tui status 2026-05-23 07:15:03 +09:00
369a5931bc merge: prune-token-budget 2026-05-23 05:00:15 +09:00
9ee7f04805 feat: protect prune tail by token budget 2026-05-23 05:00:06 +09:00
767400d5c2 fix: drain snapshots before pod callbacks 2026-05-23 04:57:03 +09:00
4795b6cb4a refactor: remove legacy plural log entries 2026-05-23 02:03:42 +09:00
1e0dc6566c feat: persist spawned pod registry 2026-05-22 23:30:02 +09:00
58608c4f57 feat: wire pod metadata lifecycle writes 2026-05-22 22:29:08 +09:00
93c91e7c06 style: run cargo fmt 2026-05-22 22:03:27 +09:00
a9340a8817 feat: live auto-fork の marker 形式を確定(seq 比較 + forked_from 記録)
方針: 末尾 entry-count 比較で検知し、元 Segment は immutable のまま
(terminal marker を書き戻さない)。fork lineage は新 Segment の
SegmentStart.forked_from に前向きに記録するため、log だけから辿れる。
過去 fork と対称で、nested fork も marker 位置の調停が不要。

- session-store ensure_head_or_fork に at_turn_index 引数を追加し
  新 Segment へ forked_from を記録
- pod ensure_segment_head の auto-fork も同様に forked_from を記録
  (at_turn_index = writer の現 turn_count)
- fork_at の doc に「元 Segment を mutate しない」invariant を明記
- test: nested past-fork が祖先を不変に保つ / Pod 並行 writer drift で
  auto-fork し forked_from を記録 / 元 Segment に marker が書かれない
2026-05-20 06:42:09 +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
55c5ac4942 update: 旧用語コメントの掃除と KNOWN_ISSUES 追記
- 残存していた head_hash / SessionHead 言及コメントを 3 箇所更新
- FsStore::read_entry_count の O(n) 計測コストを KNOWN_ISSUES に登録
2026-05-20 04:53:33 +09:00
90e83bf2ae 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
35988f3249 update: Paused→Run の interrupt 前処理を Pod::run に内包 2026-05-15 21:51:57 +09:00
988495cfea update: 書き込みの不要なasyncを削除 2026-05-14 19:16:48 +09:00
f9def2d5bb update: SystemItem1本化 2026-05-14 14:36:29 +09:00
6358affd76 chore: cargo fmt 2026-05-14 03:36:08 +09:00
e7064878c2 refactor: Podのメインループのリファクタリング 2026-05-14 03:27:49 +09:00
8d2ca5d530 feat: add manifest output upload limits 2026-05-12 16:20:15 +09:00
a2aecbf029 update: memoryシステムの"Phase"表記を撤廃 2026-05-11 01:55:28 +09:00
954cf200e2 feat: Pos処理の非同期化・Busy状態の削除 2026-05-04 15:52:27 +09:00
560c23bc75 feat: Podのステータスを厳密にし、同期漏れを防ぐ 2026-05-04 12:55:11 +09:00
a0e1583916 feat: システムメッセージをTUIで表示させる 2026-05-04 12:04:09 +09:00
9e58149dda feat: notify-history-persist実装 2026-05-03 19:27:22 +09:00