Add PlanningSessionFiles, PlanningSessionStartContext/ResumeContext DTOs,
PlanningSessionManager.StartAsync (file scaffolding + status transition),
and integration tests. Also fix migration discovery by adding [DbContext]
attribute to all migration classes and switch DbFixture to EnsureCreated.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
- 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>