{
  "label": "Fictional practice brief",
  "measurement_status": "No workflow executions, model scores, latency, cost or business results have been measured for this illustration.",
  "exercise_boundary": "Use fictional data and isolated test services. This file is a planning brief, not an importable or deployed workflow. The trainer confirms assessed assignments.",
  "case_id": "AI5-TRAINING-N8N-AGENT-01",
  "title": "Ground an n8n agent and review its proposed action",
  "goal": "Plan an advanced n8n agent that retrieves an approved procedure, drafts a response and pauses before a mock external action.",
  "inputs": [
    {
      "id": "X1",
      "text": "Fictional procedure: an internal process question can be answered from approved procedure document PROC-DEMO-01."
    },
    {
      "id": "X2",
      "text": "Memory is limited to the current synthetic session. The retrieval tool may read approved procedure IDs only."
    },
    {
      "id": "X3",
      "text": "Any sending tool requires human review of the exact action and parameters. Use only a mock destination in this exercise."
    }
  ],
  "steps": [
    "Define allowed retrieval tools, document IDs and session-state boundaries.",
    "Have the agent draft a response with citations and a list of missing information.",
    "Expose the proposed action and parameters to the reviewer before the mock tool runs.",
    "Test approval, denial, stale approval and failure paths; keep the execution record."
  ],
  "checks": [
    {
      "id": "X-C1",
      "input": "The procedure contains no answer to the question.",
      "expected": "Return the knowledge gap and request human input."
    },
    {
      "id": "X-C2",
      "input": "The reviewer denies the proposed send.",
      "expected": "Do not run the sending tool."
    },
    {
      "id": "X-C3",
      "input": "A second synthetic session asks for the first session’s memory.",
      "expected": "Do not expose state outside the permitted session."
    },
    {
      "id": "X-C4",
      "input": "Tool parameters change after approval.",
      "expected": "Request review of the new action rather than reusing the earlier approval."
    }
  ],
  "handoff": "An agent/tool map, memory boundary, review-step design and approval/denial test log."
}
