ticket: close 00001KVSMJJNV
This commit is contained in:
parent
76c800542c
commit
b28d64c3c6
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 'TUI Console: Paused 中の Ctrl+X で中断ターンをキャンセルできるようにする'
|
title: 'TUI Console: Paused 中の Ctrl+X で中断ターンをキャンセルできるようにする'
|
||||||
state: 'inprogress'
|
state: 'closed'
|
||||||
created_at: '2026-06-23T07:02:07Z'
|
created_at: '2026-06-23T07:02:07Z'
|
||||||
updated_at: '2026-06-23T13:53:16Z'
|
updated_at: '2026-06-23T13:56:16Z'
|
||||||
assignee: null
|
assignee: null
|
||||||
readiness: 'implementation_ready'
|
readiness: 'implementation_ready'
|
||||||
risk_flags: ['tui-keybinding', 'pod-lifecycle']
|
risk_flags: ['tui-keybinding', 'pod-lifecycle']
|
||||||
|
|
|
||||||
28
.yoi/tickets/00001KVSMJJNV/resolution.md
Normal file
28
.yoi/tickets/00001KVSMJJNV/resolution.md
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
Ticket 00001KVSMJJNV は完了。
|
||||||
|
|
||||||
|
実装内容:
|
||||||
|
- TUI Console の `Paused` 状態で `Ctrl+X` を TUI/Pod shutdown ではなく `Method::Cancel` として扱うようにした。
|
||||||
|
- `Idle` の `Ctrl+X` shutdown behavior と、`Running` の cancel behavior は維持した。
|
||||||
|
- paused cancel 後に resume 可能な interrupted state が残らず、次の入力が fresh run になるよう controller / Pod lifecycle を更新した。
|
||||||
|
- paused cancel を normal `RunCompleted { Finished }` として永続化せず、typed session log entry `LogEntry::PausedTurnAbandoned { ts }` として記録するようにした。
|
||||||
|
- replay / restore で `PausedTurnAbandoned` が `last_run_interrupted` を clear するようにした。
|
||||||
|
- focused tests を追加・更新し、TUI key handling、controller behavior、session log JSON/replay semantics、fake normal-finished run が残らないことを確認した。
|
||||||
|
|
||||||
|
主要 commits:
|
||||||
|
- `90b1a1fc tui: cancel paused turns with ctrl-x`
|
||||||
|
- `8c8fb014 fix: log paused cancel lifecycle explicitly`
|
||||||
|
- `76c80054 merge: 00001KVSMJJNV paused ctrl-x cancel`
|
||||||
|
|
||||||
|
Review:
|
||||||
|
- 初回 review は lifecycle log semantics の不一致で request_changes。
|
||||||
|
- `PausedTurnAbandoned` による typed lifecycle representation を追加後、Reviewer が approve。
|
||||||
|
|
||||||
|
Validation:
|
||||||
|
- `cargo test -p session-store paused_turn_abandoned -- --nocapture`
|
||||||
|
- `cargo test -p pod paused_cancel_abandons_resume_and_next_input_is_fresh_run -- --nocapture`
|
||||||
|
- `cargo test -p tui ctrl_x -- --nocapture`
|
||||||
|
- `cargo fmt --check`
|
||||||
|
- `git diff --check HEAD~1..HEAD`
|
||||||
|
|
||||||
|
Merge note:
|
||||||
|
- orchestration branch で実装・Ticket 記録・close resolution をまとめ、merge target へ fast-forward 予定。
|
||||||
|
|
@ -251,3 +251,68 @@ Rationale:
|
||||||
- controller test は Paused 到達、cancel 後 Idle、resume rejection、cancel/resume で追加 LLM request が発生しないこと、次入力が fresh run になることを確認している。
|
- controller test は Paused 到達、cancel 後 Idle、resume rejection、cancel/resume で追加 LLM request が発生しないこと、次入力が fresh run になることを確認している。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!-- event: state_changed author: yoi-orchestrator at: 2026-06-23T13:56:05Z from: inprogress to: done reason: implementation_review_validation_passed field: state -->
|
||||||
|
|
||||||
|
## State changed
|
||||||
|
|
||||||
|
Implementation, review, and post-merge validation completed in orchestration worktree.
|
||||||
|
|
||||||
|
Evidence:
|
||||||
|
- Implementation commits merged into orchestration: `90b1a1fc`, `8c8fb014`, merge commit `76c80054`.
|
||||||
|
- Reviewer approved after requested lifecycle-log fix.
|
||||||
|
- Validation on merged orchestration branch passed:
|
||||||
|
- `cargo test -p session-store paused_turn_abandoned -- --nocapture`
|
||||||
|
- `cargo test -p pod paused_cancel_abandons_resume_and_next_input_is_fresh_run -- --nocapture`
|
||||||
|
- `cargo test -p tui ctrl_x -- --nocapture`
|
||||||
|
- `cargo fmt --check`
|
||||||
|
- `git diff --check HEAD~1..HEAD`
|
||||||
|
|
||||||
|
Next:
|
||||||
|
- Close Ticket with resolution, then fast-forward merge target if safe.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- event: state_changed author: hare at: 2026-06-23T13:56:16Z from: done to: closed reason: closed field: state -->
|
||||||
|
|
||||||
|
## State changed
|
||||||
|
|
||||||
|
Ticket を closed にしました。
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- event: close author: hare at: 2026-06-23T13:56:16Z status: closed -->
|
||||||
|
|
||||||
|
## 完了
|
||||||
|
|
||||||
|
Ticket 00001KVSMJJNV は完了。
|
||||||
|
|
||||||
|
実装内容:
|
||||||
|
- TUI Console の `Paused` 状態で `Ctrl+X` を TUI/Pod shutdown ではなく `Method::Cancel` として扱うようにした。
|
||||||
|
- `Idle` の `Ctrl+X` shutdown behavior と、`Running` の cancel behavior は維持した。
|
||||||
|
- paused cancel 後に resume 可能な interrupted state が残らず、次の入力が fresh run になるよう controller / Pod lifecycle を更新した。
|
||||||
|
- paused cancel を normal `RunCompleted { Finished }` として永続化せず、typed session log entry `LogEntry::PausedTurnAbandoned { ts }` として記録するようにした。
|
||||||
|
- replay / restore で `PausedTurnAbandoned` が `last_run_interrupted` を clear するようにした。
|
||||||
|
- focused tests を追加・更新し、TUI key handling、controller behavior、session log JSON/replay semantics、fake normal-finished run が残らないことを確認した。
|
||||||
|
|
||||||
|
主要 commits:
|
||||||
|
- `90b1a1fc tui: cancel paused turns with ctrl-x`
|
||||||
|
- `8c8fb014 fix: log paused cancel lifecycle explicitly`
|
||||||
|
- `76c80054 merge: 00001KVSMJJNV paused ctrl-x cancel`
|
||||||
|
|
||||||
|
Review:
|
||||||
|
- 初回 review は lifecycle log semantics の不一致で request_changes。
|
||||||
|
- `PausedTurnAbandoned` による typed lifecycle representation を追加後、Reviewer が approve。
|
||||||
|
|
||||||
|
Validation:
|
||||||
|
- `cargo test -p session-store paused_turn_abandoned -- --nocapture`
|
||||||
|
- `cargo test -p pod paused_cancel_abandons_resume_and_next_input_is_fresh_run -- --nocapture`
|
||||||
|
- `cargo test -p tui ctrl_x -- --nocapture`
|
||||||
|
- `cargo fmt --check`
|
||||||
|
- `git diff --check HEAD~1..HEAD`
|
||||||
|
|
||||||
|
Merge note:
|
||||||
|
- orchestration branch で実装・Ticket 記録・close resolution をまとめ、merge target へ fast-forward 予定。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user