/** * 0xRay Governance MCP Server * * First-class Governance Service that orchestrates the real individual * skill MCP servers (code-review, security-audit, researcher) plus the * required Dynamo Solar SSOT filter. * * This is the primary governance entry point for all integrations * (Hermes, OpenCode, OpenClaw, Grok CLI, Jelly, CI/CD). * * It always runs proposals through the three real skill servers * and the Dynamo Solar SSOT filter (required by default). */ import type { Transport } from "@modelcontextprotocol/sdk/shared/transport.js"; import { XrayKnowledgeSkillBase } from "./shared/knowledge-skill-base.js"; /** Bytes. Matches the SDK 1.32 default. Skipped when the caller passes parsedBody. */ export declare const MCP_MAX_REQUEST_BODY_SIZE = 4194304; declare class GovernanceServer extends XrayKnowledgeSkillBase { constructor(); private validateGovernProposalsArgs; private validateGovernReflectionArgs; protected setupToolHandlers(): void; /** Align tool default with features.json inference_governance.enabled (P0.2). */ private resolveRequireExternal; /** Boot stays flag-gated. A required external call starts the client on demand. */ private armRequiredDynamo; private handleGovernProposals; private handleGovernReflection; private handleRecordConferReceipt; private handleGetActiveCodex; private parseCodexTermsFromReflection; private initializeGovernance; run(): Promise; connect(transport: Transport): Promise; /** * Run as HTTP server using Streamable HTTP transport (for Grok CLI compatibility). * Uses per-session transports so concurrent clients can each initialize independently. */ runHttp(port?: number): Promise; } export { GovernanceServer };