From d56d3951d3b7f8b4d2726a5bcd22e71311512ea0 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 31 May 2026 15:49:50 +0900 Subject: [PATCH] close: rename pod-command crate --- .../artifacts/.gitkeep | 0 .../item.md | 4 +-- .../resolution.md | 20 +++++++++++ .../thread.md | 35 +++++++++++++++++++ .../thread.md | 7 ---- 5 files changed, 57 insertions(+), 9 deletions(-) rename work-items/{open => closed}/20260531-064550-rename-pod-command-crate-to-insomnia/artifacts/.gitkeep (100%) rename work-items/{open => closed}/20260531-064550-rename-pod-command-crate-to-insomnia/item.md (97%) create mode 100644 work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/resolution.md create mode 100644 work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md delete mode 100644 work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md diff --git a/work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/artifacts/.gitkeep b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/artifacts/.gitkeep similarity index 100% rename from work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/artifacts/.gitkeep rename to work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/artifacts/.gitkeep diff --git a/work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/item.md b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/item.md similarity index 97% rename from work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/item.md rename to work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/item.md index 80b73641..77ad4032 100644 --- a/work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/item.md +++ b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/item.md @@ -2,12 +2,12 @@ id: 20260531-064550-rename-pod-command-crate-to-insomnia slug: rename-pod-command-crate-to-insomnia title: CLI: rename pod-command crate to insomnia -status: open +status: closed kind: task priority: P2 labels: [cli, pod, cargo] created_at: 2026-05-31T06:45:50Z -updated_at: 2026-05-31T06:45:50Z +updated_at: 2026-05-31T06:49:44Z assignee: null legacy_ticket: null --- diff --git a/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/resolution.md b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/resolution.md new file mode 100644 index 00000000..e70c08a9 --- /dev/null +++ b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/resolution.md @@ -0,0 +1,20 @@ +Renamed the runtime command helper crate/package from `pod-command` to `insomnia` to align the shared helper crate with the installed binary name. + +Implementation: +- Renamed `crates/pod-command` to `crates/insomnia`. +- Changed package name from `pod-command` to `insomnia`. +- Updated workspace membership and workspace dependencies. +- Updated `client` and `pod` crate dependencies/imports from `pod_command` to `insomnia`. +- Kept `PodRuntimeCommand` behavior unchanged: default runtime command remains current executable plus `pod`, and `INSOMNIA_POD_COMMAND` remains executable-only. +- Updated test helper names to avoid stale `pod_command` wording. + +Validation: +- `cargo fmt --check` +- `cargo test -p insomnia` +- `cargo test -p client -p insomnia` +- `cargo test -p pod --lib discovery::tests` +- `cargo test -p pod --test spawn_pod_test` +- `cargo check -p tui -p pod -p client -p insomnia` +- `./tickets.sh doctor` +- `git diff --check` +- `git grep -n "pod-command\|pod_command" -- ':!work-items' ':!docs' ':!Cargo.lock' || true` diff --git a/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md new file mode 100644 index 00000000..e710db35 --- /dev/null +++ b/work-items/closed/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md @@ -0,0 +1,35 @@ + + +## Created + +Created by tickets.sh create. + +--- + + + +## Closed + +Renamed the runtime command helper crate/package from `pod-command` to `insomnia` to align the shared helper crate with the installed binary name. + +Implementation: +- Renamed `crates/pod-command` to `crates/insomnia`. +- Changed package name from `pod-command` to `insomnia`. +- Updated workspace membership and workspace dependencies. +- Updated `client` and `pod` crate dependencies/imports from `pod_command` to `insomnia`. +- Kept `PodRuntimeCommand` behavior unchanged: default runtime command remains current executable plus `pod`, and `INSOMNIA_POD_COMMAND` remains executable-only. +- Updated test helper names to avoid stale `pod_command` wording. + +Validation: +- `cargo fmt --check` +- `cargo test -p insomnia` +- `cargo test -p client -p insomnia` +- `cargo test -p pod --lib discovery::tests` +- `cargo test -p pod --test spawn_pod_test` +- `cargo check -p tui -p pod -p client -p insomnia` +- `./tickets.sh doctor` +- `git diff --check` +- `git grep -n "pod-command\|pod_command" -- ':!work-items' ':!docs' ':!Cargo.lock' || true` + + +--- diff --git a/work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md b/work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md deleted file mode 100644 index 09716537..00000000 --- a/work-items/open/20260531-064550-rename-pod-command-crate-to-insomnia/thread.md +++ /dev/null @@ -1,7 +0,0 @@ - - -## Created - -Created by tickets.sh create. - ----