fix(mcp): register ticket import tools in the external MCP container

The external MCP server has its own DI container; TicketMcpTools could not
resolve TicketImportService there, so both tools failed at runtime. Also
surface a skipped import in the prime outcome and treat a sweep where every
project board fails as an error instead of an empty backlog.
This commit is contained in:
mika kuns
2026-10-01 08:49:31 +02:00
parent 7724f5eb70
commit 2b40ea2d2b
5 changed files with 28 additions and 3 deletions
@@ -311,6 +311,7 @@ public class PrimeRunnerTests : IDisposable
var outcome = await runner.FireAsync(Schedule(PrimeActionKind.ImportTickets), CancellationToken.None);
Assert.True(outcome.Success);
Assert.Contains("not configured", outcome.Message);
var only = Assert.Single(claude.AllArguments);
Assert.Contains(DailyPrepPrompt.SetMyDayTool, only);
}