diff --git a/KNOWN_ISSUES.md b/KNOWN_ISSUES.md index 39e72e70..1c623676 100644 --- a/KNOWN_ISSUES.md +++ b/KNOWN_ISSUES.md @@ -16,3 +16,5 @@ Ticket を切るほどではないが、次に近所を触るときに合わせ - `crates/pod/tests/controller_test.rs` — `double_run_returns_error` がたまに失敗する flakiness を観測。`pod-interrupt-prep-internalize` 以前から存在する別件。次に controller_test の Run 連投系のタイミングを触るときに併せて原因を切り分け。 - `crates/session-store/src/fs_store.rs:117-122` — `FsStore::read_entry_count` が `fs::read_to_string` で全文ロードしてから行数カウントするため O(n)。`ensure_head_or_fork` は run-start でしか呼ばれず現状は許容範囲だが、長期セッションが普通になった時点で `\n` バイト数の cheap count か末尾 seek に置き換える。 - `crates/session-store/src/segment.rs:121` `ensure_head_or_fork` (free fn, test 専用・本番 caller ゼロ) と `crates/pod/src/pod.rs` `Pod::ensure_segment_head` (本番 inline) に live auto-fork の検知 + forked_from 記録が二重実装されている。entry-hash-abolish 以前からの重複で、両方独立にテスト済みだが drift 必至。session-store 側を本番から呼ぶ形に寄せるか free fn を畳むかは要設計判断。Pod state / fork 周辺を次に触るときに統合を検討。 +- `crates/pod/src/pod.rs:4074` / `crates/pod/src/spawn/registry.rs:83` — restore 時の spawned child prune/reclaim が Pod restore path と spawned registry load path の両方に残っている。現状は安全側の重複チェックだが、Pod state / spawned registry 周辺を次に触るときに責務境界を再整理。 +- `tickets.sh:414-425` — `cmd_close` が `cmd_status` 呼び出し後に POSIX shell のグローバル変数 `file` 汚染を踏み、`--resolution` 指定でも `item.md` を resolution/thread body としてコピーし得る。今回は手で修正済み。次に tickets.sh の close/status 周辺を触るときに変数名分離か body 作成順序を直す。 diff --git a/work-items/open/20260527-000008-pod-scope-persistence-authority/artifacts/.gitkeep b/work-items/closed/20260527-000008-pod-scope-persistence-authority/artifacts/.gitkeep similarity index 100% rename from work-items/open/20260527-000008-pod-scope-persistence-authority/artifacts/.gitkeep rename to work-items/closed/20260527-000008-pod-scope-persistence-authority/artifacts/.gitkeep diff --git a/work-items/open/20260527-000008-pod-scope-persistence-authority/item.md b/work-items/closed/20260527-000008-pod-scope-persistence-authority/item.md similarity index 99% rename from work-items/open/20260527-000008-pod-scope-persistence-authority/item.md rename to work-items/closed/20260527-000008-pod-scope-persistence-authority/item.md index f18e5130..c3c7b67a 100644 --- a/work-items/open/20260527-000008-pod-scope-persistence-authority/item.md +++ b/work-items/closed/20260527-000008-pod-scope-persistence-authority/item.md @@ -2,12 +2,12 @@ id: 20260527-000008-pod-scope-persistence-authority slug: pod-scope-persistence-authority title: Pod: scope 永続化 authority の整理 -status: open +status: closed kind: task priority: P2 labels: [migrated] created_at: 2026-05-27T00:00:08Z -updated_at: 2026-05-27T00:00:08Z +updated_at: 2026-05-30T05:57:16Z assignee: null legacy_ticket: tickets/pod-scope-persistence-authority.md --- diff --git a/work-items/closed/20260527-000008-pod-scope-persistence-authority/resolution.md b/work-items/closed/20260527-000008-pod-scope-persistence-authority/resolution.md new file mode 100644 index 00000000..48a645e5 --- /dev/null +++ b/work-items/closed/20260527-000008-pod-scope-persistence-authority/resolution.md @@ -0,0 +1,3 @@ +後続の `session-pod-state-boundary` / `pod-store` / spawned registry work により、scope authority の主設計と restore/reclaim 実装は吸収済み。 + +残る小粒な責務重複は `KNOWN_ISSUES.md` に移したため、この migrated ticket は superseded として閉じる。 diff --git a/work-items/closed/20260527-000008-pod-scope-persistence-authority/thread.md b/work-items/closed/20260527-000008-pod-scope-persistence-authority/thread.md new file mode 100644 index 00000000..972a8aac --- /dev/null +++ b/work-items/closed/20260527-000008-pod-scope-persistence-authority/thread.md @@ -0,0 +1,17 @@ + + +## Migrated + +Migrated from tickets/pod-scope-persistence-authority.md. No legacy review file was present at migration time. + +--- + + + +## Closed + +後続の `session-pod-state-boundary` / `pod-store` / spawned registry work により、scope authority の主設計と restore/reclaim 実装は吸収済み。 + +残る小粒な責務重複は `KNOWN_ISSUES.md` に移したため、この migrated ticket は superseded として閉じる。 + +--- diff --git a/work-items/open/20260527-000008-pod-scope-persistence-authority/thread.md b/work-items/open/20260527-000008-pod-scope-persistence-authority/thread.md deleted file mode 100644 index 6e9d829d..00000000 --- a/work-items/open/20260527-000008-pod-scope-persistence-authority/thread.md +++ /dev/null @@ -1,7 +0,0 @@ - - -## Migrated - -Migrated from tickets/pod-scope-persistence-authority.md. No legacy review file was present at migration time. - ----