harnessed 5.0.8 → 5.0.10
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/CHANGELOG.md +13 -0
- package/bin/harnessed-inject-state.mjs +1 -1
- package/bin/harnessed-update-reminder-worker.mjs +1 -1
- package/bin/harnessed-update-reminder.mjs +1 -1
- package/dist/cli.mjs +5 -5
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/tools/playwright-cli.yaml +13 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [5.0.10] - 2026-11-02
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- The `BREAK-LOOP` stop directive no longer tells the agent to run a `break-loop` skill. Harnessed never shipped that skill on any host, so a strict agent (codex) treated the directive as an unsatisfiable precondition, stopped the workflow and asked the user for a skill that does not exist. The directive now states the stop rule itself — re-scope the subtask, fix the blocker, or escalate to the user — which is the rule the shipped `task` / `verify-*` workflow docs already carry.
|
|
15
|
+
- The `playwright-cli` manifest no longer pins one exact version. It installs `^0.1.22` and verifies by capability (a 0.1.x patch of at least 0.1.22, plus the Chromium metadata the CLI needs), so a host that already carries a newer 0.1.x patch is no longer reported as a failed component. Older 0.1.x releases, pre-releases and other minors are still rejected.
|
|
16
|
+
|
|
17
|
+
## [5.0.9] - 2026-11-02
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- `harnessed setup` no longer counts a workflow without a standalone slash-command surface as a failed component. A workflow that has no `role-prompts.yaml` entry is skipped on purpose (the update path already treats it as an expected skip), so counting it made every install exit 1 even when nothing had failed. The skip stays visible as a warning; an unrenderable or unwritable command still fails the setup.
|
|
22
|
+
|
|
10
23
|
## [5.0.8] - 2026-11-02
|
|
11
24
|
|
|
12
25
|
### Fixed
|
|
@@ -471,7 +471,7 @@ function buildWorkflowStateBlock(wf, forward, ledgerAgeMs) {
|
|
|
471
471
|
}
|
|
472
472
|
for (const l of loops) {
|
|
473
473
|
lines.push(
|
|
474
|
-
`BREAK-LOOP: sub '${l.sub}' failed ${l.count}x \u2014 stop retrying,
|
|
474
|
+
`BREAK-LOOP: sub '${l.sub}' failed ${l.count}x \u2014 stop retrying: re-scope the subtask, fix the blocker, or escalate to the user`,
|
|
475
475
|
)
|
|
476
476
|
}
|
|
477
477
|
for (const e of ledger) {
|
|
@@ -65,7 +65,7 @@ var init_package = __esm({
|
|
|
65
65
|
'package.json'() {
|
|
66
66
|
package_default = {
|
|
67
67
|
name: 'harnessed',
|
|
68
|
-
version: '5.0.
|
|
68
|
+
version: '5.0.10',
|
|
69
69
|
description: 'AI coding harness package manager + composition orchestrator',
|
|
70
70
|
type: 'module',
|
|
71
71
|
license: 'Apache-2.0',
|
|
@@ -14,7 +14,7 @@ var init_package = __esm({
|
|
|
14
14
|
'package.json'() {
|
|
15
15
|
package_default = {
|
|
16
16
|
name: 'harnessed',
|
|
17
|
-
version: '5.0.
|
|
17
|
+
version: '5.0.10',
|
|
18
18
|
description: 'AI coding harness package manager + composition orchestrator',
|
|
19
19
|
type: 'module',
|
|
20
20
|
license: 'Apache-2.0',
|
package/dist/cli.mjs
CHANGED
|
@@ -40,7 +40,7 @@ var init_package = __esm({
|
|
|
40
40
|
"package.json"() {
|
|
41
41
|
package_default = {
|
|
42
42
|
name: "harnessed",
|
|
43
|
-
version: "5.0.
|
|
43
|
+
version: "5.0.10",
|
|
44
44
|
description: "AI coding harness package manager + composition orchestrator",
|
|
45
45
|
type: "module",
|
|
46
46
|
license: "Apache-2.0",
|
|
@@ -6861,7 +6861,7 @@ async function runCheckpointFail(sub, opts, deps = defaultRunDeps) {
|
|
|
6861
6861
|
const looped = loops.find((l) => l.sub === sub);
|
|
6862
6862
|
if (looped) {
|
|
6863
6863
|
deps.error(
|
|
6864
|
-
`[harnessed] BREAK-LOOP: sub '${sub}' failed ${looped.count}x (>= ${LOOP_THRESHOLD2}). Stop retrying
|
|
6864
|
+
`[harnessed] BREAK-LOOP: sub '${sub}' failed ${looped.count}x (>= ${LOOP_THRESHOLD2}). Stop retrying: re-scope the subtask, fix the blocker, or escalate to the user, and capture the lesson to .planning/.`
|
|
6865
6865
|
);
|
|
6866
6866
|
}
|
|
6867
6867
|
const attempts = latest?.sub_progress?.find((e) => e.sub === sub)?.fail_count ?? 0;
|
|
@@ -6927,7 +6927,7 @@ async function runCheckpointReopen(sub, opts, deps = defaultRunDeps) {
|
|
|
6927
6927
|
const looped = detectLoop2(latest?.sub_progress ?? []).find((l) => l.sub === sub);
|
|
6928
6928
|
if (looped) {
|
|
6929
6929
|
deps.error(
|
|
6930
|
-
`[harnessed] BREAK-LOOP: sub '${sub}' has been sent back / failed ${looped.count}x (>= ${LOOP_THRESHOLD2}). Stop retrying
|
|
6930
|
+
`[harnessed] BREAK-LOOP: sub '${sub}' has been sent back / failed ${looped.count}x (>= ${LOOP_THRESHOLD2}). Stop retrying: re-scope the subtask, fix the blocker, or escalate to the user, and capture the lesson to .planning/.`
|
|
6931
6931
|
);
|
|
6932
6932
|
}
|
|
6933
6933
|
deps.log(
|
|
@@ -19703,7 +19703,7 @@ function buildWorkflowStateBlock(wf, forward, ledgerAgeMs) {
|
|
|
19703
19703
|
}
|
|
19704
19704
|
for (const l of loops) {
|
|
19705
19705
|
lines.push(
|
|
19706
|
-
`BREAK-LOOP: sub '${l.sub}' failed ${l.count}x \u2014 stop retrying,
|
|
19706
|
+
`BREAK-LOOP: sub '${l.sub}' failed ${l.count}x \u2014 stop retrying: re-scope the subtask, fix the blocker, or escalate to the user`
|
|
19707
19707
|
);
|
|
19708
19708
|
}
|
|
19709
19709
|
for (const e of ledger) {
|
|
@@ -25500,7 +25500,7 @@ function isAdvisorySettingsWarning(message) {
|
|
|
25500
25500
|
return message.includes("capability-absent");
|
|
25501
25501
|
}
|
|
25502
25502
|
function isCommandFailureWarning(warning) {
|
|
25503
|
-
return warning.startsWith("
|
|
25503
|
+
return warning.startsWith("host-primitive render failed") || warning.startsWith("write failed");
|
|
25504
25504
|
}
|
|
25505
25505
|
function isDuplicateCommandFailureSummary(warning) {
|
|
25506
25506
|
return warning.startsWith("role-prompts.yaml missing entry") || /^commands\/.+: host-primitive render failed$/.test(warning);
|