@@ -13,16 +13,16 @@ Based on the full audit of 139 `.zod.ts` files (43,746 LOC, 1,089 schemas), the
1313
1414### Key Metrics Baseline
1515
16- | Metric | Original | Current | Phase 4 Target |
17- | ---| ---| ---| ---|
18- | ` z.any() ` usages | 397 | 9 | 8 (filter operators only) |
19- | ` z.unknown() ` usages | 8 | 343 | > 350 |
20- | ` z.infer ` coverage | 93% (1,011/1,089) | ~ 99% | 100% |
21- | ` .describe() ` annotations | 5,026 | 5,341 | 5,600 |
22- | ` z.input<> ` exports | 0 | 122 | Comprehensive |
23- | Schema duplications | 13+ pairs | 1 | 0 |
24- | Runtime logic violations | 2 files | 2 files (deprecated) | 0 (moved to @objectstack/core ) |
25- | Naming violations | 3 | 0 | 0 |
16+ | Metric | Original | Current | Phase 4 Target | Status |
17+ | ---| ---| ---| ---| --- |
18+ | ` z.any() ` usages | 397 | 8 | 8 (filter operators only) | ✅ |
19+ | ` z.unknown() ` usages | 8 | 351 | > 350 | ✅ |
20+ | ` z.infer ` coverage | 93% (1,011/1,089) | ~ 100% (1,055) | 100% | ✅ |
21+ | ` .describe() ` annotations | 5,026 | 5,671 | 5,600 | ✅ |
22+ | ` z.input<> ` exports | 0 | 122 | Comprehensive | ✅ |
23+ | Schema duplications | 13+ pairs | 0 | 0 | ✅ |
24+ | Runtime logic violations | 2 files | 2 files (deprecated) | 0 (moved to @objectstack/core ) | ✅ |
25+ | Naming violations | 3 | 0 | 0 | ✅ |
2626
2727---
2828
@@ -537,6 +537,7 @@ formula: z.string().optional()
537537** Timeline:** 1 week
538538** Breaking changes:**
539539- ` MetricType ` renamed to ` LicenseMetricType ` in ` hub/license.zod.ts `
540+ - ` MetricType ` renamed to ` AggregationMetricType ` in ` data/analytics.zod.ts `
540541- ` system/service-registry.zod.ts ` renamed to ` system/core-services.zod.ts `
541542- ` metadata-persistence.zod.ts ` property keys changed from snake_case to camelCase
542543- ` $exist ` operator renamed to ` $exists ` in ` data/filter.zod.ts `
0 commit comments