feat(api): define v1 control-plane contract

This commit is contained in:
chick
2026-07-16 10:58:05 +08:00
parent aa3c3f9803
commit a86970d33b
14 changed files with 3234 additions and 4 deletions
+5
View File
@@ -29,6 +29,11 @@ test('Phase 1 workspace pins pnpm and preserves the legacy service gates', async
/^node --test$/,
'root test must not auto-discover Vitest-only files',
);
assert.match(
packageJson.scripts['test:contract'],
/openapi-validator\.test\.ts/,
'contract gate must include independent OpenAPI mutation tests',
);
assert.match(packageJson.scripts.lint, /apps/);
assert.match(packageJson.scripts.lint, /packages\/contracts/);
assert.match(packageJson.scripts.lint, /eslint\.config\.js/);