@clipboard-health/ai-rules 2.35.2 → 2.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipboard-health/ai-rules",
3
- "version": "2.35.2",
3
+ "version": "2.36.0",
4
4
  "description": "Pre-built AI agent rules for consistent coding standards.",
5
5
  "keywords": [
6
6
  "ai",
@@ -55,6 +55,9 @@ GET /shifts?filter[verified]=true&sort=startDate,-urgency&page[cursor]=abc&page[
55
55
 
56
56
  - Add contracts to `contract-<microservice-name>` package
57
57
  - Use `ts-rest` with composable Zod schemas (enforced by `enforce-ts-rest-in-controllers`)
58
+ - Own the shape of your inputs and outputs — do not depend on other contract packages (`contract-*`, `api-contract-*`, `flag-*`); `@clipboard-health/contract-core` is the only shared contract dependency
59
+ - Duplicate schemas from other contracts locally when needed — type-checking and response validation catch drift
60
+ - Do not re-export or pass through another contract's schemas or endpoints
58
61
 
59
62
  ### Schema rules
60
63