{
  "description": "A2A local-mode facade operation flows for M6 autonomy acceptance tests",
  "fixtures": [
    {
      "name": "session_lifecycle",
      "operations": [
        {"operation": "session.create", "params": {}, "expected_status": "ok", "expected_keys": ["session_id", "status"]},
        {"operation": "session.close", "params": {}, "expected_status": "ok", "expected_keys": ["status"]}
      ]
    },
    {
      "name": "plan_lifecycle",
      "operations": [
        {"operation": "plan.create", "params": {}, "expected_status": "ok", "expected_keys": ["plan_id", "status"]},
        {"operation": "plan.execute", "params": {"plan_id": "01M6SM0KE00000000000000001"}, "expected_status": "ok", "expected_keys": ["plan_id", "status"]},
        {"operation": "plan.status", "params": {"plan_id": "01M6SM0KE00000000000000001"}, "expected_status": "ok", "expected_keys": ["plan_id", "phase"]},
        {"operation": "plan.diff", "params": {"plan_id": "01M6SM0KE00000000000000001"}, "expected_status": "ok", "expected_keys": ["plan_id", "changes"]},
        {"operation": "plan.apply", "params": {"plan_id": "01M6SM0KE00000000000000001"}, "expected_status": "ok", "expected_keys": ["plan_id", "status"]}
      ]
    },
    {
      "name": "registry_queries",
      "operations": [
        {"operation": "registry.list_tools", "params": {}, "expected_status": "ok", "expected_keys": ["tools"]},
        {"operation": "registry.list_resources", "params": {}, "expected_status": "ok", "expected_keys": ["resources"]}
      ]
    },
    {
      "name": "context_and_events",
      "operations": [
        {"operation": "context.get", "params": {}, "expected_status": "ok", "expected_keys": ["context"]},
        {"operation": "event.subscribe", "params": {}, "expected_status": "ok", "expected_keys": ["subscription_id", "status"]}
      ]
    },
    {
      "name": "unknown_operation",
      "operations": [
        {"operation": "nonexistent.op", "params": {}, "expected_error": "A2aOperationNotFoundError"}
      ]
    }
  ]
}
