@harness-engineering/intelligence 0.7.0 → 0.8.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/dist/index.d.mts CHANGED
@@ -1496,7 +1496,7 @@ declare function serializeSignals(s: ComplexitySignals): Record<string, number |
1496
1496
  * held (SC-F2's closed set) or the routing bucket a dispatched item fell into.
1497
1497
  * Part of the `shapeKey` so precedent base-rates aggregate like-for-like work.
1498
1498
  */
1499
- type EscalationCategory = 'not-in-band' | 'unresolved-scope' | 'open-decision' | 'halted-fork' | 'precedent-contradicts' | 'error' | 'dispatchable';
1499
+ type EscalationCategory = 'not-in-band' | 'unresolved-scope' | 'scope-too-large' | 'open-decision' | 'halted-fork' | 'precedent-contradicts' | 'error' | 'dispatchable';
1500
1500
  /** Autonomy-ratchet stage in effect at dispatch (D14). 1 = human before execution. */
1501
1501
  type RatchetStage = 1 | 2 | 3 | 4;
1502
1502
  /**
@@ -1691,7 +1691,7 @@ interface OpenDecision {
1691
1691
  question: string;
1692
1692
  }
1693
1693
  /** The closed set of reasons a non-dispatchable item was held (mirrors EscalationCategory). */
1694
- type HoldReason$1 = 'not-in-band' | 'unresolved-scope' | 'open-decision' | 'read-incomplete' | 'precedent-contradicts' | 'error';
1694
+ type HoldReason$1 = 'not-in-band' | 'unresolved-scope' | 'scope-too-large' | 'open-decision' | 'read-incomplete' | 'precedent-contradicts' | 'error';
1695
1695
  /**
1696
1696
  * Input to the pure probe for one roadmap item. Built from an `Issue` in the wiring
1697
1697
  * layer (reusing `buildTaskText`) — the probe stays orchestrator-free and unit-testable.
package/dist/index.d.ts CHANGED
@@ -1496,7 +1496,7 @@ declare function serializeSignals(s: ComplexitySignals): Record<string, number |
1496
1496
  * held (SC-F2's closed set) or the routing bucket a dispatched item fell into.
1497
1497
  * Part of the `shapeKey` so precedent base-rates aggregate like-for-like work.
1498
1498
  */
1499
- type EscalationCategory = 'not-in-band' | 'unresolved-scope' | 'open-decision' | 'halted-fork' | 'precedent-contradicts' | 'error' | 'dispatchable';
1499
+ type EscalationCategory = 'not-in-band' | 'unresolved-scope' | 'scope-too-large' | 'open-decision' | 'halted-fork' | 'precedent-contradicts' | 'error' | 'dispatchable';
1500
1500
  /** Autonomy-ratchet stage in effect at dispatch (D14). 1 = human before execution. */
1501
1501
  type RatchetStage = 1 | 2 | 3 | 4;
1502
1502
  /**
@@ -1691,7 +1691,7 @@ interface OpenDecision {
1691
1691
  question: string;
1692
1692
  }
1693
1693
  /** The closed set of reasons a non-dispatchable item was held (mirrors EscalationCategory). */
1694
- type HoldReason$1 = 'not-in-band' | 'unresolved-scope' | 'open-decision' | 'read-incomplete' | 'precedent-contradicts' | 'error';
1694
+ type HoldReason$1 = 'not-in-band' | 'unresolved-scope' | 'scope-too-large' | 'open-decision' | 'read-incomplete' | 'precedent-contradicts' | 'error';
1695
1695
  /**
1696
1696
  * Input to the pure probe for one roadmap item. Built from an `Issue` in the wiring
1697
1697
  * layer (reusing `buildTaskText`) — the probe stays orchestrator-free and unit-testable.
package/dist/index.js CHANGED
@@ -2545,7 +2545,7 @@ function gate(levers, config) {
2545
2545
  return { dispatchable: false, holdReason: "unresolved-scope" };
2546
2546
  }
2547
2547
  if (scope.blastRadius > config.boundedScopeMax) {
2548
- return { dispatchable: false, holdReason: "unresolved-scope" };
2548
+ return { dispatchable: false, holdReason: "scope-too-large" };
2549
2549
  }
2550
2550
  const read = levers.semanticRead.value;
2551
2551
  if (read === "unknown") {
package/dist/index.mjs CHANGED
@@ -2430,7 +2430,7 @@ function gate(levers, config) {
2430
2430
  return { dispatchable: false, holdReason: "unresolved-scope" };
2431
2431
  }
2432
2432
  if (scope.blastRadius > config.boundedScopeMax) {
2433
- return { dispatchable: false, holdReason: "unresolved-scope" };
2433
+ return { dispatchable: false, holdReason: "scope-too-large" };
2434
2434
  }
2435
2435
  const read = levers.semanticRead.value;
2436
2436
  if (read === "unknown") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harness-engineering/intelligence",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Intelligence pipeline for spec enrichment, complexity modeling, and pre-execution simulation",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",