create-harness-vibe-coding 0.5.0 → 0.5.2
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/package.json +1 -1
- package/templates/common/.claude/commands/wf-max.md +1 -1
- package/templates/common/.claude/skills/subagent-orchestrator/SKILL.md +1 -1
- package/templates/common/.claude/skills/wf-learn/SKILL.md +1 -1
- package/templates/common/.claude/skills/wf-mode/SKILL.md +1 -1
- package/templates/common/CLAUDE.md +2 -2
- package/templates/common/docs/README.md +3 -1
- package/templates/common/docs/harness/WF.md +1 -1
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ Enter maximum-parallelism workflow mode with an optional task description. Split
|
|
|
13
13
|
|
|
14
14
|
```text
|
|
15
15
|
intake
|
|
16
|
-
-> max-parallel exploration (5-
|
|
16
|
+
-> max-parallel exploration (5-10 read-only agents)
|
|
17
17
|
-> synthesis + write-set coloring → dependency graph
|
|
18
18
|
-> wave 1: N parallel implementers (disjoint file claims)
|
|
19
19
|
-> wave 1 review: parallel spec/code/security reviewers
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: subagent-orchestrator
|
|
3
|
-
description: Use when work needs bounded subagent coordination, parallel read-only exploration, independent review gates, broad context partitioning, or controlled handoffs after wf-mode has been selected
|
|
3
|
+
description: Use when work needs bounded subagent coordination, parallel read-only exploration, independent review gates, broad context partitioning, or controlled handoffs after wf-mode has been selected.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Subagent Orchestrator
|
|
@@ -30,7 +30,7 @@ Force a memory learning cycle. Context-master analyzes, memory-master consolidat
|
|
|
30
30
|
| Project | `Harness/memory/tool-usage-reflections.md` | tool/command patterns found |
|
|
31
31
|
| Project | `Harness/memory/user-corrections-preferences.md` | user preferences found |
|
|
32
32
|
| Project | `Harness/memory/agent-lessons-patterns.md` | review/debug lessons found |
|
|
33
|
-
| Global |
|
|
33
|
+
| Global | `<user>/.claude/projects/*/memory/` | cross-project patterns |
|
|
34
34
|
|
|
35
35
|
## Rules
|
|
36
36
|
|
|
@@ -25,7 +25,7 @@ intake + 95% confidence gate
|
|
|
25
25
|
-> bounded implementation
|
|
26
26
|
-> review
|
|
27
27
|
-> verification
|
|
28
|
-
-> debugger recovery loop when verification fails (dispatch memory-master
|
|
28
|
+
-> debugger recovery loop when verification fails (dispatch context-master then memory-master, or use /wf-learn)
|
|
29
29
|
-> context-master session analysis + knowledge extraction
|
|
30
30
|
-> memory-master consolidation
|
|
31
31
|
-> close with evidence
|
|
@@ -11,7 +11,7 @@ Root entry for Claude Code. Keep this file short.
|
|
|
11
11
|
- `Harness/README.md` is the task router. For every request, check `Harness/README.md#Load By Task`; if a row matches, read and follow those docs before acting.
|
|
12
12
|
- `Harness/PROGRESS.md` is the global task index. Load at session start to see active task and task history.
|
|
13
13
|
- If work spans more than one step, create a task capsule from `Harness/tasks/_template/` and update `Harness/tasks/<task-id>/PROGRESS.md`.
|
|
14
|
-
- Use `/wf <task>`, `/wf-max [task]`, `/wf-learn`, `wf mode`, `workflow mode`, `wk mode`, `Harness/WF.md`, or `Harness/WF-MAX.md` for long, difficult, uncertain, multi-file, or repeated-failure work.
|
|
14
|
+
- Use `/wf <task>`, `/wf-max [task]`, `/wf-learn`, `wf mode`, `wf max`, `workflow mode`, `wk mode`, `Harness/WF.md`, or `Harness/WF-MAX.md` for long, difficult, uncertain, multi-file, or repeated-failure work.
|
|
15
15
|
- Use `subagent-orchestrator` and `Harness/subagents.md` when coordinating multiple subagents.
|
|
16
16
|
- Use `/wf update` to check for and apply scaffold updates from GitHub. See `.claude/skills/wf-update/SKILL.md`.
|
|
17
17
|
- Subagents are readers and reporters. Only the main agent writes to `Harness/tasks/<task-id>/PROGRESS.md` and `Harness/tasks/<task-id>/PLAN.md`.
|
|
@@ -63,7 +63,7 @@ Root entry for Claude Code. Keep this file short.
|
|
|
63
63
|
- **Tool reflection trigger**: record a lightweight reflection when the same tool/use pattern fails 3+ times, or when a better command pattern/environment fix is found. Write it newest-first in `Harness/memory/tool-usage-reflections.md`.
|
|
64
64
|
- **User correction trigger**: record a lightweight preference/correction when the user asks to remember it, or when the user corrects the same assumption/pattern 2+ times. Write it newest-first in `Harness/memory/user-corrections-preferences.md`.
|
|
65
65
|
- **Agent lesson trigger**: record reusable lessons from review/debug loops in `Harness/memory/agent-lessons-patterns.md` when they would prevent recurrence.
|
|
66
|
-
- **WF auto-trigger**:
|
|
66
|
+
- **WF auto-trigger**: before WF closeout, dispatch `context-master` then `memory-master` (or use `/wf-learn`). The old "3x same failure" auto-trigger is unreliable — make this a mandatory closeout gate.
|
|
67
67
|
- **Context threshold trigger**: when context approaches ~85% of the window, dispatch `context-master` to analyze and write a non-blocking compression suggestion to `Harness/tasks/<task-id>/PROGRESS.md#Heartbeat`.
|
|
68
68
|
- **Closeout trigger**: during WF closeout, dispatch `context-master` to extract durable knowledge, then `memory-master` to consolidate into `Harness/memory/*`.
|
|
69
69
|
- Never record secrets, credentials, tokens, or private data.
|
|
@@ -51,7 +51,7 @@ Keywords are retrieval hints, not project facts.
|
|
|
51
51
|
|
|
52
52
|
Load the matching row only. Add adjacent docs only when the loaded doc directly names them.
|
|
53
53
|
|
|
54
|
-
Routing priority: if a request explicitly says `/wf <task>`, `/wf-max [task]`, `wf mode`, `workflow mode`, or `wk mode`, or is long, difficult, uncertain, repeated-failure, migration, architecture-heavy, browser-visible, or broad multi-agent implementation work, choose the WF row first. `wf-mode` MUST then delegate subagent coordination to `subagent-orchestrator`.
|
|
54
|
+
Routing priority: if a request explicitly says `/wf <task>`, `/wf-max [task]`, `/wf-learn`, `wf mode`, `wf max`, `workflow mode`, or `wk mode`, or is long, difficult, uncertain, repeated-failure, migration, architecture-heavy, browser-visible, or broad multi-agent implementation work, choose the WF row first. `wf-mode` MUST then delegate subagent coordination to `subagent-orchestrator`.
|
|
55
55
|
|
|
56
56
|
| When to Read | Keywords | Load | Output |
|
|
57
57
|
| --- | --- | --- | --- |
|
|
@@ -102,6 +102,8 @@ Routing priority: if a request explicitly says `/wf <task>`, `/wf-max [task]`, `
|
|
|
102
102
|
```text
|
|
103
103
|
Harness/README.md router only
|
|
104
104
|
Harness/MEMORY.md resource index
|
|
105
|
+
Harness/PLAN.md active project plan
|
|
106
|
+
Harness/SETUP.md install/bootstrap contract
|
|
105
107
|
Harness/PROGRESS.md global task index and cross-task decisions
|
|
106
108
|
Harness/tasks/<id>/PROGRESS.md per-task progress, phase, heartbeat
|
|
107
109
|
Harness/tasks/<id>/PLAN.md per-task implementation plan and evidence
|
|
@@ -122,7 +122,7 @@ If verification fails:
|
|
|
122
122
|
5. Run verifier again.
|
|
123
123
|
6. Repeat until verified or blocked by missing user input/external state.
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
Before asking the user after repeated failures, dispatch `context-master` then `memory-master` (or use `/wf-learn`) to record the failure pattern, attempted paths, and root cause hypothesis. Present evidence-backed options to the user.
|
|
126
126
|
|
|
127
127
|
## Heartbeat Protocol
|
|
128
128
|
|