harnessed 5.0.9 → 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 CHANGED
@@ -7,6 +7,13 @@ 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
+
10
17
  ## [5.0.9] - 2026-11-02
11
18
 
12
19
  ### 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, run break-loop skill`,
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.9',
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.9',
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.9",
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 \u2014 run the break-loop skill for root-cause analysis and capture the lesson to .planning/.`
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 \u2014 run the break-loop skill for root-cause analysis and capture the lesson to .planning/.`
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, run break-loop skill`
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) {