coderifts 7.0.0 → 8.0.1

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": "coderifts",
3
- "version": "7.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Detect breaking API changes from the command line. Works locally or with the CodeRifts cloud API.",
5
5
  "author": "CodeRifts <hello@coderifts.com>",
6
6
  "license": "MIT",
@@ -40,13 +40,13 @@
40
40
  },
41
41
  "scripts": {
42
42
  "build": "node scripts/copy-corpus.js && node scripts/build.js",
43
- "prepublishOnly": "node scripts/assert-guard-major.js && node scripts/assert-changelog-version.js && bash ../../scripts/freeze-gate.sh && npm run build",
43
+ "prepublishOnly": "node scripts/assert-guard-major.js && node scripts/assert-changelog-version.js && bash ../../scripts/freeze-gate.sh && npm run build && bash ../../scripts/release-check.sh .",
44
44
  "assert-guard-major": "node scripts/assert-guard-major.js",
45
45
  "postinstall": "node scripts/postinstall.js",
46
46
  "test": "node --test test/*.test.js"
47
47
  },
48
48
  "dependencies": {
49
- "@coderifts/agent-guard": "^14.0.0",
49
+ "@coderifts/agent-guard": "^15.1.0",
50
50
  "chalk": "^4.1.2",
51
51
  "cli-table3": "^0.6.4",
52
52
  "commander": "^12.0.0",
@@ -68,13 +68,18 @@
68
68
  * 7.0.0: floor raised to 14 (guard 14 ships ENFORCING_ATOMIC_V1 + host-reported commit label;
69
69
  * the CLI uses base guard APIs, not the ATOMIC profile — the raise is for manifest consistency,
70
70
  * so the published CLI installs the guard it ships alongside, not an older major).
71
+ * 8.0.0: floor raised to 15 (published guard 15.0.0 is on npm; 7.0.0 declared ^14.0.0 so a
72
+ * fresh install resolved 14.x. The CLI still imports only deployGate,
73
+ * asVerifiedDeployReceiptView, DEPLOY_RECEIPT_VIEW_SPEC and matchGlob — no DeployGateReason
74
+ * exhaustive switch, no V2 config-conflict throw. The raise is installer-facing: the range
75
+ * is what `npm i -g coderifts` resolves.)
71
76
  */
72
77
 
73
78
  const fs = require('fs');
74
79
  const path = require('path');
75
80
 
76
81
  /** Minimum acceptable major for @coderifts/agent-guard in THIS package (the CLI). */
77
- const MIN_GUARD_MAJOR = 14;
82
+ const MIN_GUARD_MAJOR = 15;
78
83
  const DEP = '@coderifts/agent-guard';
79
84
 
80
85
  /**
@@ -104,7 +109,7 @@ const CHECKOUTS = [
104
109
  id: 'app-root',
105
110
  label: 'coderifts-app (root)',
106
111
  pkgPath: path.join(__dirname, '..', '..', '..', 'package.json'),
107
- floor: 3,
112
+ floor: 14,
108
113
  /**
109
114
  * DELIBERATE, MEASURED, AND LOWER THAN THE CLI'S — recorded so it is a decision, not a default.
110
115
  *
@@ -154,8 +159,10 @@ const CHECKOUTS = [
154
159
  * So the floor is pinned at 3 to stop it drifting LOWER unnoticed. Raise this number in that
155
160
  * round and record the reason on the line below, in the style of the CLI history above.
156
161
  */
157
- why: 'root pinned at 3 pending the gateDecision residual-PRECEDENCE reconciliation (see comment; '
158
- + 're-measured against 11.0.0 unchanged from 10.0.0).',
162
+ why: 'floor 14 = last measured merge-gate vintage (webhook-integration.js:344-345: '
163
+ + 'gateDecision call/return unchanged on 14; protection_inescapable is derived in-app '
164
+ + 'so a stale package cannot fail-open). Declared range is ^15 (installer). Floor is '
165
+ + 'not forced to 15: root code does not consume 15-only APIs on this path.',
159
166
  },
160
167
  ];
161
168