fix(build): make catalogs and packaged skills generated outputs (#1086)

* fix(build): generate catalogs and packaged skills without snapshot commits

* fix(build): point skill drift recovery to uncached generation
This commit is contained in:
morluto
2026-10-08 22:43:51 +08:00
committed by GitHub
parent b49beb42d7
commit e6134056cf
41 changed files with 363 additions and 1219 deletions
+3 -3
View File
@@ -95,7 +95,7 @@ describe("canonical product catalog", () => {
);
});
it("matches every source-derived checked-in product fact", async () => {
it("matches every source-derived build-generated product fact", async () => {
const catalog = await createProductCatalog(root);
expect(catalog.tools.total).toBe(TOOL_CONTRACTS.length);
expect(
@@ -204,10 +204,10 @@ describe("canonical product catalog", () => {
providerCatalogDigest(catalog.providers),
);
expect(
JSON.parse(await readFile("docs/product-catalog.json", "utf8")),
JSON.parse(await readFile("docs/public/product-catalog.json", "utf8")),
).toEqual(catalog);
expect(await serializeProductCatalog(catalog)).toBe(
await readFile("docs/product-catalog.json", "utf8"),
await readFile("docs/public/product-catalog.json", "utf8"),
);
await expect(
assertDocumentationFacts(root, catalog),