From bd959ce25cf9af371ff680e2aa981d7e07300e33 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 31 May 2026 14:27:15 +0900 Subject: [PATCH] close: spawn through insomnia pod --- .../artifacts/.gitkeep | 0 .../item.md | 4 +-- .../resolution.md | 1 + .../thread.md | 28 +++++++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) rename work-items/{open => closed}/20260531-045034-spawn-through-insomnia-pod-subcommand/artifacts/.gitkeep (100%) rename work-items/{open => closed}/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md (98%) create mode 100644 work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/resolution.md rename work-items/{open => closed}/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md (75%) diff --git a/work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/artifacts/.gitkeep b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/artifacts/.gitkeep similarity index 100% rename from work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/artifacts/.gitkeep rename to work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/artifacts/.gitkeep diff --git a/work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md similarity index 98% rename from work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md rename to work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md index 8961bbb0..2b47e41a 100644 --- a/work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md +++ b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/item.md @@ -2,12 +2,12 @@ id: 20260531-045034-spawn-through-insomnia-pod-subcommand slug: spawn-through-insomnia-pod-subcommand title: CLI: spawn Pods through insomnia pod runtime -status: open +status: closed kind: task priority: P2 labels: [cli, pod, client, nix] created_at: 2026-05-31T04:50:34Z -updated_at: 2026-05-31T05:25:12Z +updated_at: 2026-05-31T05:27:04Z assignee: null legacy_ticket: null --- diff --git a/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/resolution.md b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/resolution.md new file mode 100644 index 00000000..c097168f --- /dev/null +++ b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/resolution.md @@ -0,0 +1 @@ +Switched internal Pod runtime spawning/restoration to typed `program + prefix_args` command resolution. Default runtime command now uses the current executable plus `pod`, while `INSOMNIA_POD_COMMAND` remains executable-only and not shell-parsed for development/debug overrides. `client::spawn_pod`, `SpawnPod`, and `RestorePod`/discovery restore paths use the typed command; detached process behavior and `INSOMNIA-READY` handshake are preserved. External review approved and validation passed. `insomnia-pod` packaging removal remains the next phase. diff --git a/work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md similarity index 75% rename from work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md rename to work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md index 4848c225..26cc4e7c 100644 --- a/work-items/open/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md +++ b/work-items/closed/20260531-045034-spawn-through-insomnia-pod-subcommand/thread.md @@ -83,4 +83,32 @@ Non-blocking follow-up: - Future test could capture actual argv of a mock spawned executable in a default-command call site. Current tests are adequate for this ticket because the typed command composition and existing spawn behavior are covered. +--- + + + +## Implementation report + +Main workspace validation after merge: + +- `cargo fmt --check` passed +- `cargo test -p pod-command` passed +- `cargo test -p client -p pod-command` passed +- `cargo test -p pod --lib discovery::tests` passed +- `cargo test -p pod --test spawn_pod_test` passed +- `cargo test -p tui parse_pod_subcommand_uses_runtime_mode` passed +- `cargo check -p client -p pod -p tui` passed with pre-existing dead-code warnings +- `./tickets.sh doctor` passed +- `git diff --check` passed + + +--- + + + +## Closed + +Switched internal Pod runtime spawning/restoration to typed `program + prefix_args` command resolution. Default runtime command now uses the current executable plus `pod`, while `INSOMNIA_POD_COMMAND` remains executable-only and not shell-parsed for development/debug overrides. `client::spawn_pod`, `SpawnPod`, and `RestorePod`/discovery restore paths use the typed command; detached process behavior and `INSOMNIA-READY` handshake are preserved. External review approved and validation passed. `insomnia-pod` packaging removal remains the next phase. + + ---