From 1c5c77bd08bfa1426ba6e8f4ffd2d11365b07215 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 7 Jun 2026 19:40:36 +0900 Subject: [PATCH] ticket: report companion lifecycle implementation --- .../item.md | 2 +- .../thread.md | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) diff --git a/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/item.md b/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/item.md index 11369141..d88f4a61 100644 --- a/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/item.md +++ b/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/item.md @@ -8,7 +8,7 @@ priority: P2 labels: [tui, panel, companion, pod] workflow_state: ready created_at: 2026-06-07T00:16:51Z -updated_at: 2026-06-07T10:18:01Z +updated_at: 2026-06-07T10:40:36Z assignee: null legacy_ticket: null --- diff --git a/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/thread.md b/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/thread.md index e5fcfbcc..0bbdb00d 100644 --- a/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/thread.md +++ b/.yoi/tickets/open/20260607-001651-workspace-panel-companion-pod-lifecycle/thread.md @@ -116,4 +116,50 @@ Requested validation: - `target/debug/yoi ticket doctor`. +--- + + + +## Implementation report + +## Implementation report + +Coder Pod `companion-lifecycle-coder-20260607` completed implementation in `.worktree/workspace-panel-companion-pod-lifecycle`. + +Commit: +- `ba0c9d5 feat: wire panel companion lifecycle` + +Reported summary: +- Added real workspace Companion Pod lifecycle for `yoi panel`. + - Companion Pod name is resolved from workspace basename, with no `-companion` suffix. + - Live Pods are reused, restorable Pods are restored, missing Pods are spawned through normal default/Companion profile startup. + - Panel close does not stop Companion. +- Wired `Companion` composer submit to the workspace Companion Pod via `Method::Run`. + - It no longer routes to arbitrary selected Pods. + - Empty composer behavior still preserves selected-Pod open/attach behavior. + - Busy/unavailable Companion states keep the draft and surface bounded diagnostics. +- Kept Ticket Intake separate. + - Ticket Intake target still launches Intake handoff and does not append to Companion history. +- Added focused tests for Companion naming, lifecycle decisions, no-Ticket Companion availability, composer routing, and Intake separation. + +Changed files: +- `crates/tui/src/multi_pod.rs` +- `crates/tui/src/workspace_panel.rs` + +Reported validation: +- `cargo test -p tui companion --lib` +- `cargo test -p tui multi_pod --lib` +- `cargo test -p tui workspace_panel --lib` +- `cargo test -p tui --lib` +- `cargo fmt --check` +- `git diff --check` +- `nix build .#yoi` +- `result/bin/yoi ticket doctor` + +Caveat: +- `target/debug/yoi` was not used for `ticket doctor`; coder used the Nix-built `result/bin/yoi` after `nix build .#yoi`. + +External review will be delegated before merge. + + ---