Skip to content

Commit 765a0cd

Browse files
fix: repair CI failures from schema, knip, and stale generated artifacts
Three root causes fixed: 1. catalog-schemas.mjs: valuesAt only traversed anyOf from Zod's toJSONSchema, not oneOf. The webScreenshotDiffSchema change to a discriminated union produces oneOf, so the product catalog generator could not derive the web_screenshot_diff schema version. Add oneOf traversal. 2. conformancePackage.ts: the test rewrite removed the only imports of ScenarioManifest, ReplayPlan, ShimPlan, and ExpectedEvidence, making them unused exports that knip flags. Remove the dead type aliases. 3. Regenerate stale artifacts (product catalog, MCP tool catalog, skill metadata, conformance manifest) that drifted from the source changes. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 5813385 commit 765a0cd

6 files changed

Lines changed: 8 additions & 22 deletions

File tree

docs/product-catalog.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,10 @@
680680
"mcp_resource_templates": 11
681681
},
682682
"digests": {
683-
"tools_sha256": "b0e8b9c894ef347b6680a3a5bfdb4cba5c10e9129eeaa43a5ea22ce4d398d417",
683+
"tools_sha256": "1a4533fef9cbe075fdca76b19a138924bd69d93a6413cdb767b2a9240a46fd04",
684684
"prompts_sha256": "3886a3bf55a448def79e3eb429e6a56eb2ba075423c5cb1e5747642b389ef8fe",
685685
"resources_sha256": "e0e872276ebf6f88e916ef24930a99eed27ce4c93e494e60820e9bd8cc8497c3",
686-
"combined_sha256": "bab5657d9525ec4f798d0a9ef6001412d9c11f77fb0ddc925c7076fd10921dc9",
686+
"combined_sha256": "8bd40516d78875cb75ba1c4a8786286311036742ad660914d7327c2941b2f73a",
687687
"providers_sha256": "7446b51788734ebf6f4f702e3a5a8c9f0b61967490c245f30bd37b2060827e6b"
688688
}
689689
}

docs/verification/managed-conformance-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schema_version": 1,
3-
"manifest_id": "ecm_c44391ed8e365e21871664422aa38fa6c12598006cde731d65a9d9e271b0fa5f",
3+
"manifest_id": "ecm_5add7389cf00e86bfec005df9e0e0cf8d7aceb2f3ec3e5f6b74edb5f880bd9a7",
44
"verifier": {
55
"id": "rea-managed-conformance",
66
"version": "1"
@@ -14,7 +14,7 @@
1414
"skill_digests": [
1515
{
1616
"skill_id": "reverse-engineer-anything",
17-
"sha256": "97a5bc5d29f162fe171ddbb8f4f5ba9fcba34ad336d4cdcae0c564223aa4cfe8"
17+
"sha256": "2cca31c9550fe32c24adcb8134edb4b077aa772fb0f0f1057c99964cac6d9a8f"
1818
}
1919
],
2020
"claims": [

scripts/lib/catalog-schemas.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const valuesAt = (node, path) => {
44
if (typeof node !== "object" || node === null) return [];
55
if ("anyOf" in node && Array.isArray(node.anyOf))
66
return node.anyOf.flatMap((alternative) => valuesAt(alternative, path));
7+
if ("oneOf" in node && Array.isArray(node.oneOf))
8+
return node.oneOf.flatMap((alternative) => valuesAt(alternative, path));
79
if (path.length === 0)
810
return "const" in node &&
911
(typeof node.const === "number" || typeof node.const === "string")

skills/reverse-engineer-anything/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Reverse engineer native, managed, Electron/JavaScript, packaged, an
44
metadata:
55
version: "23"
66
tool_count: 116
7-
catalog_digest: "bab5657d9525ec4f798d0a9ef6001412d9c11f77fb0ddc925c7076fd10921dc9"
7+
catalog_digest: "8bd40516d78875cb75ba1c4a8786286311036742ad660914d7327c2941b2f73a"
88
---
99

1010
# REA

src/domain/conformancePackage.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -130,22 +130,6 @@ export type ConformancePackage = DeepReadonly<
130130
z.output<typeof conformancePackageSchema>
131131
>;
132132

133-
/** Deterministic manifest for one conformance scenario. */
134-
export type ScenarioManifest = DeepReadonly<
135-
z.output<typeof scenarioManifestSchema>
136-
>;
137-
138-
/** Deterministic replay plan for one conformance scenario. */
139-
export type ReplayPlan = DeepReadonly<z.output<typeof replayPlanSchema>>;
140-
141-
/** Optional effect-shim plan for one conformance scenario. */
142-
export type ShimPlan = DeepReadonly<z.output<typeof shimPlanSchema>>;
143-
144-
/** Expected evidence for one conformance scenario. */
145-
export type ExpectedEvidence = DeepReadonly<
146-
z.output<typeof expectedEvidenceSchema>
147-
>;
148-
149133
/** Verification policy for one conformance scenario. */
150134
export type VerifierContract = DeepReadonly<
151135
z.output<typeof verifierContractSchema>

src/generatedMcpToolCatalog.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)