{
    "format": "atlasxt-template",
    "version": 1,
    "kind": "workflow",
    "template": {
        "name": "Quarterly Business Review",
        "description": "Prepare and run an executive review that ends with evidence, decisions, and commitments, then put the next review on the calendar.",
        "nodes": [
            {
                "id": "commitments",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 140
                },
                "data": {
                    "taskKind": "custom",
                    "title": "Close last period's commitments",
                    "description": "Mark each commitment kept, missed, or still open. A missed commitment needs an owner and a reason before the story is written.",
                    "customTaskConfig": {
                        "fields": [
                            {
                                "id": "commitments-f1",
                                "label": "Commitment",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "commitments-f2",
                                "label": "Status",
                                "type": "text",
                                "required": true
                            },
                            {
                                "id": "commitments-f3",
                                "label": "Evidence",
                                "type": "text",
                                "required": true
                            }
                        ]
                    }
                }
            },
            {
                "id": "evidence",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 280
                },
                "data": {
                    "taskKind": "ai-task",
                    "title": "Assemble the value evidence",
                    "description": "Pull the measures named in the value plan. Draft a plain-language result for each factor. Flag any number the business owner has not seen."
                }
            },
            {
                "id": "draft",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 420
                },
                "data": {
                    "taskKind": "document-creation",
                    "title": "Draft the executive review",
                    "description": "Write the review document: purpose, strategic alignment, health, value evidence, risks that need an executive, and proposed commitments."
                }
            },
            {
                "id": "prebrief",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 560
                },
                "data": {
                    "taskKind": "meetings",
                    "title": "Pre-brief the sponsor and skeptics",
                    "description": "Walk the sponsor and anyone who can block the meeting through the evidence. Remove surprises. Change the draft where they are right."
                }
            },
            {
                "id": "quality",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 700
                },
                "data": {
                    "taskKind": "approval",
                    "title": "BRM quality review",
                    "description": "A second BRM checks that every commitment has an owner and a done-when, and that every value claim has a source.",
                    "outcomes": [
                        "Ready for the executive",
                        "Draft goes back"
                    ]
                }
            },
            {
                "id": "meeting",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 840
                },
                "data": {
                    "taskKind": "meetings",
                    "title": "Facilitate the executive review",
                    "description": "Spend the meeting on decisions and commitments. Do not read the document aloud. Record the decision in the room."
                }
            },
            {
                "id": "record",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 980
                },
                "data": {
                    "taskKind": "document-creation",
                    "title": "Record decisions and commitments",
                    "description": "Update the review document the same day. Send owners their commitments and the definition of done."
                }
            },
            {
                "id": "readout",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 1120
                },
                "data": {
                    "taskKind": "stakeholder-review",
                    "title": "Send the readout",
                    "description": "Share the decisions, the value evidence, and the next review date with everyone who attended and everyone who owns a commitment.",
                    "outcomes": [
                        "Readout accepted"
                    ]
                }
            },
            {
                "id": "next",
                "type": "task",
                "position": {
                    "x": 80,
                    "y": 1260
                },
                "data": {
                    "taskKind": "alert",
                    "title": "Schedule the next review",
                    "description": "Put the next executive review on the sponsor's calendar and set a reminder four weeks prior to reopen commitments."
                }
            }
        ],
        "edges": [
            {
                "id": "e1",
                "source": "commitments",
                "target": "evidence",
                "label": "Next"
            },
            {
                "id": "e2",
                "source": "evidence",
                "target": "draft",
                "label": "Next"
            },
            {
                "id": "e3",
                "source": "draft",
                "target": "prebrief",
                "label": "Next"
            },
            {
                "id": "e4",
                "source": "prebrief",
                "target": "quality",
                "label": "Next"
            },
            {
                "id": "e5",
                "source": "quality",
                "target": "meeting",
                "label": "Next"
            },
            {
                "id": "e6",
                "source": "meeting",
                "target": "record",
                "label": "Next"
            },
            {
                "id": "e7",
                "source": "record",
                "target": "readout",
                "label": "Next"
            },
            {
                "id": "e8",
                "source": "readout",
                "target": "next",
                "label": "Next"
            }
        ]
    }
}
