codeharness 0.36.6 → 0.36.8

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.
@@ -2895,7 +2895,7 @@ function generateDockerfileTemplate(projectDir, stackOrDetections) {
2895
2895
  }
2896
2896
 
2897
2897
  // src/modules/infra/init-project.ts
2898
- var HARNESS_VERSION = true ? "0.36.6" : "0.0.0-dev";
2898
+ var HARNESS_VERSION = true ? "0.36.8" : "0.0.0-dev";
2899
2899
  function failResult(opts, error) {
2900
2900
  return {
2901
2901
  status: "fail",
@@ -16,7 +16,7 @@ import {
16
16
  stopCollectorOnly,
17
17
  stopSharedStack,
18
18
  stopStack
19
- } from "./chunk-VB6M7AES.js";
19
+ } from "./chunk-NNQJXW4B.js";
20
20
  export {
21
21
  checkRemoteEndpoint,
22
22
  cleanupOrphanedContainers,
package/dist/index.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  validateDockerfile,
41
41
  warn,
42
42
  writeState
43
- } from "./chunk-VB6M7AES.js";
43
+ } from "./chunk-NNQJXW4B.js";
44
44
 
45
45
  // src/index.ts
46
46
  import { Command } from "commander";
@@ -3809,10 +3809,14 @@ var storyFlowActor = fromPromise2(async ({ input }) => {
3809
3809
  errors.push(...loopResult.errors);
3810
3810
  tasksCompleted += loopResult.tasksCompleted;
3811
3811
  lastContract = loopResult.lastContract;
3812
- if (loopResult.halted || state.phase === "max-iterations" || state.phase === "circuit-breaker") {
3812
+ if (loopResult.halted) {
3813
3813
  halted = true;
3814
3814
  break;
3815
3815
  }
3816
+ if (state.phase === "max-iterations" || state.phase === "circuit-breaker") {
3817
+ state = { ...state, phase: "executing" };
3818
+ break;
3819
+ }
3816
3820
  continue;
3817
3821
  }
3818
3822
  if (typeof storyStep !== "string") continue;
@@ -11182,7 +11186,7 @@ function registerTeardownCommand(program) {
11182
11186
  } else if (otlpMode === "remote-routed") {
11183
11187
  if (!options.keepDocker) {
11184
11188
  try {
11185
- const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-W7JLB33I.js");
11189
+ const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-BU4EW3ET.js");
11186
11190
  stopCollectorOnly2();
11187
11191
  result.docker.stopped = true;
11188
11192
  if (!isJson) {
@@ -11214,7 +11218,7 @@ function registerTeardownCommand(program) {
11214
11218
  info("Shared stack: kept running (other projects may use it)");
11215
11219
  }
11216
11220
  } else if (isLegacyStack) {
11217
- const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-W7JLB33I.js");
11221
+ const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-BU4EW3ET.js");
11218
11222
  let stackRunning = false;
11219
11223
  try {
11220
11224
  stackRunning = isStackRunning2(composeFile);
@@ -14199,7 +14203,7 @@ function registerDriversCommand(program) {
14199
14203
  }
14200
14204
 
14201
14205
  // src/index.ts
14202
- var VERSION = true ? "0.36.6" : "0.0.0-dev";
14206
+ var VERSION = true ? "0.36.8" : "0.0.0-dev";
14203
14207
  function createProgram() {
14204
14208
  const program = new Command();
14205
14209
  program.name("codeharness").description("Makes autonomous coding agents produce software that actually works").version(VERSION).option("--json", "Output in machine-readable JSON format");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeharness",
3
- "version": "0.36.6",
3
+ "version": "0.36.8",
4
4
  "type": "module",
5
5
  "description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
6
6
  "bin": {
@@ -58,11 +58,4 @@ story_flow:
58
58
 
59
59
  epic_flow:
60
60
  - story_flow
61
- - deploy
62
- - verify
63
- - loop:
64
- - retry
65
- - document
66
- - deploy
67
- - verify
68
61
  - retro