codeharness 0.21.0 → 0.21.1
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.js +2 -2
- package/package.json +1 -1
- package/ralph/bridge.sh +8 -5
- package/ralph/lib/circuit_breaker.sh +1 -1
package/dist/index.js
CHANGED
|
@@ -1941,7 +1941,7 @@ async function scaffoldDocs(opts) {
|
|
|
1941
1941
|
}
|
|
1942
1942
|
|
|
1943
1943
|
// src/modules/infra/init-project.ts
|
|
1944
|
-
var HARNESS_VERSION = true ? "0.21.
|
|
1944
|
+
var HARNESS_VERSION = true ? "0.21.1" : "0.0.0-dev";
|
|
1945
1945
|
function failResult(opts, error) {
|
|
1946
1946
|
return {
|
|
1947
1947
|
status: "fail",
|
|
@@ -10694,7 +10694,7 @@ function registerProgressCommand(program) {
|
|
|
10694
10694
|
}
|
|
10695
10695
|
|
|
10696
10696
|
// src/index.ts
|
|
10697
|
-
var VERSION = true ? "0.21.
|
|
10697
|
+
var VERSION = true ? "0.21.1" : "0.0.0-dev";
|
|
10698
10698
|
function createProgram() {
|
|
10699
10699
|
const program = new Command();
|
|
10700
10700
|
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
package/ralph/bridge.sh
CHANGED
|
@@ -99,9 +99,9 @@ fi
|
|
|
99
99
|
|
|
100
100
|
# ─── Sprint Status Parsing ────────────────────────────────────────────────
|
|
101
101
|
|
|
102
|
-
# Parse sprint status YAML into
|
|
102
|
+
# Parse sprint status YAML into a newline-delimited key=value store
|
|
103
103
|
# Maps story slug (e.g., "1-1-login-page") to status
|
|
104
|
-
|
|
104
|
+
SPRINT_STATUSES=""
|
|
105
105
|
|
|
106
106
|
parse_sprint_status() {
|
|
107
107
|
local file="$1"
|
|
@@ -133,7 +133,8 @@ parse_sprint_status() {
|
|
|
133
133
|
# Extract story number from slug: "1-1-login-page" -> "1.1"
|
|
134
134
|
if [[ "$key" =~ ^([0-9]+)-([0-9]+) ]]; then
|
|
135
135
|
local story_id="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}"
|
|
136
|
-
SPRINT_STATUSES
|
|
136
|
+
SPRINT_STATUSES="${SPRINT_STATUSES}${story_id}=${value}
|
|
137
|
+
"
|
|
137
138
|
fi
|
|
138
139
|
fi
|
|
139
140
|
fi
|
|
@@ -181,8 +182,10 @@ parse_epics() {
|
|
|
181
182
|
|
|
182
183
|
# Determine status from sprint status or default to pending
|
|
183
184
|
local status="pending"
|
|
184
|
-
|
|
185
|
-
|
|
185
|
+
local _sprint_val
|
|
186
|
+
_sprint_val=$(echo "$SPRINT_STATUSES" | grep "^${current_story_id}=" | head -1 | cut -d= -f2-)
|
|
187
|
+
if [[ -n "$_sprint_val" ]]; then
|
|
188
|
+
status=$(map_status "$_sprint_val")
|
|
186
189
|
fi
|
|
187
190
|
|
|
188
191
|
# Clean up description
|