Commit Graph

18 Commits

Author SHA1 Message Date
afd65442c5 test: clean up compact event assertion 2026-05-24 09:39:57 +09:00
a4358eed14 feat: add manual compact command 2026-05-24 08:59:44 +09:00
3b582a4f73 fix: remove memory extract input cap 2026-05-23 09:14:07 +09:00
5955695db8 feat: wire pod metadata lifecycle writes 2026-05-22 22:29:08 +09:00
08dc6b29f8 style: run cargo fmt 2026-05-22 22:03:27 +09:00
077efee13b 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
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
903cfa3060 update: 旧用語コメントの掃除と KNOWN_ISSUES 追記
- 残存していた head_hash / SessionHead 言及コメントを 3 箇所更新
- FsStore::read_entry_count の O(n) 計測コストを KNOWN_ISSUES に登録
2026-05-20 04:53:33 +09:00
f35d99900f update: 書き込みの不要なasyncを削除 2026-05-14 19:16:48 +09:00
e32b210d50 chore: cargo fmt 2026-05-14 03:36:08 +09:00
1ef094f039 refactor: Podのメインループのリファクタリング 2026-05-14 03:27:49 +09:00
4d61d044ec update: memoryシステムの"Phase"表記を撤廃 2026-05-11 01:55:28 +09:00
3266ddb2d4 feat: Pos処理の非同期化・Busy状態の削除 2026-05-04 15:52:27 +09:00
8870af800f feat: システムメッセージをTUIで表示させる 2026-05-04 12:04:09 +09:00
e97f803104 update: manifestで一部値のzeroの扱いを変更 2026-05-02 00:08:46 +09:00
11bd486740 memory-phase1-extract修正 2026-04-28 13:12:21 +09:00
2722e0b7ba submitをvec segmentを受け付ける形に変更 2026-04-27 11:03:58 +09:00
b7b315cd39 protocol拡張の実装 2026-04-21 09:27:58 +09:00