diff --git a/docs/TASKS_TO_COMPLETE.md b/docs/TASKS_TO_COMPLETE.md index 84aa387e..e3fa5e8d 100644 --- a/docs/TASKS_TO_COMPLETE.md +++ b/docs/TASKS_TO_COMPLETE.md @@ -20,9 +20,9 @@ reject → dead_letter; cancel → failed; unknown action → 400; flag-independent; all prior tests green. - Verification command: `pnpm --filter @lysnrai/platform-service exec vitest run src/modules/fleet` -- [ ] **Scoring explainability surfaced in UI** +- [x] **Scoring explainability surfaced in UI** - Priority: P1 (data already computed; Phase-3 §14) - - Current status: `ScoreBreakdown` computed in `scheduler.ts`, discarded after selection + - Current status: ✅ DONE — `explainJob` + `GET /fleet/jobs/:id/explain` + ExplainPanel; fleet 144 green - Files involved: `scheduler.ts`, `coordinator.ts`, `routes.ts`, `fleet-client.ts`, fleet job detail page - Implementation plan: add `GET /fleet/jobs/:id/explain` returning the would-be score breakdown against current factories; render a "why this routes here" panel.