AI ยท console.warn
a risk summary needs a Gantt and/or a Kanban board to ground on. Pass { kind: "risk", gantt, board } (or precomputed earnedValue/schedule/breaches); there is nothing to summarise.
Printed by AI, prefixed [lattice], since 1.47.0.
Warnings reference › ai:risk:no-sources
- Identifier
ai:risk:no-sources- Raised by
- AI
- Since
- 1.47.0
What happened
A risk summary was requested and none of its three sources was available: no schedule, no earned value, no SLA breaches. The summary is built from facts, and with no source there are no facts - so what comes back has nothing in it to narrate.
The fix
Pass the gantt controller and/or the kanban board, or hand in pre-computed earnedValue, schedule or breaches objects.
The smallest fix
ai.narrate({ kind: 'risk', gantt, board });
Reference
Covered in full at the API reference.