codeharness 0.25.8 → 0.25.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.
@@ -3207,7 +3207,7 @@ function generateDockerfileTemplate(projectDir, stackOrDetections) {
3207
3207
  }
3208
3208
 
3209
3209
  // src/modules/infra/init-project.ts
3210
- var HARNESS_VERSION = true ? "0.25.8" : "0.0.0-dev";
3210
+ var HARNESS_VERSION = true ? "0.25.9" : "0.0.0-dev";
3211
3211
  function failResult(opts, error) {
3212
3212
  return {
3213
3213
  status: "fail",
@@ -16,7 +16,7 @@ import {
16
16
  stopCollectorOnly,
17
17
  stopSharedStack,
18
18
  stopStack
19
- } from "./chunk-EG237KYD.js";
19
+ } from "./chunk-ZZUPN3HR.js";
20
20
  export {
21
21
  checkRemoteEndpoint,
22
22
  cleanupOrphanedContainers,
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ import {
51
51
  validateDockerfile,
52
52
  warn,
53
53
  writeState
54
- } from "./chunk-EG237KYD.js";
54
+ } from "./chunk-ZZUPN3HR.js";
55
55
 
56
56
  // src/index.ts
57
57
  import { Command } from "commander";
@@ -7587,7 +7587,7 @@ function registerTeardownCommand(program) {
7587
7587
  } else if (otlpMode === "remote-routed") {
7588
7588
  if (!options.keepDocker) {
7589
7589
  try {
7590
- const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-AURCTUS5.js");
7590
+ const { stopCollectorOnly: stopCollectorOnly2 } = await import("./docker-3DQQM3KH.js");
7591
7591
  stopCollectorOnly2();
7592
7592
  result.docker.stopped = true;
7593
7593
  if (!isJson) {
@@ -7619,7 +7619,7 @@ function registerTeardownCommand(program) {
7619
7619
  info("Shared stack: kept running (other projects may use it)");
7620
7620
  }
7621
7621
  } else if (isLegacyStack) {
7622
- const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-AURCTUS5.js");
7622
+ const { isStackRunning: isStackRunning2, stopStack } = await import("./docker-3DQQM3KH.js");
7623
7623
  let stackRunning = false;
7624
7624
  try {
7625
7625
  stackRunning = isStackRunning2(composeFile);
@@ -9518,7 +9518,7 @@ function registerAuditCommand(program) {
9518
9518
  }
9519
9519
 
9520
9520
  // src/index.ts
9521
- var VERSION = true ? "0.25.8" : "0.0.0-dev";
9521
+ var VERSION = true ? "0.25.9" : "0.0.0-dev";
9522
9522
  function createProgram() {
9523
9523
  const program = new Command();
9524
9524
  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.25.8",
3
+ "version": "0.25.9",
4
4
  "type": "module",
5
5
  "description": "CLI for codeharness — makes autonomous coding agents produce software that actually works",
6
6
  "bin": {
package/ralph/ralph.sh CHANGED
@@ -832,7 +832,9 @@ execute_iteration() {
832
832
 
833
833
  # If harness-run reported NO_WORK, don't count file changes as progress.
834
834
  # Writing session-issues.md with "NO_WORK" creates git diffs but is NOT real progress.
835
- if grep -qE 'Result: NO_WORK|no actionable stories remain' "$output_file" 2>/dev/null; then
835
+ # IMPORTANT: Only check non-JSON lines. The prompt text is echoed inside JSON objects
836
+ # and contains these strings as instructions — those are false positives.
837
+ if grep -v '^[[:space:]]*{' "$output_file" 2>/dev/null | grep -qE 'Result: NO_WORK'; then
836
838
  files_changed=0
837
839
  log_status "INFO" "NO_WORK detected — overriding files_changed to 0 for circuit breaker"
838
840
  fi