harnessed 4.14.2 → 4.15.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/dist/cli.mjs +5 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/workflows/auto/SKILL.md +1 -1
- package/workflows/auto/SKILL.zh-Hans.md +1 -1
- package/workflows/capabilities.yaml +5 -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/research/SKILL.md +1 -1
- package/workflows/research/SKILL.zh-Hans.md +1 -1
- package/workflows/retro/SKILL.md +1 -1
- package/workflows/retro/SKILL.zh-Hans.md +1 -1
- 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/code/SKILL.md +1 -1
- package/workflows/task/code/SKILL.zh-Hans.md +1 -1
- package/workflows/task/deliver/SKILL.md +6 -1
- package/workflows/task/deliver/SKILL.zh-Hans.md +6 -1
- package/workflows/task/deliver/workflow.yaml +4 -0
- 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/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
package/dist/cli.mjs
CHANGED
|
@@ -38,7 +38,7 @@ var init_package = __esm({
|
|
|
38
38
|
"package.json"() {
|
|
39
39
|
package_default = {
|
|
40
40
|
name: "harnessed",
|
|
41
|
-
version: "4.
|
|
41
|
+
version: "4.15.0",
|
|
42
42
|
description: "AI coding harness package manager + composition orchestrator",
|
|
43
43
|
type: "module",
|
|
44
44
|
license: "Apache-2.0",
|
|
@@ -2357,7 +2357,9 @@ function spawnLoopSteps(indent) {
|
|
|
2357
2357
|
`${i}a. Bash: \`harnessed prompt <sub> --task "<spec>" --json\` \u2192 parse \`{prompt, max_iterations, model}\`.`,
|
|
2358
2358
|
`${i}b. Spawn a CC-native subagent (Task / Agent tool) with that \`prompt\` and \`model\`. Wrap in the ralph-loop plugin for completion-promise enforcement:`,
|
|
2359
2359
|
`${i} \`/ralph-loop "<prompt>" --max-iterations <max_iterations> --completion-promise "COMPLETE"\``,
|
|
2360
|
-
|
|
2360
|
+
// v4.15.0 (ADR 0036) — 3-tier preference chain: plugin → native /goal → self-loop.
|
|
2361
|
+
`${i} If the ralph-loop plugin is not installed, use the native goal gate instead (Claude Code 2.1.139+ / Codex): \`/goal "this subtask is delivered: the subagent's final output contains verbatim <promise>COMPLETE</promise>; or stop after <max_iterations> turns"\` then spawn the subagent and let the goal evaluator drive re-spawns until it clears. Set the goal only at the leaf subtask level (\`/goal\` is single-slot per session).`,
|
|
2362
|
+
`${i} If \`/goal\` is unavailable too, self-loop: spawn \u2192 check output for \`<promise>COMPLETE</promise>\` \u2192 if absent, re-spawn with the prior output appended (up to max_iterations).`,
|
|
2361
2363
|
`${i}c. If the subagent output contains \`STATUS: NEEDS_CLARIFICATION\` + a question list: STOP. Use AskUserQuestion to relay those exact questions to the user. Append the user's answers to the spec, then re-spawn the same sub. (This is the round-trip headless spawn cannot do.)`,
|
|
2362
2364
|
`${i}d. On \`<promise>COMPLETE</promise>\`: Bash \`harnessed checkpoint complete <sub> --summary "<one-line>"\`.`
|
|
2363
2365
|
];
|
|
@@ -2400,7 +2402,7 @@ function buildOrchestratorBody(name, prompt) {
|
|
|
2400
2402
|
];
|
|
2401
2403
|
const leafIndent = " ";
|
|
2402
2404
|
const leafSpawnLoop = [
|
|
2403
|
-
...spawnLoopSteps(leafIndent).slice(0,
|
|
2405
|
+
...spawnLoopSteps(leafIndent).slice(0, 6),
|
|
2404
2406
|
`${leafIndent}d. On \`<promise>COMPLETE</promise>\`: Bash \`harnessed checkpoint complete <sub> --summary "<one-line>"\`. The evidence guard runs here (fail-CLOSED): if it exits non-zero because a declared \`artifacts_expected\` file is missing, the sub is NOT done \u2014 re-spawn to produce the artifact, or pass \`--force\` only to deliberately override (records \`evidence_status: overridden\`).`,
|
|
2405
2407
|
`${leafIndent}e. If the sub cannot reach COMPLETE (max_iterations exhausted, unrecoverable error): Bash \`harnessed checkpoint fail <sub> --summary "<why>"\` to flip the ledger entry to \`failed\`, then STOP and report to the user.`
|
|
2406
2408
|
];
|