{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "Write guidance for an agent reader",
    "locale": "en",
    "quality_profile": "showcase",
    "output": ".docs-artifacts/archify/write-agent-facing-guidance.html",
    "repository": {
      "url": "git@github.com:dragoscirjan/ai.git",
      "revision": "ae266fed04e31a327960cf7313c4edddc6e59701",
      "link_mode": "local-only"
    },
    "legend": {
      "entries": {
        "backend": {
          "label": "Guided work"
        },
        "security": {
          "label": "Owner decision"
        },
        "external": {
          "label": "Stopped branch"
        }
      }
    }
  },
  "lanes": [
    {
      "id": "work",
      "label": "Suggested skill handoffs"
    }
  ],
  "mainPath": [
    "step-0",
    "step-1",
    "step-2",
    "step-3"
  ],
  "nodes": [
    {
      "id": "step-0",
      "lane": "work",
      "col": 0,
      "type": "backend",
      "label": "Identify the agent's task",
      "sublabel": "writing-for-agents",
      "icon": "none",
      "sources": [
        {
          "path": ".agents/skills/agentic-work/sync-my-skills/assets/skill-catalog.yaml",
          "line": 653,
          "end_line": 684,
          "label": "Pinned source and runtime record"
        }
      ]
    },
    {
      "id": "step-1",
      "lane": "work",
      "col": 1,
      "type": "backend",
      "label": "Draft actions + references",
      "sublabel": "writing-for-agents",
      "icon": "none",
      "sources": [
        {
          "path": ".agents/skills/agentic-work/sync-my-skills/assets/skill-catalog.yaml",
          "line": 653,
          "end_line": 684,
          "label": "Pinned source and runtime record"
        }
      ]
    },
    {
      "id": "step-2",
      "lane": "work",
      "col": 2,
      "type": "backend",
      "label": "Check clarity + conditions",
      "sublabel": "asd-ste100-technical",
      "icon": "none",
      "sources": [
        {
          "path": ".agents/skills/documentation/asd-ste100-technical/SKILL.md",
          "line": 1,
          "end_line": 32,
          "label": "Authoritative skill instructions"
        }
      ]
    },
    {
      "id": "step-3",
      "lane": "work",
      "col": 3,
      "type": "backend",
      "label": "Deliver the reviewed draft",
      "sublabel": "writing-for-agents",
      "icon": "none",
      "sources": [
        {
          "path": ".agents/skills/agentic-work/sync-my-skills/assets/skill-catalog.yaml",
          "line": 653,
          "end_line": 684,
          "label": "Pinned source and runtime record"
        }
      ]
    }
  ],
  "edges": [
    {
      "id": "next-0",
      "from": "step-0",
      "to": "step-1",
      "role": "main"
    },
    {
      "id": "next-1",
      "from": "step-1",
      "to": "step-2",
      "role": "main"
    },
    {
      "id": "next-2",
      "from": "step-2",
      "to": "step-3",
      "role": "main"
    }
  ],
  "semanticChecks": {
    "allowedRoots": [
      "step-0"
    ],
    "allowedTerminals": [
      "step-3"
    ]
  },
  "cards": [
    {
      "dot": "cyan",
      "title": "Expected outcome",
      "items": [
        "A reviewed instruction draft with co-located rules and clear completion boundaries."
      ]
    },
    {
      "dot": "amber",
      "title": "Scope and stopping point",
      "items": [
        "This route ends at a draft. Existing project-policy edits must go through instruction-maintenance and exact human approval before mutation.",
        "Suggested handoffs are not declared instruction dependencies or permission for another phase."
      ]
    }
  ]
}
