{
  "schema": "varexis-public-evidence-record/0.3",
  "generated_at_utc": "2026-10-11T08:14:46.117Z",
  "record_id": "VXI-EXT-MS-AF-04-v1",
  "record_kind": "external_reference",
  "title": "Microsoft Agent Framework: Middleware and streaming output",
  "system": "Microsoft Agent Framework",
  "evidence_family": "agent_middleware_streaming_coverage",
  "index_status": "PUBLIC_SAFE_SOURCE_REVIEW",
  "evidence_state": "PRIMARY_DOCUMENTATION_REVIEW_ONLY",
  "canonical_question": "Can adding agent middleware change streaming behaviour or leave output unchecked?",
  "near_questions": [
    "Why did agent streaming stop?",
    "Can middleware inspect streamed output?",
    "Does input middleware validate responses?",
    "Which handler preserves streaming?",
    "Can a shared handler override output?",
    "What changes when middleware is added?",
    "How should response filtering be checked?",
    "Is a streaming callback needed?",
    "Does agent logging validate output?",
    "Can middleware buffer an agent response?",
    "Which registration handles output checks?",
    "What should middleware compatibility review preserve?"
  ],
  "supported_claims": [
    {
      "claim": "Microsoft's .NET Agent Framework guide distinguishes run and streaming middleware. Supplying only the non-streaming handler makes streaming invocations use non-streaming mode. Its shared handler preserves streaming but cannot intercept or override output. Choose the handler for the required input or output check, then test the installed version. This documents API behaviour, not a verified safety control.",
      "reliance": "DOCUMENTED_CAPABILITY_ONLY"
    }
  ],
  "not_demonstrated_claims": [
    "output inspection by an input-only handler",
    "unchanged streaming after middleware registration",
    "tested enforcement in an application"
  ],
  "public_summary": "Microsoft's .NET Agent Framework guide distinguishes run and streaming middleware. Supplying only the non-streaming handler makes streaming invocations use non-streaming mode. Its shared handler preserves streaming but cannot intercept or override output. Choose the handler for the required input or output check, then test the installed version. This documents API behaviour, not a verified safety control.",
  "related_record_ids": [],
  "source_review": {
    "source_type": "official_external_documentation",
    "source_title": "Microsoft Agent Framework: Agent Middleware (.NET)",
    "source_url": "https://learn.microsoft.com/en-us/agent-framework/concepts/agents/middleware/",
    "checked_on": "2026-10-11",
    "candidate_record_id": "VXI-EXT-MS-AF-04-v1",
    "candidate_record_sha256": "fb5eef5e9bba27ce49c52eb1915d1ba7b44b7fead2b769ec881c029ba110855c",
    "method": "Primary documentation reviewed for the published bounded statement.",
    "deployment_tested_by_varexis": false,
    "revalidation": "The delivered snapshot preserves the review date shown. Recheck current primary documentation and deployment context before relying on present applicability; payment does not trigger fresh research."
  },
  "answer_policy": {
    "classification": "DOCUMENTED_WITH_DEPLOYMENT_BOUNDARY",
    "bounded_answer": "Microsoft's .NET Agent Framework guide distinguishes run and streaming middleware. Supplying only the non-streaming handler makes streaming invocations use non-streaming mode. Its shared handler preserves streaming but cannot intercept or override output. Choose the handler for the required input or output check, then test the installed version. This documents API behaviour, not a verified safety control.",
    "required_buyer_context": "Exact .NET package, handler registration, required check and observed streaming/output behaviour. Python behaviour is outside this entry.",
    "missing_evidence": "A broader claim needs evidence matching the intended use. Payment does not upgrade the evidence state."
  },
  "private_boundary": "Raw logs, thresholds, private paths, source code, protected mechanisms and reconstruction-level details are excluded from public and paid delivery.",
  "paid_access_note": "The full published answer and boundaries are free. Paid access saves the selected route and source versions, with an unsigned receipt when purchased. Preview coverage before paying. Fresh research, bespoke assessment and protected evidence are excluded.",
  "service_route": {
    "request_guide": "/varexis-index/request.html",
    "request_workflow": "/varexis-index/request-workflow.json",
    "service_id": "single_request",
    "service_routes_url": "/varexis-index/service-routes.json",
    "payment_required": true,
    "availability_endpoint": "/api/index/capabilities",
    "operational_status": "AUTOMATIC_SERVICE_CAPABILITIES_GATED",
    "checkout_url": "/index-access"
  },
  "authority_boundary": "VAREXIS-INDEX informs evidence reliance. It does not provide advice, certification, deployment authority, security assurance, production approval, or guarantee.",
  "human_page": "/varexis-index/catalog.html#agent-middleware-streaming-output",
  "machine_readable_record": "/varexis-index/records/agent-middleware-streaming-output.json"
}
