Skip to content
Back to Kazakhstan / Middle Corridor Deal Risk Gate

Card snapshot

middle-corridor-deal-risk-gate.agendamcp.dpdns.org · 2026-10-10 13:03:57 UTC · 0df132031c1555a83f88214916493bc178b2b1b099211a84cff52fd8d9fde1e3

This is a frozen copy of the agent's agent-card.json as we observed it at the timestamp above. We capture a new snapshot every time the card's content hash changes. Useful for: forensic drift analysis, verifying downstream callers see the right version, reproducing routing decisions made historically.

{
  "name": "Kazakhstan / Middle Corridor Deal Risk Gate",
  "description": "External application-level evidence gate for agent workflows. Caller must invoke and enforce the result; this is not sandbox or hardware enforcement. Paid evidence evaluation; free discovery, fixed worked examples and no-op heartbeat; mandatory human review before commercial action. No independent factual verification or clearance. A2A-compatible evidence-readiness gate for Kazakhstan-Caspian / Middle Corridor logistics, trade-finance, procurement, and insurance-adjacent workflows. Bring route, cargo, counterparties, and dated sources; get structured deal-risk triage, missing source categories, evidence gaps, watch-next indicators, decision-readiness score, risk signal, human-review routing, and named sanctions-exposure flags: OFAC named-sector (EO 14024/14114) and newly-formed-counterparty red flags, EU re-export / circumvention-watch jurisdictions (incl. the 20th-package measures on Kyrgyzstan), dual-use cargo screened against the EU/US Common High Priority List, a domestic-legal vs foreign-sanctions exposure decomposition, and a vessel deceptive-shipping-practice checklist. Deterministic rule-based logic, no model in the decision path. Presence-flagging and evidence triage only, not a sanctions determination. New to these gates? Start with the Corridor & Sanctions Risk Assistant (https://corridor-sanctions-assistant-a2a.vassiliy-lakhonin.workers.dev) for plain-language orientation. Describe the route or counterparty and the next decision or review; fit, scope, fee, and timing are confirmed before work starts.",
  "provider": {
    "organization": "Vassiliy Lakhonin",
    "url": "https://github.com/vassiliylakhonin"
  },
  "version": "1.14.1",
  "documentationUrl": "https://github.com/vassiliylakhonin/agenda-intelligence-md/blob/main/docs/use-cases/kazakhstan-middle-corridor.md",
  "supportedInterfaces": [
    {
      "url": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/message/send",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "securityRequirements": [],
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": false,
    "extensions": [
      {
        "uri": "https://agenda-intelligence-a2a.vassiliy-lakhonin.workers.dev/a2a/extensions/agenda-intelligence/v1",
        "description": "Wrapper scope, product contract, boundaries, support channel and provider identity for this agent. Repeat callers may send the optional X-Client-Id header with a stable non-personal integration label. Descriptive only: reading it is never required to call the agent.",
        "required": false,
        "params": {
          "support": {
            "email": "vassiliy.lakhonin@gmail.com",
            "documentationUrl": "https://github.com/vassiliylakhonin/agenda-intelligence-md/blob/main/MCP.md",
            "hours_local": "Mon\u2013Fri 09:00\u201318:00 Asia/Almaty (UTC+5)",
            "timezone": "Asia/Almaty",
            "response_sla": "Best-effort response within 2 business days. Solo maintainer (not a company); not a paid support channel."
          },
          "x_agenda_intelligence": {
            "hosted_wrapper": true,
            "operational_health": {
              "status": "ok",
              "version": "1.14.1",
              "checked_at": "2026-10-10T13:03:55.731Z",
              "url": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/health"
            },
            "task_continuity": {
              "store": "KV (24-hour TTL, status-only without input or artifacts)",
              "supported_methods": [
                "SendMessage",
                "GetTask"
              ],
              "cancellation": "unsupported for synchronous tasks",
              "tenant_binding": "when TASK_SCOPE_AUTH_REQUIRED=1, task creation issues a private continuation.token; GetTask and continuation require it in X-Task-Token and otherwise answer TASK_NOT_FOUND. X-Client-Id is a telemetry label. Legacy local mode uses label scoping only"
            },
            "wrapper_scope": "A2A/JSON-RPC discovery, Kazakhstan and Middle Corridor deal-risk triage, evidence gating, source coverage, and routing response only",
            "jsonrpc_endpoint": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/message/send",
            "protocol_version": "1.0",
            "public_endpoint": true,
            "optional_client_identifier_header": "X-Client-Id",
            "client_identification": {
              "header": "X-Client-Id",
              "required": false,
              "purpose": "Use a stable non-personal integration label so aggregate stats can group repeat calls; do not send a person's name, email, token, or secret."
            },
            "fleet_directory": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/.well-known/fleet.json",
            "ai_catalog": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/.well-known/ai-catalog.json",
            "oauth_protected_resource": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/.well-known/oauth-protected-resource",
            "repository": "https://github.com/vassiliylakhonin/agenda-intelligence-md",
            "package": "https://pypi.org/project/agenda-intelligence-md/",
            "mcp": {
              "transport": "stdio",
              "server_command": "agenda-intelligence-mcp",
              "install": "pip install agenda-intelligence-md"
            },
            "boundaries": [
              "Pre-compliance evidence triage only.",
              "No autonomous live source retrieval.",
              "No factual-truth verification.",
              "No legal, compliance, sanctions, financial, investment, insurance, or trading advice.",
              "No approval, clearance, authorization, or final decision.",
              "Human review is required for high-stakes decisions."
            ],
            "x402": {
              "protocol": "x402",
              "network": "base",
              "chain_id": 8453,
              "token": "USDC",
              "token_contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "pricing_tiers": {
                "tier_micro_check_usdc": 0.05,
                "tier_bankability_dossier_usdc": 25,
                "tier_pro_monthly_usdc": 490
              },
              "settle_endpoint": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/v1/settle",
              "interactive_web3_ui": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/corridor-bankability"
            },
            "product_profile": "middle_corridor_deal_risk",
            "canonical_product_name": "Kazakhstan / Middle Corridor Deal Risk Gate",
            "documentation": "https://github.com/vassiliylakhonin/agenda-intelligence-md/blob/main/docs/use-cases/kazakhstan-middle-corridor.md",
            "product_contract": {
              "request_schema": "https://github.com/vassiliylakhonin/agenda-intelligence-md/blob/main/schemas/v1/middle-corridor-deal-risk-request.schema.json",
              "response_schema": "https://github.com/vassiliylakhonin/agenda-intelligence-md/blob/main/schemas/v1/middle-corridor-deal-risk-response.schema.json",
              "source_taxonomy": "https://github.com/vassiliylakhonin/agenda-intelligence-md/blob/main/source-requirements/middle-corridor-deal-risk.json",
              "runnable_examples": "https://github.com/vassiliylakhonin/agenda-intelligence-md/tree/main/examples/a2a",
              "canonical_input_mode": "structured_json",
              "demo_input_modes": [
                "structured_json",
                "text_prompt"
              ]
            },
            "required_before_go": [
              "counterparty_registry_extract",
              "beneficial_ownership_source",
              "sanctions_list_extract",
              "customs_or_regulatory_source",
              "insurance_clause_or_underwriter_note",
              "vessel_or_carrier_history"
            ],
            "helpful_context_sources": [
              "port_operator_notice",
              "carrier_note"
            ],
            "supported_contracts": [
              "middle_corridor_deal_risk_contract",
              "lightweight_text_triage"
            ],
            "buyer_use_cases": [
              "pre-signature logistics deal review",
              "pre-shipment evidence completeness check",
              "trade-finance or compliance-adjacent file readiness",
              "insurance-adjacent source-pack handoff",
              "management or client risk-memo quality gate",
              "counterparty dossier-completeness check before presenting evidence to a bank, insurer, or counterparty"
            ],
            "commercial_positioning": "Pre-screening evidence triage: identifies which due-diligence documents are still missing before a deal's counterparties are committed to a sanctions-screening or network-intelligence tool. It complements those tools rather than replacing them, and performs no screening, name-matching, or data retrieval itself. Route + cargo + counterparties + dated sources -> auditable corridor-risk triage, evidence gaps, source coverage, watch-next indicators, and human-review escalation. The same evidence-gap picture is also returned outward as counterparty_readiness: a dossier-completeness view (status + supplied-vs-required counts + outstanding documents) for the party that must present enhanced-due-diligence evidence to a bank, insurer, or counterparty. Completeness only, not clearance or a sanctions determination.",
            "focus": [
              "Kazakhstan and Middle Corridor deal-risk triage",
              "sanctions-adjacent evidence gates",
              "source coverage for dated evidence packs",
              "risk memo quality gates",
              "human-review escalation before signature, committee review, insurer handoff, or client delivery"
            ],
            "not_advice_notice": "Pre-compliance evidence triage only. Not legal, sanctions, compliance, financial, investment, insurance, or trading advice.",
            "preferred_input": "Structured JSON in message.parts[0].data (mediaType: application/json). JSON serialized in message.parts[0].text is also accepted for compatibility; ordinary prose alone is not sufficient for paid evaluation. Use the request schema and replace illustrative values with supplied evidence.",
            "a2a_send_message_example": {
              "endpoint": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/message/send",
              "headers": {
                "Content-Type": "application/json",
                "A2A-Version": "1.0",
                "X-Trace-Id": "example-trace-001"
              },
              "request": {
                "jsonrpc": "2.0",
                "id": "example-1",
                "method": "SendMessage",
                "params": {
                  "message": {
                    "messageId": "example-msg-1",
                    "role": "ROLE_USER",
                    "parts": [
                      {
                        "data": {
                          "route": "Aktau \u2014 Baku \u2014 Poti",
                          "cargo": "industrial equipment",
                          "counterparties": [
                            {
                              "role": "forwarder",
                              "name": "Example Forwarding",
                              "jurisdiction": "KZ"
                            }
                          ],
                          "dated_sources": [
                            {
                              "id": "mc-1",
                              "source_type": "port_operator_notice",
                              "title": "Aktau port notice",
                              "date": "2026-08-01"
                            },
                            {
                              "id": "mc-2",
                              "source_type": "sanctions_list_extract",
                              "title": "EU consolidated extract",
                              "date": "2026-08-02"
                            }
                          ],
                          "risk_question": "Is this shipment ready for a pre-signature human review?",
                          "decision_stage": "pre_signature"
                        },
                        "mediaType": "application/json"
                      }
                    ]
                  }
                }
              },
              "expected": {
                "task_state": "TASK_STATE_COMPLETED",
                "http_status_without_payment": 402,
                "note": "Task completion is the success shape after admission. On paid deployments, a valid unpaid request returns HTTP 402 without evaluation. Triage output only, not authorization or clearance."
              },
              "trace": "Optional: send an X-Trace-Id header (8-80 chars of A-Za-z0-9._:-) or a top-level params.trace_id. It is echoed in task metadata.trace_id and recorded in telemetry, so your call can be correlated end to end."
            },
            "free_a2a_triage": {
              "scope": "Free discovery, fixed examples and no-op heartbeat only. Evidence evaluation is paid.",
              "decision_boundary": "No legal, sanctions, financial or trading clearance. Human review before any commercial action.",
              "price": "Paid evaluations require signed payment or Pro entitlement. See /.well-known/x402."
            }
          },
          "x_security_posture": {
            "transport": "https",
            "public_endpoint": true,
            "required_authentication": false,
            "oauth_protected_resource_metadata": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/.well-known/oauth-protected-resource",
            "optional_client_identifier_header": "X-Client-Id",
            "client_identification": {
              "required": false,
              "authentication": false,
              "purpose": "Pseudonymous repeat-call attribution in aggregate operational analytics."
            },
            "zero_retention_guarantee": false,
            "pricing_url": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/.well-known/x402",
            "privacy_url": "https://middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev/privacy",
            "data_handling": [
              "Aggregate operational telemetry excludes caller prompt text.",
              "Signed paid execution stores a response for recovery within 24 hours; do not submit secrets.",
              "Voluntary intake and feedback have separate storage and retention rules described in /privacy."
            ],
            "abuse_contact": "mailto:vassiliy.lakhonin@gmail.com"
          },
          "x_agent_contract": {
            "contract_version": "1.0",
            "canonical_input_mode": "structured_json",
            "primary_intent": "middle_corridor_deal_risk_contract",
            "supported_intents": [
              "middle_corridor_deal_risk_contract",
              "deal_risk_gate",
              "sanctions_policy_signal_screen",
              "source_coverage",
              "evidence_audit",
              "memo_validation",
              "signal_monitoring",
              "strategic_risk_triage"
            ],
            "structured_json_required_for_full_contract": true,
            "text_prompt_behavior": "lightweight_text_triage",
            "high_stakes_human_review_required": true,
            "not_advice": true
          },
          "x_tool_contracts": {
            "contract_version": "1.14.1",
            "note": "These are MCP tool schemas, not A2A envelope schemas. For A2A SendMessage use x_agenda_intelligence.a2a_send_message_example; structured gate fields go directly in message.parts[0].data with mediaType application/json. Text-only routing profiles use message.parts[0].text; ordinary prose does not replace a gate's required structured evidence.",
            "tools": [
              {
                "name": "middle_corridor_deal_risk",
                "input_schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "$id": "https://github.com/vassiliylakhonin/agenda-intelligence-md/schemas/v1/middle-corridor-deal-risk-request.schema.json",
                  "title": "MiddleCorridorDealRiskRequest",
                  "description": "Product-grade structured request contract for Kazakhstan / Middle Corridor deal-risk evidence triage. This schema describes caller-supplied route, cargo, counterparty, dated-source, and decision-stage inputs. It does not enable live retrieval, factual-truth verification, legal advice, sanctions advice, compliance advice, financial advice, investment advice, insurance advice, or trading advice.",
                  "x-schema-version": "1",
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "route",
                    "cargo",
                    "counterparties",
                    "dated_sources",
                    "risk_question",
                    "decision_stage"
                  ],
                  "properties": {
                    "route": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Route, corridor, or transit path under review."
                    },
                    "cargo": {
                      "type": "string",
                      "minLength": 1,
                      "description": "Cargo, commodity, goods, or shipment type under review."
                    },
                    "shipment_value": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        },
                        "currency": {
                          "type": "string",
                          "enum": [
                            "USD",
                            "EUR",
                            "GBP",
                            "KZT",
                            "CNY",
                            "TRY",
                            "AED",
                            "other"
                          ]
                        }
                      }
                    },
                    "counterparties": {
                      "type": "array",
                      "minItems": 1,
                      "items": {
                        "$ref": "#/$defs/counterparty"
                      }
                    },
                    "dated_sources": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/dated_source"
                      }
                    },
                    "risk_question": {
                      "type": "string",
                      "minLength": 1
                    },
                    "decision_stage": {
                      "type": "string",
                      "enum": [
                        "pre_signature",
                        "pre_shipment",
                        "in_transit",
                        "post_incident",
                        "committee_review",
                        "other"
                      ]
                    },
                    "notes": {
                      "type": "string",
                      "minLength": 1
                    },
                    "requested_output": {
                      "type": "string",
                      "enum": [
                        "structured_json",
                        "markdown_summary",
                        "both"
                      ],
                      "default": "structured_json"
                    }
                  },
                  "$defs": {
                    "counterparty": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "role",
                        "name"
                      ],
                      "properties": {
                        "role": {
                          "type": "string",
                          "enum": [
                            "shipper",
                            "forwarder",
                            "carrier",
                            "port_agent",
                            "consignee",
                            "bank",
                            "insurer",
                            "broker",
                            "customs_broker",
                            "unknown",
                            "other"
                          ]
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "jurisdiction": {
                          "type": "string",
                          "minLength": 1
                        },
                        "notes": {
                          "type": "string",
                          "minLength": 1
                        },
                        "specified_sectors": {
                          "type": "array",
                          "description": "Optional. Sectors the counterparty operates in, drawn from OFAC FAQ 1148 / 1151 named sectors of the Russian Federation economy. A counterparty operating in any non-'other' value carries automatic FFI sanctions-exposure context under EO 14024 as amended by EO 14114. Structural tagging only; not a sanctions determination.",
                          "items": {
                            "type": "string",
                            "enum": [
                              "technology",
                              "defense_and_related_materiel",
                              "construction",
                              "aerospace",
                              "manufacturing",
                              "other"
                            ]
                          }
                        },
                        "date_of_formation": {
                          "type": "string",
                          "format": "date",
                          "description": "Optional. ISO 8601 date of the counterparty's company formation. Drawn from the OFAC FFI advisory red-flag pattern of a newly-formed entity in a transshipment-risk jurisdiction. Structural tagging only; not a sanctions determination."
                        }
                      }
                    },
                    "dated_source": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "source_type",
                        "title",
                        "date"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "minLength": 1
                        },
                        "source_type": {
                          "$ref": "#/$defs/source_type"
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1
                        },
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "notes": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "source_type": {
                      "type": "string",
                      "enum": [
                        "port_operator_notice",
                        "sanctions_list_extract",
                        "carrier_note",
                        "counterparty_registry_extract",
                        "beneficial_ownership_source",
                        "customs_or_regulatory_source",
                        "insurance_clause_or_underwriter_note",
                        "vessel_or_carrier_history",
                        "rail_capacity_or_border_wait_source",
                        "contract_or_invoice_extract",
                        "end_user_or_reexport_evidence",
                        "source_of_funds_or_wealth_evidence",
                        "pep_screening_evidence",
                        "business_substance_evidence",
                        "user_provided_note",
                        "other"
                      ]
                    }
                  },
                  "examples": [
                    {
                      "route": "Altynkol -> Aktau/Kuryk -> Baku -> Poti",
                      "cargo": "industrial equipment",
                      "shipment_value": {
                        "amount": 2400000,
                        "currency": "USD"
                      },
                      "counterparties": [
                        {
                          "role": "forwarder",
                          "name": "Kazakhstan forwarder",
                          "jurisdiction": "Kazakhstan"
                        }
                      ],
                      "dated_sources": [
                        {
                          "id": "e1",
                          "source_type": "port_operator_notice",
                          "title": "Port operator notice",
                          "date": "2026-05-20",
                          "url": "https://example.com/port-notice"
                        }
                      ],
                      "risk_question": "Should this be escalated before contract signature?",
                      "decision_stage": "pre_signature",
                      "requested_output": "structured_json"
                    }
                  ]
                },
                "output_schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "$id": "https://github.com/vassiliylakhonin/agenda-intelligence-md/schemas/v1/middle-corridor-deal-risk-response.schema.json",
                  "title": "MiddleCorridorDealRiskResponse",
                  "description": "Product-grade structured response contract for Kazakhstan / Middle Corridor deal-risk evidence triage. This schema supports source-coverage gaps, escalation routing, watch-next indicators, and human-review requirements. It does not provide legal advice, sanctions advice, compliance advice, financial advice, investment advice, insurance advice, trading advice, live retrieval, or factual-truth verification.",
                  "x-schema-version": "1",
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "triage_recommendation",
                    "risk_signal",
                    "decision_readiness_score",
                    "decision_readiness_label",
                    "supplied_sources",
                    "minimum_sources_before_go",
                    "evidence_gaps",
                    "watch_next",
                    "human_review_required",
                    "not_advice_notice"
                  ],
                  "properties": {
                    "triage_recommendation": {
                      "type": "string",
                      "enum": [
                        "not_decision_ready",
                        "escalate_before_signature",
                        "escalate_before_shipment",
                        "ready_for_human_review",
                        "insufficient_information"
                      ]
                    },
                    "risk_signal": {
                      "type": "string",
                      "enum": [
                        "low",
                        "medium",
                        "medium_high",
                        "high",
                        "unknown"
                      ]
                    },
                    "decision_readiness_score": {
                      "description": "Heuristic 0-100 score for evidence-pack readiness for human review. This is not approval, clearance, legal advice, sanctions advice, compliance advice, financial advice, investment advice, insurance advice, or trading advice.",
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 100
                    },
                    "decision_readiness_label": {
                      "type": "string",
                      "enum": [
                        "insufficient_information",
                        "not_decision_ready",
                        "partial",
                        "review_ready"
                      ]
                    },
                    "link_integrity": {
                      "description": "Observe-only structural lint of cited source-URL well-formedness. Present only when at least one supplied source carries a malformed or placeholder URL. Structural check only: it does not fetch URLs, verify that a page exists, perform live retrieval, or verify factual content. It does not change the triage recommendation, risk signal, operational decision, or evidence gaps.",
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "checked",
                        "flagged"
                      ],
                      "properties": {
                        "checked": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "well_formed": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "illustrative": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "flagged": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "url",
                              "reason"
                            ],
                            "properties": {
                              "source_id": {
                                "type": "string"
                              },
                              "source_type": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "operational_decision": {
                      "description": "Logistics/ops-facing booking decision derived from the decision-readiness score, risk signal, triage recommendation, and decision stage. Triage routing only; not clearance, approval, a sanctions determination, or any legal, sanctions, compliance, financial, investment, insurance, or trading advice. It never issues a hard reject (a compliance/legal call) and stops at hold or escalate. Human review is required before any commercial action.",
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "decision",
                        "applies_to",
                        "rationale"
                      ],
                      "properties": {
                        "decision": {
                          "type": "string",
                          "enum": [
                            "proceed",
                            "proceed_with_conditions",
                            "hold",
                            "escalate"
                          ]
                        },
                        "applies_to": {
                          "type": "string",
                          "minLength": 1
                        },
                        "rationale": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "route": {
                      "type": "string",
                      "minLength": 1
                    },
                    "cargo": {
                      "type": "string",
                      "minLength": 1
                    },
                    "shipment_value": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "amount",
                        "currency"
                      ],
                      "properties": {
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        },
                        "currency": {
                          "type": "string",
                          "enum": [
                            "USD",
                            "EUR",
                            "GBP",
                            "KZT",
                            "CNY",
                            "TRY",
                            "AED",
                            "other"
                          ]
                        }
                      }
                    },
                    "counterparties": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/counterparty"
                      }
                    },
                    "supplied_sources": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/source_type"
                      }
                    },
                    "minimum_sources_before_go": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/source_type"
                      }
                    },
                    "evidence_gaps": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "top_risks": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "exposure_layers": {
                      "type": "object",
                      "additionalProperties": false,
                      "description": "Risk picture decomposed into the two layers a practitioner separates: home-jurisdiction legal / documentation posture (not assessed by this product) versus foreign / secondary-sanctions exposure. Structural decomposition only; not a legal or sanctions determination.",
                      "properties": {
                        "domestic_legal_layer": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "foreign_sanctions_exposure_layer": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        }
                      }
                    },
                    "vessel_due_diligence_indicators": {
                      "type": "array",
                      "description": "Deceptive-shipping-practice (DSP) verification checklist surfaced for the maritime leg when vessel / carrier history is not yet supplied. An evidence-gap checklist routed to human review (drawn from OFAC maritime guidance); not vessel adjudication, AIS analysis, live retrieval, or insurance advice.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "reexport_control_indicators": {
                      "type": "array",
                      "description": "End-use / end-user verification checklist surfaced when end-user or no-re-export evidence is not yet supplied. An evidence-gap checklist routed to human review (drawn from EU Sanctions Helpdesk and US end-user diversion red flags); not an end-use determination, sanctions determination, live retrieval, or legal advice. Does not affect the decision-readiness score.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "source_of_funds_indicators": {
                      "type": "array",
                      "description": "Source-of-funds / source-of-wealth verification checklist surfaced when source-of-funds-or-wealth evidence is not yet supplied. An evidence-gap checklist routed to human review (drawn from FATF Recommendation 10 EDD guidance); not a financial determination, AML clearance, live retrieval, or financial advice. Does not affect the decision-readiness score.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "pep_screening_indicators": {
                      "type": "array",
                      "description": "Politically-exposed-person (PEP) screening checklist surfaced when PEP-screening evidence is not yet supplied. An evidence-gap checklist routed to human review (drawn from FATF Recommendations 12 and 22); not a PEP determination, a political-exposure judgment, live retrieval, or legal advice. Does not affect the decision-readiness score.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "front_company_indicators": {
                      "type": "array",
                      "description": "Front-company / business-substance checklist surfaced when business-substance evidence is not yet supplied. An evidence-gap checklist routed to human review (drawn from EU Sanctions Helpdesk counterparty red flags: recently established or no business background, little or no web presence, shared addresses, line-of-business mismatch, contact only via broad power of attorney); not a shell-company determination, an ownership determination, live retrieval, or legal advice. Does not affect the decision-readiness score.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "route_sanctions_exposure_indicators": {
                      "type": "array",
                      "description": "Standing route-screening checklist of Middle Corridor connections that carry elevated sanctions-program exposure: Iran-transit legs and Russia Northern Corridor overlaps (OFAC Iran and Russia programs), sanctioned Caspian operators, and onward connections into a sanctions-relevant jurisdiction. Presence-flagging routed to human review; not a sanctions determination, live screening, or legal advice.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "route_sanctions_matched_segments": {
                      "type": "array",
                      "description": "Corridor segments named in the declared route text that match a sanctions-exposed connection on the screening checklist. Case-insensitive substring presence-flagging on the route string only, routed to human review; not a sanctions determination or live screening. Does not affect the decision-readiness score.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "customs_harmonization_indicators": {
                      "type": "array",
                      "description": "Standing customs-regime review checklist for the route: permitting clarity, and harmonized digital-customs coverage (eTIR; adopted by Organization of Turkic States members) versus unharmonized national permitting that remains a recurring barrier to private-sector corridor use. Evidence-gap prompts routed to human review; not customs, legal, or compliance advice. Does not affect the decision-readiness score.",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "watch_next": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "human_review_required": {
                      "type": "boolean"
                    },
                    "not_advice_notice": {
                      "type": "string",
                      "minLength": 1
                    },
                    "limitations": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "counterparty_readiness": {
                      "type": "object",
                      "additionalProperties": false,
                      "description": "Outward-facing reframe of the evidence-gap picture for the party that must PRESENT a due-diligence dossier to a bank, insurer, or counterparty under enhanced due diligence, rather than the internal analyst deciding whether to escalate. Derived from the required-before-go contract and supplied sources. Dossier-completeness only; not clearance, approval, a sanctions determination, or compliance advice.",
                      "required": [
                        "status",
                        "required_total",
                        "supplied_count",
                        "missing_count",
                        "outstanding_documents",
                        "presentable_note"
                      ],
                      "properties": {
                        "status": {
                          "type": "string",
                          "enum": [
                            "insufficient_information",
                            "incomplete",
                            "partial",
                            "complete_for_review"
                          ]
                        },
                        "required_total": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "supplied_count": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "missing_count": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "outstanding_documents": {
                          "type": "array",
                          "items": {
                            "$ref": "#/$defs/source_type"
                          }
                        },
                        "document_ledger": {
                          "type": "array",
                          "description": "Per-required-document ledger mirroring the EDD chain-of-custody practice of tracking each item with the date it was received. One entry per required-before-go source type. date_received is the earliest supplied dated source of that type, when present. Status tracking only; not verification of the document's contents or authenticity.",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "source_type",
                              "status"
                            ],
                            "properties": {
                              "source_type": {
                                "$ref": "#/$defs/source_type"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "received",
                                  "missing"
                                ]
                              },
                              "date_received": {
                                "type": "string",
                                "minLength": 1
                              }
                            }
                          }
                        },
                        "presentable_note": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "run_provenance": {
                      "type": "object",
                      "additionalProperties": false,
                      "description": "Deterministic content-provenance stamp: which contract version and response schema produced this output, plus a digest of the exact request input. Lets a downstream reviewer (compliance committee, bank, auditor) confirm the artifact is reproducible from a named input and ruleset. Reproducibility / traceability only; not a signature of authenticity (that is the A2A / JWS transport layer, ADR 0017), and not a factuality, clearance, or compliance attestation.",
                      "required": [
                        "contract_version",
                        "schema_id",
                        "input_digest"
                      ],
                      "properties": {
                        "contract_version": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Version of the agenda-intelligence package / ruleset that produced this response."
                        },
                        "schema_id": {
                          "type": "string",
                          "minLength": 1,
                          "description": "The $id of the response schema this output conforms to."
                        },
                        "input_digest": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$",
                          "description": "sha256 of the canonicalized request JSON (UTF-8, keys sorted, no insignificant whitespace). Same input + same contract_version reproduces the same digest."
                        }
                      }
                    },
                    "readiness_contract": {
                      "$ref": "#/$defs/readiness_contract"
                    },
                    "source_record_review": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "policy_version",
                        "scope",
                        "source_content_verified",
                        "freshness_verified",
                        "usable_source_types",
                        "issues",
                        "next_action"
                      ],
                      "properties": {
                        "policy_version": {
                          "const": "source-records.v1"
                        },
                        "scope": {
                          "const": "reference_metadata_only"
                        },
                        "source_content_verified": {
                          "const": false
                        },
                        "freshness_verified": {
                          "const": false
                        },
                        "usable_source_types": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "issues": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "source_index",
                              "source_type",
                              "issue"
                            ],
                            "properties": {
                              "source_index": {
                                "type": "integer",
                                "minimum": 0
                              },
                              "source_type": {
                                "type": "string"
                              },
                              "issue": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "next_action": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "$defs": {
                    "counterparty": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "role",
                        "name"
                      ],
                      "properties": {
                        "role": {
                          "type": "string",
                          "enum": [
                            "shipper",
                            "forwarder",
                            "carrier",
                            "port_agent",
                            "consignee",
                            "bank",
                            "insurer",
                            "broker",
                            "customs_broker",
                            "unknown",
                            "other"
                          ]
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "jurisdiction": {
                          "type": "string",
                          "minLength": 1
                        },
                        "notes": {
                          "type": "string",
                          "minLength": 1
                        },
                        "specified_sectors": {
                          "type": "array",
                          "description": "Optional. Sectors the counterparty operates in, drawn from OFAC FAQ 1148 / 1151 named sectors of the Russian Federation economy. A counterparty operating in any non-'other' value carries automatic FFI sanctions-exposure context under EO 14024 as amended by EO 14114. Structural tagging only; not a sanctions determination.",
                          "items": {
                            "type": "string",
                            "enum": [
                              "technology",
                              "defense_and_related_materiel",
                              "construction",
                              "aerospace",
                              "manufacturing",
                              "other"
                            ]
                          }
                        },
                        "date_of_formation": {
                          "type": "string",
                          "format": "date",
                          "description": "Optional. ISO 8601 date of the counterparty's company formation. Drawn from the OFAC FFI advisory red-flag pattern of a newly-formed entity in a transshipment-risk jurisdiction. Structural tagging only; not a sanctions determination."
                        }
                      }
                    },
                    "source_type": {
                      "type": "string",
                      "enum": [
                        "port_operator_notice",
                        "sanctions_list_extract",
                        "carrier_note",
                        "counterparty_registry_extract",
                        "beneficial_ownership_source",
                        "customs_or_regulatory_source",
                        "insurance_clause_or_underwriter_note",
                        "vessel_or_carrier_history",
                        "rail_capacity_or_border_wait_source",
                        "contract_or_invoice_extract",
                        "end_user_or_reexport_evidence",
                        "source_of_funds_or_wealth_evidence",
                        "pep_screening_evidence",
                        "business_substance_evidence",
                        "user_provided_note",
                        "other"
                      ]
                    },
                    "readiness_named_value": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "field",
                        "value"
                      ],
                      "properties": {
                        "field": {
                          "type": "string",
                          "minLength": 1
                        },
                        "value": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    },
                    "readiness_contract": {
                      "type": "object",
                      "additionalProperties": false,
                      "description": "Additive normalized readiness view for cross-profile human-review routing. Built from existing response fields; does not replace profile-specific fields and does not imply approval, clearance, advice, factual verification, or autonomous decision-making.",
                      "required": [
                        "profile",
                        "status",
                        "score",
                        "routing",
                        "signal",
                        "blocking_gaps",
                        "non_blocking_gaps",
                        "claim_audit",
                        "owner_actions",
                        "watch_next",
                        "human_review_required",
                        "boundary_notice"
                      ],
                      "properties": {
                        "profile": {
                          "type": "string",
                          "minLength": 1
                        },
                        "status": {
                          "type": "string",
                          "minLength": 1
                        },
                        "score": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "minimum": 0,
                          "maximum": 100
                        },
                        "routing": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/readiness_named_value"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "signal": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/readiness_named_value"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "blocking_gaps": {
                          "type": "array",
                          "items": {}
                        },
                        "non_blocking_gaps": {
                          "type": "array",
                          "items": {}
                        },
                        "claim_audit": {
                          "type": "array",
                          "items": {}
                        },
                        "owner_actions": {
                          "type": "array",
                          "items": {}
                        },
                        "watch_next": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          }
                        },
                        "human_review_required": {
                          "type": "boolean"
                        },
                        "boundary_notice": {
                          "type": "string",
                          "minLength": 1
                        }
                      }
                    }
                  },
                  "examples": [
                    {
                      "triage_recommendation": "escalate_before_signature",
                      "risk_signal": "medium_high",
                      "decision_readiness_score": 42,
                      "decision_readiness_label": "not_decision_ready",
                      "operational_decision": {
                        "decision": "escalate",
                        "applies_to": "quote / sign the booking",
                        "rationale": "Route to compliance or legal before you quote / sign the booking."
                      },
                      "route": "Altynkol -> Aktau/Kuryk -> Baku -> Poti",
                      "cargo": "industrial equipment",
                      "shipment_value": {
                        "amount": 2400000,
                        "currency": "USD"
                      },
                      "counterparties": [
                        {
                          "role": "forwarder",
                          "name": "Kazakhstan forwarder",
                          "jurisdiction": "Kazakhstan"
                        }
                      ],
                      "supplied_sources": [
                        "port_operator_notice",
                        "sanctions_list_extract",
                        "carrier_note"
                      ],
                      "minimum_sources_before_go": [
                        "counterparty_registry_extract",
                        "beneficial_ownership_source",
                        "customs_or_regulatory_source",
                        "insurance_clause_or_underwriter_note",
                        "vessel_or_carrier_history"
                      ],
                      "evidence_gaps": [
                        "No beneficial ownership extract supplied."
                      ],
                      "top_risks": [
                        "sanctions adjacency",
                        "Caspian crossing capacity and draft exposure"
                      ],
                      "watch_next": [
                        "new sanctions designations",
                        "Caspian ferry-slot, tonnage, or draft notice",
                        "port delays or operator notices"
                      ],
                      "human_review_required": true,
                      "not_advice_notice": "Pre-compliance evidence triage only. Not legal, sanctions, compliance, financial, investment, insurance, or trading advice.",
                      "run_provenance": {
                        "contract_version": "1.1.0",
                        "schema_id": "https://github.com/vassiliylakhonin/agenda-intelligence-md/schemas/v1/middle-corridor-deal-risk-response.schema.json",
                        "input_digest": "sha256:3b8c1d2e4f5a6079889aabbccddeeff00112233445566778899aabbccddeeff0"
                      }
                    }
                  ]
                },
                "annotations": {
                  "readOnlyHint": true,
                  "destructiveHint": false,
                  "idempotentHint": true,
                  "openWorldHint": false
                }
              }
            ]
          },
          "provider": {
            "legalEntity": {
              "type": "individual",
              "name": "Vassiliy Lakhonin",
              "sameAs": [
                "https://github.com/vassiliylakhonin",
                "https://pypi.org/project/agenda-intelligence-md/",
                "https://glama.ai/mcp/servers/vassiliylakhonin/agenda-intelligence-md",
                "https://agenstry.com/agents/middle-corridor-deal-risk-gate-a2a.vassiliy-lakhonin.workers.dev"
              ]
            }
          }
        }
      }
    ]
  },
  "defaultInputModes": [
    "application/json",
    "text/plain",
    "text/markdown"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown"
  ],
  "skills": [
    {
      "id": "middle-corridor-deal-desk-triage",
      "name": "Kazakhstan / Middle Corridor deal-risk gate",
      "description": "Turns a route, cargo, counterparty, and dated-source bundle into a structured deal-risk recommendation with risk signal, decision-readiness score, evidence gaps, and minimum source categories required before signature, shipment, insurer handoff, or committee review. Evaluation requires structured JSON; see the request schema and A2A example in the card extension.",
      "tags": [
        "deal-desk",
        "kazakhstan",
        "middle-corridor",
        "trade-risk",
        "logistics-risk",
        "human-review"
      ],
      "examples": [
        "Should this Altynkol-Aktau-Baku-Poti shipment be escalated before contract signature?",
        "Generate deal-risk triage for Kazakhstan-Caspian transit with cargo, counterparties, and dated sources."
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/markdown"
      ]
    },
    {
      "id": "middle-corridor-source-coverage-auditor",
      "name": "Middle Corridor source coverage auditor",
      "description": "Checks whether a Middle Corridor evidence pack has enough dated source coverage for a risk decision: sanctions lists, port/operator notices, customs or regulatory sources, counterparty registry extracts, and insurance or carrier notes. Evaluation requires structured JSON; see the request schema and A2A example in the card extension.",
      "tags": [
        "source-coverage",
        "evidence-pack",
        "middle-corridor",
        "trans-caspian",
        "official-sources",
        "decision-readiness"
      ],
      "examples": [
        "Audit whether this Kazakhstan corridor evidence pack is sufficient before management review.",
        "List missing required source types for a Middle Corridor sanctions and logistics-risk memo."
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/markdown"
      ]
    },
    {
      "id": "sanctions-adjacency-evidence-gate",
      "name": "Sanctions adjacency evidence gate",
      "description": "Provides a pre-compliance evidence gate for sanctions-adjacent Kazakhstan and Central Asia corridor exposure: OFAC named-sector (EO 14024/14114) and newly-formed-counterparty flags, EU re-export / circumvention-watch jurisdictions, dual-use cargo against the EU/US Common High Priority List, missing ownership/counterparty/vessel evidence, and human-review triggers. Deterministic rule-based presence-flagging; not legal or compliance advice, not a sanctions determination. Evaluation requires structured JSON; see the request schema and A2A example in the card extension.",
      "tags": [
        "sanctions-adjacency",
        "pre-compliance",
        "counterparty-risk",
        "beneficial-ownership",
        "trade-finance",
        "kazakhstan"
      ],
      "examples": [
        "Gate this Kazakhstan transit transaction for sanctions-adjacent evidence gaps before compliance review.",
        "Identify unsupported sanctions claims in a route-risk note with supplied source extracts."
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/markdown"
      ]
    },
    {
      "id": "risk-memo-quality-gate",
      "name": "Risk memo quality gate",
      "description": "Scores a corridor-risk memo for structure, evidence discipline, source coverage, decision-readiness, watch-next indicators, uncertainty handling, and required fixes before analyst or management handoff. Evaluation requires structured JSON; see the request schema and A2A example in the card extension.",
      "tags": [
        "memo-validation",
        "evidence-audit",
        "quality-gate",
        "decision-readiness",
        "watch-next",
        "strategic-risk"
      ],
      "examples": [
        "Quality-gate this Kazakhstan corridor-risk memo before it goes to a client or committee.",
        "Return pass/fail reasons and required fixes for a Middle Corridor risk memo."
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/markdown"
      ]
    },
    {
      "id": "a2a-evidence-pack-linter",
      "name": "A2A evidence pack linter",
      "description": "Lints caller-supplied evidence packs before they enter an agent workflow: missing dates, unknown evidence ids, orphan references, unsupported claims, quote-fragment presence, and source-category gaps. Evaluation requires structured JSON; see the request schema and A2A example in the card extension.",
      "tags": [
        "evidence-linting",
        "quote-checking",
        "provenance",
        "agent-workflows",
        "schema-validation",
        "source-coverage"
      ],
      "examples": [
        "Lint this evidence pack before running a Middle Corridor deal-risk memo.",
        "Find orphan evidence references and missing dates in this sanctions evidence bundle."
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/markdown"
      ]
    }
  ],
  "signatures": [
    {
      "protected": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpPU0UiLCJqa3UiOiJodHRwczovL21pZGRsZS1jb3JyaWRvci1kZWFsLXJpc2stZ2F0ZS1hMmEudmFzc2lsaXktbGFraG9uaW4ud29ya2Vycy5kZXYvLndlbGwta25vd24vandrcy5qc29uIiwia2lkIjoiYWdlbmRhLWludGVsbGlnZW5jZS1tZC0yMDI2LTA1LTI3LTI2ZjBkMDE2In0",
      "signature": "xg5nvw1zQ7mY5Ni_iqdjnetMz5GiNy2AlkkPrNNcUdZkh88Z6ywht_OEi8tN7TBHAj3gZD7DgcgsJ8ehk87c7A"
    }
  ]
}