openapi: 3.2.0 info: title: HiveMorph v0.1 Xcalibur Quorum V2 API description: 'Polymorphic agent runtime — single shape (Merchant), single supermodel (W2 MERCHANT). Three gates: NEED + YIELD + CLEAN-MONEY.' version: 0.1.0 tags: - name: xcalibur-quorum-v2 paths: /v1/xcalibur/quorum/v2/reason: post: tags: - xcalibur-quorum-v2 summary: Quorum V2 Reason description: 'Run QUORUM v2 ensemble reasoning. Dispatches the prompt through up to 4 strategies: 1. SELF-CONSISTENCY (Wang et al. 2022) — single model, k=5, majority vote 2. QUORUM-WEIGHTED — k=5 across diverse models/temperatures 3. CHAIN-VERIFY — zero-shot CoT + verification pass 4. SOLVE-AND-EXPLAIN — structured step-by-step with double-check An oracle picks the strategy with highest internal answer agreement. Returns signed receipt with per-strategy answers and confidence scores.' operationId: quorum_v2_reason_v1_xcalibur_quorum_v2_reason_post requestBody: content: application/json: schema: $ref: '#/components/schemas/QuorumV2ReasonBody' required: true responses: '200': description: Successful Response content: application/json: schema: additionalProperties: true type: object title: Response Quorum V2 Reason V1 Xcalibur Quorum V2 Reason Post '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' /v1/xcalibur/quorum/v2/health: get: tags: - xcalibur-quorum-v2 summary: Quorum V2 Health description: Liveness check. Returns primitive version and signing pubkey. operationId: quorum_v2_health_v1_xcalibur_quorum_v2_health_get responses: '200': description: Successful Response content: application/json: schema: additionalProperties: true type: object title: Response Quorum V2 Health V1 Xcalibur Quorum V2 Health Get components: schemas: HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError QuorumV2ReasonBody: properties: prompt: type: string minLength: 1 title: Prompt description: The reasoning problem to solve. max_strategies: anyOf: - type: integer maximum: 4.0 minimum: 1.0 - type: 'null' title: Max Strategies description: How many strategies to run (1-4). 3 skips SOLVE-AND-EXPLAIN for speed. 1 runs only self-consistency (baseline mode). default: 4 type: object required: - prompt title: QuorumV2ReasonBody