@company-semantics/contracts 0.0.1 → 0.0.6

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.
Files changed (3) hide show
  1. package/README.md +10 -0
  2. package/index.ts +3 -0
  3. package/package.json +9 -2
package/README.md CHANGED
@@ -30,3 +30,13 @@ import type { IntentCategory, InsightConfidence } from '@company-semantics/contr
30
30
  Follows semver:
31
31
  - Additive vocabulary → minor bump
32
32
  - Renaming or removal → major bump
33
+
34
+ ## Releasing
35
+
36
+ Releases are published automatically via GitHub Actions.
37
+
38
+ Steps:
39
+ 1. `npm version patch`
40
+ 2. `git push origin main --tags`
41
+
42
+ Publishing locally is not supported.
package/index.ts CHANGED
@@ -14,3 +14,6 @@ export type IntentCategory = 'safety' | 'privacy' | 'correctness' | 'cost'
14
14
 
15
15
  // Confidence levels - shared vocabulary for certainty
16
16
  export type InsightConfidence = 'low' | 'medium' | 'high'
17
+
18
+ // Invariant enforcement phases (4.0 Observe → 4.1 Stabilize → 4.2 Enforce)
19
+ export type InvariantPhase = 'observe' | 'stabilize' | 'enforce'
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.0.1",
3
+ "version": "0.0.6",
4
4
  "private": false,
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/company-semantics/company-semantics-contracts"
8
+ },
5
9
  "type": "module",
6
10
  "exports": {
7
11
  ".": {
@@ -9,7 +13,10 @@
9
13
  }
10
14
  },
11
15
  "types": "./index.ts",
12
- "files": ["index.ts", "README.md"],
16
+ "files": [
17
+ "index.ts",
18
+ "README.md"
19
+ ],
13
20
  "publishConfig": {
14
21
  "access": "public"
15
22
  }