feat/planning-sessions-worker #7
Reference in New Issue
Block a user
Delete Branch "feat/planning-sessions-worker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Add PlanningMcpContextAccessor (Option A) to read PlanningMcpContext from HttpContext.Items set by PlanningTokenAuthMiddleware - Annotate PlanningMcpService with [McpServerToolType]/[McpServerTool] and remove PlanningMcpContext ctx parameter from all tool methods - Broadcast TaskUpdated(parentTaskId) via HubBroadcaster after every mutation in PlanningMcpService - Refactor PlanningSessionManager to accept IDbContextFactory for singleton-safe use in DI; keep direct-repo ctor for tests - Register PlanningSessionManager (singleton), IPlanningTerminalLauncher, PlanningMcpContextAccessor, PlanningMcpService, and MCP server in Program.cs; wire PlanningTokenAuthMiddleware and MapMcp("/mcp") - Update PlanningMcpServiceTests with fake HttpContext accessor and no-op HubBroadcaster (avoids Moq dependency) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>