Commit Graph

404 Commits

Author SHA1 Message Date
9bfbb2fb4c 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
1a9bb30824 ticket: 永続化整理を 8 個に分割
persistence-semantics と pod-persistent-state を実装可能な粒度に分割。
Storage 層 (Phase 1) を entry-hash-abolish / segment-rename /
session-grouping-introduce / live-fork-marker に、Pod 単位永続化
(Phase 2) を pod-state-backend / pod-state-write-points /
pod-name-resume / spawned-registry-persist に切り出した。
2026-05-20 04:07:44 +09:00
0440d5c6dc Merge: invoke-turn-llmcall-semantics
# Conflicts:
#	crates/pod/src/controller.rs
2026-05-15 22:08:41 +09:00
01200a0d33 ticket: invoke-turn-llmcall-semantics 完了 2026-05-15 21:54:40 +09:00
d3b7663d41 ticket: worker-history-append-contract 作成 2026-05-15 21:53:24 +09:00
b204909c4c chore: KNOWN_ISSUES に controller_test::double_run_returns_error の flakiness を追記 2026-05-15 21:52:40 +09:00
9a89d2419a ticket: pod-interrupt-prep-internalize 完了 2026-05-15 21:52:24 +09:00
af6427ff67 ticket: pod-interrupt-prep-internalize レビュー (Approve with follow-up) 2026-05-15 21:51:57 +09:00
4c8596db38 update: Paused→Run の interrupt 前処理を Pod::run に内包 2026-05-15 21:51:57 +09:00
c779768b6e ticket: invoke-turn-llmcall-semantics review (Approve) 2026-05-15 21:42:43 +09:00
49b78612d6 feat: Invoke marker と LlmCall callback を導入し AgentTurn セマンティクスを明確化
- protocol: InvokeKind enum、Event::InvokeStart / LlmCallStart / LlmCallEnd 追加
- llm-worker: Worker.llm_call_count と on_llm_call_start/end callback、turn_count を AgentTurn 数として doc 更新
- session-store: LogEntry::Invoke { ts, trigger } 追加 (replay は marker のみで state 不変)
- pod: run/run_for_notification 開始時に Invoke marker commit、PendingRun::RunForNotification(InvokeKind) で kind を伝搬
- pod ipc: sink + server で Invoke エントリーを Event::InvokeStart として broadcast
- tui: 新 Event 3種を no-op で受理 (UI 設計はチケット範囲外)
2026-05-15 07:04:26 +09:00
ce6085b5f4 ticket: invoke/turn/llmcall 決定事項と実装範囲を明文化 2026-05-15 06:48:57 +09:00
1b83b2c40a ticket: Exchange語撤廃、Invoke/Turn/LlmCall でセマンティクスを再整理 2026-05-15 05:41:13 +09:00
9d04008123 ticket: pod-input-validate-internlize完了 2026-05-15 05:38:27 +09:00
4ebc2c96b3 update: Controllerで入力のValidationを行っていた部分をPod側に移す 2026-05-15 05:33:33 +09:00
bb6f7e2022 ticket: PodとControllerの責務の抱え違いを修正するチケット 2026-05-15 04:52:39 +09:00
86b48a9fdf ticket: pod-parent-turn-callback完了 2026-05-15 04:43:12 +09:00
59067bd115 ticket: pod-parent-turn-callbackレビュー 2026-05-15 04:42:29 +09:00
6116d72570 ticket: 消し忘れ 2026-05-15 04:39:30 +09:00
8e8c0887de update: 親にターン完了を通達する経路の整理 2026-05-15 04:38:53 +09:00
3143353ddc update: エントリの単数化のフォローアップ 2026-05-14 19:42:23 +09:00
f35d99900f update: 書き込みの不要なasyncを削除 2026-05-14 19:16:48 +09:00
6e7494553b ticket: 書き込みのsync化を計画 2026-05-14 16:45:58 +09:00
904ea6e326 update: SystemItem1本化 2026-05-14 14:36:29 +09:00
b6b158a244 ticket: イベントプロトコルと永続化におけるシステムイベントの統合 2026-05-14 04:12:40 +09:00
e32b210d50 chore: cargo fmt 2026-05-14 03:36:08 +09:00
a02f34437c fix: 実態にそぐわないEvent::Entryを実装した構造を訂正 2026-05-14 03:35:52 +09:00
1ef094f039 refactor: Podのメインループのリファクタリング 2026-05-14 03:27:49 +09:00
e57e23b999 ticket: 追加:Podのメインループとソケット通信周りのリファクタリング 2026-05-13 22:16:25 +09:00
13feb36518 ticket: add tui manual compact command 2026-05-13 06:50:27 +09:00
9e4bdf315f docs: update pod cli manifest flags 2026-05-13 06:44:48 +09:00
068a975488 ticket: note tui user manifest overlay mismatch 2026-05-13 06:41:23 +09:00
3d23c4ed40 close: complete pod manifest and file ref tickets 2026-05-13 06:30:45 +09:00
d2149d11d3 merge: file-ref-directory 2026-05-13 06:30:45 +09:00
ada2988105 merge: pod-cli-manifest-flags 2026-05-13 06:30:45 +09:00
d6cfea463a review: file-ref-directory 2026-05-13 06:30:45 +09:00
43330cf624 review: pod-cli-manifest-flags 2026-05-13 06:30:45 +09:00
21a78fb19e refactor: PodControllerの構造のリファクタリング 2026-05-13 06:07:38 +09:00
0ae6592032 docs(tickets): PodControllerの構造調整チケット作成 2026-05-13 05:43:23 +09:00
0e1539fefa chore: planの更新 2026-05-13 05:42:55 +09:00
dff72e291b feat: handle directory file refs 2026-05-13 02:57:58 +09:00
c6a9007b58 feat: organize pod manifest cli flags 2026-05-13 02:57:50 +09:00
d1c7297f87 feat: Languageインストラクションの追加 2026-05-13 02:27:30 +09:00
3c4a34b13b update: fmt + memoryに用いる言語の構成 2026-05-13 01:57:04 +09:00
076cf9af18 fix: compact時にToolCallとOutputの間でCutしてしまう問題 2026-05-13 00:59:02 +09:00
2f5f5b8a26 chore: workflowの調整・knowledgeの追加テスト 2026-05-13 00:06:33 +09:00
a363546a14 merge: lint common crate 2026-05-12 21:56:49 +09:00
599b24fa9e chore: complete lint common crate ticket 2026-05-12 21:56:39 +09:00
4bdbac6597 refactor: extract shared lint record primitives 2026-05-12 21:56:25 +09:00
20a6748cdd docs(tickets): submit時FileRefでディレクトリを参照した時の挙動 2026-05-12 17:39:40 +09:00