harnessed 5.0.15 → 5.1.0
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 +28 -0
- package/bin/harnessed-update-reminder-worker.mjs +18 -14
- package/bin/harnessed-update-reminder.mjs +1 -1
- package/dist/cli.mjs +1632 -336
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/skill-packs/planning-with-files.yaml +6 -1
- package/package.json +1 -1
- package/workflows/auto/SKILL.md +1 -1
- package/workflows/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/discuss/auto/SKILL.md +1 -1
- package/workflows/discuss/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/discuss/phase/SKILL.md +1 -1
- package/workflows/discuss/phase/SKILL.zh-Hans.md +1 -1
- package/workflows/discuss/strategic/SKILL.md +1 -1
- package/workflows/discuss/strategic/SKILL.zh-Hans.md +1 -1
- package/workflows/discuss/subtask/SKILL.md +1 -1
- package/workflows/discuss/subtask/SKILL.zh-Hans.md +1 -1
- package/workflows/harnessed-update/SKILL.md +1 -1
- package/workflows/harnessed-update/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/ai-integration/SKILL.md +1 -1
- package/workflows/plan/ai-integration/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/architecture/SKILL.md +1 -1
- package/workflows/plan/architecture/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/auto/SKILL.md +1 -1
- package/workflows/plan/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/phase/SKILL.md +1 -1
- package/workflows/plan/phase/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/secure/SKILL.md +1 -1
- package/workflows/plan/secure/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/spec/SKILL.md +1 -1
- package/workflows/plan/spec/SKILL.zh-Hans.md +1 -1
- package/workflows/plan/ui/SKILL.md +1 -1
- package/workflows/plan/ui/SKILL.zh-Hans.md +1 -1
- package/workflows/research/SKILL.md +3 -1
- package/workflows/research/SKILL.zh-Hans.md +3 -1
- package/workflows/retro/SKILL.md +1 -1
- package/workflows/retro/SKILL.zh-Hans.md +1 -1
- package/workflows/role-prompts.yaml +6 -3
- package/workflows/role-prompts.zh-Hans.yaml +6 -3
- package/workflows/ship/auto/SKILL.md +1 -1
- package/workflows/ship/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/ship/preflight/SKILL.md +1 -1
- package/workflows/ship/preflight/SKILL.zh-Hans.md +1 -1
- package/workflows/task/auto/SKILL.md +1 -1
- package/workflows/task/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/task/clarify/SKILL.md +1 -1
- package/workflows/task/clarify/SKILL.zh-Hans.md +1 -1
- package/workflows/task/code/SKILL.md +1 -1
- package/workflows/task/code/SKILL.zh-Hans.md +1 -1
- package/workflows/task/deliver/SKILL.md +1 -1
- package/workflows/task/deliver/SKILL.zh-Hans.md +1 -1
- package/workflows/task/test/SKILL.md +1 -1
- package/workflows/task/test/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/auto/SKILL.md +1 -1
- package/workflows/verify/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/code-review/SKILL.md +1 -1
- package/workflows/verify/code-review/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/design/SKILL.md +1 -1
- package/workflows/verify/design/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/eval-review/SKILL.md +1 -1
- package/workflows/verify/eval-review/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/multispec/SKILL.md +1 -1
- package/workflows/verify/multispec/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/paranoid/SKILL.md +1 -1
- package/workflows/verify/paranoid/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/progress/SKILL.md +1 -1
- package/workflows/verify/progress/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/qa/SKILL.md +1 -1
- package/workflows/verify/qa/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/second-opinion/SKILL.md +1 -1
- package/workflows/verify/second-opinion/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/security/SKILL.md +1 -1
- package/workflows/verify/security/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/simplify/SKILL.md +1 -1
- package/workflows/verify/simplify/SKILL.zh-Hans.md +1 -1
- package/workflows/verify/validate-phase/SKILL.md +1 -1
- package/workflows/verify/validate-phase/SKILL.zh-Hans.md +1 -1
|
@@ -103,7 +103,7 @@ Sister `workflows/capabilities.yaml`:
|
|
|
103
103
|
|
|
104
104
|
**若丢失上下文(compaction / resume):** 先跑 `harnessed status --recover` —— 它读 ledger 并打印「你在这里,下一步是什么」,让你从第一个 `pending` sub 续跑而非重启。若 ledger 为空,重跑 step 2-3。
|
|
105
105
|
|
|
106
|
-
<!-- harnessed-generated:v4.13.
|
|
106
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
107
107
|
|
|
108
108
|
## 参考资料
|
|
109
109
|
|
|
@@ -64,7 +64,7 @@ Do NOT pipe to `harnessed run verify-code-review` — that is the CI/headless pa
|
|
|
64
64
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-code-review --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
65
65
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-code-review --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
66
66
|
|
|
67
|
-
<!-- harnessed-generated:v4.13.
|
|
67
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
68
68
|
|
|
69
69
|
## References
|
|
70
70
|
|
|
@@ -63,7 +63,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
63
63
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-code-review --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
64
64
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-code-review --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
65
65
|
|
|
66
|
-
<!-- harnessed-generated:v4.13.
|
|
66
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
67
67
|
|
|
68
68
|
## 参考资料
|
|
69
69
|
|
|
@@ -78,7 +78,7 @@ Do NOT pipe to `harnessed run verify-design` — that is the CI/headless path ({
|
|
|
78
78
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-design --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
79
79
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-design --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
80
80
|
|
|
81
|
-
<!-- harnessed-generated:v4.13.
|
|
81
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
82
82
|
|
|
83
83
|
## References
|
|
84
84
|
|
|
@@ -76,7 +76,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
76
76
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-design --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
77
77
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-design --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
78
78
|
|
|
79
|
-
<!-- harnessed-generated:v4.13.
|
|
79
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
80
80
|
|
|
81
81
|
## 参考资料
|
|
82
82
|
|
|
@@ -60,7 +60,7 @@ Do NOT pipe to `harnessed run verify-eval-review` — that is the CI/headless pa
|
|
|
60
60
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-eval-review --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
61
61
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-eval-review --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
62
62
|
|
|
63
|
-
<!-- harnessed-generated:v4.13.
|
|
63
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
64
64
|
|
|
65
65
|
## References
|
|
66
66
|
|
|
@@ -58,7 +58,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
58
58
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-eval-review --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
59
59
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-eval-review --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
60
60
|
|
|
61
|
-
<!-- harnessed-generated:v4.13.
|
|
61
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
62
62
|
|
|
63
63
|
## 参考资料
|
|
64
64
|
|
|
@@ -79,7 +79,7 @@ Do NOT pipe to `harnessed run verify-multispec` — that is the CI/headless path
|
|
|
79
79
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-multispec --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
80
80
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-multispec --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
81
81
|
|
|
82
|
-
<!-- harnessed-generated:v4.13.
|
|
82
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
83
83
|
|
|
84
84
|
## References
|
|
85
85
|
|
|
@@ -76,7 +76,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
76
76
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-multispec --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
77
77
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-multispec --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
78
78
|
|
|
79
|
-
<!-- harnessed-generated:v4.13.
|
|
79
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
80
80
|
|
|
81
81
|
## 参考资料
|
|
82
82
|
|
|
@@ -65,7 +65,7 @@ Do NOT pipe to `harnessed run verify-paranoid` — that is the CI/headless path
|
|
|
65
65
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-paranoid --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
66
66
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-paranoid --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
67
67
|
|
|
68
|
-
<!-- harnessed-generated:v4.13.
|
|
68
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
69
69
|
|
|
70
70
|
## References
|
|
71
71
|
|
|
@@ -64,7 +64,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
64
64
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-paranoid --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
65
65
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-paranoid --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
66
66
|
|
|
67
|
-
<!-- harnessed-generated:v4.13.
|
|
67
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
68
68
|
|
|
69
69
|
## 参考资料
|
|
70
70
|
|
|
@@ -63,7 +63,7 @@ Do NOT pipe to `harnessed run verify-progress` — that is the CI/headless path
|
|
|
63
63
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-progress --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
64
64
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-progress --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
65
65
|
|
|
66
|
-
<!-- harnessed-generated:v4.13.
|
|
66
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
67
67
|
|
|
68
68
|
## References
|
|
69
69
|
|
|
@@ -61,7 +61,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
61
61
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-progress --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
62
62
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-progress --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
63
63
|
|
|
64
|
-
<!-- harnessed-generated:v4.13.
|
|
64
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
65
65
|
|
|
66
66
|
## 参考资料
|
|
67
67
|
|
|
@@ -94,7 +94,7 @@ Do NOT pipe to `harnessed run verify-qa` — that is the CI/headless path ({{ ho
|
|
|
94
94
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-qa --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
95
95
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-qa --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
96
96
|
|
|
97
|
-
<!-- harnessed-generated:v4.13.
|
|
97
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
98
98
|
|
|
99
99
|
## References
|
|
100
100
|
|
|
@@ -93,7 +93,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
93
93
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-qa --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
94
94
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-qa --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
95
95
|
|
|
96
|
-
<!-- harnessed-generated:v4.13.
|
|
96
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
97
97
|
|
|
98
98
|
## 参考资料
|
|
99
99
|
|
|
@@ -73,7 +73,7 @@ Do NOT pipe to `harnessed run verify-second-opinion` — that is the CI/headless
|
|
|
73
73
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-second-opinion --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
74
74
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-second-opinion --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
75
75
|
|
|
76
|
-
<!-- harnessed-generated:v4.13.
|
|
76
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
77
77
|
|
|
78
78
|
## References
|
|
79
79
|
|
|
@@ -71,7 +71,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
71
71
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-second-opinion --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
72
72
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-second-opinion --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
73
73
|
|
|
74
|
-
<!-- harnessed-generated:v4.13.
|
|
74
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
75
75
|
|
|
76
76
|
## 参考资料
|
|
77
77
|
|
|
@@ -65,7 +65,7 @@ Do NOT pipe to `harnessed run verify-security` — that is the CI/headless path
|
|
|
65
65
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-security --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
66
66
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-security --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
67
67
|
|
|
68
|
-
<!-- harnessed-generated:v4.13.
|
|
68
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
69
69
|
|
|
70
70
|
## References
|
|
71
71
|
|
|
@@ -63,7 +63,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
63
63
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-security --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
64
64
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-security --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
65
65
|
|
|
66
|
-
<!-- harnessed-generated:v4.13.
|
|
66
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
67
67
|
|
|
68
68
|
## 参考资料
|
|
69
69
|
|
|
@@ -65,7 +65,7 @@ Do NOT pipe to `harnessed run verify-simplify` — that is the CI/headless path
|
|
|
65
65
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-simplify --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
66
66
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-simplify --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
67
67
|
|
|
68
|
-
<!-- harnessed-generated:v4.13.
|
|
68
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
69
69
|
|
|
70
70
|
## References
|
|
71
71
|
|
|
@@ -63,7 +63,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
63
63
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-simplify --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
64
64
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-simplify --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
65
65
|
|
|
66
|
-
<!-- harnessed-generated:v4.13.
|
|
66
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
67
67
|
|
|
68
68
|
## 参考资料
|
|
69
69
|
|
|
@@ -60,7 +60,7 @@ Do NOT pipe to `harnessed run verify-validate-phase` — that is the CI/headless
|
|
|
60
60
|
4. When `result_file` carries the completion marker: Bash `harnessed checkpoint complete verify-validate-phase --result-file <result_file> --wait 60 --summary "<one-line>"`. Fail-CLOSED — it blocks unless every declared `artifacts_expected` file exists, the TDD boundary passes (non-empty evidence / both the red and green sides present / the test file was not deleted), and the result file carries a verbatim `<promise>COMPLETE</promise>` (or a structured COMPLETE status). `--wait 60` bounds ONE call to 60 seconds — run the SAME command again when the sub needs longer, never an unbounded wait. `--result <text>` is the inline variant; `--result-file` wins and is quoting-safe on Windows. A `result-wait-timeout` exit means the sub has not signalled YET — repeat the same command; `--force` records an audited override (`evidence_status=overridden`) — it does not silently pass.
|
|
61
61
|
5. If the complete gate blocked: Bash `harnessed checkpoint fail verify-validate-phase --failing-tests <n>` to record the attempt. It prints `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP` once a stop condition is reached. Respawn ONLY while none of those three has fired; any one of them means STOP — re-scope the subtask, fix the blocker, or escalate to the user.
|
|
62
62
|
|
|
63
|
-
<!-- harnessed-generated:v4.13.
|
|
63
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
64
64
|
|
|
65
65
|
## References
|
|
66
66
|
|
|
@@ -58,7 +58,7 @@ freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 sp
|
|
|
58
58
|
4. 当 `result_file` 携带完成标记时:Bash `harnessed checkpoint complete verify-validate-phase --result-file <result_file> --wait 60 --summary "<one-line>"`。fail-CLOSED —— 除非声明的 `artifacts_expected` 文件全部存在、TDD boundary 通过(证据非空 / 红绿两侧齐全 / 测试文件未被删除)、且结果文件含逐字 `<promise>COMPLETE</promise>`(或结构化 COMPLETE 状态),否则拦下。`--wait 60` 只约束**单次**调用为 60 秒 —— sub 需要更久就重复**同一条**命令,绝不无限等待。`--result <text>` 是内联变体;`--result-file` 优先且在 Windows 上引号安全。`result-wait-timeout` 退出码表示 sub 尚未发出完成信号 —— 重复同一条命令;`--force` 记录可审计的覆盖(`evidence_status=overridden`),不是静默放行。
|
|
59
59
|
5. 若 complete 闸门拦下:Bash `harnessed checkpoint fail verify-validate-phase --failing-tests <n>` 记录本次尝试。命中停机条件时会打印 `BUDGET-EXHAUSTED` / `NO-PROGRESS` / `BREAK-LOOP`。**仅当**三者都未触发时才允许重 spawn;任一触发即 STOP —— 重新收敛子任务范围、修掉阻塞点,或上报用户。
|
|
60
60
|
|
|
61
|
-
<!-- harnessed-generated:v4.13.
|
|
61
|
+
<!-- harnessed-generated:v4.13.1 -->
|
|
62
62
|
|
|
63
63
|
## 参考资料
|
|
64
64
|
|