{
  "__identityEvaluation": {
    "mode": "scripted",
    "workflow": {
      "v": 2,
      "name": "Is this the same individual?",
      "schemas": {
        "Input": {
          "type": "object",
          "properties": {
            "subject": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "birthYear": {
                  "type": "integer"
                },
                "location": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "birthYear",
                "location",
                "role"
              ],
              "additionalProperties": false
            },
            "article": {
              "type": "object",
              "required": [
                "id",
                "text",
                "name",
                "birthYear",
                "location",
                "role"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "text": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "birthYear": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "location": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "role": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "phase": {
                  "type": "string"
                },
                "channel": {
                  "type": "string"
                },
                "identity": {
                  "type": "string"
                },
                "identityEvidence": {
                  "type": "object",
                  "required": [
                    "id",
                    "text"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1
                    },
                    "text": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              },
              "additionalProperties": true
            }
          },
          "required": [
            "subject",
            "article"
          ],
          "additionalProperties": false
        },
        "Identity": {
          "type": "object",
          "properties": {
            "identity": {
              "type": "string",
              "enum": [
                "confirmed",
                "unrelated",
                "unresolved"
              ],
              "description": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "required": [
            "identity"
          ],
          "additionalProperties": false
        }
      },
      "input": {
        "schemaId": "Input"
      },
      "output": {
        "schemaId": "Identity",
        "path": "identity"
      },
      "root": {
        "node": "judge",
        "label": "identity-match",
        "state": {
          "subject": "{subject}",
          "article": "{article}"
        },
        "out": "Identity",
        "as": "identity"
      }
    },
    "cases": [
      {
        "input": {
          "subject": {
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director"
          },
          "article": {
            "id": "A1",
            "phase": "initial",
            "channel": "news",
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director",
            "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
          }
        },
        "expected": "confirmed",
        "actual": "confirmed",
        "passed": true,
        "runtimeStatus": "complete",
        "events": [
          {
            "type": "node.start",
            "label": "identity-match",
            "detail": {
              "kind": "judge"
            },
            "executionPath": "/root"
          },
          {
            "type": "judge.answered",
            "label": "identity-match",
            "detail": {
              "kind": "judge",
              "as": "identity",
              "value": {
                "identity": "confirmed"
              },
              "sidecar": {
                "answers": {
                  "identity": {
                    "type": "choice",
                    "choice": "confirmed",
                    "confidence": 1,
                    "probabilities": {
                      "confirmed": 1,
                      "unrelated": 0,
                      "unresolved": 0
                    }
                  }
                },
                "confidence": {
                  "identity": 1
                },
                "weakest": "identity",
                "min_confidence": 1
              },
              "model": null,
              "cost_usd": null
            },
            "executionPath": "/root"
          },
          {
            "type": "node.end",
            "label": "identity-match",
            "detail": {
              "kind": "judge",
              "status": "ok"
            },
            "executionPath": "/root"
          }
        ],
        "calls": [
          {
            "kind": "judge",
            "label": "identity-match",
            "input": {
              "subject": {
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director"
              },
              "article": {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              }
            },
            "questions": {
              "identity": {
                "type": "choice",
                "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
                "criteria": {
                  "confirmed": "Identifiers link the source to the subject.",
                  "unrelated": "Identifiers establish a different subject.",
                  "unresolved": "Insufficient identifying evidence; retain for follow-up."
                }
              }
            },
            "output": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "confirmed",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 1,
                    "unrelated": 0,
                    "unresolved": 0
                  }
                }
              }
            }
          }
        ]
      },
      {
        "input": {
          "subject": {
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director"
          },
          "article": {
            "id": "A2",
            "phase": "initial",
            "channel": "archive",
            "name": "Avery Sample",
            "birthYear": null,
            "location": null,
            "role": null,
            "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
          }
        },
        "expected": "unresolved",
        "actual": "unresolved",
        "passed": true,
        "runtimeStatus": "complete",
        "events": [
          {
            "type": "node.start",
            "label": "identity-match",
            "detail": {
              "kind": "judge"
            },
            "executionPath": "/root"
          },
          {
            "type": "judge.answered",
            "label": "identity-match",
            "detail": {
              "kind": "judge",
              "as": "identity",
              "value": {
                "identity": "unresolved"
              },
              "sidecar": {
                "answers": {
                  "identity": {
                    "type": "choice",
                    "choice": "unresolved",
                    "confidence": 1,
                    "probabilities": {
                      "confirmed": 0,
                      "unrelated": 0,
                      "unresolved": 1
                    }
                  }
                },
                "confidence": {
                  "identity": 1
                },
                "weakest": "identity",
                "min_confidence": 1
              },
              "model": null,
              "cost_usd": null
            },
            "executionPath": "/root"
          },
          {
            "type": "node.end",
            "label": "identity-match",
            "detail": {
              "kind": "judge",
              "status": "ok"
            },
            "executionPath": "/root"
          }
        ],
        "calls": [
          {
            "kind": "judge",
            "label": "identity-match",
            "input": {
              "subject": {
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director"
              },
              "article": {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            },
            "questions": {
              "identity": {
                "type": "choice",
                "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
                "criteria": {
                  "confirmed": "Identifiers link the source to the subject.",
                  "unrelated": "Identifiers establish a different subject.",
                  "unresolved": "Insufficient identifying evidence; retain for follow-up."
                }
              }
            },
            "output": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unresolved",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 0,
                    "unresolved": 1
                  }
                }
              }
            }
          }
        ]
      },
      {
        "input": {
          "subject": {
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director"
          },
          "article": {
            "id": "A3",
            "phase": "initial",
            "channel": "regulatory",
            "name": "Avery Sample",
            "birthYear": 1970,
            "location": "Other City",
            "role": "architect",
            "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
          }
        },
        "expected": "unrelated",
        "actual": "unrelated",
        "passed": true,
        "runtimeStatus": "complete",
        "events": [
          {
            "type": "node.start",
            "label": "identity-match",
            "detail": {
              "kind": "judge"
            },
            "executionPath": "/root"
          },
          {
            "type": "judge.answered",
            "label": "identity-match",
            "detail": {
              "kind": "judge",
              "as": "identity",
              "value": {
                "identity": "unrelated"
              },
              "sidecar": {
                "answers": {
                  "identity": {
                    "type": "choice",
                    "choice": "unrelated",
                    "confidence": 1,
                    "probabilities": {
                      "confirmed": 0,
                      "unrelated": 1,
                      "unresolved": 0
                    }
                  }
                },
                "confidence": {
                  "identity": 1
                },
                "weakest": "identity",
                "min_confidence": 1
              },
              "model": null,
              "cost_usd": null
            },
            "executionPath": "/root"
          },
          {
            "type": "node.end",
            "label": "identity-match",
            "detail": {
              "kind": "judge",
              "status": "ok"
            },
            "executionPath": "/root"
          }
        ],
        "calls": [
          {
            "kind": "judge",
            "label": "identity-match",
            "input": {
              "subject": {
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director"
              },
              "article": {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            },
            "questions": {
              "identity": {
                "type": "choice",
                "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
                "criteria": {
                  "confirmed": "Identifiers link the source to the subject.",
                  "unrelated": "Identifiers establish a different subject.",
                  "unresolved": "Insufficient identifying evidence; retain for follow-up."
                }
              }
            },
            "output": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unrelated",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 1,
                    "unresolved": 0
                  }
                }
              }
            }
          }
        ]
      }
    ],
    "regression": {
      "input": {
        "subject": {
          "name": "Avery Sample",
          "birthYear": 1984,
          "location": "Example City",
          "role": "company director"
        },
        "article": {
          "id": "A2",
          "phase": "initial",
          "channel": "archive",
          "name": "Avery Sample",
          "birthYear": null,
          "location": null,
          "role": null,
          "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
        }
      },
      "expected": "unresolved",
      "actual": "confirmed",
      "passed": false,
      "runtimeStatus": "complete",
      "events": [
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "confirmed"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "confirmed",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 1,
                    "unrelated": 0,
                    "unresolved": 0
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root"
        }
      ],
      "calls": [
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "confirmed",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 1,
                  "unrelated": 0,
                  "unresolved": 0
                }
              }
            }
          }
        }
      ]
    }
  },
  "research": {
    "standard": {
      "example": "research",
      "scenario": "standard",
      "mode": "scripted",
      "input": {
        "question": "A research question",
        "sources": [
          {
            "id": "D1",
            "angle": "origins",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D2",
            "angle": "evidence",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D3",
            "angle": "alternatives",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D4",
            "angle": "limitations",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D-noise",
            "angle": "evidence",
            "phase": "initial",
            "relevant": false,
            "text": "An unrelated promotional announcement with no evidence for this research question."
          },
          {
            "id": "D5",
            "angle": "open questions",
            "phase": "followup",
            "relevant": true,
            "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "question": "A research question",
          "sources": [
            {
              "id": "D1",
              "angle": "origins",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D2",
              "angle": "evidence",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D3",
              "angle": "alternatives",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D4",
              "angle": "limitations",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D-noise",
              "angle": "evidence",
              "phase": "initial",
              "relevant": false,
              "text": "An unrelated promotional announcement with no evidence for this research question."
            },
            {
              "id": "D5",
              "angle": "open questions",
              "phase": "followup",
              "relevant": true,
              "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
            }
          ],
          "plan": {
            "questions": [
              {
                "angle": "origins",
                "question": "What does the supplied material establish about origins for: A research question?"
              },
              {
                "angle": "evidence",
                "question": "What does the supplied material establish about evidence for: A research question?"
              },
              {
                "angle": "alternatives",
                "question": "What does the supplied material establish about alternatives for: A research question?"
              },
              {
                "angle": "limitations",
                "question": "What does the supplied material establish about limitations for: A research question?"
              },
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "researchResults": [
            {
              "angle": "origins",
              "question": "What does the supplied material establish about origins for: A research question?",
              "records": [
                {
                  "id": "D1",
                  "angle": "origins",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "gap": false
            },
            {
              "angle": "evidence",
              "question": "What does the supplied material establish about evidence for: A research question?",
              "records": [
                {
                  "id": "D2",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D-noise",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": false,
                  "text": "An unrelated promotional announcement with no evidence for this research question."
                }
              ],
              "gap": false
            },
            {
              "angle": "alternatives",
              "question": "What does the supplied material establish about alternatives for: A research question?",
              "records": [
                {
                  "id": "D3",
                  "angle": "alternatives",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "gap": false
            },
            {
              "angle": "limitations",
              "question": "What does the supplied material establish about limitations for: A research question?",
              "records": [
                {
                  "id": "D4",
                  "angle": "limitations",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "gap": false
            },
            {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?",
              "records": [],
              "gap": true
            }
          ],
          "rawEvidence": [
            {
              "id": "D1",
              "angle": "origins",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D2",
              "angle": "evidence",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D-noise",
              "angle": "evidence",
              "phase": "initial",
              "relevant": false,
              "text": "An unrelated promotional announcement with no evidence for this research question."
            },
            {
              "id": "D3",
              "angle": "alternatives",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D4",
              "angle": "limitations",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
            }
          ],
          "gaps": [
            {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            }
          ],
          "usefulEvidence": {
            "items": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "values": [
              {
                "useful": true
              },
              {
                "useful": true
              },
              {
                "useful": false
              },
              {
                "useful": true
              },
              {
                "useful": true
              }
            ],
            "answers": [
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              }
            ],
            "kept": [
              0,
              1,
              3,
              4
            ]
          },
          "followupChoice": {
            "index": 0,
            "item": {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            },
            "none": false,
            "option": "What does the supplied material establish about open questions for: A research question?"
          },
          "followupChoice$answers": {
            "answers": {
              "pick": {
                "type": "choice",
                "choice": "item_0",
                "confidence": 1,
                "probabilities": {
                  "item_0": 1,
                  "none_of_these": 0
                }
              }
            },
            "confidence": {
              "pick": 1
            },
            "weakest": "pick",
            "min_confidence": 1
          },
          "followupQueue": [
            {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            }
          ],
          "followups": [
            {
              "angle": "open questions",
              "records": [
                {
                  "id": "D5",
                  "angle": "open questions",
                  "phase": "followup",
                  "relevant": true,
                  "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
                }
              ],
              "resolved": true
            }
          ],
          "report": {
            "summary": "Five research angles were explored against illustrative records. Relevant evidence was retained; one useful gap was selected for follow-up. This is a workflow demonstration, not an answer to a substantive research question.",
            "findings": [
              {
                "label": "D1",
                "detail": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D1"
                ]
              },
              {
                "label": "D2",
                "detail": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D2"
                ]
              },
              {
                "label": "D3",
                "detail": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D3"
                ]
              },
              {
                "label": "D4",
                "detail": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D4"
                ]
              },
              {
                "label": "D5",
                "detail": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed.",
                "sourceIds": [
                  "D5"
                ]
              }
            ],
            "uncertainties": []
          }
        },
        "output": {
          "summary": "Five research angles were explored against illustrative records. Relevant evidence was retained; one useful gap was selected for follow-up. This is a workflow demonstration, not an answer to a substantive research question.",
          "findings": [
            {
              "label": "D1",
              "detail": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D1"
              ]
            },
            {
              "label": "D2",
              "detail": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D2"
              ]
            },
            {
              "label": "D3",
              "detail": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D3"
              ]
            },
            {
              "label": "D4",
              "detail": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D4"
              ]
            },
            {
              "label": "D5",
              "detail": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed.",
              "sourceIds": [
                "D5"
              ]
            }
          ],
          "uncertainties": []
        }
      },
      "events": [
        {
          "type": "node.start",
          "label": "research-planner",
          "detail": {
            "kind": "decide"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.end",
          "label": "research-planner",
          "detail": {
            "kind": "decide",
            "status": "ok"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/1/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/2/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/3/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/4/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/3/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/4/body"
        },
        {
          "type": "node.start",
          "label": "collect-research",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "code.patch",
          "label": "collect-research",
          "detail": {
            "rawEvidence": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gaps": [
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.end",
          "label": "collect-research",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.start",
          "label": "sift-evidence",
          "detail": {
            "kind": "sift"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "sift-evidence",
          "detail": {
            "kind": "sift",
            "as": "usefulEvidence",
            "value": {
              "items": [
                {
                  "id": "D1",
                  "angle": "origins",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D2",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D3",
                  "angle": "alternatives",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D4",
                  "angle": "limitations",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "values": [
                {
                  "useful": true
                },
                {
                  "useful": true
                },
                {
                  "useful": false
                },
                {
                  "useful": true
                },
                {
                  "useful": true
                }
              ],
              "answers": [
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                }
              ],
              "kept": [
                0,
                1,
                3,
                4
              ]
            },
            "count": 5,
            "kept": 4,
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "sift-evidence",
          "detail": {
            "kind": "sift",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "pick-followup",
          "detail": {
            "kind": "pick"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "judge.answered",
          "label": "pick-followup",
          "detail": {
            "kind": "pick",
            "as": "followupChoice",
            "value": {
              "index": 0,
              "item": {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              },
              "none": false,
              "option": "What does the supplied material establish about open questions for: A research question?"
            },
            "sidecar": {
              "answers": {
                "pick": {
                  "type": "choice",
                  "choice": "item_0",
                  "confidence": 1,
                  "probabilities": {
                    "item_0": 1,
                    "none_of_these": 0
                  }
                }
              },
              "confidence": {
                "pick": 1
              },
              "weakest": "pick",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.end",
          "label": "pick-followup",
          "detail": {
            "kind": "pick",
            "status": "ok"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "followup-gate",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "code.patch",
          "label": "followup-gate",
          "detail": {
            "followupQueue": [
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.end",
          "label": "followup-gate",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "followup-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/6/items/0/body"
        },
        {
          "type": "node.end",
          "label": "followup-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/6/items/0/body"
        },
        {
          "type": "node.start",
          "label": "consolidate-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "node.end",
          "label": "consolidate-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/7"
        }
      ],
      "calls": [
        {
          "kind": "agent",
          "nodeKind": "decide",
          "label": "research-planner",
          "input": {
            "question": "A research question"
          },
          "output": {
            "questions": [
              {
                "angle": "origins",
                "question": "What does the supplied material establish about origins for: A research question?"
              },
              {
                "angle": "evidence",
                "question": "What does the supplied material establish about evidence for: A research question?"
              },
              {
                "angle": "alternatives",
                "question": "What does the supplied material establish about alternatives for: A research question?"
              },
              {
                "angle": "limitations",
                "question": "What does the supplied material establish about limitations for: A research question?"
              },
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "origins",
              "question": "What does the supplied material establish about origins for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 0
          },
          "output": {
            "angle": "origins",
            "question": "What does the supplied material establish about origins for: A research question?",
            "records": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "evidence",
              "question": "What does the supplied material establish about evidence for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 1
          },
          "output": {
            "angle": "evidence",
            "question": "What does the supplied material establish about evidence for: A research question?",
            "records": [
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "alternatives",
              "question": "What does the supplied material establish about alternatives for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 2
          },
          "output": {
            "angle": "alternatives",
            "question": "What does the supplied material establish about alternatives for: A research question?",
            "records": [
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "limitations",
              "question": "What does the supplied material establish about limitations for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 3
          },
          "output": {
            "angle": "limitations",
            "question": "What does the supplied material establish about limitations for: A research question?",
            "records": [
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 4
          },
          "output": {
            "angle": "open questions",
            "question": "What does the supplied material establish about open questions for: A research question?",
            "records": [],
            "gap": true
          }
        },
        {
          "kind": "sift",
          "label": "sift-evidence",
          "input": {
            "question": "A research question",
            "items": [
              {
                "id": "item_0",
                "summary": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D1",
                  "angle": "origins",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                }
              },
              {
                "id": "item_1",
                "summary": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D2",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                }
              },
              {
                "id": "item_2",
                "summary": "An unrelated promotional announcement with no evidence for this research question.",
                "item": {
                  "id": "D-noise",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": false,
                  "text": "An unrelated promotional announcement with no evidence for this research question."
                }
              },
              {
                "id": "item_3",
                "summary": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D3",
                  "angle": "alternatives",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                }
              },
              {
                "id": "item_4",
                "summary": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D4",
                  "angle": "limitations",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                }
              }
            ]
          },
          "questions": {
            "0.useful": {
              "type": "noul",
              "instructions": "For `items[0]` (id item_0): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "1.useful": {
              "type": "noul",
              "instructions": "For `items[1]` (id item_1): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "2.useful": {
              "type": "noul",
              "instructions": "For `items[2]` (id item_2): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "3.useful": {
              "type": "noul",
              "instructions": "For `items[3]` (id item_3): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "4.useful": {
              "type": "noul",
              "instructions": "For `items[4]` (id item_4): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            }
          },
          "output": {
            "answers": {
              "0.useful": {
                "type": "noul",
                "noul": 1
              },
              "1.useful": {
                "type": "noul",
                "noul": 1
              },
              "2.useful": {
                "type": "noul",
                "noul": 0
              },
              "3.useful": {
                "type": "noul",
                "noul": 1
              },
              "4.useful": {
                "type": "noul",
                "noul": 1
              }
            }
          }
        },
        {
          "kind": "pick",
          "label": "pick-followup",
          "input": {
            "question": "A research question",
            "candidates": {
              "item_0": "What does the supplied material establish about open questions for: A research question?"
            }
          },
          "questions": {
            "pick": {
              "type": "choice",
              "instructions": "Select the single open research question whose answer would most improve this report. Pick none_of_these when no useful follow-up is supported. This chooses one task, not a filter over evidence.",
              "criteria": {
                "item_0": "What does the supplied material establish about open questions for: A research question?",
                "none_of_these": "none of the items fits"
              }
            }
          },
          "output": {
            "answers": {
              "pick": {
                "type": "choice",
                "choice": "item_0",
                "confidence": 1,
                "probabilities": {
                  "item_0": 1,
                  "none_of_these": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "followup-research",
          "input": {
            "task": {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ]
          },
          "item": {
            "label": "followup-tasks",
            "index": 0
          },
          "output": {
            "angle": "open questions",
            "records": [
              {
                "id": "D5",
                "angle": "open questions",
                "phase": "followup",
                "relevant": true,
                "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
              }
            ],
            "resolved": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "consolidate-report",
          "input": {
            "question": "A research question",
            "research": [
              {
                "angle": "origins",
                "question": "What does the supplied material establish about origins for: A research question?",
                "records": [
                  {
                    "id": "D1",
                    "angle": "origins",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                  }
                ],
                "gap": false
              },
              {
                "angle": "evidence",
                "question": "What does the supplied material establish about evidence for: A research question?",
                "records": [
                  {
                    "id": "D2",
                    "angle": "evidence",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                  },
                  {
                    "id": "D-noise",
                    "angle": "evidence",
                    "phase": "initial",
                    "relevant": false,
                    "text": "An unrelated promotional announcement with no evidence for this research question."
                  }
                ],
                "gap": false
              },
              {
                "angle": "alternatives",
                "question": "What does the supplied material establish about alternatives for: A research question?",
                "records": [
                  {
                    "id": "D3",
                    "angle": "alternatives",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                  }
                ],
                "gap": false
              },
              {
                "angle": "limitations",
                "question": "What does the supplied material establish about limitations for: A research question?",
                "records": [
                  {
                    "id": "D4",
                    "angle": "limitations",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                  }
                ],
                "gap": false
              },
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?",
                "records": [],
                "gap": true
              }
            ],
            "evidence": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "followups": [
              {
                "angle": "open questions",
                "records": [
                  {
                    "id": "D5",
                    "angle": "open questions",
                    "phase": "followup",
                    "relevant": true,
                    "text": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed."
                  }
                ],
                "resolved": true
              }
            ],
            "gaps": [
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "output": {
            "summary": "Five research angles were explored against illustrative records. Relevant evidence was retained; one useful gap was selected for follow-up. This is a workflow demonstration, not an answer to a substantive research question.",
            "findings": [
              {
                "label": "D1",
                "detail": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D1"
                ]
              },
              {
                "label": "D2",
                "detail": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D2"
                ]
              },
              {
                "label": "D3",
                "detail": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D3"
                ]
              },
              {
                "label": "D4",
                "detail": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D4"
                ]
              },
              {
                "label": "D5",
                "detail": "Illustrative follow-up record addressing the previously open angle; no real research conclusion is claimed.",
                "sourceIds": [
                  "D5"
                ]
              }
            ],
            "uncertainties": []
          }
        }
      ]
    },
    "uncertain": {
      "example": "research",
      "scenario": "uncertain",
      "mode": "scripted",
      "input": {
        "question": "A research question",
        "sources": [
          {
            "id": "D1",
            "angle": "origins",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D2",
            "angle": "evidence",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D3",
            "angle": "alternatives",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D4",
            "angle": "limitations",
            "phase": "initial",
            "relevant": true,
            "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
          },
          {
            "id": "D-noise",
            "angle": "evidence",
            "phase": "initial",
            "relevant": false,
            "text": "An unrelated promotional announcement with no evidence for this research question."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "question": "A research question",
          "sources": [
            {
              "id": "D1",
              "angle": "origins",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D2",
              "angle": "evidence",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D3",
              "angle": "alternatives",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D4",
              "angle": "limitations",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D-noise",
              "angle": "evidence",
              "phase": "initial",
              "relevant": false,
              "text": "An unrelated promotional announcement with no evidence for this research question."
            }
          ],
          "plan": {
            "questions": [
              {
                "angle": "origins",
                "question": "What does the supplied material establish about origins for: A research question?"
              },
              {
                "angle": "evidence",
                "question": "What does the supplied material establish about evidence for: A research question?"
              },
              {
                "angle": "alternatives",
                "question": "What does the supplied material establish about alternatives for: A research question?"
              },
              {
                "angle": "limitations",
                "question": "What does the supplied material establish about limitations for: A research question?"
              },
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "researchResults": [
            {
              "angle": "origins",
              "question": "What does the supplied material establish about origins for: A research question?",
              "records": [
                {
                  "id": "D1",
                  "angle": "origins",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "gap": false
            },
            {
              "angle": "evidence",
              "question": "What does the supplied material establish about evidence for: A research question?",
              "records": [
                {
                  "id": "D2",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D-noise",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": false,
                  "text": "An unrelated promotional announcement with no evidence for this research question."
                }
              ],
              "gap": false
            },
            {
              "angle": "alternatives",
              "question": "What does the supplied material establish about alternatives for: A research question?",
              "records": [
                {
                  "id": "D3",
                  "angle": "alternatives",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "gap": false
            },
            {
              "angle": "limitations",
              "question": "What does the supplied material establish about limitations for: A research question?",
              "records": [
                {
                  "id": "D4",
                  "angle": "limitations",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "gap": false
            },
            {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?",
              "records": [],
              "gap": true
            }
          ],
          "rawEvidence": [
            {
              "id": "D1",
              "angle": "origins",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D2",
              "angle": "evidence",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D-noise",
              "angle": "evidence",
              "phase": "initial",
              "relevant": false,
              "text": "An unrelated promotional announcement with no evidence for this research question."
            },
            {
              "id": "D3",
              "angle": "alternatives",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
            },
            {
              "id": "D4",
              "angle": "limitations",
              "phase": "initial",
              "relevant": true,
              "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
            }
          ],
          "gaps": [
            {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            }
          ],
          "usefulEvidence": {
            "items": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "values": [
              {
                "useful": true
              },
              {
                "useful": true
              },
              {
                "useful": false
              },
              {
                "useful": true
              },
              {
                "useful": true
              }
            ],
            "answers": [
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              },
              {
                "answers": {
                  "useful": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "useful": 1
                },
                "weakest": "useful",
                "min_confidence": 1
              }
            ],
            "kept": [
              0,
              1,
              3,
              4
            ]
          },
          "followupChoice": {
            "index": 0,
            "item": {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            },
            "none": false,
            "option": "What does the supplied material establish about open questions for: A research question?"
          },
          "followupChoice$answers": {
            "answers": {
              "pick": {
                "type": "choice",
                "choice": "item_0",
                "confidence": 1,
                "probabilities": {
                  "item_0": 1,
                  "none_of_these": 0
                }
              }
            },
            "confidence": {
              "pick": 1
            },
            "weakest": "pick",
            "min_confidence": 1
          },
          "followupQueue": [
            {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            }
          ],
          "followups": [
            {
              "angle": "open questions",
              "records": [],
              "resolved": false
            }
          ],
          "report": {
            "summary": "Five research angles were explored against illustrative records. Relevant evidence was retained; one useful gap was selected for follow-up. This is a workflow demonstration, not an answer to a substantive research question.",
            "findings": [
              {
                "label": "D1",
                "detail": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D1"
                ]
              },
              {
                "label": "D2",
                "detail": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D2"
                ]
              },
              {
                "label": "D3",
                "detail": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D3"
                ]
              },
              {
                "label": "D4",
                "detail": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D4"
                ]
              }
            ],
            "uncertainties": [
              "Unresolved research angle: open questions"
            ]
          }
        },
        "output": {
          "summary": "Five research angles were explored against illustrative records. Relevant evidence was retained; one useful gap was selected for follow-up. This is a workflow demonstration, not an answer to a substantive research question.",
          "findings": [
            {
              "label": "D1",
              "detail": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D1"
              ]
            },
            {
              "label": "D2",
              "detail": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D2"
              ]
            },
            {
              "label": "D3",
              "detail": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D3"
              ]
            },
            {
              "label": "D4",
              "detail": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
              "sourceIds": [
                "D4"
              ]
            }
          ],
          "uncertainties": [
            "Unresolved research angle: open questions"
          ]
        }
      },
      "events": [
        {
          "type": "node.start",
          "label": "research-planner",
          "detail": {
            "kind": "decide"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.end",
          "label": "research-planner",
          "detail": {
            "kind": "decide",
            "status": "ok"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/1/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/2/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/3/body"
        },
        {
          "type": "node.start",
          "label": "research-angle",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/4/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/3/body"
        },
        {
          "type": "node.end",
          "label": "research-angle",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/4/body"
        },
        {
          "type": "node.start",
          "label": "collect-research",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "code.patch",
          "label": "collect-research",
          "detail": {
            "rawEvidence": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gaps": [
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.end",
          "label": "collect-research",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.start",
          "label": "sift-evidence",
          "detail": {
            "kind": "sift"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "sift-evidence",
          "detail": {
            "kind": "sift",
            "as": "usefulEvidence",
            "value": {
              "items": [
                {
                  "id": "D1",
                  "angle": "origins",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D2",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D3",
                  "angle": "alternatives",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                },
                {
                  "id": "D4",
                  "angle": "limitations",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                }
              ],
              "values": [
                {
                  "useful": true
                },
                {
                  "useful": true
                },
                {
                  "useful": false
                },
                {
                  "useful": true
                },
                {
                  "useful": true
                }
              ],
              "answers": [
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "useful": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "useful": 1
                  },
                  "weakest": "useful",
                  "min_confidence": 1
                }
              ],
              "kept": [
                0,
                1,
                3,
                4
              ]
            },
            "count": 5,
            "kept": 4,
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "sift-evidence",
          "detail": {
            "kind": "sift",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "pick-followup",
          "detail": {
            "kind": "pick"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "judge.answered",
          "label": "pick-followup",
          "detail": {
            "kind": "pick",
            "as": "followupChoice",
            "value": {
              "index": 0,
              "item": {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              },
              "none": false,
              "option": "What does the supplied material establish about open questions for: A research question?"
            },
            "sidecar": {
              "answers": {
                "pick": {
                  "type": "choice",
                  "choice": "item_0",
                  "confidence": 1,
                  "probabilities": {
                    "item_0": 1,
                    "none_of_these": 0
                  }
                }
              },
              "confidence": {
                "pick": 1
              },
              "weakest": "pick",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.end",
          "label": "pick-followup",
          "detail": {
            "kind": "pick",
            "status": "ok"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "followup-gate",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "code.patch",
          "label": "followup-gate",
          "detail": {
            "followupQueue": [
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.end",
          "label": "followup-gate",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "followup-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/6/items/0/body"
        },
        {
          "type": "node.end",
          "label": "followup-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/6/items/0/body"
        },
        {
          "type": "node.start",
          "label": "consolidate-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "node.end",
          "label": "consolidate-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/7"
        }
      ],
      "calls": [
        {
          "kind": "agent",
          "nodeKind": "decide",
          "label": "research-planner",
          "input": {
            "question": "A research question"
          },
          "output": {
            "questions": [
              {
                "angle": "origins",
                "question": "What does the supplied material establish about origins for: A research question?"
              },
              {
                "angle": "evidence",
                "question": "What does the supplied material establish about evidence for: A research question?"
              },
              {
                "angle": "alternatives",
                "question": "What does the supplied material establish about alternatives for: A research question?"
              },
              {
                "angle": "limitations",
                "question": "What does the supplied material establish about limitations for: A research question?"
              },
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "origins",
              "question": "What does the supplied material establish about origins for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 0
          },
          "output": {
            "angle": "origins",
            "question": "What does the supplied material establish about origins for: A research question?",
            "records": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "evidence",
              "question": "What does the supplied material establish about evidence for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 1
          },
          "output": {
            "angle": "evidence",
            "question": "What does the supplied material establish about evidence for: A research question?",
            "records": [
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "alternatives",
              "question": "What does the supplied material establish about alternatives for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 2
          },
          "output": {
            "angle": "alternatives",
            "question": "What does the supplied material establish about alternatives for: A research question?",
            "records": [
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "limitations",
              "question": "What does the supplied material establish about limitations for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 3
          },
          "output": {
            "angle": "limitations",
            "question": "What does the supplied material establish about limitations for: A research question?",
            "records": [
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "gap": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-angle",
          "input": {
            "task": {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ]
          },
          "item": {
            "label": "research-questions",
            "index": 4
          },
          "output": {
            "angle": "open questions",
            "question": "What does the supplied material establish about open questions for: A research question?",
            "records": [],
            "gap": true
          }
        },
        {
          "kind": "sift",
          "label": "sift-evidence",
          "input": {
            "question": "A research question",
            "items": [
              {
                "id": "item_0",
                "summary": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D1",
                  "angle": "origins",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                }
              },
              {
                "id": "item_1",
                "summary": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D2",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                }
              },
              {
                "id": "item_2",
                "summary": "An unrelated promotional announcement with no evidence for this research question.",
                "item": {
                  "id": "D-noise",
                  "angle": "evidence",
                  "phase": "initial",
                  "relevant": false,
                  "text": "An unrelated promotional announcement with no evidence for this research question."
                }
              },
              {
                "id": "item_3",
                "summary": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D3",
                  "angle": "alternatives",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                }
              },
              {
                "id": "item_4",
                "summary": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
                "item": {
                  "id": "D4",
                  "angle": "limitations",
                  "phase": "initial",
                  "relevant": true,
                  "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                }
              }
            ]
          },
          "questions": {
            "0.useful": {
              "type": "noul",
              "instructions": "For `items[0]` (id item_0): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "1.useful": {
              "type": "noul",
              "instructions": "For `items[1]` (id item_1): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "2.useful": {
              "type": "noul",
              "instructions": "For `items[2]` (id item_2): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "3.useful": {
              "type": "noul",
              "instructions": "For `items[3]` (id item_3): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            },
            "4.useful": {
              "type": "noul",
              "instructions": "For `items[4]` (id item_4): Does this record directly address the assigned research question or one of its planned angles, with identifiable supporting evidence? Exclude unrelated material and unsupported promotional assertions; several records may qualify."
            }
          },
          "output": {
            "answers": {
              "0.useful": {
                "type": "noul",
                "noul": 1
              },
              "1.useful": {
                "type": "noul",
                "noul": 1
              },
              "2.useful": {
                "type": "noul",
                "noul": 0
              },
              "3.useful": {
                "type": "noul",
                "noul": 1
              },
              "4.useful": {
                "type": "noul",
                "noul": 1
              }
            }
          }
        },
        {
          "kind": "pick",
          "label": "pick-followup",
          "input": {
            "question": "A research question",
            "candidates": {
              "item_0": "What does the supplied material establish about open questions for: A research question?"
            }
          },
          "questions": {
            "pick": {
              "type": "choice",
              "instructions": "Select the single open research question whose answer would most improve this report. Pick none_of_these when no useful follow-up is supported. This chooses one task, not a filter over evidence.",
              "criteria": {
                "item_0": "What does the supplied material establish about open questions for: A research question?",
                "none_of_these": "none of the items fits"
              }
            }
          },
          "output": {
            "answers": {
              "pick": {
                "type": "choice",
                "choice": "item_0",
                "confidence": 1,
                "probabilities": {
                  "item_0": 1,
                  "none_of_these": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "followup-research",
          "input": {
            "task": {
              "angle": "open questions",
              "question": "What does the supplied material establish about open questions for: A research question?"
            },
            "sources": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D-noise",
                "angle": "evidence",
                "phase": "initial",
                "relevant": false,
                "text": "An unrelated promotional announcement with no evidence for this research question."
              }
            ]
          },
          "item": {
            "label": "followup-tasks",
            "index": 0
          },
          "output": {
            "angle": "open questions",
            "records": [],
            "resolved": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "consolidate-report",
          "input": {
            "question": "A research question",
            "research": [
              {
                "angle": "origins",
                "question": "What does the supplied material establish about origins for: A research question?",
                "records": [
                  {
                    "id": "D1",
                    "angle": "origins",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
                  }
                ],
                "gap": false
              },
              {
                "angle": "evidence",
                "question": "What does the supplied material establish about evidence for: A research question?",
                "records": [
                  {
                    "id": "D2",
                    "angle": "evidence",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
                  },
                  {
                    "id": "D-noise",
                    "angle": "evidence",
                    "phase": "initial",
                    "relevant": false,
                    "text": "An unrelated promotional announcement with no evidence for this research question."
                  }
                ],
                "gap": false
              },
              {
                "angle": "alternatives",
                "question": "What does the supplied material establish about alternatives for: A research question?",
                "records": [
                  {
                    "id": "D3",
                    "angle": "alternatives",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
                  }
                ],
                "gap": false
              },
              {
                "angle": "limitations",
                "question": "What does the supplied material establish about limitations for: A research question?",
                "records": [
                  {
                    "id": "D4",
                    "angle": "limitations",
                    "phase": "initial",
                    "relevant": true,
                    "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
                  }
                ],
                "gap": false
              },
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?",
                "records": [],
                "gap": true
              }
            ],
            "evidence": [
              {
                "id": "D1",
                "angle": "origins",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D2",
                "angle": "evidence",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D3",
                "angle": "alternatives",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer."
              },
              {
                "id": "D4",
                "angle": "limitations",
                "phase": "initial",
                "relevant": true,
                "text": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer."
              }
            ],
            "followups": [
              {
                "angle": "open questions",
                "records": [],
                "resolved": false
              }
            ],
            "gaps": [
              {
                "angle": "open questions",
                "question": "What does the supplied material establish about open questions for: A research question?"
              }
            ]
          },
          "output": {
            "summary": "Five research angles were explored against illustrative records. Relevant evidence was retained; one useful gap was selected for follow-up. This is a workflow demonstration, not an answer to a substantive research question.",
            "findings": [
              {
                "label": "D1",
                "detail": "Illustrative source for the origins angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D1"
                ]
              },
              {
                "label": "D2",
                "detail": "Illustrative source for the evidence angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D2"
                ]
              },
              {
                "label": "D3",
                "detail": "Illustrative source for the alternatives angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D3"
                ]
              },
              {
                "label": "D4",
                "detail": "Illustrative source for the limitations angle of a research question; this is a fixture, not a substantive answer.",
                "sourceIds": [
                  "D4"
                ]
              }
            ],
            "uncertainties": [
              "Unresolved research angle: open questions"
            ]
          }
        }
      ]
    }
  },
  "kyb": {
    "standard": {
      "example": "kyb",
      "scenario": "standard",
      "mode": "scripted",
      "input": {
        "subject": "Example Components — fictional business",
        "sources": [
          {
            "id": "K0",
            "phase": "discovery",
            "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
            "entities": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          {
            "id": "K1",
            "phase": "initial",
            "entityId": "org-1",
            "complete": true,
            "concern": false,
            "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
          },
          {
            "id": "K2",
            "phase": "initial",
            "entityId": "person-1",
            "complete": false,
            "concern": false,
            "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
          },
          {
            "id": "K3",
            "phase": "followup",
            "entityId": "person-1",
            "complete": true,
            "concern": false,
            "text": "Illustrative follow-up filing supplies the director identifier and role."
          },
          {
            "id": "K4",
            "phase": "initial",
            "entityId": "org-2",
            "complete": true,
            "concern": false,
            "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
          },
          {
            "id": "K5",
            "phase": "initial",
            "entityId": "person-2",
            "complete": true,
            "concern": false,
            "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
          },
          {
            "id": "K6",
            "phase": "initial",
            "entityId": "person-3",
            "complete": false,
            "concern": false,
            "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
          },
          {
            "id": "K7",
            "phase": "followup",
            "entityId": "person-3",
            "complete": true,
            "concern": false,
            "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "subject": "Example Components — fictional business",
          "sources": [
            {
              "id": "K0",
              "phase": "discovery",
              "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
              "entities": [
                {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                }
              ]
            },
            {
              "id": "K1",
              "phase": "initial",
              "entityId": "org-1",
              "complete": true,
              "concern": false,
              "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
            },
            {
              "id": "K2",
              "phase": "initial",
              "entityId": "person-1",
              "complete": false,
              "concern": false,
              "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
            },
            {
              "id": "K3",
              "phase": "followup",
              "entityId": "person-1",
              "complete": true,
              "concern": false,
              "text": "Illustrative follow-up filing supplies the director identifier and role."
            },
            {
              "id": "K4",
              "phase": "initial",
              "entityId": "org-2",
              "complete": true,
              "concern": false,
              "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
            },
            {
              "id": "K5",
              "phase": "initial",
              "entityId": "person-2",
              "complete": true,
              "concern": false,
              "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
            },
            {
              "id": "K6",
              "phase": "initial",
              "entityId": "person-3",
              "complete": false,
              "concern": false,
              "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
            },
            {
              "id": "K7",
              "phase": "followup",
              "entityId": "person-3",
              "complete": true,
              "concern": false,
              "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
            }
          ],
          "discovery": {
            "entities": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          "entityResults": [
            {
              "entity": {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K1",
                  "phase": "initial",
                  "entityId": "org-1",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K4",
                  "phase": "initial",
                  "entityId": "org-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K2",
                  "phase": "initial",
                  "entityId": "person-1",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                }
              ],
              "complete": false
            },
            {
              "entity": {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              "records": [
                {
                  "id": "K5",
                  "phase": "initial",
                  "entityId": "person-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              },
              "records": [
                {
                  "id": "K6",
                  "phase": "initial",
                  "entityId": "person-3",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                }
              ],
              "complete": false
            }
          ],
          "reviewed": [
            {
              "entity": {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K1",
                  "phase": "initial",
                  "entityId": "org-1",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K4",
                  "phase": "initial",
                  "entityId": "org-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K2",
                  "phase": "initial",
                  "entityId": "person-1",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                },
                {
                  "id": "K3",
                  "phase": "followup",
                  "entityId": "person-1",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative follow-up filing supplies the director identifier and role."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              "records": [
                {
                  "id": "K5",
                  "phase": "initial",
                  "entityId": "person-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              },
              "records": [
                {
                  "id": "K6",
                  "phase": "initial",
                  "entityId": "person-3",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                },
                {
                  "id": "K7",
                  "phase": "followup",
                  "entityId": "person-3",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
                }
              ],
              "complete": true
            }
          ],
          "pendingEntities": [],
          "completeness": {
            "complete": true
          },
          "completeness$answers": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 1
              }
            },
            "confidence": {
              "complete": 1
            },
            "weakest": "complete",
            "min_confidence": 1
          },
          "followupResults": [
            {
              "entity": {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K3",
                  "phase": "followup",
                  "entityId": "person-1",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative follow-up filing supplies the director identifier and role."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              },
              "records": [
                {
                  "id": "K7",
                  "phase": "followup",
                  "entityId": "person-3",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
                }
              ],
              "complete": true
            }
          ],
          "risk": {
            "outcome": "no_recorded_concern"
          },
          "risk$answers": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "no_recorded_concern",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_concern": 1,
                  "concern_for_review": 0,
                  "human_review": 0
                }
              }
            },
            "confidence": {
              "outcome": 1
            },
            "weakest": "outcome",
            "min_confidence": 1
          },
          "report": {
            "summary": "Illustrative business review: no_recorded_concern. This records findings for human review; it does not approve the business.",
            "findings": [
              {
                "label": "K1",
                "detail": "Illustrative registry extract supplies the parent company identity and ownership fields.",
                "sourceIds": [
                  "K1"
                ]
              },
              {
                "label": "K4",
                "detail": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject.",
                "sourceIds": [
                  "K4"
                ]
              },
              {
                "label": "K2",
                "detail": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes.",
                "sourceIds": [
                  "K2"
                ]
              },
              {
                "label": "K3",
                "detail": "Illustrative follow-up filing supplies the director identifier and role.",
                "sourceIds": [
                  "K3"
                ]
              },
              {
                "label": "K5",
                "detail": "Illustrative officer record supplies the subsidiary officer identifier and role.",
                "sourceIds": [
                  "K5"
                ]
              },
              {
                "label": "K6",
                "detail": "Illustrative ownership statement names a controlling person but lacks identifying corroboration.",
                "sourceIds": [
                  "K6"
                ]
              },
              {
                "label": "K7",
                "detail": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship.",
                "sourceIds": [
                  "K7"
                ]
              }
            ],
            "uncertainties": []
          }
        },
        "output": {
          "summary": "Illustrative business review: no_recorded_concern. This records findings for human review; it does not approve the business.",
          "findings": [
            {
              "label": "K1",
              "detail": "Illustrative registry extract supplies the parent company identity and ownership fields.",
              "sourceIds": [
                "K1"
              ]
            },
            {
              "label": "K4",
              "detail": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject.",
              "sourceIds": [
                "K4"
              ]
            },
            {
              "label": "K2",
              "detail": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes.",
              "sourceIds": [
                "K2"
              ]
            },
            {
              "label": "K3",
              "detail": "Illustrative follow-up filing supplies the director identifier and role.",
              "sourceIds": [
                "K3"
              ]
            },
            {
              "label": "K5",
              "detail": "Illustrative officer record supplies the subsidiary officer identifier and role.",
              "sourceIds": [
                "K5"
              ]
            },
            {
              "label": "K6",
              "detail": "Illustrative ownership statement names a controlling person but lacks identifying corroboration.",
              "sourceIds": [
                "K6"
              ]
            },
            {
              "label": "K7",
              "detail": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship.",
              "sourceIds": [
                "K7"
              ]
            }
          ],
          "uncertainties": []
        }
      },
      "events": [
        {
          "type": "node.start",
          "label": "discover-entities",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.end",
          "label": "discover-entities",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "company"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/0/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "company"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/1/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/0"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "company",
              "taken": "company",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "company-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/1/branches/company/body"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "company",
              "taken": "company",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/1/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "company-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/1/branches/company/body"
        },
        {
          "type": "node.end",
          "label": "company-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/1/branches/company/body"
        },
        {
          "type": "node.end",
          "label": "company-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/1/branches/company/body"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "person"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/2/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "person"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/3/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/0"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "person",
              "taken": "person",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/2/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "officer-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/1/branches/person/body"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "person",
              "taken": "person",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/3/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "officer-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/1/branches/person/body"
        },
        {
          "type": "node.end",
          "label": "officer-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/1/branches/person/body"
        },
        {
          "type": "node.end",
          "label": "officer-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/1/branches/person/body"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "person"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/4/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/0"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "person",
              "taken": "person",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/4/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "officer-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/1/branches/person/body"
        },
        {
          "type": "node.end",
          "label": "officer-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/1/branches/person/body"
        },
        {
          "type": "node.start",
          "label": "prepare-completeness",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "code.patch",
          "label": "prepare-completeness",
          "detail": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ],
            "pendingEntities": [
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.end",
          "label": "prepare-completeness",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.start",
          "label": "completeness-check",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "completeness-check",
          "detail": {
            "kind": "judge",
            "as": "completeness",
            "value": {
              "complete": false
            },
            "sidecar": {
              "answers": {
                "complete": {
                  "type": "noul",
                  "noul": 0
                }
              },
              "confidence": {
                "complete": 1
              },
              "weakest": "complete",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "completeness-check",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "entity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/0/body"
        },
        {
          "type": "node.start",
          "label": "entity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/1/body"
        },
        {
          "type": "node.end",
          "label": "entity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/0/body"
        },
        {
          "type": "node.end",
          "label": "entity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/1/body"
        },
        {
          "type": "node.start",
          "label": "merge-entity-evidence",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "merge-entity-evidence",
          "detail": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  },
                  {
                    "id": "K3",
                    "phase": "followup",
                    "entityId": "person-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative follow-up filing supplies the director identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  },
                  {
                    "id": "K7",
                    "phase": "followup",
                    "entityId": "person-3",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
                  }
                ],
                "complete": true
              }
            ]
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "merge-entity-evidence",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "remaining-entities",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "remaining-entities",
          "detail": {
            "pendingEntities": []
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "remaining-entities",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge",
            "as": "completeness",
            "value": {
              "complete": true
            },
            "sidecar": {
              "answers": {
                "complete": {
                  "type": "noul",
                  "noul": 1
                }
              },
              "confidence": {
                "complete": 1
              },
              "weakest": "complete",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/3"
        },
        {
          "type": "node.end",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/3"
        },
        {
          "type": "loop.exited",
          "label": "complete-records",
          "detail": {
            "reason": "condition_met",
            "iterations": 1
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "risk-judgment",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "judge.answered",
          "label": "risk-judgment",
          "detail": {
            "kind": "judge",
            "as": "risk",
            "value": {
              "outcome": "no_recorded_concern"
            },
            "sidecar": {
              "answers": {
                "outcome": {
                  "type": "choice",
                  "choice": "no_recorded_concern",
                  "confidence": 1,
                  "probabilities": {
                    "no_recorded_concern": 1,
                    "concern_for_review": 0,
                    "human_review": 0
                  }
                }
              },
              "confidence": {
                "outcome": 1
              },
              "weakest": "outcome",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.end",
          "label": "risk-judgment",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "kyb-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.end",
          "label": "kyb-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/6"
        }
      ],
      "calls": [
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "discover-entities",
          "input": {
            "subject": "Example Components — fictional business",
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "output": {
            "entities": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 0
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 1
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            },
            "classification": {
              "kind": "company"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 0
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            },
            "classification": {
              "kind": "company"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 1
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "company-research",
          "input": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 0
          },
          "output": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "company-research",
          "input": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 1
          },
          "output": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 2
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 3
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "classification": {
              "kind": "person"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 2
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            },
            "classification": {
              "kind": "person"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 3
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "officer-research",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 2
          },
          "output": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              }
            ],
            "complete": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "officer-research",
          "input": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 3
          },
          "output": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            },
            "records": [
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 4
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "classification": {
              "kind": "person"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 4
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "officer-research",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 4
          },
          "output": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "records": [
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ],
            "complete": false
          }
        },
        {
          "kind": "judge",
          "label": "completeness-check",
          "input": {
            "discovered": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ],
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ]
          },
          "questions": {
            "complete": {
              "type": "noul",
              "instructions": "Are all discovered subjects covered by a cited specialist result, with their required identity/ownership facts present and no unresolved subject? Empty evidence is incomplete. This checks this illustrative evidence pack, not legal compliance."
            }
          },
          "output": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "entity-followup",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "followup-entities",
            "index": 0
          },
          "output": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "entity-followup",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K3",
                "phase": "followup",
                "entityId": "person-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative follow-up filing supplies the director identifier and role."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              },
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ]
          },
          "item": {
            "label": "followup-entities",
            "index": 1
          },
          "output": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "records": [
              {
                "id": "K7",
                "phase": "followup",
                "entityId": "person-3",
                "complete": true,
                "concern": false,
                "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "judge",
          "label": "recheck-completeness",
          "input": {
            "discovered": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ],
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  },
                  {
                    "id": "K3",
                    "phase": "followup",
                    "entityId": "person-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative follow-up filing supplies the director identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  },
                  {
                    "id": "K7",
                    "phase": "followup",
                    "entityId": "person-3",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
                  }
                ],
                "complete": true
              }
            ]
          },
          "questions": {
            "complete": {
              "type": "noul",
              "instructions": "Are all discovered subjects covered by a cited specialist result, with their required identity/ownership facts present and no unresolved subject? Empty evidence is incomplete. This checks this illustrative evidence pack, not legal compliance."
            }
          },
          "output": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 1
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "risk-judgment",
          "input": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  },
                  {
                    "id": "K3",
                    "phase": "followup",
                    "entityId": "person-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative follow-up filing supplies the director identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  },
                  {
                    "id": "K7",
                    "phase": "followup",
                    "entityId": "person-3",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
                  }
                ],
                "complete": true
              }
            ],
            "completeness": {
              "complete": true
            }
          },
          "questions": {
            "outcome": {
              "type": "choice",
              "instructions": "Assess this fictional review using all discovered subjects, retained findings and unresolved identity/ownership questions. Missing evidence requires human_review. If the supplied checks are complete and no recorded concern appears, return no_recorded_concern, never approval or a guarantee. A cited concern returns concern_for_review.",
              "criteria": {
                "no_recorded_concern": "The supplied checks are complete without a recorded concern; no approval implied.",
                "concern_for_review": "A supported concern requires human review.",
                "human_review": "Identity, ownership or required evidence is incomplete."
              }
            }
          },
          "output": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "no_recorded_concern",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_concern": 1,
                  "concern_for_review": 0,
                  "human_review": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "kyb-report",
          "input": {
            "subject": "Example Components — fictional business",
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  },
                  {
                    "id": "K3",
                    "phase": "followup",
                    "entityId": "person-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative follow-up filing supplies the director identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  },
                  {
                    "id": "K7",
                    "phase": "followup",
                    "entityId": "person-3",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship."
                  }
                ],
                "complete": true
              }
            ],
            "risk": {
              "outcome": "no_recorded_concern"
            }
          },
          "output": {
            "summary": "Illustrative business review: no_recorded_concern. This records findings for human review; it does not approve the business.",
            "findings": [
              {
                "label": "K1",
                "detail": "Illustrative registry extract supplies the parent company identity and ownership fields.",
                "sourceIds": [
                  "K1"
                ]
              },
              {
                "label": "K4",
                "detail": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject.",
                "sourceIds": [
                  "K4"
                ]
              },
              {
                "label": "K2",
                "detail": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes.",
                "sourceIds": [
                  "K2"
                ]
              },
              {
                "label": "K3",
                "detail": "Illustrative follow-up filing supplies the director identifier and role.",
                "sourceIds": [
                  "K3"
                ]
              },
              {
                "label": "K5",
                "detail": "Illustrative officer record supplies the subsidiary officer identifier and role.",
                "sourceIds": [
                  "K5"
                ]
              },
              {
                "label": "K6",
                "detail": "Illustrative ownership statement names a controlling person but lacks identifying corroboration.",
                "sourceIds": [
                  "K6"
                ]
              },
              {
                "label": "K7",
                "detail": "Illustrative corroborating filing supplies the controlling person identifier and ownership relationship.",
                "sourceIds": [
                  "K7"
                ]
              }
            ],
            "uncertainties": []
          }
        }
      ]
    },
    "uncertain": {
      "example": "kyb",
      "scenario": "uncertain",
      "mode": "scripted",
      "input": {
        "subject": "Example Components — fictional business",
        "sources": [
          {
            "id": "K0",
            "phase": "discovery",
            "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
            "entities": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          {
            "id": "K1",
            "phase": "initial",
            "entityId": "org-1",
            "complete": true,
            "concern": false,
            "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
          },
          {
            "id": "K2",
            "phase": "initial",
            "entityId": "person-1",
            "complete": false,
            "concern": false,
            "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
          },
          {
            "id": "K4",
            "phase": "initial",
            "entityId": "org-2",
            "complete": true,
            "concern": false,
            "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
          },
          {
            "id": "K5",
            "phase": "initial",
            "entityId": "person-2",
            "complete": true,
            "concern": false,
            "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
          },
          {
            "id": "K6",
            "phase": "initial",
            "entityId": "person-3",
            "complete": false,
            "concern": false,
            "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "subject": "Example Components — fictional business",
          "sources": [
            {
              "id": "K0",
              "phase": "discovery",
              "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
              "entities": [
                {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                }
              ]
            },
            {
              "id": "K1",
              "phase": "initial",
              "entityId": "org-1",
              "complete": true,
              "concern": false,
              "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
            },
            {
              "id": "K2",
              "phase": "initial",
              "entityId": "person-1",
              "complete": false,
              "concern": false,
              "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
            },
            {
              "id": "K4",
              "phase": "initial",
              "entityId": "org-2",
              "complete": true,
              "concern": false,
              "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
            },
            {
              "id": "K5",
              "phase": "initial",
              "entityId": "person-2",
              "complete": true,
              "concern": false,
              "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
            },
            {
              "id": "K6",
              "phase": "initial",
              "entityId": "person-3",
              "complete": false,
              "concern": false,
              "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
            }
          ],
          "discovery": {
            "entities": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          "entityResults": [
            {
              "entity": {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K1",
                  "phase": "initial",
                  "entityId": "org-1",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K4",
                  "phase": "initial",
                  "entityId": "org-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K2",
                  "phase": "initial",
                  "entityId": "person-1",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                }
              ],
              "complete": false
            },
            {
              "entity": {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              "records": [
                {
                  "id": "K5",
                  "phase": "initial",
                  "entityId": "person-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              },
              "records": [
                {
                  "id": "K6",
                  "phase": "initial",
                  "entityId": "person-3",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                }
              ],
              "complete": false
            }
          ],
          "reviewed": [
            {
              "entity": {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K1",
                  "phase": "initial",
                  "entityId": "org-1",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K4",
                  "phase": "initial",
                  "entityId": "org-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              "records": [
                {
                  "id": "K2",
                  "phase": "initial",
                  "entityId": "person-1",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                }
              ],
              "complete": false
            },
            {
              "entity": {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              "records": [
                {
                  "id": "K5",
                  "phase": "initial",
                  "entityId": "person-2",
                  "complete": true,
                  "concern": false,
                  "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                }
              ],
              "complete": true
            },
            {
              "entity": {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              },
              "records": [
                {
                  "id": "K6",
                  "phase": "initial",
                  "entityId": "person-3",
                  "complete": false,
                  "concern": false,
                  "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                }
              ],
              "complete": false
            }
          ],
          "pendingEntities": [
            {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            }
          ],
          "completeness": {
            "complete": false
          },
          "completeness$answers": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 0
              }
            },
            "confidence": {
              "complete": 1
            },
            "weakest": "complete",
            "min_confidence": 1
          },
          "followupResults": [
            {
              "entity": {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              "records": [],
              "complete": false
            },
            {
              "entity": {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              },
              "records": [],
              "complete": false
            }
          ],
          "risk": {
            "outcome": "human_review"
          },
          "risk$answers": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "human_review",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_concern": 0,
                  "concern_for_review": 0,
                  "human_review": 1
                }
              }
            },
            "confidence": {
              "outcome": 1
            },
            "weakest": "outcome",
            "min_confidence": 1
          },
          "report": {
            "summary": "Illustrative business review: human_review. This records findings for human review; it does not approve the business.",
            "findings": [
              {
                "label": "K1",
                "detail": "Illustrative registry extract supplies the parent company identity and ownership fields.",
                "sourceIds": [
                  "K1"
                ]
              },
              {
                "label": "K4",
                "detail": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject.",
                "sourceIds": [
                  "K4"
                ]
              },
              {
                "label": "K2",
                "detail": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes.",
                "sourceIds": [
                  "K2"
                ]
              },
              {
                "label": "K5",
                "detail": "Illustrative officer record supplies the subsidiary officer identifier and role.",
                "sourceIds": [
                  "K5"
                ]
              },
              {
                "label": "K6",
                "detail": "Illustrative ownership statement names a controlling person but lacks identifying corroboration.",
                "sourceIds": [
                  "K6"
                ]
              }
            ],
            "uncertainties": [
              "Required identity or ownership evidence remains missing for Alex Example.",
              "Required identity or ownership evidence remains missing for Casey Example."
            ]
          }
        },
        "output": {
          "summary": "Illustrative business review: human_review. This records findings for human review; it does not approve the business.",
          "findings": [
            {
              "label": "K1",
              "detail": "Illustrative registry extract supplies the parent company identity and ownership fields.",
              "sourceIds": [
                "K1"
              ]
            },
            {
              "label": "K4",
              "detail": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject.",
              "sourceIds": [
                "K4"
              ]
            },
            {
              "label": "K2",
              "detail": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes.",
              "sourceIds": [
                "K2"
              ]
            },
            {
              "label": "K5",
              "detail": "Illustrative officer record supplies the subsidiary officer identifier and role.",
              "sourceIds": [
                "K5"
              ]
            },
            {
              "label": "K6",
              "detail": "Illustrative ownership statement names a controlling person but lacks identifying corroboration.",
              "sourceIds": [
                "K6"
              ]
            }
          ],
          "uncertainties": [
            "Required identity or ownership evidence remains missing for Alex Example.",
            "Required identity or ownership evidence remains missing for Casey Example."
          ]
        }
      },
      "events": [
        {
          "type": "node.start",
          "label": "discover-entities",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.end",
          "label": "discover-entities",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "company"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/0/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "company"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/1/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/0"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "company",
              "taken": "company",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "company-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/1/branches/company/body"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "company",
              "taken": "company",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "company",
                  "confidence": 1,
                  "probabilities": {
                    "company": 1,
                    "person": 0,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/1/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "company-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/1/branches/company/body"
        },
        {
          "type": "node.end",
          "label": "company-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body/steps/1/branches/company/body"
        },
        {
          "type": "node.end",
          "label": "company-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body/steps/1/branches/company/body"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "person"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/2/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "person"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/3/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/0"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "person",
              "taken": "person",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/2/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "officer-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/1/branches/person/body"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "person",
              "taken": "person",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/3/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "officer-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/1/branches/person/body"
        },
        {
          "type": "node.end",
          "label": "officer-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body/steps/1/branches/person/body"
        },
        {
          "type": "node.end",
          "label": "officer-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/3/body/steps/1/branches/person/body"
        },
        {
          "type": "node.start",
          "label": "classify-entity",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "as": "entityKind",
            "value": {
              "kind": "person"
            },
            "sidecar": {
              "answers": {
                "kind": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "kind": 1
              },
              "weakest": "kind",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/4/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "classify-entity",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/0"
        },
        {
          "type": "route.chosen",
          "label": "route-specialist",
          "detail": {
            "kind": "route",
            "as": "specialistRoute",
            "value": {
              "branch": "person",
              "taken": "person",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "person",
                  "confidence": 1,
                  "probabilities": {
                    "company": 0,
                    "person": 1,
                    "unknown": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/1/items/4/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "officer-research",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/1/branches/person/body"
        },
        {
          "type": "node.end",
          "label": "officer-research",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/4/body/steps/1/branches/person/body"
        },
        {
          "type": "node.start",
          "label": "prepare-completeness",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "code.patch",
          "label": "prepare-completeness",
          "detail": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ],
            "pendingEntities": [
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.end",
          "label": "prepare-completeness",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.start",
          "label": "completeness-check",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "completeness-check",
          "detail": {
            "kind": "judge",
            "as": "completeness",
            "value": {
              "complete": false
            },
            "sidecar": {
              "answers": {
                "complete": {
                  "type": "noul",
                  "noul": 0
                }
              },
              "confidence": {
                "complete": 1
              },
              "weakest": "complete",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "completeness-check",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "entity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/0/body"
        },
        {
          "type": "node.start",
          "label": "entity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/1/body"
        },
        {
          "type": "node.end",
          "label": "entity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/0/body"
        },
        {
          "type": "node.end",
          "label": "entity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/0/items/1/body"
        },
        {
          "type": "node.start",
          "label": "merge-entity-evidence",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "merge-entity-evidence",
          "detail": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ]
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "merge-entity-evidence",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "remaining-entities",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "remaining-entities",
          "detail": {
            "pendingEntities": [
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "remaining-entities",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge",
            "as": "completeness",
            "value": {
              "complete": false
            },
            "sidecar": {
              "answers": {
                "complete": {
                  "type": "noul",
                  "noul": 0
                }
              },
              "confidence": {
                "complete": 1
              },
              "weakest": "complete",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/3"
        },
        {
          "type": "node.end",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/0/body/steps/3"
        },
        {
          "type": "node.start",
          "label": "entity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/0/items/0/body"
        },
        {
          "type": "node.start",
          "label": "entity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/0/items/1/body"
        },
        {
          "type": "node.end",
          "label": "entity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/0/items/0/body"
        },
        {
          "type": "node.end",
          "label": "entity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/0/items/1/body"
        },
        {
          "type": "node.start",
          "label": "merge-entity-evidence",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "merge-entity-evidence",
          "detail": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ]
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "merge-entity-evidence",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "remaining-entities",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "remaining-entities",
          "detail": {
            "pendingEntities": [
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "remaining-entities",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge",
            "as": "completeness",
            "value": {
              "complete": false
            },
            "sidecar": {
              "answers": {
                "complete": {
                  "type": "noul",
                  "noul": 0
                }
              },
              "confidence": {
                "complete": 1
              },
              "weakest": "complete",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/3"
        },
        {
          "type": "node.end",
          "label": "recheck-completeness",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/4/iterations/1/body/steps/3"
        },
        {
          "type": "loop.exited",
          "label": "complete-records",
          "detail": {
            "reason": "bound_reached",
            "iterations": 2
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "risk-judgment",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "judge.answered",
          "label": "risk-judgment",
          "detail": {
            "kind": "judge",
            "as": "risk",
            "value": {
              "outcome": "human_review"
            },
            "sidecar": {
              "answers": {
                "outcome": {
                  "type": "choice",
                  "choice": "human_review",
                  "confidence": 1,
                  "probabilities": {
                    "no_recorded_concern": 0,
                    "concern_for_review": 0,
                    "human_review": 1
                  }
                }
              },
              "confidence": {
                "outcome": 1
              },
              "weakest": "outcome",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.end",
          "label": "risk-judgment",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "kyb-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.end",
          "label": "kyb-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/6"
        }
      ],
      "calls": [
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "discover-entities",
          "input": {
            "subject": "Example Components — fictional business",
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "output": {
            "entities": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ]
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 0
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 1
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            },
            "classification": {
              "kind": "company"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 0
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            },
            "classification": {
              "kind": "company"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 1
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "company",
                "confidence": 1,
                "probabilities": {
                  "company": 1,
                  "person": 0,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "company-research",
          "input": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 0
          },
          "output": {
            "entity": {
              "id": "org-1",
              "name": "Example Holdings",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "parent company",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "company-research",
          "input": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 1
          },
          "output": {
            "entity": {
              "id": "org-2",
              "name": "Example Logistics",
              "recordType": "organization",
              "sourceId": "K0",
              "role": "subsidiary",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 2
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 3
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "classification": {
              "kind": "person"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 2
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            },
            "classification": {
              "kind": "person"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 3
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "officer-research",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 2
          },
          "output": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "records": [
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              }
            ],
            "complete": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "officer-research",
          "input": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 3
          },
          "output": {
            "entity": {
              "id": "person-2",
              "name": "Blair Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "subsidiary officer",
              "relatedTo": "org-2"
            },
            "records": [
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              }
            ],
            "complete": true
          }
        },
        {
          "kind": "judge",
          "label": "classify-entity",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            }
          },
          "questions": {
            "kind": {
              "type": "choice",
              "instructions": "Classify the discovered subject using explicit record type and identifiers. An incorporated entity is company; a named natural-person officer is person; insufficient evidence is unknown. A name alone is not enough.",
              "criteria": {
                "company": "An incorporated or registered organization.",
                "person": "A natural-person officer or owner.",
                "unknown": "Insufficient evidence to choose the specialist."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 4
          },
          "output": {
            "answers": {
              "kind": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "route",
          "label": "route-specialist",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "classification": {
              "kind": "person"
            }
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use company for an organization, person for a natural-person officer, and unknown when identity is unresolved. Never guess a subject type.",
              "criteria": {
                "company": "Organization requiring registry and ownership research.",
                "person": "Natural person requiring identity and officer-role research.",
                "unknown": "The subject type cannot be established."
              }
            }
          },
          "item": {
            "label": "review-entities",
            "index": 4
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "person",
                "confidence": 1,
                "probabilities": {
                  "company": 0,
                  "person": 1,
                  "unknown": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "officer-research",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "review-entities",
            "index": 4
          },
          "output": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "records": [
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ],
            "complete": false
          }
        },
        {
          "kind": "judge",
          "label": "completeness-check",
          "input": {
            "discovered": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ],
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ]
          },
          "questions": {
            "complete": {
              "type": "noul",
              "instructions": "Are all discovered subjects covered by a cited specialist result, with their required identity/ownership facts present and no unresolved subject? Empty evidence is incomplete. This checks this illustrative evidence pack, not legal compliance."
            }
          },
          "output": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "entity-followup",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "followup-entities",
            "index": 0
          },
          "output": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "records": [],
            "complete": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "entity-followup",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "followup-entities",
            "index": 1
          },
          "output": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "records": [],
            "complete": false
          }
        },
        {
          "kind": "judge",
          "label": "recheck-completeness",
          "input": {
            "discovered": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ],
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ]
          },
          "questions": {
            "complete": {
              "type": "noul",
              "instructions": "Are all discovered subjects covered by a cited specialist result, with their required identity/ownership facts present and no unresolved subject? Empty evidence is incomplete. This checks this illustrative evidence pack, not legal compliance."
            }
          },
          "output": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "entity-followup",
          "input": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "followup-entities",
            "index": 0
          },
          "output": {
            "entity": {
              "id": "person-1",
              "name": "Alex Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "director",
              "relatedTo": "subject"
            },
            "records": [],
            "complete": false
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "entity-followup",
          "input": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "sources": [
              {
                "id": "K0",
                "phase": "discovery",
                "text": "Fictional ownership filing links the subject to a parent, a subsidiary, two officers and a controlling person, with each relationship retained.",
                "entities": [
                  {
                    "id": "org-1",
                    "name": "Example Holdings",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "parent company",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "org-2",
                    "name": "Example Logistics",
                    "recordType": "organization",
                    "sourceId": "K0",
                    "role": "subsidiary",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-1",
                    "name": "Alex Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "director",
                    "relatedTo": "subject"
                  },
                  {
                    "id": "person-2",
                    "name": "Blair Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "subsidiary officer",
                    "relatedTo": "org-2"
                  },
                  {
                    "id": "person-3",
                    "name": "Casey Example",
                    "recordType": "natural_person",
                    "sourceId": "K0",
                    "role": "controlling person",
                    "relatedTo": "org-1"
                  }
                ]
              },
              {
                "id": "K1",
                "phase": "initial",
                "entityId": "org-1",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
              },
              {
                "id": "K2",
                "phase": "initial",
                "entityId": "person-1",
                "complete": false,
                "concern": false,
                "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
              },
              {
                "id": "K4",
                "phase": "initial",
                "entityId": "org-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
              },
              {
                "id": "K5",
                "phase": "initial",
                "entityId": "person-2",
                "complete": true,
                "concern": false,
                "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
              },
              {
                "id": "K6",
                "phase": "initial",
                "entityId": "person-3",
                "complete": false,
                "concern": false,
                "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
              }
            ]
          },
          "item": {
            "label": "followup-entities",
            "index": 1
          },
          "output": {
            "entity": {
              "id": "person-3",
              "name": "Casey Example",
              "recordType": "natural_person",
              "sourceId": "K0",
              "role": "controlling person",
              "relatedTo": "org-1"
            },
            "records": [],
            "complete": false
          }
        },
        {
          "kind": "judge",
          "label": "recheck-completeness",
          "input": {
            "discovered": [
              {
                "id": "org-1",
                "name": "Example Holdings",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "parent company",
                "relatedTo": "subject"
              },
              {
                "id": "org-2",
                "name": "Example Logistics",
                "recordType": "organization",
                "sourceId": "K0",
                "role": "subsidiary",
                "relatedTo": "subject"
              },
              {
                "id": "person-1",
                "name": "Alex Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "director",
                "relatedTo": "subject"
              },
              {
                "id": "person-2",
                "name": "Blair Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "subsidiary officer",
                "relatedTo": "org-2"
              },
              {
                "id": "person-3",
                "name": "Casey Example",
                "recordType": "natural_person",
                "sourceId": "K0",
                "role": "controlling person",
                "relatedTo": "org-1"
              }
            ],
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ]
          },
          "questions": {
            "complete": {
              "type": "noul",
              "instructions": "Are all discovered subjects covered by a cited specialist result, with their required identity/ownership facts present and no unresolved subject? Empty evidence is incomplete. This checks this illustrative evidence pack, not legal compliance."
            }
          },
          "output": {
            "answers": {
              "complete": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "risk-judgment",
          "input": {
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ],
            "completeness": {
              "complete": false
            }
          },
          "questions": {
            "outcome": {
              "type": "choice",
              "instructions": "Assess this fictional review using all discovered subjects, retained findings and unresolved identity/ownership questions. Missing evidence requires human_review. If the supplied checks are complete and no recorded concern appears, return no_recorded_concern, never approval or a guarantee. A cited concern returns concern_for_review.",
              "criteria": {
                "no_recorded_concern": "The supplied checks are complete without a recorded concern; no approval implied.",
                "concern_for_review": "A supported concern requires human review.",
                "human_review": "Identity, ownership or required evidence is incomplete."
              }
            }
          },
          "output": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "human_review",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_concern": 0,
                  "concern_for_review": 0,
                  "human_review": 1
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "kyb-report",
          "input": {
            "subject": "Example Components — fictional business",
            "reviewed": [
              {
                "entity": {
                  "id": "org-1",
                  "name": "Example Holdings",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "parent company",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K1",
                    "phase": "initial",
                    "entityId": "org-1",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract supplies the parent company identity and ownership fields."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "org-2",
                  "name": "Example Logistics",
                  "recordType": "organization",
                  "sourceId": "K0",
                  "role": "subsidiary",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K4",
                    "phase": "initial",
                    "entityId": "org-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-1",
                  "name": "Alex Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "director",
                  "relatedTo": "subject"
                },
                "records": [
                  {
                    "id": "K2",
                    "phase": "initial",
                    "entityId": "person-1",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes."
                  }
                ],
                "complete": false
              },
              {
                "entity": {
                  "id": "person-2",
                  "name": "Blair Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "subsidiary officer",
                  "relatedTo": "org-2"
                },
                "records": [
                  {
                    "id": "K5",
                    "phase": "initial",
                    "entityId": "person-2",
                    "complete": true,
                    "concern": false,
                    "text": "Illustrative officer record supplies the subsidiary officer identifier and role."
                  }
                ],
                "complete": true
              },
              {
                "entity": {
                  "id": "person-3",
                  "name": "Casey Example",
                  "recordType": "natural_person",
                  "sourceId": "K0",
                  "role": "controlling person",
                  "relatedTo": "org-1"
                },
                "records": [
                  {
                    "id": "K6",
                    "phase": "initial",
                    "entityId": "person-3",
                    "complete": false,
                    "concern": false,
                    "text": "Illustrative ownership statement names a controlling person but lacks identifying corroboration."
                  }
                ],
                "complete": false
              }
            ],
            "risk": {
              "outcome": "human_review"
            }
          },
          "output": {
            "summary": "Illustrative business review: human_review. This records findings for human review; it does not approve the business.",
            "findings": [
              {
                "label": "K1",
                "detail": "Illustrative registry extract supplies the parent company identity and ownership fields.",
                "sourceIds": [
                  "K1"
                ]
              },
              {
                "label": "K4",
                "detail": "Illustrative registry extract confirms the subsidiary identity and its relationship to the subject.",
                "sourceIds": [
                  "K4"
                ]
              },
              {
                "label": "K2",
                "detail": "Illustrative filing names a director but omits the identifier needed to distinguish namesakes.",
                "sourceIds": [
                  "K2"
                ]
              },
              {
                "label": "K5",
                "detail": "Illustrative officer record supplies the subsidiary officer identifier and role.",
                "sourceIds": [
                  "K5"
                ]
              },
              {
                "label": "K6",
                "detail": "Illustrative ownership statement names a controlling person but lacks identifying corroboration.",
                "sourceIds": [
                  "K6"
                ]
              }
            ],
            "uncertainties": [
              "Required identity or ownership evidence remains missing for Alex Example.",
              "Required identity or ownership evidence remains missing for Casey Example."
            ]
          }
        }
      ]
    }
  },
  "adverse": {
    "standard": {
      "example": "adverse",
      "scenario": "standard",
      "mode": "scripted",
      "input": {
        "subject": {
          "name": "Avery Sample",
          "birthYear": 1984,
          "location": "Example City",
          "role": "company director"
        },
        "sources": [
          {
            "id": "A1",
            "phase": "initial",
            "channel": "news",
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director",
            "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
          },
          {
            "id": "A2",
            "phase": "initial",
            "channel": "archive",
            "name": "Avery Sample",
            "birthYear": null,
            "location": null,
            "role": null,
            "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
          },
          {
            "id": "A3",
            "phase": "initial",
            "channel": "regulatory",
            "name": "Avery Sample",
            "birthYear": 1970,
            "location": "Other City",
            "role": "architect",
            "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
          },
          {
            "id": "A4",
            "phase": "followup",
            "resolves": "A2",
            "name": "Avery Sample",
            "birthYear": 1975,
            "location": "Elsewhere",
            "role": "teacher",
            "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "subject": {
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director"
          },
          "sources": [
            {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
            },
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            },
            {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
            },
            {
              "id": "A4",
              "phase": "followup",
              "resolves": "A2",
              "name": "Avery Sample",
              "birthYear": 1975,
              "location": "Elsewhere",
              "role": "teacher",
              "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
            }
          ],
          "news": {
            "records": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              }
            ]
          },
          "regulatory": {
            "records": [
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ]
          },
          "courtRecords": {
            "records": []
          },
          "sanctions": {
            "records": []
          },
          "archive": {
            "records": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            ]
          },
          "articles": [
            {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
            },
            {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
            },
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            }
          ],
          "matches": [
            {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
              "identity": "confirmed"
            },
            {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
              "identity": "unrelated"
            },
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": 1975,
              "location": "Elsewhere",
              "role": "teacher",
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unrelated",
              "identityEvidence": {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            }
          ],
          "initialConfirmed": {
            "items": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "values": [
              {
                "confirmed": true
              },
              {
                "confirmed": false
              },
              {
                "confirmed": false
              }
            ],
            "answers": [
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              }
            ],
            "kept": [
              0
            ]
          },
          "unresolved": [],
          "identityDone": true,
          "identityFollowups": [
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": 1975,
              "location": "Elsewhere",
              "role": "teacher",
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unrelated",
              "identityEvidence": {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            }
          ],
          "confirmed": {
            "items": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "values": [
              {
                "confirmed": true
              },
              {
                "confirmed": false
              },
              {
                "confirmed": false
              }
            ],
            "answers": [
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              }
            ],
            "kept": [
              0
            ]
          },
          "assessment": {
            "outcome": "allegation_review"
          },
          "assessment$answers": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "allegation_review",
                "confidence": 1,
                "probabilities": {
                  "identity_review": 0,
                  "allegation_review": 1,
                  "no_confirmed_match": 0
                }
              }
            },
            "confidence": {
              "outcome": 1
            },
            "weakest": "outcome",
            "min_confidence": 1
          },
          "report": {
            "summary": "Illustrative adverse-news review: allegation_review. A matched allegation is not proof of wrongdoing; an unresolved name is neither attributed nor cleared. Only supplied records were searched; an empty channel is not clearance.",
            "findings": [
              {
                "label": "A1",
                "detail": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "sourceIds": [
                  "A1"
                ]
              }
            ],
            "uncertainties": []
          }
        },
        "output": {
          "summary": "Illustrative adverse-news review: allegation_review. A matched allegation is not proof of wrongdoing; an unresolved name is neither attributed nor cleared. Only supplied records were searched; an empty channel is not clearance.",
          "findings": [
            {
              "label": "A1",
              "detail": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
              "sourceIds": [
                "A1"
              ]
            }
          ],
          "uncertainties": []
        }
      },
      "events": [
        {
          "type": "node.start",
          "label": "news-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/0"
        },
        {
          "type": "node.start",
          "label": "regulatory-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/1"
        },
        {
          "type": "node.start",
          "label": "court-records-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/2"
        },
        {
          "type": "node.start",
          "label": "sanctions-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/3"
        },
        {
          "type": "node.start",
          "label": "archive-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/4"
        },
        {
          "type": "node.end",
          "label": "news-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/0"
        },
        {
          "type": "node.end",
          "label": "regulatory-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/1"
        },
        {
          "type": "node.end",
          "label": "court-records-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/2"
        },
        {
          "type": "node.end",
          "label": "sanctions-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/3"
        },
        {
          "type": "node.end",
          "label": "archive-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/4"
        },
        {
          "type": "node.start",
          "label": "collect-news",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/1"
        },
        {
          "type": "code.patch",
          "label": "collect-news",
          "detail": {
            "articles": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            ]
          },
          "executionPath": "/root/steps/1"
        },
        {
          "type": "node.end",
          "label": "collect-news",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/1"
        },
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "confirmed"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "confirmed",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 1,
                    "unrelated": 0,
                    "unresolved": 0
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/2/items/0/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "unrelated"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unrelated",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 1,
                    "unresolved": 0
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/2/items/1/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "unresolved"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unresolved",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 0,
                    "unresolved": 1
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/2/items/2/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "retain-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "retain-match",
          "detail": {
            "matched": {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
              "identity": "confirmed"
            }
          },
          "executionPath": "/root/steps/2/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "retain-match",
          "detail": {
            "matched": {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
              "identity": "unrelated"
            }
          },
          "executionPath": "/root/steps/2/items/1/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "retain-match",
          "detail": {
            "matched": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          },
          "executionPath": "/root/steps/2/items/2/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "retain-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "retain-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "retain-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "sift-confirmed",
          "detail": {
            "kind": "sift"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "sift-confirmed",
          "detail": {
            "kind": "sift",
            "as": "initialConfirmed",
            "value": {
              "items": [
                {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              ],
              "values": [
                {
                  "confirmed": true
                },
                {
                  "confirmed": false
                },
                {
                  "confirmed": false
                }
              ],
              "answers": [
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                }
              ],
              "kept": [
                0
              ]
            },
            "count": 3,
            "kept": 1,
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "sift-confirmed",
          "detail": {
            "kind": "sift",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "prepare-identity-followup",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "code.patch",
          "label": "prepare-identity-followup",
          "detail": {
            "unresolved": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ],
            "identityDone": false
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.end",
          "label": "prepare-identity-followup",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "identity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "judge.answered",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge",
            "as": "updatedIdentity",
            "value": {
              "identity": "unrelated"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unrelated",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 1,
                    "unresolved": 0
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-followup-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "retain-followup-match",
          "detail": {
            "matched": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": 1975,
              "location": "Elsewhere",
              "role": "teacher",
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unrelated",
              "identityEvidence": {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            }
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "retain-followup-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "merge-identity-followup",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "merge-identity-followup",
          "detail": {
            "matches": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "identity": "unrelated"
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unrelated",
                "identityEvidence": {
                  "id": "A4",
                  "phase": "followup",
                  "resolves": "A2",
                  "name": "Avery Sample",
                  "birthYear": 1975,
                  "location": "Elsewhere",
                  "role": "teacher",
                  "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
                }
              }
            ]
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "merge-identity-followup",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "remaining-identities",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "remaining-identities",
          "detail": {
            "unresolved": [],
            "identityDone": true
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "remaining-identities",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/2"
        },
        {
          "type": "loop.exited",
          "label": "followup-identities",
          "detail": {
            "reason": "condition_met",
            "iterations": 1
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "sift-final-confirmed",
          "detail": {
            "kind": "sift"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "judge.answered",
          "label": "sift-final-confirmed",
          "detail": {
            "kind": "sift",
            "as": "confirmed",
            "value": {
              "items": [
                {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              ],
              "values": [
                {
                  "confirmed": true
                },
                {
                  "confirmed": false
                },
                {
                  "confirmed": false
                }
              ],
              "answers": [
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                }
              ],
              "kept": [
                0
              ]
            },
            "count": 3,
            "kept": 1,
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.end",
          "label": "sift-final-confirmed",
          "detail": {
            "kind": "sift",
            "status": "ok"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.start",
          "label": "evidence-judgment",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "judge.answered",
          "label": "evidence-judgment",
          "detail": {
            "kind": "judge",
            "as": "assessment",
            "value": {
              "outcome": "allegation_review"
            },
            "sidecar": {
              "answers": {
                "outcome": {
                  "type": "choice",
                  "choice": "allegation_review",
                  "confidence": 1,
                  "probabilities": {
                    "identity_review": 0,
                    "allegation_review": 1,
                    "no_confirmed_match": 0
                  }
                }
              },
              "confidence": {
                "outcome": 1
              },
              "weakest": "outcome",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "node.end",
          "label": "evidence-judgment",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "node.start",
          "label": "adverse-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/8"
        },
        {
          "type": "node.end",
          "label": "adverse-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/8"
        }
      ],
      "calls": [
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "news-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            ],
            "channel": "news"
          },
          "output": {
            "records": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "regulatory-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            ],
            "channel": "regulatory"
          },
          "output": {
            "records": [
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "court-records-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            ],
            "channel": "court-records"
          },
          "output": {
            "records": []
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "sanctions-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            ],
            "channel": "sanctions"
          },
          "output": {
            "records": []
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "archive-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            ],
            "channel": "archive"
          },
          "output": {
            "records": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            ]
          }
        },
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "classify-matches",
            "index": 0
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "confirmed",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 1,
                  "unrelated": 0,
                  "unresolved": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "classify-matches",
            "index": 1
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unrelated",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 1,
                  "unresolved": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "classify-matches",
            "index": 2
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unresolved",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 0,
                  "unresolved": 1
                }
              }
            }
          }
        },
        {
          "kind": "sift",
          "label": "sift-confirmed",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "items": [
              {
                "id": "item_0",
                "summary": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "item": {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              },
              {
                "id": "item_1",
                "summary": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "item": {
                  "id": "A3",
                  "phase": "initial",
                  "channel": "regulatory",
                  "name": "Avery Sample",
                  "birthYear": 1970,
                  "location": "Other City",
                  "role": "architect",
                  "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                  "identity": "unrelated"
                }
              },
              {
                "id": "item_2",
                "summary": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "item": {
                  "id": "A2",
                  "phase": "initial",
                  "channel": "archive",
                  "name": "Avery Sample",
                  "birthYear": null,
                  "location": null,
                  "role": null,
                  "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                  "identity": "unresolved"
                }
              }
            ]
          },
          "questions": {
            "0.confirmed": {
              "type": "noul",
              "instructions": "For `items[0]` (id item_0): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "1.confirmed": {
              "type": "noul",
              "instructions": "For `items[1]` (id item_1): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "2.confirmed": {
              "type": "noul",
              "instructions": "For `items[2]` (id item_2): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            }
          },
          "output": {
            "answers": {
              "0.confirmed": {
                "type": "noul",
                "noul": 1
              },
              "1.confirmed": {
                "type": "noul",
                "noul": 0
              },
              "2.confirmed": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "identity-followup",
          "input": {
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            ]
          },
          "item": {
            "label": "review-unresolved",
            "index": 0
          },
          "output": {
            "id": "A2",
            "phase": "initial",
            "channel": "archive",
            "name": "Avery Sample",
            "birthYear": 1975,
            "location": "Elsewhere",
            "role": "teacher",
            "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
            "identity": "unresolved",
            "identityEvidence": {
              "id": "A4",
              "phase": "followup",
              "resolves": "A2",
              "name": "Avery Sample",
              "birthYear": 1975,
              "location": "Elsewhere",
              "role": "teacher",
              "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
            }
          }
        },
        {
          "kind": "judge",
          "label": "followup-identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": 1975,
              "location": "Elsewhere",
              "role": "teacher",
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved",
              "identityEvidence": {
                "id": "A4",
                "phase": "followup",
                "resolves": "A2",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
              }
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "review-unresolved",
            "index": 0
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unrelated",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 1,
                  "unresolved": 0
                }
              }
            }
          }
        },
        {
          "kind": "sift",
          "label": "sift-final-confirmed",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "items": [
              {
                "id": "item_0",
                "summary": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "item": {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              },
              {
                "id": "item_1",
                "summary": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "item": {
                  "id": "A3",
                  "phase": "initial",
                  "channel": "regulatory",
                  "name": "Avery Sample",
                  "birthYear": 1970,
                  "location": "Other City",
                  "role": "architect",
                  "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                  "identity": "unrelated"
                }
              },
              {
                "id": "item_2",
                "summary": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "item": {
                  "id": "A2",
                  "phase": "initial",
                  "channel": "archive",
                  "name": "Avery Sample",
                  "birthYear": 1975,
                  "location": "Elsewhere",
                  "role": "teacher",
                  "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                  "identity": "unrelated",
                  "identityEvidence": {
                    "id": "A4",
                    "phase": "followup",
                    "resolves": "A2",
                    "name": "Avery Sample",
                    "birthYear": 1975,
                    "location": "Elsewhere",
                    "role": "teacher",
                    "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
                  }
                }
              }
            ]
          },
          "questions": {
            "0.confirmed": {
              "type": "noul",
              "instructions": "For `items[0]` (id item_0): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "1.confirmed": {
              "type": "noul",
              "instructions": "For `items[1]` (id item_1): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "2.confirmed": {
              "type": "noul",
              "instructions": "For `items[2]` (id item_2): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            }
          },
          "output": {
            "answers": {
              "0.confirmed": {
                "type": "noul",
                "noul": 1
              },
              "1.confirmed": {
                "type": "noul",
                "noul": 0
              },
              "2.confirmed": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "evidence-judgment",
          "input": {
            "confirmed": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "unresolved": []
          },
          "questions": {
            "outcome": {
              "type": "choice",
              "instructions": "Review confirmed sources and remaining unresolved matches separately. Unresolved identity requires identity_review. Confirmed allegations require allegation_review without treating them as proven facts or convictions. With neither, return no_confirmed_match, which is not a clean bill of health.",
              "criteria": {
                "identity_review": "An unresolved identity match remains.",
                "allegation_review": "A confirmed subject match contains an allegation requiring review.",
                "no_confirmed_match": "No supplied source is a confirmed match; no exoneration implied."
              }
            }
          },
          "output": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "allegation_review",
                "confidence": 1,
                "probabilities": {
                  "identity_review": 0,
                  "allegation_review": 1,
                  "no_confirmed_match": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "adverse-report",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "confirmed": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "unresolved": [],
            "allMatches": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "identity": "unrelated"
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": 1975,
                "location": "Elsewhere",
                "role": "teacher",
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unrelated",
                "identityEvidence": {
                  "id": "A4",
                  "phase": "followup",
                  "resolves": "A2",
                  "name": "Avery Sample",
                  "birthYear": 1975,
                  "location": "Elsewhere",
                  "role": "teacher",
                  "text": "Fictional archived index identifies the namesake as a teacher born in 1975 in Elsewhere."
                }
              }
            ],
            "assessment": {
              "outcome": "allegation_review"
            }
          },
          "output": {
            "summary": "Illustrative adverse-news review: allegation_review. A matched allegation is not proof of wrongdoing; an unresolved name is neither attributed nor cleared. Only supplied records were searched; an empty channel is not clearance.",
            "findings": [
              {
                "label": "A1",
                "detail": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "sourceIds": [
                  "A1"
                ]
              }
            ],
            "uncertainties": []
          }
        }
      ]
    },
    "uncertain": {
      "example": "adverse",
      "scenario": "uncertain",
      "mode": "scripted",
      "input": {
        "subject": {
          "name": "Avery Sample",
          "birthYear": 1984,
          "location": "Example City",
          "role": "company director"
        },
        "sources": [
          {
            "id": "A1",
            "phase": "initial",
            "channel": "news",
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director",
            "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
          },
          {
            "id": "A2",
            "phase": "initial",
            "channel": "archive",
            "name": "Avery Sample",
            "birthYear": null,
            "location": null,
            "role": null,
            "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
          },
          {
            "id": "A3",
            "phase": "initial",
            "channel": "regulatory",
            "name": "Avery Sample",
            "birthYear": 1970,
            "location": "Other City",
            "role": "architect",
            "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "subject": {
            "name": "Avery Sample",
            "birthYear": 1984,
            "location": "Example City",
            "role": "company director"
          },
          "sources": [
            {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
            },
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            },
            {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
            }
          ],
          "news": {
            "records": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              }
            ]
          },
          "regulatory": {
            "records": [
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ]
          },
          "courtRecords": {
            "records": []
          },
          "sanctions": {
            "records": []
          },
          "archive": {
            "records": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            ]
          },
          "articles": [
            {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
            },
            {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
            },
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            }
          ],
          "matches": [
            {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
              "identity": "confirmed"
            },
            {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
              "identity": "unrelated"
            },
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          ],
          "initialConfirmed": {
            "items": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "values": [
              {
                "confirmed": true
              },
              {
                "confirmed": false
              },
              {
                "confirmed": false
              }
            ],
            "answers": [
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              }
            ],
            "kept": [
              0
            ]
          },
          "unresolved": [
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          ],
          "identityDone": false,
          "identityFollowups": [
            {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          ],
          "confirmed": {
            "items": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "values": [
              {
                "confirmed": true
              },
              {
                "confirmed": false
              },
              {
                "confirmed": false
              }
            ],
            "answers": [
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 1
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              },
              {
                "answers": {
                  "confirmed": {
                    "type": "noul",
                    "noul": 0
                  }
                },
                "confidence": {
                  "confirmed": 1
                },
                "weakest": "confirmed",
                "min_confidence": 1
              }
            ],
            "kept": [
              0
            ]
          },
          "assessment": {
            "outcome": "identity_review"
          },
          "assessment$answers": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "identity_review",
                "confidence": 1,
                "probabilities": {
                  "identity_review": 1,
                  "allegation_review": 0,
                  "no_confirmed_match": 0
                }
              }
            },
            "confidence": {
              "outcome": 1
            },
            "weakest": "outcome",
            "min_confidence": 1
          },
          "report": {
            "summary": "Illustrative adverse-news review: identity_review. A matched allegation is not proof of wrongdoing; an unresolved name is neither attributed nor cleared. Only supplied records were searched; an empty channel is not clearance.",
            "findings": [
              {
                "label": "A1",
                "detail": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "sourceIds": [
                  "A1"
                ]
              }
            ],
            "uncertainties": [
              "Identity unresolved for source A2; retain it separately and obtain identifying evidence."
            ]
          }
        },
        "output": {
          "summary": "Illustrative adverse-news review: identity_review. A matched allegation is not proof of wrongdoing; an unresolved name is neither attributed nor cleared. Only supplied records were searched; an empty channel is not clearance.",
          "findings": [
            {
              "label": "A1",
              "detail": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
              "sourceIds": [
                "A1"
              ]
            }
          ],
          "uncertainties": [
            "Identity unresolved for source A2; retain it separately and obtain identifying evidence."
          ]
        }
      },
      "events": [
        {
          "type": "node.start",
          "label": "news-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/0"
        },
        {
          "type": "node.start",
          "label": "regulatory-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/1"
        },
        {
          "type": "node.start",
          "label": "court-records-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/2"
        },
        {
          "type": "node.start",
          "label": "sanctions-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/3"
        },
        {
          "type": "node.start",
          "label": "archive-search",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/4"
        },
        {
          "type": "node.end",
          "label": "news-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/0"
        },
        {
          "type": "node.end",
          "label": "regulatory-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/1"
        },
        {
          "type": "node.end",
          "label": "court-records-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/2"
        },
        {
          "type": "node.end",
          "label": "sanctions-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/3"
        },
        {
          "type": "node.end",
          "label": "archive-search",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/4"
        },
        {
          "type": "node.start",
          "label": "collect-news",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/1"
        },
        {
          "type": "code.patch",
          "label": "collect-news",
          "detail": {
            "articles": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            ]
          },
          "executionPath": "/root/steps/1"
        },
        {
          "type": "node.end",
          "label": "collect-news",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/1"
        },
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "confirmed"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "confirmed",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 1,
                    "unrelated": 0,
                    "unresolved": 0
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/2/items/0/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "unrelated"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unrelated",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 1,
                    "unresolved": 0
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/2/items/1/body/steps/0"
        },
        {
          "type": "judge.answered",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "as": "identity",
            "value": {
              "identity": "unresolved"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unresolved",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 0,
                    "unresolved": 1
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/2/items/2/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "retain-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "retain-match",
          "detail": {
            "matched": {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
              "identity": "confirmed"
            }
          },
          "executionPath": "/root/steps/2/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "retain-match",
          "detail": {
            "matched": {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
              "identity": "unrelated"
            }
          },
          "executionPath": "/root/steps/2/items/1/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "retain-match",
          "detail": {
            "matched": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          },
          "executionPath": "/root/steps/2/items/2/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "retain-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "retain-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/1/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "retain-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/2/items/2/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "sift-confirmed",
          "detail": {
            "kind": "sift"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "sift-confirmed",
          "detail": {
            "kind": "sift",
            "as": "initialConfirmed",
            "value": {
              "items": [
                {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              ],
              "values": [
                {
                  "confirmed": true
                },
                {
                  "confirmed": false
                },
                {
                  "confirmed": false
                }
              ],
              "answers": [
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                }
              ],
              "kept": [
                0
              ]
            },
            "count": 3,
            "kept": 1,
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "sift-confirmed",
          "detail": {
            "kind": "sift",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "prepare-identity-followup",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "code.patch",
          "label": "prepare-identity-followup",
          "detail": {
            "unresolved": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ],
            "identityDone": false
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.end",
          "label": "prepare-identity-followup",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "identity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "judge.answered",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge",
            "as": "updatedIdentity",
            "value": {
              "identity": "unresolved"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unresolved",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 0,
                    "unresolved": 1
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-followup-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "retain-followup-match",
          "detail": {
            "matched": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "retain-followup-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "merge-identity-followup",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "merge-identity-followup",
          "detail": {
            "matches": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "identity": "unrelated"
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ]
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "merge-identity-followup",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "remaining-identities",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "remaining-identities",
          "detail": {
            "unresolved": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ],
            "identityDone": false
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "remaining-identities",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/0/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "identity-followup",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/0"
        },
        {
          "type": "node.end",
          "label": "identity-followup",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/0"
        },
        {
          "type": "node.start",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "judge.answered",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge",
            "as": "updatedIdentity",
            "value": {
              "identity": "unresolved"
            },
            "sidecar": {
              "answers": {
                "identity": {
                  "type": "choice",
                  "choice": "unresolved",
                  "confidence": 1,
                  "probabilities": {
                    "confirmed": 0,
                    "unrelated": 0,
                    "unresolved": 1
                  }
                }
              },
              "confidence": {
                "identity": 1
              },
              "weakest": "identity",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "followup-identity-match",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "retain-followup-match",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "retain-followup-match",
          "detail": {
            "matched": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "retain-followup-match",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/0/items/0/body/steps/2"
        },
        {
          "type": "node.start",
          "label": "merge-identity-followup",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/1"
        },
        {
          "type": "code.patch",
          "label": "merge-identity-followup",
          "detail": {
            "matches": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "identity": "unrelated"
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ]
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/1"
        },
        {
          "type": "node.end",
          "label": "merge-identity-followup",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/1"
        },
        {
          "type": "node.start",
          "label": "remaining-identities",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/2"
        },
        {
          "type": "code.patch",
          "label": "remaining-identities",
          "detail": {
            "unresolved": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ],
            "identityDone": false
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/2"
        },
        {
          "type": "node.end",
          "label": "remaining-identities",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5/iterations/1/body/steps/2"
        },
        {
          "type": "loop.exited",
          "label": "followup-identities",
          "detail": {
            "reason": "bound_reached",
            "iterations": 2
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "sift-final-confirmed",
          "detail": {
            "kind": "sift"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "judge.answered",
          "label": "sift-final-confirmed",
          "detail": {
            "kind": "sift",
            "as": "confirmed",
            "value": {
              "items": [
                {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              ],
              "values": [
                {
                  "confirmed": true
                },
                {
                  "confirmed": false
                },
                {
                  "confirmed": false
                }
              ],
              "answers": [
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 1
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                },
                {
                  "answers": {
                    "confirmed": {
                      "type": "noul",
                      "noul": 0
                    }
                  },
                  "confidence": {
                    "confirmed": 1
                  },
                  "weakest": "confirmed",
                  "min_confidence": 1
                }
              ],
              "kept": [
                0
              ]
            },
            "count": 3,
            "kept": 1,
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.end",
          "label": "sift-final-confirmed",
          "detail": {
            "kind": "sift",
            "status": "ok"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.start",
          "label": "evidence-judgment",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "judge.answered",
          "label": "evidence-judgment",
          "detail": {
            "kind": "judge",
            "as": "assessment",
            "value": {
              "outcome": "identity_review"
            },
            "sidecar": {
              "answers": {
                "outcome": {
                  "type": "choice",
                  "choice": "identity_review",
                  "confidence": 1,
                  "probabilities": {
                    "identity_review": 1,
                    "allegation_review": 0,
                    "no_confirmed_match": 0
                  }
                }
              },
              "confidence": {
                "outcome": 1
              },
              "weakest": "outcome",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "node.end",
          "label": "evidence-judgment",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/7"
        },
        {
          "type": "node.start",
          "label": "adverse-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/8"
        },
        {
          "type": "node.end",
          "label": "adverse-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/8"
        }
      ],
      "calls": [
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "news-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ],
            "channel": "news"
          },
          "output": {
            "records": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "regulatory-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ],
            "channel": "regulatory"
          },
          "output": {
            "records": [
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "court-records-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ],
            "channel": "court-records"
          },
          "output": {
            "records": []
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "sanctions-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ],
            "channel": "sanctions"
          },
          "output": {
            "records": []
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "archive-search",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ],
            "channel": "archive"
          },
          "output": {
            "records": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              }
            ]
          }
        },
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A1",
              "phase": "initial",
              "channel": "news",
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director",
              "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "classify-matches",
            "index": 0
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "confirmed",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 1,
                  "unrelated": 0,
                  "unresolved": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A3",
              "phase": "initial",
              "channel": "regulatory",
              "name": "Avery Sample",
              "birthYear": 1970,
              "location": "Other City",
              "role": "architect",
              "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "classify-matches",
            "index": 1
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unrelated",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 1,
                  "unresolved": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "classify-matches",
            "index": 2
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unresolved",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 0,
                  "unresolved": 1
                }
              }
            }
          }
        },
        {
          "kind": "sift",
          "label": "sift-confirmed",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "items": [
              {
                "id": "item_0",
                "summary": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "item": {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              },
              {
                "id": "item_1",
                "summary": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "item": {
                  "id": "A3",
                  "phase": "initial",
                  "channel": "regulatory",
                  "name": "Avery Sample",
                  "birthYear": 1970,
                  "location": "Other City",
                  "role": "architect",
                  "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                  "identity": "unrelated"
                }
              },
              {
                "id": "item_2",
                "summary": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "item": {
                  "id": "A2",
                  "phase": "initial",
                  "channel": "archive",
                  "name": "Avery Sample",
                  "birthYear": null,
                  "location": null,
                  "role": null,
                  "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                  "identity": "unresolved"
                }
              }
            ]
          },
          "questions": {
            "0.confirmed": {
              "type": "noul",
              "instructions": "For `items[0]` (id item_0): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "1.confirmed": {
              "type": "noul",
              "instructions": "For `items[1]` (id item_1): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "2.confirmed": {
              "type": "noul",
              "instructions": "For `items[2]` (id item_2): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            }
          },
          "output": {
            "answers": {
              "0.confirmed": {
                "type": "noul",
                "noul": 1
              },
              "1.confirmed": {
                "type": "noul",
                "noul": 0
              },
              "2.confirmed": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "identity-followup",
          "input": {
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ]
          },
          "item": {
            "label": "review-unresolved",
            "index": 0
          },
          "output": {
            "id": "A2",
            "phase": "initial",
            "channel": "archive",
            "name": "Avery Sample",
            "birthYear": null,
            "location": null,
            "role": null,
            "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
            "identity": "unresolved"
          }
        },
        {
          "kind": "judge",
          "label": "followup-identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "review-unresolved",
            "index": 0
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unresolved",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 0,
                  "unresolved": 1
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "identity-followup",
          "input": {
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            },
            "sources": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person."
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved."
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City."
              }
            ]
          },
          "item": {
            "label": "review-unresolved",
            "index": 0
          },
          "output": {
            "id": "A2",
            "phase": "initial",
            "channel": "archive",
            "name": "Avery Sample",
            "birthYear": null,
            "location": null,
            "role": null,
            "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
            "identity": "unresolved"
          }
        },
        {
          "kind": "judge",
          "label": "followup-identity-match",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "article": {
              "id": "A2",
              "phase": "initial",
              "channel": "archive",
              "name": "Avery Sample",
              "birthYear": null,
              "location": null,
              "role": null,
              "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
              "identity": "unresolved"
            }
          },
          "questions": {
            "identity": {
              "type": "choice",
              "instructions": "Does this source identify the actual subject? confirmed requires a matching name, birth year and location plus consistent role, with no contradiction. A conflicting birth year or identity context is unrelated. Name-only and incomplete matches remain unresolved. This is identity attribution, not proof an allegation is true.",
              "criteria": {
                "confirmed": "Identifiers link the source to the subject.",
                "unrelated": "Identifiers establish a different subject.",
                "unresolved": "Insufficient identifying evidence; retain for follow-up."
              }
            }
          },
          "item": {
            "label": "review-unresolved",
            "index": 0
          },
          "output": {
            "answers": {
              "identity": {
                "type": "choice",
                "choice": "unresolved",
                "confidence": 1,
                "probabilities": {
                  "confirmed": 0,
                  "unrelated": 0,
                  "unresolved": 1
                }
              }
            }
          }
        },
        {
          "kind": "sift",
          "label": "sift-final-confirmed",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "items": [
              {
                "id": "item_0",
                "summary": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "item": {
                  "id": "A1",
                  "phase": "initial",
                  "channel": "news",
                  "name": "Avery Sample",
                  "birthYear": 1984,
                  "location": "Example City",
                  "role": "company director",
                  "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                  "identity": "confirmed"
                }
              },
              {
                "id": "item_1",
                "summary": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "item": {
                  "id": "A3",
                  "phase": "initial",
                  "channel": "regulatory",
                  "name": "Avery Sample",
                  "birthYear": 1970,
                  "location": "Other City",
                  "role": "architect",
                  "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                  "identity": "unrelated"
                }
              },
              {
                "id": "item_2",
                "summary": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "item": {
                  "id": "A2",
                  "phase": "initial",
                  "channel": "archive",
                  "name": "Avery Sample",
                  "birthYear": null,
                  "location": null,
                  "role": null,
                  "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                  "identity": "unresolved"
                }
              }
            ]
          },
          "questions": {
            "0.confirmed": {
              "type": "noul",
              "instructions": "For `items[0]` (id item_0): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "1.confirmed": {
              "type": "noul",
              "instructions": "For `items[1]` (id item_1): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            },
            "2.confirmed": {
              "type": "noul",
              "instructions": "For `items[2]` (id item_2): Keep a source only when its retained identity judgment is confirmed with supporting identifiers. Do not treat unresolved namesakes as confirmed or as cleared. This does not establish whether the allegation is true."
            }
          },
          "output": {
            "answers": {
              "0.confirmed": {
                "type": "noul",
                "noul": 1
              },
              "1.confirmed": {
                "type": "noul",
                "noul": 0
              },
              "2.confirmed": {
                "type": "noul",
                "noul": 0
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "evidence-judgment",
          "input": {
            "confirmed": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "unresolved": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ]
          },
          "questions": {
            "outcome": {
              "type": "choice",
              "instructions": "Review confirmed sources and remaining unresolved matches separately. Unresolved identity requires identity_review. Confirmed allegations require allegation_review without treating them as proven facts or convictions. With neither, return no_confirmed_match, which is not a clean bill of health.",
              "criteria": {
                "identity_review": "An unresolved identity match remains.",
                "allegation_review": "A confirmed subject match contains an allegation requiring review.",
                "no_confirmed_match": "No supplied source is a confirmed match; no exoneration implied."
              }
            }
          },
          "output": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "identity_review",
                "confidence": 1,
                "probabilities": {
                  "identity_review": 1,
                  "allegation_review": 0,
                  "no_confirmed_match": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "adverse-report",
          "input": {
            "subject": {
              "name": "Avery Sample",
              "birthYear": 1984,
              "location": "Example City",
              "role": "company director"
            },
            "confirmed": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              }
            ],
            "unresolved": [
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ],
            "allMatches": [
              {
                "id": "A1",
                "phase": "initial",
                "channel": "news",
                "name": "Avery Sample",
                "birthYear": 1984,
                "location": "Example City",
                "role": "company director",
                "text": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "identity": "confirmed"
              },
              {
                "id": "A3",
                "phase": "initial",
                "channel": "regulatory",
                "name": "Avery Sample",
                "birthYear": 1970,
                "location": "Other City",
                "role": "architect",
                "text": "Fictional register record concerns a namesake born in 1970, an architect in Other City.",
                "identity": "unrelated"
              },
              {
                "id": "A2",
                "phase": "initial",
                "channel": "archive",
                "name": "Avery Sample",
                "birthYear": null,
                "location": null,
                "role": null,
                "text": "Fictional archive names Avery Sample without identifying details; attribution is unresolved.",
                "identity": "unresolved"
              }
            ],
            "assessment": {
              "outcome": "identity_review"
            }
          },
          "output": {
            "summary": "Illustrative adverse-news review: identity_review. A matched allegation is not proof of wrongdoing; an unresolved name is neither attributed nor cleared. Only supplied records were searched; an empty channel is not clearance.",
            "findings": [
              {
                "label": "A1",
                "detail": "Fictional news source alleges a contract dispute involving fictional Avery Sample, born 1984, a company director in Example City. This is an invented allegation, not a finding about a real person.",
                "sourceIds": [
                  "A1"
                ]
              }
            ],
            "uncertainties": [
              "Identity unresolved for source A2; retain it separately and obtain identifying evidence."
            ]
          }
        }
      ]
    }
  },
  "mcc": {
    "standard": {
      "example": "mcc",
      "scenario": "standard",
      "mode": "scripted",
      "input": {
        "subject": "Example Cycle Works — fictional business",
        "entityId": "business-1",
        "policy": {
          "version": "teaching-policy-v1",
          "sections": {
            "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
            "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
            "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
            "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
            "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
          }
        },
        "catalogue": {
          "version": "teaching-catalog-v1",
          "rows": [
            {
              "id": "demo-repair",
              "activity": "repair_service",
              "description": "Repairing customer-owned goods is principal.",
              "excludes": "Selling goods as the principal activity."
            },
            {
              "id": "demo-retail",
              "activity": "retail_sales",
              "description": "Selling goods is principal.",
              "excludes": "Repairing customer-owned goods as the principal activity."
            }
          ]
        },
        "website": "supplied-website",
        "sources": [
          {
            "id": "M1",
            "entityId": "business-1",
            "kind": "website",
            "activity": "repair_service",
            "principal": true,
            "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
          },
          {
            "id": "M2",
            "entityId": "business-1",
            "kind": "places",
            "activity": null,
            "principal": false,
            "text": "Fictional places listing associates Example Cycle Works with the supplied address."
          },
          {
            "id": "M3",
            "entityId": "business-1",
            "kind": "registry",
            "activity": null,
            "principal": false,
            "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
          },
          {
            "id": "M4",
            "entityId": "business-1",
            "kind": "alias",
            "activity": null,
            "principal": false,
            "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "subject": "Example Cycle Works — fictional business",
          "entityId": "business-1",
          "policy": {
            "version": "teaching-policy-v1",
            "sections": {
              "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
              "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
              "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
              "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
              "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
            }
          },
          "catalogue": {
            "version": "teaching-catalog-v1",
            "rows": [
              {
                "id": "demo-repair",
                "activity": "repair_service",
                "description": "Repairing customer-owned goods is principal.",
                "excludes": "Selling goods as the principal activity."
              },
              {
                "id": "demo-retail",
                "activity": "retail_sales",
                "description": "Selling goods is principal.",
                "excludes": "Repairing customer-owned goods as the principal activity."
              }
            ]
          },
          "website": "supplied-website",
          "sources": [
            {
              "id": "M1",
              "entityId": "business-1",
              "kind": "website",
              "activity": "repair_service",
              "principal": true,
              "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
            },
            {
              "id": "M2",
              "entityId": "business-1",
              "kind": "places",
              "activity": null,
              "principal": false,
              "text": "Fictional places listing associates Example Cycle Works with the supplied address."
            },
            {
              "id": "M3",
              "entityId": "business-1",
              "kind": "registry",
              "activity": null,
              "principal": false,
              "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
            },
            {
              "id": "M4",
              "entityId": "business-1",
              "kind": "alias",
              "activity": null,
              "principal": false,
              "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
            }
          ],
          "sourceRoute": {
            "branch": "website",
            "taken": "website",
            "unsure": false
          },
          "sourceRoute$answers": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "website",
                "confidence": 1,
                "probabilities": {
                  "website": 1,
                  "discover": 0
                }
              }
            },
            "confidence": {
              "branch": 1
            },
            "weakest": "branch",
            "min_confidence": 1
          },
          "sourceDiscovery": {
            "records": [
              {
                "id": "M1",
                "entityId": "business-1",
                "kind": "website",
                "activity": "repair_service",
                "principal": true,
                "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
              }
            ]
          },
          "activityFindings": [
            {
              "source": {
                "id": "M1",
                "entityId": "business-1",
                "kind": "website",
                "activity": "repair_service",
                "principal": true,
                "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
              },
              "activity": "repair_service",
              "establishesPrincipal": true,
              "identityMatches": true
            }
          ],
          "candidates": {
            "alternatives": [
              "repair_service",
              "retail_sales"
            ],
            "supported": [
              "repair_service"
            ],
            "missing": false
          },
          "classification": {
            "category": "repair_service"
          },
          "classification$answers": {
            "answers": {
              "category": {
                "type": "choice",
                "choice": "repair_service",
                "confidence": 1,
                "probabilities": {
                  "repair_service": 1,
                  "retail_sales": 0,
                  "needs_review": 0
                }
              }
            },
            "confidence": {
              "category": 1
            },
            "weakest": "category",
            "min_confidence": 1
          },
          "indicators": {
            "outcome": "no_recorded_flags"
          },
          "indicators$answers": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "no_recorded_flags",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_flags": 1,
                  "refer": 0
                }
              }
            },
            "confidence": {
              "outcome": 1
            },
            "weakest": "outcome",
            "min_confidence": 1
          },
          "selectedRow": {
            "id": "demo-repair",
            "activity": "repair_service",
            "description": "Repairing customer-owned goods is principal.",
            "excludes": "Selling goods as the principal activity."
          },
          "referred": false,
          "policyVersion": "teaching-policy-v1",
          "catalogVersion": "teaching-catalog-v1",
          "report": {
            "summary": "Illustrative catalogue row demo-repair: Repairing customer-owned goods is principal. (teaching-policy-v1; teaching-catalog-v1). This is not an official MCC assignment or acquiring decision.",
            "findings": [
              {
                "label": "M1",
                "detail": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental.",
                "sourceIds": [
                  "M1"
                ]
              }
            ],
            "uncertainties": []
          }
        },
        "output": {
          "summary": "Illustrative catalogue row demo-repair: Repairing customer-owned goods is principal. (teaching-policy-v1; teaching-catalog-v1). This is not an official MCC assignment or acquiring decision.",
          "findings": [
            {
              "label": "M1",
              "detail": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental.",
              "sourceIds": [
                "M1"
              ]
            }
          ],
          "uncertainties": []
        }
      },
      "events": [
        {
          "type": "route.chosen",
          "label": "choose-source-path",
          "detail": {
            "kind": "route",
            "as": "sourceRoute",
            "value": {
              "branch": "website",
              "taken": "website",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "website",
                  "confidence": 1,
                  "probabilities": {
                    "website": 1,
                    "discover": 0
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.start",
          "label": "read-website",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/website/body"
        },
        {
          "type": "node.end",
          "label": "read-website",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/website/body"
        },
        {
          "type": "node.start",
          "label": "research-activity",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.end",
          "label": "research-activity",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.start",
          "label": "candidate-classes",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.end",
          "label": "candidate-classes",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.start",
          "label": "classify-business",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "classify-business",
          "detail": {
            "kind": "judge",
            "as": "classification",
            "value": {
              "category": "repair_service"
            },
            "sidecar": {
              "answers": {
                "category": {
                  "type": "choice",
                  "choice": "repair_service",
                  "confidence": 1,
                  "probabilities": {
                    "repair_service": 1,
                    "retail_sales": 0,
                    "needs_review": 0
                  }
                }
              },
              "confidence": {
                "category": 1
              },
              "weakest": "category",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "classify-business",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "check-business-indicators",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "judge.answered",
          "label": "check-business-indicators",
          "detail": {
            "kind": "judge",
            "as": "indicators",
            "value": {
              "outcome": "no_recorded_flags"
            },
            "sidecar": {
              "answers": {
                "outcome": {
                  "type": "choice",
                  "choice": "no_recorded_flags",
                  "confidence": 1,
                  "probabilities": {
                    "no_recorded_flags": 1,
                    "refer": 0
                  }
                }
              },
              "confidence": {
                "outcome": 1
              },
              "weakest": "outcome",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.end",
          "label": "check-business-indicators",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "resolve-catalogue-row",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "code.patch",
          "label": "resolve-catalogue-row",
          "detail": {
            "selectedRow": {
              "id": "demo-repair",
              "activity": "repair_service",
              "description": "Repairing customer-owned goods is principal.",
              "excludes": "Selling goods as the principal activity."
            },
            "referred": false,
            "policyVersion": "teaching-policy-v1",
            "catalogVersion": "teaching-catalog-v1"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.end",
          "label": "resolve-catalogue-row",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "mcc-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.end",
          "label": "mcc-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/6"
        }
      ],
      "calls": [
        {
          "kind": "route",
          "label": "choose-source-path",
          "input": {
            "website": "supplied-website"
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use website when a supplied business website is available. If no website is supplied, discover sources from the supplied places listing, registry and aliases. Discovery locates evidence; it does not determine the business class.",
              "criteria": {
                "website": "A business website was supplied.",
                "discover": "No business website is supplied."
              }
            }
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "website",
                "confidence": 1,
                "probabilities": {
                  "website": 1,
                  "discover": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "read-website",
          "input": {
            "website": "supplied-website",
            "sources": [
              {
                "id": "M1",
                "entityId": "business-1",
                "kind": "website",
                "activity": "repair_service",
                "principal": true,
                "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
              },
              {
                "id": "M2",
                "entityId": "business-1",
                "kind": "places",
                "activity": null,
                "principal": false,
                "text": "Fictional places listing associates Example Cycle Works with the supplied address."
              },
              {
                "id": "M3",
                "entityId": "business-1",
                "kind": "registry",
                "activity": null,
                "principal": false,
                "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
              },
              {
                "id": "M4",
                "entityId": "business-1",
                "kind": "alias",
                "activity": null,
                "principal": false,
                "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
              }
            ]
          },
          "output": {
            "records": [
              {
                "id": "M1",
                "entityId": "business-1",
                "kind": "website",
                "activity": "repair_service",
                "principal": true,
                "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-activity",
          "input": {
            "source": {
              "id": "M1",
              "entityId": "business-1",
              "kind": "website",
              "activity": "repair_service",
              "principal": true,
              "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
            },
            "subject": "Example Cycle Works — fictional business",
            "entityId": "business-1"
          },
          "item": {
            "label": "research-business",
            "index": 0
          },
          "output": {
            "source": {
              "id": "M1",
              "entityId": "business-1",
              "kind": "website",
              "activity": "repair_service",
              "principal": true,
              "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
            },
            "activity": "repair_service",
            "establishesPrincipal": true,
            "identityMatches": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "candidate-classes",
          "input": {
            "findings": [
              {
                "source": {
                  "id": "M1",
                  "entityId": "business-1",
                  "kind": "website",
                  "activity": "repair_service",
                  "principal": true,
                  "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
                },
                "activity": "repair_service",
                "establishesPrincipal": true,
                "identityMatches": true
              }
            ],
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "output": {
            "alternatives": [
              "repair_service",
              "retail_sales"
            ],
            "supported": [
              "repair_service"
            ],
            "missing": false
          }
        },
        {
          "kind": "judge",
          "label": "classify-business",
          "input": {
            "findings": [
              {
                "source": {
                  "id": "M1",
                  "entityId": "business-1",
                  "kind": "website",
                  "activity": "repair_service",
                  "principal": true,
                  "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
                },
                "activity": "repair_service",
                "establishesPrincipal": true,
                "identityMatches": true
              }
            ],
            "candidates": {
              "alternatives": [
                "repair_service",
                "retail_sales"
              ],
              "supported": [
                "repair_service"
              ],
              "missing": false
            },
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "questions": {
            "category": {
              "type": "choice",
              "instructions": "Apply every section of the supplied versioned policy to all identity and activity findings and compare the supplied catalogue inclusions and exclusions. Choose the supported catalogue activity, or needs_review when the policy requires referral. Do not rewrite the policy, invent evidence or treat these teaching categories as official payment-network codes.",
              "criteria": {
                "repair_service": "Repairing customer-owned goods is the evidenced principal activity.",
                "retail_sales": "Selling goods is the evidenced principal activity.",
                "needs_review": "Principal activity is missing, conflicting or unsupported."
              }
            }
          },
          "output": {
            "answers": {
              "category": {
                "type": "choice",
                "choice": "repair_service",
                "confidence": 1,
                "probabilities": {
                  "repair_service": 1,
                  "retail_sales": 0,
                  "needs_review": 0
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "check-business-indicators",
          "input": {
            "findings": [
              {
                "source": {
                  "id": "M1",
                  "entityId": "business-1",
                  "kind": "website",
                  "activity": "repair_service",
                  "principal": true,
                  "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
                },
                "activity": "repair_service",
                "establishesPrincipal": true,
                "identityMatches": true
              }
            ],
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "questions": {
            "outcome": {
              "type": "choice",
              "instructions": "Independently apply every section of the supplied policy and catalogue to the evidence. Do not copy the assignment answer. Return refer when the policy identifies a blocker or gap; no_recorded_flags is limited to these supplied checks, never approval.",
              "criteria": {
                "no_recorded_flags": "No blocking indicator in the supplied fixture evidence.",
                "refer": "An identity, activity, conflict or evidence blocker requires human review."
              }
            }
          },
          "output": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "no_recorded_flags",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_flags": 1,
                  "refer": 0
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "mcc-report",
          "input": {
            "subject": "Example Cycle Works — fictional business",
            "findings": [
              {
                "source": {
                  "id": "M1",
                  "entityId": "business-1",
                  "kind": "website",
                  "activity": "repair_service",
                  "principal": true,
                  "text": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental."
                },
                "activity": "repair_service",
                "establishesPrincipal": true,
                "identityMatches": true
              }
            ],
            "candidates": {
              "alternatives": [
                "repair_service",
                "retail_sales"
              ],
              "supported": [
                "repair_service"
              ],
              "missing": false
            },
            "classification": {
              "category": "repair_service"
            },
            "indicators": {
              "outcome": "no_recorded_flags"
            },
            "selectedRow": {
              "id": "demo-repair",
              "activity": "repair_service",
              "description": "Repairing customer-owned goods is principal.",
              "excludes": "Selling goods as the principal activity."
            },
            "referred": false,
            "policyVersion": "teaching-policy-v1",
            "catalogVersion": "teaching-catalog-v1",
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "output": {
            "summary": "Illustrative catalogue row demo-repair: Repairing customer-owned goods is principal. (teaching-policy-v1; teaching-catalog-v1). This is not an official MCC assignment or acquiring decision.",
            "findings": [
              {
                "label": "M1",
                "detail": "Fictional business website states that repairing customer-owned bicycles is its principal activity; parts sales are incidental.",
                "sourceIds": [
                  "M1"
                ]
              }
            ],
            "uncertainties": []
          }
        }
      ]
    },
    "uncertain": {
      "example": "mcc",
      "scenario": "uncertain",
      "mode": "scripted",
      "input": {
        "subject": "Example Cycle Works — fictional business",
        "entityId": "business-1",
        "policy": {
          "version": "teaching-policy-v1",
          "sections": {
            "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
            "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
            "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
            "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
            "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
          }
        },
        "catalogue": {
          "version": "teaching-catalog-v1",
          "rows": [
            {
              "id": "demo-repair",
              "activity": "repair_service",
              "description": "Repairing customer-owned goods is principal.",
              "excludes": "Selling goods as the principal activity."
            },
            {
              "id": "demo-retail",
              "activity": "retail_sales",
              "description": "Selling goods is principal.",
              "excludes": "Repairing customer-owned goods as the principal activity."
            }
          ]
        },
        "website": "",
        "sources": [
          {
            "id": "M2",
            "entityId": "business-1",
            "kind": "places",
            "activity": null,
            "principal": false,
            "text": "Fictional places listing associates Example Cycle Works with the supplied address."
          },
          {
            "id": "M3",
            "entityId": "business-1",
            "kind": "registry",
            "activity": null,
            "principal": false,
            "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
          },
          {
            "id": "M4",
            "entityId": "business-1",
            "kind": "alias",
            "activity": null,
            "principal": false,
            "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
          }
        ]
      },
      "result": {
        "status": "complete",
        "state": {
          "subject": "Example Cycle Works — fictional business",
          "entityId": "business-1",
          "policy": {
            "version": "teaching-policy-v1",
            "sections": {
              "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
              "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
              "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
              "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
              "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
            }
          },
          "catalogue": {
            "version": "teaching-catalog-v1",
            "rows": [
              {
                "id": "demo-repair",
                "activity": "repair_service",
                "description": "Repairing customer-owned goods is principal.",
                "excludes": "Selling goods as the principal activity."
              },
              {
                "id": "demo-retail",
                "activity": "retail_sales",
                "description": "Selling goods is principal.",
                "excludes": "Repairing customer-owned goods as the principal activity."
              }
            ]
          },
          "website": "",
          "sources": [
            {
              "id": "M2",
              "entityId": "business-1",
              "kind": "places",
              "activity": null,
              "principal": false,
              "text": "Fictional places listing associates Example Cycle Works with the supplied address."
            },
            {
              "id": "M3",
              "entityId": "business-1",
              "kind": "registry",
              "activity": null,
              "principal": false,
              "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
            },
            {
              "id": "M4",
              "entityId": "business-1",
              "kind": "alias",
              "activity": null,
              "principal": false,
              "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
            }
          ],
          "sourceRoute": {
            "branch": "discover",
            "taken": "discover",
            "unsure": false
          },
          "sourceRoute$answers": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "discover",
                "confidence": 1,
                "probabilities": {
                  "website": 0,
                  "discover": 1
                }
              }
            },
            "confidence": {
              "branch": 1
            },
            "weakest": "branch",
            "min_confidence": 1
          },
          "sourceDiscovery": {
            "records": [
              {
                "id": "M2",
                "entityId": "business-1",
                "kind": "places",
                "activity": null,
                "principal": false,
                "text": "Fictional places listing associates Example Cycle Works with the supplied address."
              },
              {
                "id": "M3",
                "entityId": "business-1",
                "kind": "registry",
                "activity": null,
                "principal": false,
                "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
              },
              {
                "id": "M4",
                "entityId": "business-1",
                "kind": "alias",
                "activity": null,
                "principal": false,
                "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
              }
            ]
          },
          "activityFindings": [
            {
              "source": {
                "id": "M2",
                "entityId": "business-1",
                "kind": "places",
                "activity": null,
                "principal": false,
                "text": "Fictional places listing associates Example Cycle Works with the supplied address."
              },
              "activity": null,
              "establishesPrincipal": false,
              "identityMatches": true
            },
            {
              "source": {
                "id": "M3",
                "entityId": "business-1",
                "kind": "registry",
                "activity": null,
                "principal": false,
                "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
              },
              "activity": null,
              "establishesPrincipal": false,
              "identityMatches": true
            },
            {
              "source": {
                "id": "M4",
                "entityId": "business-1",
                "kind": "alias",
                "activity": null,
                "principal": false,
                "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
              },
              "activity": null,
              "establishesPrincipal": false,
              "identityMatches": true
            }
          ],
          "candidates": {
            "alternatives": [
              "repair_service",
              "retail_sales"
            ],
            "supported": [],
            "missing": true
          },
          "classification": {
            "category": "needs_review"
          },
          "classification$answers": {
            "answers": {
              "category": {
                "type": "choice",
                "choice": "needs_review",
                "confidence": 1,
                "probabilities": {
                  "repair_service": 0,
                  "retail_sales": 0,
                  "needs_review": 1
                }
              }
            },
            "confidence": {
              "category": 1
            },
            "weakest": "category",
            "min_confidence": 1
          },
          "indicators": {
            "outcome": "refer"
          },
          "indicators$answers": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "refer",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_flags": 0,
                  "refer": 1
                }
              }
            },
            "confidence": {
              "outcome": 1
            },
            "weakest": "outcome",
            "min_confidence": 1
          },
          "selectedRow": null,
          "referred": true,
          "policyVersion": "teaching-policy-v1",
          "catalogVersion": "teaching-catalog-v1",
          "report": {
            "summary": "Human review required under teaching-policy-v1; no catalogue row assigned. These are fictional teaching categories.",
            "findings": [
              {
                "label": "M2",
                "detail": "Fictional places listing associates Example Cycle Works with the supplied address.",
                "sourceIds": [
                  "M2"
                ]
              },
              {
                "label": "M3",
                "detail": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity.",
                "sourceIds": [
                  "M3"
                ]
              },
              {
                "label": "M4",
                "detail": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source.",
                "sourceIds": [
                  "M4"
                ]
              }
            ],
            "uncertainties": [
              "Assignment remains unresolved: check entity identity, direct principal-activity evidence and catalogue exclusions before assigning a row."
            ]
          }
        },
        "output": {
          "summary": "Human review required under teaching-policy-v1; no catalogue row assigned. These are fictional teaching categories.",
          "findings": [
            {
              "label": "M2",
              "detail": "Fictional places listing associates Example Cycle Works with the supplied address.",
              "sourceIds": [
                "M2"
              ]
            },
            {
              "label": "M3",
              "detail": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity.",
              "sourceIds": [
                "M3"
              ]
            },
            {
              "label": "M4",
              "detail": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source.",
              "sourceIds": [
                "M4"
              ]
            }
          ],
          "uncertainties": [
            "Assignment remains unresolved: check entity identity, direct principal-activity evidence and catalogue exclusions before assigning a row."
          ]
        }
      },
      "events": [
        {
          "type": "route.chosen",
          "label": "choose-source-path",
          "detail": {
            "kind": "route",
            "as": "sourceRoute",
            "value": {
              "branch": "discover",
              "taken": "discover",
              "unsure": false
            },
            "sidecar": {
              "answers": {
                "branch": {
                  "type": "choice",
                  "choice": "discover",
                  "confidence": 1,
                  "probabilities": {
                    "website": 0,
                    "discover": 1
                  }
                }
              },
              "confidence": {
                "branch": 1
              },
              "weakest": "branch",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/0"
        },
        {
          "type": "node.start",
          "label": "discover-sources",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/0/branches/discover/body"
        },
        {
          "type": "node.end",
          "label": "discover-sources",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/0/branches/discover/body"
        },
        {
          "type": "node.start",
          "label": "research-activity",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.start",
          "label": "research-activity",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/1/body"
        },
        {
          "type": "node.end",
          "label": "research-activity",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/0/body"
        },
        {
          "type": "node.end",
          "label": "research-activity",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/1/body"
        },
        {
          "type": "node.start",
          "label": "research-activity",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/1/items/2/body"
        },
        {
          "type": "node.end",
          "label": "research-activity",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/1/items/2/body"
        },
        {
          "type": "node.start",
          "label": "candidate-classes",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.end",
          "label": "candidate-classes",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/2"
        },
        {
          "type": "node.start",
          "label": "classify-business",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "judge.answered",
          "label": "classify-business",
          "detail": {
            "kind": "judge",
            "as": "classification",
            "value": {
              "category": "needs_review"
            },
            "sidecar": {
              "answers": {
                "category": {
                  "type": "choice",
                  "choice": "needs_review",
                  "confidence": 1,
                  "probabilities": {
                    "repair_service": 0,
                    "retail_sales": 0,
                    "needs_review": 1
                  }
                }
              },
              "confidence": {
                "category": 1
              },
              "weakest": "category",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.end",
          "label": "classify-business",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/3"
        },
        {
          "type": "node.start",
          "label": "check-business-indicators",
          "detail": {
            "kind": "judge"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "judge.answered",
          "label": "check-business-indicators",
          "detail": {
            "kind": "judge",
            "as": "indicators",
            "value": {
              "outcome": "refer"
            },
            "sidecar": {
              "answers": {
                "outcome": {
                  "type": "choice",
                  "choice": "refer",
                  "confidence": 1,
                  "probabilities": {
                    "no_recorded_flags": 0,
                    "refer": 1
                  }
                }
              },
              "confidence": {
                "outcome": 1
              },
              "weakest": "outcome",
              "min_confidence": 1
            },
            "model": null,
            "cost_usd": null
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.end",
          "label": "check-business-indicators",
          "detail": {
            "kind": "judge",
            "status": "ok"
          },
          "executionPath": "/root/steps/4"
        },
        {
          "type": "node.start",
          "label": "resolve-catalogue-row",
          "detail": {
            "kind": "code"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "code.patch",
          "label": "resolve-catalogue-row",
          "detail": {
            "selectedRow": null,
            "referred": true,
            "policyVersion": "teaching-policy-v1",
            "catalogVersion": "teaching-catalog-v1"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.end",
          "label": "resolve-catalogue-row",
          "detail": {
            "kind": "code",
            "status": "ok"
          },
          "executionPath": "/root/steps/5"
        },
        {
          "type": "node.start",
          "label": "mcc-report",
          "detail": {
            "kind": "agent"
          },
          "executionPath": "/root/steps/6"
        },
        {
          "type": "node.end",
          "label": "mcc-report",
          "detail": {
            "kind": "agent",
            "status": "ok"
          },
          "executionPath": "/root/steps/6"
        }
      ],
      "calls": [
        {
          "kind": "route",
          "label": "choose-source-path",
          "input": {
            "website": ""
          },
          "questions": {
            "branch": {
              "type": "choice",
              "instructions": "Use website when a supplied business website is available. If no website is supplied, discover sources from the supplied places listing, registry and aliases. Discovery locates evidence; it does not determine the business class.",
              "criteria": {
                "website": "A business website was supplied.",
                "discover": "No business website is supplied."
              }
            }
          },
          "output": {
            "answers": {
              "branch": {
                "type": "choice",
                "choice": "discover",
                "confidence": 1,
                "probabilities": {
                  "website": 0,
                  "discover": 1
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "discover-sources",
          "input": {
            "subject": "Example Cycle Works — fictional business",
            "sources": [
              {
                "id": "M2",
                "entityId": "business-1",
                "kind": "places",
                "activity": null,
                "principal": false,
                "text": "Fictional places listing associates Example Cycle Works with the supplied address."
              },
              {
                "id": "M3",
                "entityId": "business-1",
                "kind": "registry",
                "activity": null,
                "principal": false,
                "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
              },
              {
                "id": "M4",
                "entityId": "business-1",
                "kind": "alias",
                "activity": null,
                "principal": false,
                "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
              }
            ]
          },
          "output": {
            "records": [
              {
                "id": "M2",
                "entityId": "business-1",
                "kind": "places",
                "activity": null,
                "principal": false,
                "text": "Fictional places listing associates Example Cycle Works with the supplied address."
              },
              {
                "id": "M3",
                "entityId": "business-1",
                "kind": "registry",
                "activity": null,
                "principal": false,
                "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
              },
              {
                "id": "M4",
                "entityId": "business-1",
                "kind": "alias",
                "activity": null,
                "principal": false,
                "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
              }
            ]
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-activity",
          "input": {
            "source": {
              "id": "M2",
              "entityId": "business-1",
              "kind": "places",
              "activity": null,
              "principal": false,
              "text": "Fictional places listing associates Example Cycle Works with the supplied address."
            },
            "subject": "Example Cycle Works — fictional business",
            "entityId": "business-1"
          },
          "item": {
            "label": "research-business",
            "index": 0
          },
          "output": {
            "source": {
              "id": "M2",
              "entityId": "business-1",
              "kind": "places",
              "activity": null,
              "principal": false,
              "text": "Fictional places listing associates Example Cycle Works with the supplied address."
            },
            "activity": null,
            "establishesPrincipal": false,
            "identityMatches": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-activity",
          "input": {
            "source": {
              "id": "M3",
              "entityId": "business-1",
              "kind": "registry",
              "activity": null,
              "principal": false,
              "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
            },
            "subject": "Example Cycle Works — fictional business",
            "entityId": "business-1"
          },
          "item": {
            "label": "research-business",
            "index": 1
          },
          "output": {
            "source": {
              "id": "M3",
              "entityId": "business-1",
              "kind": "registry",
              "activity": null,
              "principal": false,
              "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
            },
            "activity": null,
            "establishesPrincipal": false,
            "identityMatches": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "research-activity",
          "input": {
            "source": {
              "id": "M4",
              "entityId": "business-1",
              "kind": "alias",
              "activity": null,
              "principal": false,
              "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
            },
            "subject": "Example Cycle Works — fictional business",
            "entityId": "business-1"
          },
          "item": {
            "label": "research-business",
            "index": 2
          },
          "output": {
            "source": {
              "id": "M4",
              "entityId": "business-1",
              "kind": "alias",
              "activity": null,
              "principal": false,
              "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
            },
            "activity": null,
            "establishesPrincipal": false,
            "identityMatches": true
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "candidate-classes",
          "input": {
            "findings": [
              {
                "source": {
                  "id": "M2",
                  "entityId": "business-1",
                  "kind": "places",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional places listing associates Example Cycle Works with the supplied address."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M3",
                  "entityId": "business-1",
                  "kind": "registry",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M4",
                  "entityId": "business-1",
                  "kind": "alias",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              }
            ],
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "output": {
            "alternatives": [
              "repair_service",
              "retail_sales"
            ],
            "supported": [],
            "missing": true
          }
        },
        {
          "kind": "judge",
          "label": "classify-business",
          "input": {
            "findings": [
              {
                "source": {
                  "id": "M2",
                  "entityId": "business-1",
                  "kind": "places",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional places listing associates Example Cycle Works with the supplied address."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M3",
                  "entityId": "business-1",
                  "kind": "registry",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M4",
                  "entityId": "business-1",
                  "kind": "alias",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              }
            ],
            "candidates": {
              "alternatives": [
                "repair_service",
                "retail_sales"
              ],
              "supported": [],
              "missing": true
            },
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "questions": {
            "category": {
              "type": "choice",
              "instructions": "Apply every section of the supplied versioned policy to all identity and activity findings and compare the supplied catalogue inclusions and exclusions. Choose the supported catalogue activity, or needs_review when the policy requires referral. Do not rewrite the policy, invent evidence or treat these teaching categories as official payment-network codes.",
              "criteria": {
                "repair_service": "Repairing customer-owned goods is the evidenced principal activity.",
                "retail_sales": "Selling goods is the evidenced principal activity.",
                "needs_review": "Principal activity is missing, conflicting or unsupported."
              }
            }
          },
          "output": {
            "answers": {
              "category": {
                "type": "choice",
                "choice": "needs_review",
                "confidence": 1,
                "probabilities": {
                  "repair_service": 0,
                  "retail_sales": 0,
                  "needs_review": 1
                }
              }
            }
          }
        },
        {
          "kind": "judge",
          "label": "check-business-indicators",
          "input": {
            "findings": [
              {
                "source": {
                  "id": "M2",
                  "entityId": "business-1",
                  "kind": "places",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional places listing associates Example Cycle Works with the supplied address."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M3",
                  "entityId": "business-1",
                  "kind": "registry",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M4",
                  "entityId": "business-1",
                  "kind": "alias",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              }
            ],
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "questions": {
            "outcome": {
              "type": "choice",
              "instructions": "Independently apply every section of the supplied policy and catalogue to the evidence. Do not copy the assignment answer. Return refer when the policy identifies a blocker or gap; no_recorded_flags is limited to these supplied checks, never approval.",
              "criteria": {
                "no_recorded_flags": "No blocking indicator in the supplied fixture evidence.",
                "refer": "An identity, activity, conflict or evidence blocker requires human review."
              }
            }
          },
          "output": {
            "answers": {
              "outcome": {
                "type": "choice",
                "choice": "refer",
                "confidence": 1,
                "probabilities": {
                  "no_recorded_flags": 0,
                  "refer": 1
                }
              }
            }
          }
        },
        {
          "kind": "agent",
          "nodeKind": "agent",
          "label": "mcc-report",
          "input": {
            "subject": "Example Cycle Works — fictional business",
            "findings": [
              {
                "source": {
                  "id": "M2",
                  "entityId": "business-1",
                  "kind": "places",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional places listing associates Example Cycle Works with the supplied address."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M3",
                  "entityId": "business-1",
                  "kind": "registry",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              },
              {
                "source": {
                  "id": "M4",
                  "entityId": "business-1",
                  "kind": "alias",
                  "activity": null,
                  "principal": false,
                  "text": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source."
                },
                "activity": null,
                "establishesPrincipal": false,
                "identityMatches": true
              }
            ],
            "candidates": {
              "alternatives": [
                "repair_service",
                "retail_sales"
              ],
              "supported": [],
              "missing": true
            },
            "classification": {
              "category": "needs_review"
            },
            "indicators": {
              "outcome": "refer"
            },
            "selectedRow": null,
            "referred": true,
            "policyVersion": "teaching-policy-v1",
            "catalogVersion": "teaching-catalog-v1",
            "policy": {
              "version": "teaching-policy-v1",
              "sections": {
                "identity": "Verify that every activity source concerns the supplied entity. A conflicting identifier blocks assignment and requires referral.",
                "activity": "Establish principal activity from direct evidence; a name, registry category or map listing alone is insufficient.",
                "selection": "Compare the evidence with the supplied teaching catalogue, including exclusions. Choose one exact row or needs_review. Do not create or change policy or catalogue entries.",
                "indicators": "Independently assess entity mismatch, conflicting principal activities and missing direct evidence. A concern requires human review even if a category was proposed.",
                "reporting": "Report the exact selected catalogue row only when selection and independent checks permit it. Retain source IDs and missing facts. These fictional teaching rows are not payment-network MCCs or approval."
              }
            },
            "catalogue": {
              "version": "teaching-catalog-v1",
              "rows": [
                {
                  "id": "demo-repair",
                  "activity": "repair_service",
                  "description": "Repairing customer-owned goods is principal.",
                  "excludes": "Selling goods as the principal activity."
                },
                {
                  "id": "demo-retail",
                  "activity": "retail_sales",
                  "description": "Selling goods is principal.",
                  "excludes": "Repairing customer-owned goods as the principal activity."
                }
              ]
            }
          },
          "output": {
            "summary": "Human review required under teaching-policy-v1; no catalogue row assigned. These are fictional teaching categories.",
            "findings": [
              {
                "label": "M2",
                "detail": "Fictional places listing associates Example Cycle Works with the supplied address.",
                "sourceIds": [
                  "M2"
                ]
              },
              {
                "label": "M3",
                "detail": "Fictional registry links Example Cycle Works to its legal entity; it does not establish principal activity.",
                "sourceIds": [
                  "M3"
                ]
              },
              {
                "label": "M4",
                "detail": "Fictional alias record links Example Cycle Works to an earlier trading name and its activity source.",
                "sourceIds": [
                  "M4"
                ]
              }
            ],
            "uncertainties": [
              "Assignment remains unresolved: check entity identity, direct principal-activity evidence and catalogue exclusions before assigning a row."
            ]
          }
        }
      ]
    }
  }
}
