From 3c36d1feb899ffded71c0f2ba0fa1b8a896d8cc2 Mon Sep 17 00:00:00 2001 From: Hare Date: Fri, 12 Jun 2026 11:45:20 +0900 Subject: [PATCH] fix: use cwd for ticket backend --- crates/pod/src/controller.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/pod/src/controller.rs b/crates/pod/src/controller.rs index 4146d7f8..425b1eea 100644 --- a/crates/pod/src/controller.rs +++ b/crates/pod/src/controller.rs @@ -555,9 +555,12 @@ where crate::feature::builtin::ticket::TicketFeatureAccess::Lifecycle } }; + // Ticket tools are typed operations over the currently checked-out work + // tree. Use the Pod cwd rather than the runtime workspace root so a + // dedicated Orchestrator worktree gets its own `.yoi/tickets` backend. feature_registry.add_module( crate::feature::builtin::ticket::ticket_tools_feature_with_options( - &workspace_root, + &cwd, feature_config.ticket.enabled.then_some(ticket_access), feature_config.ticket_orchestration.enabled, ),