{
    "name": "Roast my website",
    "description": "The full version of the free roast. The site is measured first, Muse briefs the team, four specialist agents each review one area of your site, Muse writes the roast with a fix list in priority order, and the Social agent drafts a post about it for your approval. Each agent step is one request on your own AI account.",
    "workflow_nodes": [
        {
            "id": "trigger_site",
            "type": "trigger",
            "label": "Website address",
            "position": {
                "x": 80,
                "y": 160
            }
        },
        {
            "id": "measure_site",
            "type": "service",
            "label": "Measure the site",
            "service_class": "App\\Services\\Roast\\RoastWorkflowService",
            "service_method": "measure",
            "service_params": [
                "$workflow_tenant_id",
                "$workflow_task_id"
            ],
            "position": {
                "x": 200,
                "y": 160
            }
        },
        {
            "id": "capture_site",
            "type": "service",
            "label": "Capture the site",
            "service_class": "App\\Services\\Roast\\RoastWorkflowService",
            "service_method": "capture",
            "service_params": [
                "$workflow_tenant_id",
                "$workflow_task_id"
            ],
            "position": {
                "x": 200,
                "y": 60
            }
        },
        {
            "id": "muse_brief",
            "type": "agent",
            "label": "Muse: brief the team",
            "agent_key": "muse-mode",
            "instructions": "The site was measured in this step: {{ steps.measure_site.return_value }}. State the address, what the site appears to offer and who it is for, using only those measured facts, the workflow goal and the brand memory. If \"measured\" is false, say plainly that the page could not be read and why, and tell the reviewers to report that instead of guessing. Finish with a short brief for four reviewers: search basics, trust, structure and speed, and copy. Do not invent facts about the site.",
            "position": {
                "x": 320,
                "y": 160
            }
        },
        {
            "id": "seo_review",
            "type": "agent",
            "label": "SEO Agent: search and sharing basics",
            "agent_key": "kb_seo",
            "instructions": "Using the measured facts in {{ steps.measure_site.return_value }} and the brief in {{ steps.muse_brief.return_value }}, review search and sharing basics: page title, meta description, headings, canonical address, share image and structured data. List what is present, what is missing and the one change that matters most. Use only the measured facts; anything not in them was not checked, and you must say so.",
            "position": {
                "x": 560,
                "y": 60
            }
        },
        {
            "id": "trust_review",
            "type": "agent",
            "label": "Ambassador Agent: would a visitor trust it",
            "agent_key": "mirror_mode",
            "instructions": "Using the measured facts in {{ steps.measure_site.return_value }}, review what makes a stranger trust or distrust the site: HTTPS, a privacy page, a way to contact a person, an about page, and anything that looks unfinished such as placeholder text. Report only what the measured facts show from outside the site. Anything not in them was not checked, and you must say so.",
            "position": {
                "x": 560,
                "y": 160
            }
        },
        {
            "id": "structure_review",
            "type": "agent",
            "label": "Web Builder Agent: structure, speed and accessibility",
            "agent_key": "webbuilder",
            "instructions": "Using the measured facts in {{ steps.measure_site.return_value }}, review the page structure: one clear main heading, image alternative text, mobile viewport, page weight and the server answer time. Give the three changes with the most effect. The answer time is not a full page load; say so, and say which points were measured and which you are estimating.",
            "position": {
                "x": 560,
                "y": 260
            }
        },
        {
            "id": "copy_review",
            "type": "agent",
            "label": "Marketing Agent: first impression and copy",
            "agent_key": "marketing",
            "instructions": "Using the title, description, headings and calls to action in {{ steps.measure_site.return_value }}, judge the words a stranger reads first: does the headline say what is offered and for whom, is there one clear next step, and what would a careful reader doubt. Quote the lines you are judging, exactly as measured. No hype and no invented claims.",
            "position": {
                "x": 560,
                "y": 360
            }
        },
        {
            "id": "muse_roast",
            "type": "agent",
            "label": "Muse: write the roast and the fix list",
            "agent_key": "muse-mode",
            "instructions": "Write the roast from the four reviews: {{ steps.seo_review.return_value }} {{ steps.trust_review.return_value }} {{ steps.structure_review.return_value }} {{ steps.copy_review.return_value }}. Give a one-line verdict, three honest lines with some humour and no cruelty, and a fix list in priority order with the reviewer each fix came from. Where a reviewer could not check something, say so instead of guessing.",
            "position": {
                "x": 820,
                "y": 160
            }
        },
        {
            "id": "social_post",
            "type": "agent",
            "label": "AIOHM Social Agent: draft the share post",
            "agent_key": "aiohm_social",
            "instructions": "From the roast in {{ steps.muse_roast.return_value }}, draft one short post the owner could publish about the result: what was reviewed, the most useful fix, and what they will change. Write it in the brand voice from brand memory, with no hype and no invented numbers. Give one version for LinkedIn and one shorter version for X. This is a draft only: do not publish, schedule or send anything.",
            "position": {
                "x": 1060,
                "y": 160
            }
        },
        {
            "id": "output_roast",
            "type": "output",
            "label": "Roast, fix list and draft post",
            "position": {
                "x": 1300,
                "y": 160
            }
        }
    ],
    "workflow_connections": [
        {
            "from": "trigger_site",
            "to": "measure_site"
        },
        {
            "from": "measure_site",
            "to": "capture_site"
        },
        {
            "from": "capture_site",
            "to": "muse_brief"
        },
        {
            "from": "muse_brief",
            "to": "seo_review"
        },
        {
            "from": "seo_review",
            "to": "trust_review"
        },
        {
            "from": "trust_review",
            "to": "structure_review"
        },
        {
            "from": "structure_review",
            "to": "copy_review"
        },
        {
            "from": "copy_review",
            "to": "muse_roast"
        },
        {
            "from": "muse_roast",
            "to": "social_post"
        },
        {
            "from": "social_post",
            "to": "output_roast"
        }
    ]
}
