/** * End-to-end Convex application assembly verification. * * Builder / CI call this after generating a Convex preset to prove the * assembly is complete: required surfaces, companions, seed binding, * contract-tests, seed coherence, and event payload contracts. */ import type { IR } from '../../ir.js'; import type { ConvexSeedBinding } from '../../seed-pack/convex-binding.js'; export declare const CONVEX_ASSEMBLY_REQUIRED_SURFACES: readonly ["convex.schema", "convex.queries", "convex.mutations", "convex.crons", "convex.http", "convex.sagas", "convex.react"]; export declare const CONVEX_ASSEMBLY_REQUIRED_COMPANIONS: readonly ["wiring", "llm-context", "mermaid", "zod", "contract-tests"]; export interface ConvexAssemblyArtifact { id: string; code: string; } export interface VerifyConvexApplicationAssemblyInput { /** Generated artifacts keyed by surface id (or artifact.id). */ artifacts: ConvexAssemblyArtifact[]; /** Optional seed binding from describeConvexSeedBinding / generateConvexSeedScript. */ seedBinding?: ConvexSeedBinding; /** When true (default), require contract-tests projection to be registered. */ requireContractTests?: boolean; /** * Compiled IR — required for event-payload-contract and preferred for * complete:true. Without it, event contract check fails closed. */ ir?: IR; /** * Optional DX proof-kit catalog JSON (string). When provided, must declare * schemaVersion manifest-capability-catalog/v1. */ proofCatalogJson?: string; } export interface ConvexAssemblyCheck { id: string; pass: boolean; detail: string; } export interface ConvexAssemblyVerification { ok: boolean; checks: ConvexAssemblyCheck[]; } /** * Verify a Convex application assembly against Manifest-published contracts. */ export declare function verifyConvexApplicationAssembly(input: VerifyConvexApplicationAssemblyInput): ConvexAssemblyVerification; //# sourceMappingURL=assembly-verify.d.ts.map