@on-par/factory-core 0.9.7-next.8 → 0.9.7-next.9

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.
@@ -9,8 +9,11 @@ export interface StuckDetection {
9
9
  /** Classifies a terminal run outcome as stuck per ADR-0155, or null. Pure: no I/O.
10
10
  *
11
11
  * `check-exhausted` requires a `failureSignature` because only runIssue's CHECK-fail path
12
- * attaches one. Budget parks (`assertBudget`) and ship-phase failures also park `fail` but
13
- * carry none, and ADR-0155 excludes budget parks.
12
+ * attaches one. Budget parks (`assertBudget`) and non-CI ship failures park `fail` without
13
+ * one, and ADR-0155 excludes them.
14
+ * `ship-failed` fires for every parked `ci-failed`, whatever its origin: the land path
15
+ * (`CiFailedError` / `CiUnverifiedError`) and SHIP's CI watch (`shipParkReason` maps
16
+ * `ciOutcome: 'failure'` to `ci-failed`, #2814).
14
17
  * `ci-infra` parks are non-triggers: the change did not break CI. */
15
18
  export declare function detectStuck(outcome: RunOutcome, reworkBudget?: number): StuckDetection | null;
16
19
  //# sourceMappingURL=detect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../src/steward/detect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAE7D,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,YAAY,CAAC;IACtB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;sEAKsE;AACtE,wBAAgB,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,YAAY,GAAE,MAA0B,GAAG,cAAc,GAAG,IAAI,CAYhH"}
1
+ {"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../src/steward/detect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAE7D,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,YAAY,CAAC;IACtB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;;;;;;sEAQsE;AACtE,wBAAgB,WAAW,CAAC,OAAO,EAAE,UAAU,EAAE,YAAY,GAAE,MAA0B,GAAG,cAAc,GAAG,IAAI,CAYhH"}
@@ -2,8 +2,11 @@ import { MAX_REWORK_ROUNDS } from '../phases/check.js';
2
2
  /** Classifies a terminal run outcome as stuck per ADR-0155, or null. Pure: no I/O.
3
3
  *
4
4
  * `check-exhausted` requires a `failureSignature` because only runIssue's CHECK-fail path
5
- * attaches one. Budget parks (`assertBudget`) and ship-phase failures also park `fail` but
6
- * carry none, and ADR-0155 excludes budget parks.
5
+ * attaches one. Budget parks (`assertBudget`) and non-CI ship failures park `fail` without
6
+ * one, and ADR-0155 excludes them.
7
+ * `ship-failed` fires for every parked `ci-failed`, whatever its origin: the land path
8
+ * (`CiFailedError` / `CiUnverifiedError`) and SHIP's CI watch (`shipParkReason` maps
9
+ * `ciOutcome: 'failure'` to `ci-failed`, #2814).
7
10
  * `ci-infra` parks are non-triggers: the change did not break CI. */
8
11
  export function detectStuck(outcome, reworkBudget = MAX_REWORK_ROUNDS) {
9
12
  if (outcome.state !== 'parked')
@@ -1 +1 @@
1
- {"version":3,"file":"detect.js","sourceRoot":"","sources":["../../src/steward/detect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAYvD;;;;;sEAKsE;AACtE,MAAM,UAAU,WAAW,CAAC,OAAmB,EAAE,YAAY,GAAW,iBAAiB;IACvF,IAAI,OAAO,CAAC,KAAK,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IAC5C,wHAAwH;IACxH,IAAI,OAAO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AAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,CAAC;IAC1G,CAAC;IACD,IAAI,OAAO,CAAC,MAAM,KAAK,MAAM,IAAI,SAAS,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,CAAC,IAAI,YAAY,EAAE,CAAC;QAC1F,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,SAAS,EAAE,CAAC;IACrE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@on-par/factory-core",
3
- "version": "0.9.7-next.8",
3
+ "version": "0.9.7-next.9",
4
4
  "description": "Core engine: model router, constitutions, checkers, and pipeline phases for the Software Factory.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -54,10 +54,10 @@
54
54
  "prepack": "node ../../scripts/pack-hygiene-cli.ts prepack"
55
55
  },
56
56
  "dependencies": {
57
- "@on-par/adr-kit": "0.9.7-next.8",
58
- "@on-par/contracts": "0.9.7-next.8",
59
- "@on-par/factory-config": "0.9.7-next.8",
60
- "@on-par/repo-context": "0.9.7-next.8",
57
+ "@on-par/adr-kit": "0.9.7-next.9",
58
+ "@on-par/contracts": "0.9.7-next.9",
59
+ "@on-par/factory-config": "0.9.7-next.9",
60
+ "@on-par/repo-context": "0.9.7-next.9",
61
61
  "@octokit/rest": "^22.0.0",
62
62
  "execa": "^10.1.0",
63
63
  "gray-matter": "^4.0.3",