@company-semantics/contracts 0.10.0 → 0.11.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": "@company-semantics/contracts",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -153,6 +153,8 @@ export interface GuardCheckRegistry {
153
153
  behavioral?: BoundGuardCheck[];
154
154
  invariants?: BoundGuardCheck[];
155
155
  evolution?: BoundGuardCheck[];
156
+ /** Meta-guards: protect the guard system itself (coverage correctness) */
157
+ meta?: BoundGuardCheck[];
156
158
  };
157
159
  }
158
160
 
@@ -50,8 +50,9 @@ export interface GuardTierResult {
50
50
  * - behavioral: import layers, dependencies (semantic)
51
51
  * - invariants: domain rules, trust boundaries (business logic)
52
52
  * - evolution: uncovered patterns, growth tracking (observational)
53
+ * - meta: guards that protect the guard system itself (coverage correctness)
53
54
  */
54
- export type GuardTier = 'structural' | 'behavioral' | 'invariants' | 'evolution';
55
+ export type GuardTier = 'structural' | 'behavioral' | 'invariants' | 'evolution' | 'meta';
55
56
 
56
57
  /**
57
58
  * Full guard results, organized by tier.
@@ -118,4 +119,5 @@ export const GUARD_TIERS: readonly GuardTier[] = [
118
119
  'behavioral',
119
120
  'invariants',
120
121
  'evolution',
122
+ 'meta',
121
123
  ] as const;