coderifts 1.8.2 → 1.8.3

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 (2) hide show
  1. package/dist/cli.js +41 -21
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3007,7 +3007,7 @@ var require_package = __commonJS({
3007
3007
  "package.json"(exports2, module2) {
3008
3008
  module2.exports = {
3009
3009
  name: "coderifts",
3010
- version: "1.8.2",
3010
+ version: "1.8.3",
3011
3011
  description: "Detect breaking API changes from the command line. Works locally or with the CodeRifts cloud API.",
3012
3012
  author: "CodeRifts <hello@coderifts.com>",
3013
3013
  license: "MIT",
@@ -65177,11 +65177,16 @@ policy:
65177
65177
  freeze_on_risk_score: 85
65178
65178
 
65179
65179
  risk_scoring:
65180
- weights:
65181
- revenue_impact: 0.25
65182
- blast_radius: 0.30
65183
- app_compatibility: 0.25
65184
- security: 0.20
65180
+ # dimension_weights is the key the engine reads (0-100 scale, relative weights)
65181
+ dimension_weights:
65182
+ revenue_impact: 25 # 0-100, relative weight
65183
+ blast_radius: 30 # 0-100, relative weight
65184
+ app_compatibility: 25 # 0-100, relative weight
65185
+ security: 20 # 0-100, relative weight
65186
+ # Risk band thresholds (0-100). These label the risk band in the PR comment;
65187
+ # they do NOT change check pass/fail (that is policy.freeze_on_risk_score above).
65188
+ # high_risk_threshold: 70
65189
+ # critical_risk_threshold: 85
65185
65190
 
65186
65191
  linting:
65187
65192
  enabled: true
@@ -65230,11 +65235,16 @@ freeze_periods:
65230
65235
  end: "2026-06-15"
65231
65236
 
65232
65237
  risk_scoring:
65233
- weights:
65234
- revenue_impact: 0.30
65235
- blast_radius: 0.25
65236
- app_compatibility: 0.20
65237
- security: 0.25
65238
+ # dimension_weights is the key the engine reads (0-100 scale, relative weights)
65239
+ dimension_weights:
65240
+ revenue_impact: 30 # 0-100, relative weight
65241
+ blast_radius: 25 # 0-100, relative weight
65242
+ app_compatibility: 20 # 0-100, relative weight
65243
+ security: 25 # 0-100, relative weight
65244
+ # Risk band thresholds (0-100). These label the risk band in the PR comment;
65245
+ # they do NOT change check pass/fail (that is policy.freeze_on_risk_score above).
65246
+ # high_risk_threshold: 70
65247
+ # critical_risk_threshold: 85
65238
65248
 
65239
65249
  security:
65240
65250
  sensitive_patterns:
@@ -65290,11 +65300,16 @@ approval_matrix:
65290
65300
  - api-team-lead
65291
65301
 
65292
65302
  risk_scoring:
65293
- weights:
65294
- revenue_impact: 0.35
65295
- blast_radius: 0.30
65296
- app_compatibility: 0.20
65297
- security: 0.15
65303
+ # dimension_weights is the key the engine reads (0-100 scale, relative weights)
65304
+ dimension_weights:
65305
+ revenue_impact: 35 # 0-100, relative weight
65306
+ blast_radius: 30 # 0-100, relative weight
65307
+ app_compatibility: 20 # 0-100, relative weight
65308
+ security: 15 # 0-100, relative weight
65309
+ # Risk band thresholds (0-100). These label the risk band in the PR comment;
65310
+ # they do NOT change check pass/fail (that is policy.freeze_on_risk_score above).
65311
+ # high_risk_threshold: 70
65312
+ # critical_risk_threshold: 85
65298
65313
 
65299
65314
  linting:
65300
65315
  enabled: true
@@ -65346,11 +65361,16 @@ domains:
65346
65361
  sensitivity: medium
65347
65362
 
65348
65363
  risk_scoring:
65349
- weights:
65350
- revenue_impact: 0.20
65351
- blast_radius: 0.35
65352
- app_compatibility: 0.25
65353
- security: 0.20
65364
+ # dimension_weights is the key the engine reads (0-100 scale, relative weights)
65365
+ dimension_weights:
65366
+ revenue_impact: 20 # 0-100, relative weight
65367
+ blast_radius: 35 # 0-100, relative weight
65368
+ app_compatibility: 25 # 0-100, relative weight
65369
+ security: 20 # 0-100, relative weight
65370
+ # Risk band thresholds (0-100). These label the risk band in the PR comment;
65371
+ # they do NOT change check pass/fail (that is policy.freeze_on_risk_score above).
65372
+ # high_risk_threshold: 70
65373
+ # critical_risk_threshold: 85
65354
65374
 
65355
65375
  notifications:
65356
65376
  slack:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coderifts",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
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",