From 673c7399096e511d25a7ddcf15b8076dd3472d0a Mon Sep 17 00:00:00 2001 From: Hare Date: Sat, 20 Jun 2026 22:41:24 +0900 Subject: [PATCH] chore: remove daemon crate --- .yoi/tickets/00001KVJKY1BW/item.md | 4 ++-- .yoi/tickets/00001KVJKY1BW/resolution.md | 1 + .yoi/tickets/00001KVJKY1BW/thread.md | 27 ++++++++++++++++++++++++ Cargo.lock | 10 --------- Cargo.toml | 2 -- crates/daemon/Cargo.toml | 10 --------- crates/daemon/README.md | 25 ---------------------- crates/daemon/src/lib.rs | 1 - crates/tui/src/app.rs | 4 ++-- package.nix | 2 +- 10 files changed, 33 insertions(+), 53 deletions(-) create mode 100644 .yoi/tickets/00001KVJKY1BW/resolution.md delete mode 100644 crates/daemon/Cargo.toml delete mode 100644 crates/daemon/README.md delete mode 100644 crates/daemon/src/lib.rs diff --git a/.yoi/tickets/00001KVJKY1BW/item.md b/.yoi/tickets/00001KVJKY1BW/item.md index 3b5f99e0..f537097f 100644 --- a/.yoi/tickets/00001KVJKY1BW/item.md +++ b/.yoi/tickets/00001KVJKY1BW/item.md @@ -1,8 +1,8 @@ --- title: 'Remove obsolete daemon crate' -state: 'inprogress' +state: 'closed' created_at: '2026-06-20T13:36:13Z' -updated_at: '2026-06-20T13:36:51Z' +updated_at: '2026-06-20T13:41:19Z' assignee: null queued_by: 'yoi ticket' queued_at: '2026-06-20T13:36:51Z' diff --git a/.yoi/tickets/00001KVJKY1BW/resolution.md b/.yoi/tickets/00001KVJKY1BW/resolution.md new file mode 100644 index 00000000..7316ba8d --- /dev/null +++ b/.yoi/tickets/00001KVJKY1BW/resolution.md @@ -0,0 +1 @@ +Removed obsolete placeholder crates/daemon workspace member. Updated Cargo workspace/default-members, Cargo.lock, TUI completion fixtures, and package.nix cargoHash. Validation passed: cargo fmt --check; cargo test -p tui; cargo check --workspace; git diff --check; yoi ticket doctor; nix build .#yoi --no-link. diff --git a/.yoi/tickets/00001KVJKY1BW/thread.md b/.yoi/tickets/00001KVJKY1BW/thread.md index b573307c..d6068c5e 100644 --- a/.yoi/tickets/00001KVJKY1BW/thread.md +++ b/.yoi/tickets/00001KVJKY1BW/thread.md @@ -39,4 +39,31 @@ Ticket を `yoi ticket` が queued にしました。 State changed to `inprogress`. +--- + + + +## State changed + +State changed to `done`. + + +--- + + + +## State changed + +Ticket を closed にしました。 + + +--- + + + +## 完了 + +Removed obsolete placeholder crates/daemon workspace member. Updated Cargo workspace/default-members, Cargo.lock, TUI completion fixtures, and package.nix cargoHash. Validation passed: cargo fmt --check; cargo test -p tui; cargo check --workspace; git diff --check; yoi ticket doctor; nix build .#yoi --no-link. + + --- diff --git a/Cargo.lock b/Cargo.lock index 83e9e12a..cd96cb82 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -790,15 +790,6 @@ dependencies = [ "phf 0.11.3", ] -[[package]] -name = "daemon" -version = "0.1.0" -dependencies = [ - "manifest", - "protocol", - "tokio", -] - [[package]] name = "darling" version = "0.23.0" @@ -4297,7 +4288,6 @@ dependencies = [ "bytes", "libc", "mio", - "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", diff --git a/Cargo.toml b/Cargo.toml index 8ce48d23..210f5bc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,6 @@ resolver = "2" members = [ "crates/client", - "crates/daemon", "crates/llm-worker", "crates/llm-worker-macros", "crates/session-store", @@ -29,7 +28,6 @@ members = [ ] default-members = [ "crates/client", - "crates/daemon", "crates/llm-worker", "crates/llm-worker-macros", "crates/session-store", diff --git a/crates/daemon/Cargo.toml b/crates/daemon/Cargo.toml deleted file mode 100644 index 76e3fc99..00000000 --- a/crates/daemon/Cargo.toml +++ /dev/null @@ -1,10 +0,0 @@ -[package] -name = "daemon" -version = "0.1.0" -edition.workspace = true -license.workspace = true - -[dependencies] -manifest = { workspace = true } -protocol = { workspace = true } -tokio = { workspace = true, features = ["full"] } diff --git a/crates/daemon/README.md b/crates/daemon/README.md deleted file mode 100644 index 7f6a86b6..00000000 --- a/crates/daemon/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# daemon - -## Role - -`daemon` is reserved for future long-lived Pod lifecycle management. - -## Boundaries - -Owns: - -- daemon-specific lifecycle coordination when that design is implemented - -Does not own today: - -- current Pod socket serving (`pod`) -- normal CLI/TUI startup (`yoi`, `tui`) -- live registry mechanics already handled elsewhere (`pod-registry`) - -## Design notes - -This crate exists as a placeholder. Do not route current runtime authority through it until there is a concrete daemon design and work item. - -## See also - -- [`../../docs/design/pod-session-state.md`](../../docs/design/pod-session-state.md) diff --git a/crates/daemon/src/lib.rs b/crates/daemon/src/lib.rs deleted file mode 100644 index 8b137891..00000000 --- a/crates/daemon/src/lib.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/crates/tui/src/app.rs b/crates/tui/src/app.rs index 0ee24fa3..a1c3f130 100644 --- a/crates/tui/src/app.rs +++ b/crates/tui/src/app.rs @@ -2725,7 +2725,7 @@ mod completion_flow_tests { let _ = app.refresh_completion(); app.completion.as_mut().unwrap().entries = vec![ CompletionEntry { - value: "crates/daemon".into(), + value: "crates/client".into(), is_dir: true, }, CompletionEntry { @@ -2810,7 +2810,7 @@ mod completion_flow_tests { } let _ = app.refresh_completion(); app.completion.as_mut().unwrap().entries = vec![CompletionEntry { - value: "crates/daemon".into(), + value: "crates/client".into(), is_dir: true, }]; assert!(!app.chipify_completion_if_exact_match()); diff --git a/package.nix b/package.nix index 402f992b..35743036 100644 --- a/package.nix +++ b/package.nix @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { filter = sourceFilter; }; - cargoHash = "sha256-rvsjn4BBxd9vt4nytPgUh4l/OQCRpqHbUR4jHoH589U="; + cargoHash = "sha256-GUqhvq+JhJokk1R4VVeVz5cZe/6oSrVMyKjcltZEWqE="; depsExtraArgs = { # Older fetchCargoVendor utilities used crates.io's API download endpoint,