From f3218abf2a21b846573662d11e937bb0f21a1c67 Mon Sep 17 00:00:00 2001 From: JSONbored <49853598+JSONbored@users.noreply.github.com> Date: Wed, 29 Jul 2026 05:55:47 -0700 Subject: [PATCH] fix(contract): regenerate api-schemas for #9813's ignoredCheckRuns contract:api-schemas:check fails on main: #9813 added ignoredCheckRuns to RepositorySettingsSchema in src/ without committing the regenerated contract copy. Fourth piece of that PR's fallout, after the three #9829 fixed. @loopover/contract is what MCP and miner consume, and api-schemas.ts is what an external client validates a settings write against -- so a client built on the published contract silently strips ignoredCheckRuns: accepted by the server, absent from the schema, configuration that appears to save and then does nothing. Generated output, not hand-edited: `npm run contract:api-schemas`. Closes #9836 --- packages/loopover-contract/src/api-schemas.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/loopover-contract/src/api-schemas.ts b/packages/loopover-contract/src/api-schemas.ts index bce04d934..2664a44c3 100644 --- a/packages/loopover-contract/src/api-schemas.ts +++ b/packages/loopover-contract/src/api-schemas.ts @@ -452,6 +452,7 @@ export const RepositorySettingsSchema = z // the compile-time parity assertion in test/unit/openapi-settings-schema-parity.test.ts. expectedCiContexts: z.array(z.string()).readonly().nullable().optional(), advisoryCheckRuns: z.array(z.object({ name: z.string(), appSlug: z.string() })).readonly().nullable().optional(), + ignoredCheckRuns: z.array(z.object({ name: z.string(), appSlug: z.string() })).readonly().nullable().optional(), copycatGateMode: z.enum(["off", "warn", "label", "block"]).optional(), copycatGateMinScore: z.number().nullable().optional(), gateDryRun: z.boolean().optional(),