{
  "config": {
    "version": "1.1.0",
    "implementation_status": "offline-review",
    "protocol_version": "2025-06-18",
    "server_name": "ntwx-agent-layer",
    "unicode_version": "15.0.0",
    "routes": {
      "version": 1,
      "include": [
        "/mcp",
        "/api/*"
      ],
      "exclude": []
    },
    "router_rules_path": "api/v1/data/router-rules.json",
    "reason_codes": {
      "cancelled": "cancelled",
      "match": "match",
      "ambiguous": "ambiguous",
      "unsupported": "unsupported",
      "ineligible": "ineligible",
      "generic": "generic"
    },
    "exclusion_reason_prefix": "exclusion",
    "max_body_bytes": 8192,
    "match_max_chars": 500,
    "data_path": "api/v1/data/stage-b.json",
    "mcp_path": "/mcp",
    "match_path": "/api/v1/match",
    "discovery_path": ".well-known/mcp.json",
    "availability_note": "Stage B match and read-only MCP tools are implemented for offline review. Commander must merge, redeploy and verify these endpoints before live use. Stage A static discovery remains verified live.",
    "origin_policy": "public-https-or-same-origin",
    "methods": [
      "initialize",
      "notifications/initialized",
      "ping",
      "tools/list",
      "tools/call"
    ],
    "http_errors": {
      "400": {
        "code": "bad_request",
        "message": "Invalid JSON request or arguments."
      },
      "403": {
        "code": "forbidden_origin",
        "message": "Origin is not permitted."
      },
      "404": {
        "code": "not_found",
        "message": "This API path or identifier is not available."
      },
      "405": {
        "code": "method_not_allowed",
        "message": "Method not allowed."
      },
      "406": {
        "code": "not_acceptable",
        "message": "Accept must permit application/json."
      },
      "413": {
        "code": "payload_too_large",
        "message": "Request body exceeds 8192 bytes."
      },
      "415": {
        "code": "unsupported_media_type",
        "message": "Content-Type must be application/json."
      }
    },
    "rpc_errors": {
      "parse": {
        "code": -32700,
        "message": "Invalid JSON."
      },
      "request": {
        "code": -32600,
        "message": "Invalid JSON-RPC request."
      },
      "method": {
        "code": -32601,
        "message": "Unknown method."
      },
      "params": {
        "code": -32602,
        "message": "Invalid arguments or unknown tool."
      },
      "internal": {
        "code": -32603,
        "message": "Internal error."
      }
    },
    "tools": [
      {
        "name": "list_capabilities",
        "description": "List registry capabilities, optionally filtered by canonical product ID and status.",
        "input": "capability-filter",
        "output": "CapabilityList"
      },
      {
        "name": "get_capability",
        "description": "Read a capability by canonical capability ID.",
        "input": "capability-id",
        "output": "Capability"
      },
      {
        "name": "get_product",
        "description": "Read a product by canonical product ID.",
        "input": "product-id",
        "output": "Product"
      },
      {
        "name": "match_capability_to_intent",
        "description": "Use the DEFAULT deterministic router to select navigation, engagement or clarification; no product execution.",
        "input": "match",
        "output": "Match"
      },
      {
        "name": "get_engagement_path",
        "description": "List service-only product engagement paths, optionally filtered by canonical product ID. Live products have no service-only engagement path.",
        "input": "product-filter",
        "output": "EngagementPaths"
      },
      {
        "name": "get_catalogue",
        "description": "Read the full registry product, capability and indicative-offer catalogue.",
        "input": "empty",
        "output": "Catalogue"
      }
    ],
    "examples": {
      "match": {
        "intent": "Discuss DOME"
      },
      "initialize": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "initialize",
        "params": {
          "protocolVersion": "2025-06-18",
          "capabilities": {},
          "clientInfo": {
            "name": "example-agent",
            "version": "1.0.0"
          }
        }
      }
    },
    "allowed_hosts": [
      "agents.ml-nightworx.io",
      "ntwx-agents.pages.dev",
      "localhost",
      "127.0.0.1",
      "[::1]"
    ]
  },
  "schemas": {
    "Capability": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^capability:[a-z0-9-]+$"
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "product_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "enum": [
            "live",
            "service-only",
            "registry-only"
          ]
        },
        "callable": {
          "type": "boolean"
        },
        "tool": {
          "type": [
            "string",
            "null"
          ]
        },
        "intent_id": {
          "type": "string",
          "pattern": "^intent:[a-z0-9-]+$"
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "next_action": {
          "type": "object",
          "properties": {
            "type": {
              "enum": [
                "visit",
                "engage",
                "contact",
                "read_registry",
                "clarify",
                "none"
              ]
            },
            "url": {
              "type": [
                "string",
                "null"
              ]
            },
            "description": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "type",
            "url",
            "description"
          ],
          "additionalProperties": false
        },
        "rules": {
          "type": "object",
          "properties": {
            "aliases": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            },
            "requires": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            },
            "excluded_terms": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": [
            "aliases",
            "requires",
            "excluded_terms"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "id",
        "name",
        "product_id",
        "status",
        "callable",
        "tool",
        "intent_id",
        "description",
        "next_action",
        "rules"
      ],
      "additionalProperties": false
    },
    "Product": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^product:[a-z0-9-]+$"
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "status": {
          "enum": [
            "live",
            "service-only"
          ]
        },
        "in_scope": {
          "type": "boolean"
        },
        "agent_interface": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "acquisition_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "disambiguation": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "status",
        "in_scope",
        "agent_interface",
        "url",
        "acquisition_url",
        "disambiguation"
      ],
      "additionalProperties": false
    },
    "Offer": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^offer:[a-z0-9-]+$"
        },
        "product_id": {
          "type": "string",
          "pattern": "^product:[a-z0-9-]+$"
        },
        "currency": {
          "const": "AUD"
        },
        "indicative_amount": {
          "type": "integer",
          "minimum": 0
        },
        "block_0_required": {
          "const": true
        },
        "is_quote": {
          "const": false
        },
        "engagement_url": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "id",
        "product_id",
        "currency",
        "indicative_amount",
        "block_0_required",
        "is_quote",
        "engagement_url"
      ],
      "additionalProperties": false
    },
    "Match": {
      "type": "object",
      "properties": {
        "match": {
          "enum": [
            "match",
            "ambiguous",
            "no-match"
          ]
        },
        "capability": {
          "type": [
            "string",
            "null"
          ]
        },
        "product": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string",
          "minLength": 1
        },
        "rationale": {
          "type": "string",
          "minLength": 1
        },
        "next_action": {
          "type": "object",
          "properties": {
            "type": {
              "enum": [
                "visit",
                "engage",
                "contact",
                "read_registry",
                "clarify",
                "none"
              ]
            },
            "url": {
              "type": [
                "string",
                "null"
              ]
            },
            "description": {
              "type": "string",
              "minLength": 1
            },
            "enquiry_email": {
              "type": "string",
              "const": "enquiries@ml-nightworx.io"
            },
            "candidates": {
              "type": "array",
              "minItems": 1,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "pattern": "^capability:[a-z0-9-]+$"
              }
            }
          },
          "required": [
            "type",
            "url",
            "description"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "match",
        "capability",
        "product",
        "status",
        "rationale",
        "next_action"
      ],
      "additionalProperties": false,
      "allOf": [
        {
          "if": {
            "properties": {
              "match": {
                "enum": [
                  "no-match",
                  "ambiguous"
                ]
              }
            }
          },
          "then": {
            "properties": {
              "next_action": {
                "required": [
                  "enquiry_email"
                ],
                "properties": {
                  "url": {
                    "const": "https://aaas.ml-nightworx.io/api/catalogue"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "match": {
                "const": "ambiguous"
              }
            }
          },
          "then": {
            "properties": {
              "next_action": {
                "required": [
                  "candidates"
                ]
              }
            }
          }
        }
      ]
    },
    "MatchRequest": {
      "type": "object",
      "properties": {
        "intent": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500,
          "pattern": "\\S"
        },
        "context": {
          "type": "object",
          "properties": {
            "preferred_product": {
              "type": "string",
              "pattern": "^product:[a-z0-9-]+$"
            },
            "allow_service_engagement": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        }
      },
      "required": [
        "intent"
      ],
      "additionalProperties": false
    },
    "CapabilityList": {
      "type": "object",
      "properties": {
        "capabilities": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^capability:[a-z0-9-]+$"
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "product_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "enum": [
                  "live",
                  "service-only",
                  "registry-only"
                ]
              },
              "callable": {
                "type": "boolean"
              },
              "tool": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "intent_id": {
                "type": "string",
                "pattern": "^intent:[a-z0-9-]+$"
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "next_action": {
                "type": "object",
                "properties": {
                  "type": {
                    "enum": [
                      "visit",
                      "engage",
                      "contact",
                      "read_registry",
                      "clarify",
                      "none"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "type",
                  "url",
                  "description"
                ],
                "additionalProperties": false
              },
              "rules": {
                "type": "object",
                "properties": {
                  "aliases": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "requires": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "excluded_terms": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "required": [
                  "aliases",
                  "requires",
                  "excluded_terms"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "product_id",
              "status",
              "callable",
              "tool",
              "intent_id",
              "description",
              "next_action",
              "rules"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "capabilities"
      ],
      "additionalProperties": false
    },
    "EngagementPaths": {
      "type": "object",
      "properties": {
        "paths": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "product": {
                "type": "string",
                "enum": [
                  "product:aaas",
                  "product:studio",
                  "product:dome",
                  "product:infra",
                  "product:hawk",
                  "product:onos"
                ]
              },
              "name": {
                "type": "string"
              },
              "next_action": {
                "type": "object",
                "properties": {
                  "type": {
                    "enum": [
                      "visit",
                      "engage",
                      "contact",
                      "read_registry",
                      "clarify",
                      "none"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "type",
                  "url",
                  "description"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "product",
              "name",
              "next_action"
            ],
            "additionalProperties": false
          }
        },
        "enquiry_email": {
          "const": "enquiries@ml-nightworx.io",
          "type": "string"
        },
        "catalogue_url": {
          "const": "https://aaas.ml-nightworx.io/api/catalogue",
          "type": "string"
        }
      },
      "required": [
        "paths",
        "enquiry_email",
        "catalogue_url"
      ],
      "additionalProperties": false
    },
    "Catalogue": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        },
        "products": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^product:[a-z0-9-]+$"
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "status": {
                "enum": [
                  "live",
                  "service-only"
                ]
              },
              "in_scope": {
                "type": "boolean"
              },
              "agent_interface": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "acquisition_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "disambiguation": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "id",
              "name",
              "status",
              "in_scope",
              "agent_interface",
              "url",
              "acquisition_url",
              "disambiguation"
            ],
            "additionalProperties": false
          }
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^capability:[a-z0-9-]+$"
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "product_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "enum": [
                  "live",
                  "service-only",
                  "registry-only"
                ]
              },
              "callable": {
                "type": "boolean"
              },
              "tool": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "intent_id": {
                "type": "string",
                "pattern": "^intent:[a-z0-9-]+$"
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "next_action": {
                "type": "object",
                "properties": {
                  "type": {
                    "enum": [
                      "visit",
                      "engage",
                      "contact",
                      "read_registry",
                      "clarify",
                      "none"
                    ]
                  },
                  "url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "type",
                  "url",
                  "description"
                ],
                "additionalProperties": false
              },
              "rules": {
                "type": "object",
                "properties": {
                  "aliases": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "requires": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "excluded_terms": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "required": [
                  "aliases",
                  "requires",
                  "excluded_terms"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "product_id",
              "status",
              "callable",
              "tool",
              "intent_id",
              "description",
              "next_action",
              "rules"
            ],
            "additionalProperties": false
          }
        },
        "offers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^offer:[a-z0-9-]+$"
              },
              "product_id": {
                "type": "string",
                "pattern": "^product:[a-z0-9-]+$"
              },
              "currency": {
                "const": "AUD"
              },
              "indicative_amount": {
                "type": "integer",
                "minimum": 0
              },
              "block_0_required": {
                "const": true
              },
              "is_quote": {
                "const": false
              },
              "engagement_url": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "id",
              "product_id",
              "currency",
              "indicative_amount",
              "block_0_required",
              "is_quote",
              "engagement_url"
            ],
            "additionalProperties": false
          }
        },
        "conformance": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "products",
        "capabilities",
        "offers",
        "conformance"
      ],
      "additionalProperties": false
    },
    "HttpError": {
      "type": "object",
      "properties": {
        "error": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "enum": [
                "bad_request",
                "forbidden_origin",
                "not_found",
                "method_not_allowed",
                "not_acceptable",
                "payload_too_large",
                "unsupported_media_type"
              ]
            },
            "message": {
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "error"
      ],
      "additionalProperties": false
    },
    "McpRequest": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": [
            "string",
            "integer"
          ]
        },
        "method": {
          "type": "string",
          "minLength": 1
        },
        "params": {
          "type": "object"
        }
      },
      "required": [
        "jsonrpc",
        "method"
      ],
      "additionalProperties": false
    },
    "McpResponse": {
      "type": "object",
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": [
            "string",
            "integer",
            "null"
          ]
        },
        "result": {
          "type": "object"
        },
        "error": {
          "type": "object",
          "properties": {
            "code": {
              "type": "integer"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "jsonrpc",
        "id"
      ],
      "additionalProperties": false,
      "oneOf": [
        {
          "required": [
            "result"
          ],
          "not": {
            "required": [
              "error"
            ]
          }
        },
        {
          "required": [
            "error"
          ],
          "not": {
            "required": [
              "result"
            ]
          }
        }
      ]
    }
  },
  "tools": [
    {
      "name": "list_capabilities",
      "description": "List registry capabilities, optionally filtered by canonical product ID and status.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "enum": [
              "product:aaas",
              "product:studio",
              "product:dome",
              "product:infra",
              "product:hawk",
              "product:onos"
            ]
          },
          "status": {
            "enum": [
              "live",
              "service-only",
              "registry-only"
            ]
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "capabilities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^capability:[a-z0-9-]+$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "enum": [
                    "live",
                    "service-only",
                    "registry-only"
                  ]
                },
                "callable": {
                  "type": "boolean"
                },
                "tool": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "intent_id": {
                  "type": "string",
                  "pattern": "^intent:[a-z0-9-]+$"
                },
                "description": {
                  "type": "string",
                  "minLength": 1
                },
                "next_action": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "enum": [
                        "visit",
                        "engage",
                        "contact",
                        "read_registry",
                        "clarify",
                        "none"
                      ]
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "type",
                    "url",
                    "description"
                  ],
                  "additionalProperties": false
                },
                "rules": {
                  "type": "object",
                  "properties": {
                    "aliases": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "requires": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "excluded_terms": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  },
                  "required": [
                    "aliases",
                    "requires",
                    "excluded_terms"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "name",
                "product_id",
                "status",
                "callable",
                "tool",
                "intent_id",
                "description",
                "next_action",
                "rules"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "capabilities"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_capability",
      "description": "Read a capability by canonical capability ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "capability:aaas",
              "capability:studio",
              "capability:dome",
              "capability:infra",
              "capability:hawk",
              "capability:onos",
              "capability:catalogue",
              "capability:support"
            ]
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^capability:[a-z0-9-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "product_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "live",
              "service-only",
              "registry-only"
            ]
          },
          "callable": {
            "type": "boolean"
          },
          "tool": {
            "type": [
              "string",
              "null"
            ]
          },
          "intent_id": {
            "type": "string",
            "pattern": "^intent:[a-z0-9-]+$"
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "next_action": {
            "type": "object",
            "properties": {
              "type": {
                "enum": [
                  "visit",
                  "engage",
                  "contact",
                  "read_registry",
                  "clarify",
                  "none"
                ]
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "type",
              "url",
              "description"
            ],
            "additionalProperties": false
          },
          "rules": {
            "type": "object",
            "properties": {
              "aliases": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "requires": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "excluded_terms": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "required": [
              "aliases",
              "requires",
              "excluded_terms"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "id",
          "name",
          "product_id",
          "status",
          "callable",
          "tool",
          "intent_id",
          "description",
          "next_action",
          "rules"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_product",
      "description": "Read a product by canonical product ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "product:aaas",
              "product:studio",
              "product:dome",
              "product:infra",
              "product:hawk",
              "product:onos"
            ]
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^product:[a-z0-9-]+$"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "status": {
            "enum": [
              "live",
              "service-only"
            ]
          },
          "in_scope": {
            "type": "boolean"
          },
          "agent_interface": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "acquisition_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "disambiguation": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "status",
          "in_scope",
          "agent_interface",
          "url",
          "acquisition_url",
          "disambiguation"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "match_capability_to_intent",
      "description": "Use the DEFAULT deterministic router to select navigation, engagement or clarification; no product execution.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "intent": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500,
            "pattern": "\\S"
          },
          "context": {
            "type": "object",
            "properties": {
              "preferred_product": {
                "type": "string",
                "pattern": "^product:[a-z0-9-]+$"
              },
              "allow_service_engagement": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "intent"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "match": {
            "enum": [
              "match",
              "ambiguous",
              "no-match"
            ]
          },
          "capability": {
            "type": [
              "string",
              "null"
            ]
          },
          "product": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string",
            "minLength": 1
          },
          "rationale": {
            "type": "string",
            "minLength": 1
          },
          "next_action": {
            "type": "object",
            "properties": {
              "type": {
                "enum": [
                  "visit",
                  "engage",
                  "contact",
                  "read_registry",
                  "clarify",
                  "none"
                ]
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": "string",
                "minLength": 1
              },
              "enquiry_email": {
                "type": "string",
                "const": "enquiries@ml-nightworx.io"
              },
              "candidates": {
                "type": "array",
                "minItems": 1,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "pattern": "^capability:[a-z0-9-]+$"
                }
              }
            },
            "required": [
              "type",
              "url",
              "description"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "match",
          "capability",
          "product",
          "status",
          "rationale",
          "next_action"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "match": {
                  "enum": [
                    "no-match",
                    "ambiguous"
                  ]
                }
              }
            },
            "then": {
              "properties": {
                "next_action": {
                  "required": [
                    "enquiry_email"
                  ],
                  "properties": {
                    "url": {
                      "const": "https://aaas.ml-nightworx.io/api/catalogue"
                    }
                  }
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "match": {
                  "const": "ambiguous"
                }
              }
            },
            "then": {
              "properties": {
                "next_action": {
                  "required": [
                    "candidates"
                  ]
                }
              }
            }
          }
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_engagement_path",
      "description": "List service-only product engagement paths, optionally filtered by canonical product ID. Live products have no service-only engagement path.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "enum": [
              "product:aaas",
              "product:studio",
              "product:dome",
              "product:infra",
              "product:hawk",
              "product:onos"
            ]
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "paths": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "product": {
                  "type": "string",
                  "enum": [
                    "product:aaas",
                    "product:studio",
                    "product:dome",
                    "product:infra",
                    "product:hawk",
                    "product:onos"
                  ]
                },
                "name": {
                  "type": "string"
                },
                "next_action": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "enum": [
                        "visit",
                        "engage",
                        "contact",
                        "read_registry",
                        "clarify",
                        "none"
                      ]
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "type",
                    "url",
                    "description"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "product",
                "name",
                "next_action"
              ],
              "additionalProperties": false
            }
          },
          "enquiry_email": {
            "const": "enquiries@ml-nightworx.io",
            "type": "string"
          },
          "catalogue_url": {
            "const": "https://aaas.ml-nightworx.io/api/catalogue",
            "type": "string"
          }
        },
        "required": [
          "paths",
          "enquiry_email",
          "catalogue_url"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "get_catalogue",
      "description": "Read the full registry product, capability and indicative-offer catalogue.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^product:[a-z0-9-]+$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "status": {
                  "enum": [
                    "live",
                    "service-only"
                  ]
                },
                "in_scope": {
                  "type": "boolean"
                },
                "agent_interface": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "acquisition_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "disambiguation": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "id",
                "name",
                "status",
                "in_scope",
                "agent_interface",
                "url",
                "acquisition_url",
                "disambiguation"
              ],
              "additionalProperties": false
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^capability:[a-z0-9-]+$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "product_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "enum": [
                    "live",
                    "service-only",
                    "registry-only"
                  ]
                },
                "callable": {
                  "type": "boolean"
                },
                "tool": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "intent_id": {
                  "type": "string",
                  "pattern": "^intent:[a-z0-9-]+$"
                },
                "description": {
                  "type": "string",
                  "minLength": 1
                },
                "next_action": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "enum": [
                        "visit",
                        "engage",
                        "contact",
                        "read_registry",
                        "clarify",
                        "none"
                      ]
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "description": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "type",
                    "url",
                    "description"
                  ],
                  "additionalProperties": false
                },
                "rules": {
                  "type": "object",
                  "properties": {
                    "aliases": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "requires": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "excluded_terms": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  },
                  "required": [
                    "aliases",
                    "requires",
                    "excluded_terms"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "name",
                "product_id",
                "status",
                "callable",
                "tool",
                "intent_id",
                "description",
                "next_action",
                "rules"
              ],
              "additionalProperties": false
            }
          },
          "offers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "pattern": "^offer:[a-z0-9-]+$"
                },
                "product_id": {
                  "type": "string",
                  "pattern": "^product:[a-z0-9-]+$"
                },
                "currency": {
                  "const": "AUD"
                },
                "indicative_amount": {
                  "type": "integer",
                  "minimum": 0
                },
                "block_0_required": {
                  "const": true
                },
                "is_quote": {
                  "const": false
                },
                "engagement_url": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "id",
                "product_id",
                "currency",
                "indicative_amount",
                "block_0_required",
                "is_quote",
                "engagement_url"
              ],
              "additionalProperties": false
            }
          },
          "conformance": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "products",
          "capabilities",
          "offers",
          "conformance"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    }
  ],
  "catalogue": {
    "version": "1.1",
    "products": [
      {
        "id": "product:aaas",
        "name": "AAAS",
        "status": "live",
        "in_scope": true,
        "agent_interface": "interface:aaas",
        "url": "https://aaas.ml-nightworx.io",
        "acquisition_url": null,
        "disambiguation": null
      },
      {
        "id": "product:studio",
        "name": "STUDIO",
        "status": "live",
        "in_scope": true,
        "agent_interface": "interface:studio",
        "url": "https://studio.ml-nightworx.io",
        "acquisition_url": null,
        "disambiguation": null
      },
      {
        "id": "product:dome",
        "name": "DOME",
        "status": "service-only",
        "in_scope": false,
        "agent_interface": null,
        "url": null,
        "acquisition_url": null,
        "disambiguation": null
      },
      {
        "id": "product:infra",
        "name": "INFRA",
        "status": "service-only",
        "in_scope": false,
        "agent_interface": null,
        "url": null,
        "acquisition_url": null,
        "disambiguation": null
      },
      {
        "id": "product:hawk",
        "name": "NIGHTHAWK",
        "status": "service-only",
        "in_scope": false,
        "agent_interface": null,
        "url": null,
        "acquisition_url": "https://hawk-aeo.ml-nightworx.io",
        "disambiguation": "Distinct from NightHawk(TM) / Hawk Information Services."
      },
      {
        "id": "product:onos",
        "name": "ONOS",
        "status": "service-only",
        "in_scope": false,
        "agent_interface": null,
        "url": null,
        "acquisition_url": null,
        "disambiguation": null
      }
    ],
    "capabilities": [
      {
        "id": "capability:aaas",
        "name": "Explore AAAS",
        "product_id": "product:aaas",
        "status": "live",
        "callable": false,
        "tool": null,
        "intent_id": "intent:aaas",
        "description": "Navigate to the independent live interface.",
        "next_action": {
          "type": "visit",
          "url": "https://aaas.ml-nightworx.io",
          "description": "Verify available tools at the live interface before any call."
        },
        "rules": {
          "aliases": [
            "aaas",
            "aaas"
          ],
          "requires": [],
          "excluded_terms": [
            "cancel",
            "not",
            "avoid"
          ]
        }
      },
      {
        "id": "capability:studio",
        "name": "Explore STUDIO",
        "product_id": "product:studio",
        "status": "live",
        "callable": false,
        "tool": null,
        "intent_id": "intent:studio",
        "description": "Navigate to the independent live interface.",
        "next_action": {
          "type": "visit",
          "url": "https://studio.ml-nightworx.io",
          "description": "Verify available tools at the live interface before any call."
        },
        "rules": {
          "aliases": [
            "studio",
            "studio"
          ],
          "requires": [],
          "excluded_terms": [
            "cancel",
            "not",
            "avoid"
          ]
        }
      },
      {
        "id": "capability:dome",
        "name": "Discuss DOME",
        "product_id": "product:dome",
        "status": "service-only",
        "callable": false,
        "tool": null,
        "intent_id": "intent:dome",
        "description": "Request a Block 0 engagement discussion; service-only, no agent interface.",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        },
        "rules": {
          "aliases": [
            "dome",
            "dome"
          ],
          "requires": [],
          "excluded_terms": [
            "cancel",
            "not",
            "avoid"
          ]
        }
      },
      {
        "id": "capability:infra",
        "name": "Discuss INFRA",
        "product_id": "product:infra",
        "status": "service-only",
        "callable": false,
        "tool": null,
        "intent_id": "intent:infra",
        "description": "Request a Block 0 engagement discussion; service-only, no agent interface.",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        },
        "rules": {
          "aliases": [
            "infra",
            "infra"
          ],
          "requires": [],
          "excluded_terms": [
            "cancel",
            "not",
            "avoid"
          ]
        }
      },
      {
        "id": "capability:hawk",
        "name": "Discuss NIGHTHAWK",
        "product_id": "product:hawk",
        "status": "service-only",
        "callable": false,
        "tool": null,
        "intent_id": "intent:hawk",
        "description": "Request a Block 0 engagement discussion; service-only, no agent interface.",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        },
        "rules": {
          "aliases": [
            "nighthawk",
            "hawk"
          ],
          "requires": [],
          "excluded_terms": [
            "cancel",
            "not",
            "avoid"
          ]
        }
      },
      {
        "id": "capability:onos",
        "name": "Discuss ONOS",
        "product_id": "product:onos",
        "status": "service-only",
        "callable": false,
        "tool": null,
        "intent_id": "intent:onos",
        "description": "Request a Block 0 engagement discussion; service-only, no agent interface.",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        },
        "rules": {
          "aliases": [
            "onos",
            "onos"
          ],
          "requires": [],
          "excluded_terms": [
            "cancel",
            "not",
            "avoid"
          ]
        }
      },
      {
        "id": "capability:catalogue",
        "name": "Explore the catalogue",
        "product_id": null,
        "status": "registry-only",
        "callable": false,
        "tool": null,
        "intent_id": "intent:catalogue",
        "description": "Inspect the generated capability catalogue.",
        "next_action": {
          "type": "read_registry",
          "url": null,
          "description": "Read catalogue.json in the reviewed discovery bundle."
        },
        "rules": {
          "aliases": [
            "catalogue",
            "catalog",
            "capabilities"
          ],
          "requires": [],
          "excluded_terms": []
        }
      },
      {
        "id": "capability:support",
        "name": "Contact support",
        "product_id": null,
        "status": "registry-only",
        "callable": false,
        "tool": null,
        "intent_id": "intent:support",
        "description": "Request help through the approved public support contact.",
        "next_action": {
          "type": "contact",
          "url": "mailto:support@ml-nightworx.io",
          "description": "Contact support."
        },
        "rules": {
          "aliases": [
            "technical help",
            "contact support",
            "support contact",
            "support email"
          ],
          "requires": [],
          "excluded_terms": []
        }
      }
    ],
    "offers": [
      {
        "id": "offer:dome",
        "product_id": "product:dome",
        "currency": "AUD",
        "indicative_amount": 90000,
        "block_0_required": true,
        "is_quote": false,
        "engagement_url": "mailto:enquiries@ml-nightworx.io"
      },
      {
        "id": "offer:infra",
        "product_id": "product:infra",
        "currency": "AUD",
        "indicative_amount": 55000,
        "block_0_required": true,
        "is_quote": false,
        "engagement_url": "mailto:enquiries@ml-nightworx.io"
      },
      {
        "id": "offer:hawk",
        "product_id": "product:hawk",
        "currency": "AUD",
        "indicative_amount": 50000,
        "block_0_required": true,
        "is_quote": false,
        "engagement_url": "mailto:enquiries@ml-nightworx.io"
      },
      {
        "id": "offer:onos",
        "product_id": "product:onos",
        "currency": "AUD",
        "indicative_amount": 45000,
        "block_0_required": true,
        "is_quote": false,
        "engagement_url": "mailto:enquiries@ml-nightworx.io"
      }
    ],
    "conformance": "Custom offline discovery documents; no claim of platform recognition or guaranteed discovery."
  },
  "engagement": {
    "paths": [
      {
        "product": "product:dome",
        "name": "DOME",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        }
      },
      {
        "product": "product:infra",
        "name": "INFRA",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        }
      },
      {
        "product": "product:hawk",
        "name": "NIGHTHAWK",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        }
      },
      {
        "product": "product:onos",
        "name": "ONOS",
        "next_action": {
          "type": "engage",
          "url": "mailto:enquiries@ml-nightworx.io",
          "description": "Contact business enquiries. Block 0 is required; indicative offer is not a quote."
        }
      }
    ],
    "enquiry_email": "enquiries@ml-nightworx.io",
    "catalogue_url": "https://aaas.ml-nightworx.io/api/catalogue"
  }
}
