gram/conformance/cases/warn-004-undefined-reference/analyzed.json
abiwab c653893ab0
All checks were successful
CI / Build, Test & Publish (push) Successful in 4m11s
feat: replace the Gantt chart with the work plan (#88)
Introduce @gram-lang/scheduler, work plan views, mise en place modes, comments option, and CLI/editor integrations.
2026-11-05 09:49:00 +01:00

145 lines
2.6 KiB
JSON

{
"title": "Warn Undefined Reference",
"slug": "warn-undefined-reference",
"meta": {
"title": "Warn Undefined Reference"
},
"registry": {
"ingredients": {},
"cookware": {}
},
"shopping_list": [],
"cookware": [],
"sections": [
{
"title": "Section",
"ingredients": [
{
"type": "reference",
"id": "ghost",
"name": "ghost",
"_usageId": "1"
}
],
"cookware": [],
"steps": [
{
"type": "step",
"content": [
"Use ",
{
"type": "reference",
"id": "ghost",
"name": "ghost",
"_usageId": "1"
},
"."
],
"timings": {
"start": 0,
"end": 2,
"activeDuration": 2
}
}
],
"metrics": {
"totalMass": 0,
"massStatus": "incomplete",
"missingMassIngredients": []
}
}
],
"warnings": [
{
"code": "UNDEFINED_REFERENCE",
"message": "Undefined reference '&ghost' — no prior step or section produces this item.",
"item": "ghost",
"loc": {
"start": 57,
"end": 63
}
}
],
"metrics": {
"totalTime": 2,
"totalBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"idleTime": 0,
"activeTime": 2,
"activeBreakdown": [
{
"label": "section_active:Section",
"duration": 2
}
],
"preparationTime": 0,
"totalMass": 0,
"massStatus": "incomplete",
"missingMassIngredients": [],
"nutrition": {
"total": {
"calories": 0,
"fat": 0,
"carbs": 0,
"protein": 0
},
"isEstimate": false,
"coverage": 0
}
},
"miseEnPlace": [],
"tasks": {
"tasks": [
{
"id": "s0.0",
"kind": "step",
"section": 0,
"step": 0,
"duration": {
"nominal": 2
},
"consumes": [
"ghost"
],
"after": []
}
],
"sections": [
{
"day": 0
}
]
},
"schedule": {
"miseEnPlace": "perSection",
"rests": "shortest",
"totalTime": 2,
"activeTime": 2,
"preparationTime": 0,
"idleTime": 0,
"blocks": [
{
"kind": "step",
"task": "s0.0",
"section": 0,
"step": 0,
"start": 0,
"end": 2
}
],
"days": [
{
"day": 0,
"start": 0,
"end": 2,
"sections": [
0
]
}
]
}
}