vibe-coding-master 0.4.19 → 0.4.21
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/backend/adapters/git-adapter.js +15 -0
- package/dist/backend/api/harness-routes.js +17 -0
- package/dist/backend/api/task-routes.js +2 -2
- package/dist/backend/app-version.js +12 -0
- package/dist/backend/cli/install-vcm-harness.js +3 -2
- package/dist/backend/gateway/gateway-service.js +2 -5
- package/dist/backend/server.js +6 -2
- package/dist/backend/services/app-settings-service.js +2 -0
- package/dist/backend/services/claude-hook-service.js +188 -36
- package/dist/backend/services/diagnostics-service.js +2 -13
- package/dist/backend/services/harness-feedback-service.js +149 -2
- package/dist/backend/services/harness-service.js +159 -22
- package/dist/backend/services/round-service.js +58 -0
- package/dist/backend/services/session-service.js +6 -301
- package/dist/backend/templates/harness/architect-agent.js +37 -3
- package/dist/backend/templates/harness/coder-agent.js +6 -1
- package/dist/backend/templates/harness/harness-engineer-agent.js +31 -0
- package/dist/backend/templates/harness/project-manager-agent.js +7 -0
- package/dist/backend/templates/harness/reviewer-agent.js +10 -0
- package/dist/main.js +2 -11
- package/dist-frontend/assets/index-B3sODrcw.css +32 -0
- package/dist-frontend/assets/index-_aOTGZCq.js +96 -0
- package/dist-frontend/index.html +2 -2
- package/docs/full-harness-baseline.md +1 -2
- package/docs/gate-review-gates.md +8 -17
- package/docs/product-design.md +5 -6
- package/docs/v0.4-harness-optimization-plan.md +3 -2
- package/package.json +1 -1
- package/dist-frontend/assets/index-BrY-xd6U.js +0 -95
- package/dist-frontend/assets/index-D1LTJ-sY.css +0 -32
package/dist-frontend/index.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>VibeCodingMaster</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-_aOTGZCq.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B3sODrcw.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|
|
@@ -129,7 +129,6 @@ Task runtime state lives in the task worktree:
|
|
|
129
129
|
Project-scoped runtime state lives in the base repository:
|
|
130
130
|
|
|
131
131
|
```text
|
|
132
|
-
<baseRepoRoot>/.ai/vcm/gate-reviewer/session.json
|
|
133
132
|
<baseRepoRoot>/.ai/vcm/harness-engineer/session.json
|
|
134
133
|
<baseRepoRoot>/.ai/vcm/translations/
|
|
135
134
|
<baseRepoRoot>/.ai/vcm/bootstrap/session.json
|
|
@@ -154,7 +153,7 @@ session recovery.
|
|
|
154
153
|
|
|
155
154
|
Close Task removes the task-owned worktree, branch, app-local task record, and
|
|
156
155
|
task-local runtime state. It stops task-scoped VCM role sessions for that task.
|
|
157
|
-
It must not stop project-scoped
|
|
156
|
+
It must not stop project-scoped Translator or Harness Engineer sessions.
|
|
158
157
|
|
|
159
158
|
Durable facts that should survive task cleanup must be promoted into code,
|
|
160
159
|
tests, durable docs, PR text, commit history, or release notes before closing
|
|
@@ -30,11 +30,9 @@ VCM owns:
|
|
|
30
30
|
|
|
31
31
|
- global Gate Review switches in `~/.vcm/settings.json`
|
|
32
32
|
- current task gate state under `<taskRepoRoot>/.ai/vcm/gate-reviews/`
|
|
33
|
-
- starting/resuming the
|
|
33
|
+
- starting/resuming the task-scoped Gate Reviewer Claude Code session
|
|
34
34
|
- sending the gate prompt
|
|
35
35
|
- waiting for the report
|
|
36
|
-
- binding the project-scoped Gate Reviewer session to the current task for hook,
|
|
37
|
-
Round, and translation state
|
|
38
36
|
- sending the callback to PM
|
|
39
37
|
|
|
40
38
|
PM owns:
|
|
@@ -51,22 +49,16 @@ Gate Reviewer owns:
|
|
|
51
49
|
|
|
52
50
|
## Session Scope
|
|
53
51
|
|
|
54
|
-
Gate Reviewer is
|
|
52
|
+
Gate Reviewer is task-scoped, like the normal VCM roles:
|
|
55
53
|
|
|
56
54
|
```text
|
|
57
|
-
<
|
|
55
|
+
<taskRepoRoot>/<stateRoot>/sessions/<taskSlug>.json
|
|
58
56
|
```
|
|
59
57
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
session memory can help orientation, but only current worktree evidence can
|
|
58
|
+
Each task gets its own Gate Reviewer session. The gate prompt names the current
|
|
59
|
+
task and task worktree path explicitly, and only current worktree evidence can
|
|
63
60
|
decide the gate.
|
|
64
61
|
|
|
65
|
-
When a task uses Gate Reviewer, VCM records the active task binding on the
|
|
66
|
-
project session. Hook events from the long-lived session are resolved through
|
|
67
|
-
that binding so Round state and translation output are written to the current
|
|
68
|
-
task.
|
|
69
|
-
|
|
70
62
|
Gate reports remain task-scoped:
|
|
71
63
|
|
|
72
64
|
```text
|
|
@@ -127,9 +119,8 @@ Task runtime files:
|
|
|
127
119
|
PM reaches gate
|
|
128
120
|
-> PM uses vcm-gate-review
|
|
129
121
|
-> VCM checks global gate switch and task state
|
|
130
|
-
-> VCM starts or resumes
|
|
122
|
+
-> VCM starts or resumes the task Gate Reviewer session
|
|
131
123
|
-> VCM sends short prompt with task/worktree/report paths
|
|
132
|
-
-> VCM binds Gate Reviewer to the current task
|
|
133
124
|
-> Gate Reviewer writes report
|
|
134
125
|
-> standard Claude hooks update Gate Reviewer activity/Round state
|
|
135
126
|
-> VCM validates report
|
|
@@ -137,5 +128,5 @@ PM reaches gate
|
|
|
137
128
|
-> PM continues or routes follow-up
|
|
138
129
|
```
|
|
139
130
|
|
|
140
|
-
Close Task stops task-scoped
|
|
141
|
-
|
|
131
|
+
Close Task stops the task-scoped Gate Reviewer session with the other VCM role
|
|
132
|
+
sessions.
|
package/docs/product-design.md
CHANGED
|
@@ -87,8 +87,8 @@ project-manager
|
|
|
87
87
|
For complex tasks, VCM supports optional Gate Review Gates through a
|
|
88
88
|
`gate-reviewer` Claude Code role. Gate Reviewer is a VCM flow role with the same
|
|
89
89
|
hook, Round, terminal, and translation behavior as the core roles. Its session
|
|
90
|
-
is
|
|
91
|
-
|
|
90
|
+
is task-scoped: each task gets its own Gate Reviewer session in the active task
|
|
91
|
+
worktree.
|
|
92
92
|
|
|
93
93
|
```text
|
|
94
94
|
architect architecture plan
|
|
@@ -109,9 +109,9 @@ default to off.
|
|
|
109
109
|
|
|
110
110
|
When any gate is on, or when a Gate Reviewer session already exists, the task
|
|
111
111
|
workspace shows `Gate Reviewer` as a fifth terminal role. VCM sends a short gate
|
|
112
|
-
prompt into that
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
prompt into that task session and uses the normal role hook path for Round
|
|
113
|
+
state, translation, and report polling. The role remains outside PM route-file
|
|
114
|
+
dispatch.
|
|
115
115
|
Architecture-plan findings return to architect, validation-adequacy findings
|
|
116
116
|
return to reviewer, and final-diff findings go to architect first for
|
|
117
117
|
assessment. Gate Reviewer role rules live in `.claude/agents/gate-reviewer.md`.
|
|
@@ -823,7 +823,6 @@ Task worktree local files:
|
|
|
823
823
|
Project-scoped local files:
|
|
824
824
|
|
|
825
825
|
```text
|
|
826
|
-
.ai/vcm/gate-reviewer/session.json
|
|
827
826
|
.ai/vcm/harness-engineer/session.json
|
|
828
827
|
.ai/vcm/translations/
|
|
829
828
|
.ai/vcm/bootstrap/session.json
|
|
@@ -24,8 +24,9 @@ project-manager
|
|
|
24
24
|
-> project-manager
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Optional project-level tool roles, such as
|
|
28
|
-
|
|
27
|
+
Optional project-level tool roles, such as Translator, stay outside the core
|
|
28
|
+
chain unless VCM explicitly routes work to them. Gate Reviewer is an optional
|
|
29
|
+
task-scoped VCM flow role.
|
|
29
30
|
|
|
30
31
|
The target outcome:
|
|
31
32
|
|