create-harness-vibe-coding 0.8.13 → 0.8.17
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 +174 -0
- package/README-CN.md +110 -107
- package/README.md +93 -44
- package/package.json +2 -1
- package/src/generator.js +609 -489
- package/src/index.js +5 -5
- package/templates/common/.claude/agents/architect-manager.md +1 -0
- package/templates/common/.claude/agents/architect.md +2 -1
- package/templates/common/.claude/agents/codebase-explorer.md +1 -0
- package/templates/common/.claude/agents/context-master.md +2 -1
- package/templates/common/.claude/agents/debugger.md +1 -0
- package/templates/common/.claude/agents/docs-researcher.md +2 -1
- package/templates/common/.claude/agents/explore-manager.md +1 -0
- package/templates/common/.claude/agents/implement-manager.md +1 -0
- package/templates/common/.claude/agents/implementer.md +1 -0
- package/templates/common/.claude/agents/memory-master.md +2 -1
- package/templates/common/.claude/agents/planner.md +3 -2
- package/templates/common/.claude/agents/reflector.md +1 -0
- package/templates/common/.claude/agents/researcher.md +1 -0
- package/templates/common/.claude/agents/review-manager.md +1 -0
- package/templates/common/.claude/agents/reviewer.md +2 -1
- package/templates/common/.claude/agents/task-scribe.md +1 -0
- package/templates/common/.claude/agents/tdd-guide.md +5 -4
- package/templates/common/.claude/agents/test-writer.md +6 -5
- package/templates/common/.claude/agents/verifier.md +1 -0
- package/templates/common/.claude/commands/wf-auto-spark.md +16 -0
- package/templates/common/.claude/commands/wf-auto.md +16 -0
- package/templates/{optional/skills/browser-e2e/.opencode → common/.claude}/commands/wf-browser.md +3 -2
- package/templates/common/.claude/commands/wf-help.md +9 -5
- package/templates/common/.claude/commands/wf-learn.md +16 -0
- package/templates/common/.claude/commands/wf-max.md +20 -0
- package/templates/common/.claude/commands/wf-readme.md +16 -0
- package/templates/common/.claude/commands/wf-remove.md +16 -0
- package/templates/common/.claude/commands/wf-review.md +16 -0
- package/templates/common/.claude/commands/wf-update.md +68 -10
- package/templates/common/.claude/commands/wf.md +16 -0
- package/templates/common/.claude/rules/ecc/common.md +6 -5
- package/templates/common/.claude/skills/subagent-orchestrator/SKILL.md +12 -6
- package/templates/common/.claude/skills/tdd/SKILL.md +5 -5
- package/templates/common/.claude/skills/wf/SKILL.md +13 -5
- package/templates/common/.claude/skills/wf-agents-docs/SKILL.md +119 -0
- package/templates/common/.claude/skills/wf-auto/SKILL.md +27 -7
- package/templates/common/.claude/skills/wf-auto-spark/SKILL.md +12 -5
- package/templates/common/.claude/skills/wf-browser/SKILL.md +176 -0
- package/templates/common/.claude/skills/wf-help/SKILL.md +30 -0
- package/templates/common/.claude/skills/wf-learn/SKILL.md +6 -0
- package/templates/common/.claude/skills/wf-max/SKILL.md +43 -14
- package/templates/common/.claude/skills/wf-readme/SKILL.md +8 -2
- package/templates/common/.claude/skills/wf-remove/SKILL.md +6 -0
- package/templates/common/.claude/skills/wf-review/SKILL.md +10 -3
- package/templates/common/.claude/skills/wf-update/SKILL.md +41 -4
- package/templates/common/.codex/config.toml +3 -5
- package/templates/common/.harness-version +326 -131
- package/templates/common/.opencode/agents/architect-manager.md +8 -1
- package/templates/common/.opencode/agents/architect.md +2 -1
- package/templates/common/.opencode/agents/codebase-explorer.md +1 -0
- package/templates/common/.opencode/agents/context-master.md +2 -1
- package/templates/common/.opencode/agents/debugger.md +1 -0
- package/templates/common/.opencode/agents/docs-researcher.md +2 -1
- package/templates/common/.opencode/agents/explore-manager.md +11 -1
- package/templates/common/.opencode/agents/implement-manager.md +6 -3
- package/templates/common/.opencode/agents/implementer.md +1 -0
- package/templates/common/.opencode/agents/memory-master.md +2 -1
- package/templates/common/.opencode/agents/planner.md +3 -2
- package/templates/common/.opencode/agents/reflector.md +1 -0
- package/templates/common/.opencode/agents/researcher.md +1 -0
- package/templates/common/.opencode/agents/review-manager.md +6 -2
- package/templates/common/.opencode/agents/reviewer.md +2 -1
- package/templates/common/.opencode/agents/task-scribe.md +1 -0
- package/templates/common/.opencode/agents/tdd-guide.md +5 -4
- package/templates/common/.opencode/agents/test-writer.md +6 -5
- package/templates/common/.opencode/agents/verifier.md +1 -0
- package/templates/common/.opencode/commands/wf-auto-spark.md +3 -2
- package/templates/common/.opencode/commands/wf-auto.md +3 -2
- package/templates/common/.opencode/commands/wf-browser.md +16 -0
- package/templates/common/.opencode/commands/wf-help.md +9 -5
- package/templates/common/.opencode/commands/wf-learn.md +3 -2
- package/templates/common/.opencode/commands/wf-max.md +12 -6
- package/templates/common/.opencode/commands/wf-readme.md +3 -2
- package/templates/common/.opencode/commands/wf-remove.md +3 -2
- package/templates/common/.opencode/commands/wf-review.md +3 -2
- package/templates/common/.opencode/commands/wf-update.md +68 -10
- package/templates/common/.opencode/commands/wf.md +3 -2
- package/templates/common/CLAUDE.md +15 -13
- package/templates/common/Harness/MEMORY.md +24 -21
- package/templates/common/Harness/README.md +50 -47
- package/templates/common/Harness/ownership.manifest.json +878 -0
- package/templates/common/Harness/{architecture.md → project/architecture.md} +1 -1
- package/templates/common/Harness/research/README.md +3 -3
- package/templates/common/Harness/scripts/archive-tasks.mjs +12 -220
- package/templates/common/Harness/scripts/context-budget.mjs +95 -0
- package/templates/common/Harness/scripts/l2-cache-telemetry.mjs +703 -0
- package/templates/common/Harness/scripts/scan-clean.mjs +16 -12
- package/templates/common/Harness/scripts/task-state.mjs +889 -0
- package/templates/common/Harness/scripts/validate-harness.mjs +553 -191
- package/templates/common/Harness/scripts/wf-remove.mjs +61 -35
- package/templates/common/Harness/scripts/wf-update-check.mjs +358 -45
- package/templates/common/Harness/settings.json +43 -0
- package/templates/common/Harness/{ECC-GUIDE.md → specs/guides/ECC-GUIDE.md} +4 -4
- package/templates/common/Harness/{SETUP.md → specs/guides/SETUP.md} +34 -37
- package/templates/common/Harness/{extension.md → specs/guides/extension.md} +3 -3
- package/templates/common/Harness/{lifecycle.md → specs/guides/lifecycle.md} +2 -2
- package/templates/common/Harness/specs/protocols/TASK_ARCHIVE.md +76 -0
- package/templates/common/Harness/{agent-workflow.md → specs/runtime/agent-workflow.md} +6 -6
- package/templates/common/Harness/{context-loading.md → specs/runtime/context-loading.md} +85 -21
- package/templates/common/Harness/{dispatch.md → specs/runtime/dispatch.md} +4 -3
- package/templates/common/Harness/{subagents.md → specs/runtime/subagents.md} +19 -10
- package/templates/common/Harness/{WF-AUTO-SPARK.md → specs/workflows/WF-AUTO-SPARK.md} +2 -2
- package/templates/common/Harness/{WF-AUTO.md → specs/workflows/WF-AUTO.md} +12 -7
- package/templates/common/Harness/{WF-KERNEL.md → specs/workflows/WF-KERNEL.md} +11 -1
- package/templates/common/Harness/{WF-MAX.md → specs/workflows/WF-MAX.md} +40 -7
- package/templates/common/Harness/specs/workflows/WF-STATE.md +141 -0
- package/templates/common/Harness/{WF.md → specs/workflows/WF.md} +12 -1
- package/templates/common/README.md +8 -6
- package/templates/common/memory/startup-hints.md +19 -17
- package/templates/common/opencode.json +1 -0
- package/templates/optional/catalog.json +2 -9
- package/templates/optional/skills/github-pr-review/.claude/skills/github-pr-review/SKILL.md +1 -1
- package/templates/optional/skills/python-backend/.claude/skills/python-backend/SKILL.md +1 -1
- package/templates/optional/skills/ts-react-frontend/.claude/skills/ts-react-frontend/SKILL.md +1 -1
- package/templates/optional/skills/ui-ux-review/.claude/skills/ui-ux-review/SKILL.md +1 -1
- package/templates/common/Harness/TASK_ARCHIVE.md +0 -56
- package/templates/common/Harness/WF-STATE.md +0 -83
- package/templates/optional/skills/browser-e2e/.claude/skills/browser-e2e/SKILL.md +0 -42
- package/templates/optional/skills/browser-e2e/.claude/skills/wf-browser/SKILL.md +0 -194
- package/templates/optional/skills/browser-e2e/Harness/workflows/browser-e2e.md +0 -119
- /package/templates/common/Harness/{ACCEPTANCE_PROTOCOL.md → specs/protocols/ACCEPTANCE_PROTOCOL.md} +0 -0
- /package/templates/common/Harness/{AGENT_ISOLATION.md → specs/protocols/AGENT_ISOLATION.md} +0 -0
- /package/templates/common/Harness/{DEBUG_PROTOCOL.md → specs/protocols/DEBUG_PROTOCOL.md} +0 -0
- /package/templates/common/Harness/{HARNESS_BRIDGE.md → specs/protocols/HARNESS_BRIDGE.md} +0 -0
- /package/templates/common/Harness/{MEMORY_PROTOCOL.md → specs/protocols/MEMORY_PROTOCOL.md} +0 -0
- /package/templates/common/Harness/{TDD-GUIDE.md → specs/protocols/TDD-GUIDE.md} +0 -0
- /package/templates/common/Harness/{WF-AUTO-ANGLES.md → specs/workflows/WF-AUTO-ANGLES.md} +0 -0
|
@@ -20,6 +20,33 @@ This skill is a Codex compatibility shim plus script-flow reference. Claude Code
|
|
|
20
20
|
- `Harness/scripts/scan-clean.mjs`
|
|
21
21
|
- `Harness/scripts/validate-harness.mjs`
|
|
22
22
|
|
|
23
|
+
## Cache Discipline
|
|
24
|
+
|
|
25
|
+
Follow `Harness/specs/runtime/context-loading.md#Cache-First Context Contract`: keep updater
|
|
26
|
+
scripts and ownership docs stable, consume compact `--json` agent plans first,
|
|
27
|
+
and avoid pasting verbose diffs or full remote files unless a conflict requires
|
|
28
|
+
targeted inspection.
|
|
29
|
+
|
|
30
|
+
## Classification
|
|
31
|
+
|
|
32
|
+
MANIFEST-FIRST. The installer and updater read
|
|
33
|
+
`Harness/ownership.manifest.json`:
|
|
34
|
+
|
|
35
|
+
- `preserve[]` — never touched (tasks, memory, research, root README,
|
|
36
|
+
package, architecture). `Harness/tasks/**` is always preserved.
|
|
37
|
+
- `merge[]` — CLAUDE.md, AGENTS.md, MEMORY.md, Harness/MEMORY.md,
|
|
38
|
+
Harness/README.md → merge or accept-local; prior accepted decisions
|
|
39
|
+
carry forward.
|
|
40
|
+
- `frameworkOwned[]` — safe overwrite-upgrade fast path (concurrent
|
|
41
|
+
fetch + hash + all-or-nothing write after checksum validation).
|
|
42
|
+
- `optionalOwned[]` — upgraded only when that option is installed.
|
|
43
|
+
|
|
44
|
+
Content markers (`harness: wf-agent`, `project harness`, `Harness/...`)
|
|
45
|
+
are the FALLBACK when no manifest exists (old installs) and the
|
|
46
|
+
instance-ownership signal that protects a user's same-name file at a
|
|
47
|
+
Harness path. A same-name user file with no marker and no manifest
|
|
48
|
+
declaration → conflict/skip + warning, never overwritten.
|
|
49
|
+
|
|
23
50
|
## Flow
|
|
24
51
|
|
|
25
52
|
1. Run `node Harness/scripts/wf-update-check.mjs --json` first and use the
|
|
@@ -28,20 +55,30 @@ This skill is a Codex compatibility shim plus script-flow reference. Claude Code
|
|
|
28
55
|
`LiWeny16/create-harness-vibe-coding`, then the legacy compatibility mirror
|
|
29
56
|
`zingspark/create-harness-vibe-coding`.
|
|
30
57
|
2. Preserve all PRESERVE files. Never overwrite user task, memory, research,
|
|
31
|
-
README, package, or architecture files.
|
|
58
|
+
root README.md, package, or architecture files. Harness/README.md is
|
|
59
|
+
merge-tier, not PRESERVE.
|
|
32
60
|
3. If `agent.safeApplyCommand` is present, run it to apply SAFE, NEW, and
|
|
33
61
|
adopted metadata-only files before spending AI time on conflicts. Default command:
|
|
34
62
|
`node Harness/scripts/wf-update-check.mjs --apply-safe`.
|
|
35
|
-
|
|
63
|
+
Framework-owned templates, commands, skills, agents, and scripts are
|
|
64
|
+
script-owned and should be overwritten by the updater after checksum validation.
|
|
65
|
+
4. Previously accepted decisions for any merge-tier file (CLAUDE.md, AGENTS.md,
|
|
66
|
+
MEMORY.md, Harness/MEMORY.md, Harness/README.md) are carried forward
|
|
67
|
+
automatically when both the local hash and remote template hash are unchanged.
|
|
68
|
+
5. If a new agent/command/skill path collides with an existing file, do not
|
|
69
|
+
decide by filename alone. Treat it as Harness-owned only when the file
|
|
70
|
+
content has Harness/WF markers such as `harness: wf-agent`, `project harness`,
|
|
71
|
+
or `Harness/...`; otherwise leave it as a real conflict.
|
|
72
|
+
6. For every remaining `agent.aiMergeRequired` entry, compare the local file with
|
|
36
73
|
`templateHint` or `remoteUrl`, then choose merge, keep-local, or
|
|
37
74
|
overwrite-from-template. Record the decision through the script with
|
|
38
75
|
`--accept-local <file>`, `--accept-merged <file>`, or
|
|
39
76
|
`--accept-template <file>`; do not hand-edit `Harness/.harness-version`.
|
|
40
77
|
Ask the user only when the intent is ambiguous.
|
|
41
|
-
|
|
78
|
+
7. Run `node Harness/scripts/wf-update-check.mjs --finalize` after all
|
|
42
79
|
conflicts have script-recorded decisions. Use strict `--apply` only when the
|
|
43
80
|
JSON plan has zero conflicts.
|
|
44
|
-
|
|
81
|
+
8. After update, run the validator and then scan-clean.
|
|
45
82
|
|
|
46
83
|
## Recovery
|
|
47
84
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
max_threads = 12
|
|
5
|
-
max_depth = 1
|
|
1
|
+
# Codex project config intentionally avoids WF-MAX capacity defaults.
|
|
2
|
+
# codex-cli 0.144.x can reject scalar agent-capacity caps during TUI skills/list.
|
|
3
|
+
# WF-MAX manages fan-out caps in Harness docs and task state instead.
|