create-harness-vibe-coding 0.8.17 → 0.8.18
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 +9 -0
- package/README-CN.md +2 -0
- package/README.md +2 -0
- package/package.json +1 -1
- package/src/generator.js +613 -97
- package/src/index.js +173 -42
- package/src/prompts.js +18 -0
- package/templates/common/.claude/commands/wf-command-create.md +58 -0
- package/templates/common/.claude/commands/wf-help.md +4 -0
- package/templates/common/.claude/commands/wf-task-archive.md +26 -0
- package/templates/common/.claude/commands/wf-task-list.md +24 -0
- package/templates/common/.claude/commands/wf-task-record.md +24 -0
- package/templates/common/.claude/rules/ecc/common.md +1 -1
- package/templates/common/.claude/skills/wf-agents-docs/SKILL.md +15 -30
- package/templates/common/.claude/skills/wf-command-create/SKILL.md +37 -0
- package/templates/common/.claude/skills/wf-max/SKILL.md +1 -1
- package/templates/common/.claude/skills/wf-review/SKILL.md +29 -2
- package/templates/common/.claude/skills/wf-task-archive/SKILL.md +28 -0
- package/templates/common/.claude/skills/wf-task-list/SKILL.md +28 -0
- package/templates/common/.claude/skills/wf-task-record/SKILL.md +28 -0
- package/templates/common/.harness-version +66 -32
- package/templates/common/.opencode/commands/wf-command-create.md +61 -0
- package/templates/common/.opencode/commands/wf-help.md +4 -0
- package/templates/common/.opencode/commands/wf-task-archive.md +29 -0
- package/templates/common/.opencode/commands/wf-task-list.md +27 -0
- package/templates/common/.opencode/commands/wf-task-record.md +27 -0
- package/templates/common/CLAUDE.md +8 -6
- package/templates/common/Harness/MEMORY.md +9 -0
- package/templates/common/Harness/README.md +17 -36
- package/templates/common/Harness/ownership.manifest.json +87 -2
- package/templates/common/Harness/scripts/task-state.mjs +395 -5
- package/templates/common/Harness/scripts/validate-harness.mjs +411 -46
- package/templates/common/Harness/scripts/wf-remove.mjs +34 -2
- package/templates/common/Harness/specs/guides/SETUP.md +8 -0
- package/templates/common/Harness/specs/protocols/MEMORY_PROTOCOL.md +15 -0
- package/templates/common/Harness/specs/protocols/TASK_ARCHIVE.md +9 -3
- package/templates/common/Harness/specs/runtime/command-surface.json +215 -0
- package/templates/common/Harness/specs/runtime/subagents.md +6 -0
- package/templates/common/Harness/specs/workflows/WF-MAX.md +5 -0
- package/templates/common/Harness/specs/workflows/WF-STATE.md +66 -0
- package/templates/common/Harness/tasks/_template/STATE.json +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.18] - 2026-07-29
|
|
4
|
+
|
|
5
|
+
- Add explicit task capsule management with list, archive, record/open state recovery, create-or-resume matching, task dependency metadata, and validator coverage.
|
|
6
|
+
- Add `wf-command-create` as the atomic command/skill creation workflow so new Harness commands update command files, skills, templates, mirrors, validators, and tests together.
|
|
7
|
+
- Add global install metadata for Claude, Codex, and OpenCode while keeping Harness tasks and progress project-local.
|
|
8
|
+
- Separate project/global memory and settings policy, with project settings taking precedence and task capsules remaining project-scoped.
|
|
9
|
+
- Harden host-global ownership and validation rules so framework-owned global command/skill files can update safely while user-authored files remain protected.
|
|
10
|
+
- Strengthen `wf-review`, `wf-agents-docs`, and WF-MAX guidance around explicit WF triggers, bounded peer output, and task capsule recording.
|
|
11
|
+
|
|
3
12
|
## [0.8.17] - 2026-07-26
|
|
4
13
|
|
|
5
14
|
- Add HarnessBench v0.2 as an external-only lifecycle proof: 15 runs per mode, direct file writes safe in 3/15 runs, Harness safe path safe in 15/15 runs.
|
package/README-CN.md
CHANGED
|
@@ -56,6 +56,8 @@ Agent 读取本 README 后,按项目状态选择路径:
|
|
|
56
56
|
| 已有 `Harness/` 但缺少 `Harness/scripts/wf-update-check.mjs` | `npx create-harness-vibe-coding@latest my-project . -y --on-conflict skip --json`。然后执行 `node Harness/scripts/wf-update-check.mjs --json` |
|
|
57
57
|
| 安装或更新完成 | `node Harness/scripts/validate-harness.mjs --strict` |
|
|
58
58
|
|
|
59
|
+
安装范围:默认是项目内安装。要写入一份机器级共享 runtime,用 `--install-scope global --global-dir <dir>`;commands/skills/agents 会以 copy 方式写入 Claude Code、Codex、OpenCode 的全局可发现目录,但每个项目自己的 `Harness/tasks/`、`Harness/PROGRESS.md`、项目 memory、项目事实和项目 settings 仍然留在项目内。
|
|
60
|
+
|
|
59
61
|
用户不需要手动执行这些命令。Agent 负责安装、冲突处理、校验和汇报。
|
|
60
62
|
|
|
61
63
|
安装后的入口按阶段区分:
|
package/README.md
CHANGED
|
@@ -67,6 +67,8 @@ After reading this README, the agent selects the path that matches the project:
|
|
|
67
67
|
| Existing `Harness/` but missing `Harness/scripts/wf-update-check.mjs` | `npx create-harness-vibe-coding@latest my-project . -y --on-conflict skip --json`. Then run `node Harness/scripts/wf-update-check.mjs --json` |
|
|
68
68
|
| After install or update | `node Harness/scripts/validate-harness.mjs --strict` |
|
|
69
69
|
|
|
70
|
+
Install scope: project-local is the default. To seed a shared machine-level runtime, use `--install-scope global --global-dir <dir>`; commands/skills/agents are copied into Claude Code, Codex, and OpenCode host-global directories, while `Harness/tasks/`, `Harness/PROGRESS.md`, project memory, project facts, and project settings stay inside each target project.
|
|
71
|
+
|
|
70
72
|
After installation, hand off by phase: use `CLAUDE.md` as the normal session entry, use `Harness/specs/guides/SETUP.md` only for install/bootstrap, migration, or upgrade decisions, and use `Harness/README.md` as the Harness workflow router when a routed task needs it. Preserve project boundaries; research and plan before editing; run tests, validation, and review before claiming completion.
|
|
71
73
|
|
|
72
74
|
The user does not need to run commands manually. The agent handles installation, conflict handling, validation, and the handoff.
|
package/package.json
CHANGED