vibe-coding-master 0.3.32 → 0.4.1
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/README.md +1 -1
- package/dist/backend/api/harness-routes.js +56 -0
- package/dist/backend/api/session-routes.js +5 -0
- package/dist/backend/api/translation-routes.js +4 -0
- package/dist/backend/cli/install-vcm-harness.js +12 -0
- package/dist/backend/server.js +10 -8
- package/dist/backend/services/claude-hook-service.js +42 -2
- package/dist/backend/services/harness-revision.js +32 -0
- package/dist/backend/services/harness-service.js +324 -118
- package/dist/backend/services/session-service.js +385 -13
- package/dist/backend/templates/harness/harness-engineer-agent.js +63 -0
- package/dist/shared/constants.js +11 -1
- package/dist-frontend/assets/index-kJDZAzjD.css +32 -0
- package/dist-frontend/assets/index-uYhgIwNK.js +94 -0
- package/dist-frontend/index.html +2 -2
- package/docs/full-harness-baseline.md +1 -1
- package/docs/product-design.md +1 -1
- package/docs/v0.4-harness-optimization-plan.md +662 -0
- package/docs/{v0.4-custom-workflow-plan.md → v0.5-custom-workflow-plan.md} +15 -11
- package/docs/vcm-cc-best-practices.md +7 -12
- package/package.json +1 -1
- package/dist-frontend/assets/index-BaIbh99h.js +0 -94
- package/dist-frontend/assets/index-BvUHLq4X.css +0 -32
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
# VCM 0.
|
|
1
|
+
# VCM 0.5 Custom Workflow Plan
|
|
2
2
|
|
|
3
|
-
Last updated: 2026-06-
|
|
3
|
+
Last updated: 2026-06-22
|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This plan was originally drafted as the VCM 0.4 custom workflow plan. It moved
|
|
6
|
+
to VCM 0.5 when VCM 0.4 was narrowed to harness optimization, Harness Engineer,
|
|
7
|
+
and Harness Studio.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
This document defines the proposed VCM 0.5 custom workflow architecture.
|
|
10
|
+
|
|
11
|
+
VCM 0.5 should turn the current fixed role chain into a configurable workflow
|
|
8
12
|
system. Users should be able to compose the task process, edit role definitions,
|
|
9
13
|
choose role runtime policies, and decide where gates, checks, and human review
|
|
10
14
|
belong. The product should still feel like VCM: local, visible, recoverable, and
|
|
@@ -28,7 +32,7 @@ Some users need heavier architecture review. Some need a fast bug-fix workflow.
|
|
|
28
32
|
Some need long-lived planning sessions. Some want fresh implementation sessions.
|
|
29
33
|
Some want mandatory final gates only for high-risk tasks.
|
|
30
34
|
|
|
31
|
-
VCM 0.
|
|
35
|
+
VCM 0.5 should make these choices explicit and configurable without turning the
|
|
32
36
|
app into a fragile scripting environment.
|
|
33
37
|
|
|
34
38
|
The target outcome:
|
|
@@ -71,7 +75,7 @@ running when no workflow node is active.
|
|
|
71
75
|
|
|
72
76
|
## 3. Non-Goals
|
|
73
77
|
|
|
74
|
-
VCM 0.
|
|
78
|
+
VCM 0.5 should not:
|
|
75
79
|
|
|
76
80
|
- become a general BPMN engine
|
|
77
81
|
- allow arbitrary untrusted code inside workflow definitions
|
|
@@ -212,7 +216,7 @@ Session lifecycle should be explicit per role:
|
|
|
212
216
|
- `manual`: VCM prepares the role, but the user starts and drives it manually
|
|
213
217
|
- `disabled`: the role exists in the template but is not active for this run
|
|
214
218
|
|
|
215
|
-
This is one of the main 0.
|
|
219
|
+
This is one of the main 0.5 features. Different roles need different memory
|
|
216
220
|
and isolation tradeoffs:
|
|
217
221
|
|
|
218
222
|
- PM usually benefits from task continuity.
|
|
@@ -573,7 +577,7 @@ Recommended safety defaults:
|
|
|
573
577
|
|
|
574
578
|
## 13. UI Design
|
|
575
579
|
|
|
576
|
-
VCM 0.
|
|
580
|
+
VCM 0.5 needs two UI layers:
|
|
577
581
|
|
|
578
582
|
1. Running task view
|
|
579
583
|
2. Workflow builder view
|
|
@@ -746,16 +750,16 @@ The following details should be decided before implementation:
|
|
|
746
750
|
|
|
747
751
|
- exact workflow JSON schema
|
|
748
752
|
- whether custom templates should support YAML in addition to JSON
|
|
749
|
-
- how much graph editing belongs in 0.
|
|
753
|
+
- how much graph editing belongs in 0.5 versus later versions
|
|
750
754
|
- final expression language for branch conditions
|
|
751
755
|
- whether command nodes should use allowlisted command templates only
|
|
752
756
|
- how workflow templates are imported, exported, and named
|
|
753
757
|
- how to present workflow validation errors in the UI
|
|
754
758
|
- how task creation should choose between default and custom workflow templates
|
|
755
759
|
|
|
756
|
-
## 18. Recommended 0.
|
|
760
|
+
## 18. Recommended 0.5 Scope
|
|
757
761
|
|
|
758
|
-
The strongest 0.
|
|
762
|
+
The strongest 0.5 scope is:
|
|
759
763
|
|
|
760
764
|
- workflow engine foundation
|
|
761
765
|
- built-in default workflow expressed as data
|
|
@@ -171,8 +171,8 @@ Current runtime files and directories:
|
|
|
171
171
|
.ai/vcm/handoffs/known-issues.md
|
|
172
172
|
.ai/vcm/gate-reviews/
|
|
173
173
|
.ai/vcm/jobs/<job-id>/
|
|
174
|
+
.ai/vcm/harness-engineer/session.json
|
|
174
175
|
.ai/vcm/bootstrap/session.json
|
|
175
|
-
.ai/vcm/bootstrap/bootstrap.log
|
|
176
176
|
```
|
|
177
177
|
|
|
178
178
|
App-local VCM task records live outside the connected repository:
|
|
@@ -402,22 +402,17 @@ during bootstrap.
|
|
|
402
402
|
Important claims should be marked as verified, inferred, unknown, or needing
|
|
403
403
|
human confirmation.
|
|
404
404
|
|
|
405
|
-
VCM should
|
|
406
|
-
|
|
405
|
+
VCM should run bootstrap through the project-scoped `harness-engineer` session,
|
|
406
|
+
not through a separate temporary terminal or invisible background task:
|
|
407
407
|
|
|
408
408
|
- run the deterministic fixed installer first
|
|
409
|
-
- start
|
|
410
|
-
- set `VCM_TASK_REPO_ROOT`, `VCM_HARNESS_BOOTSTRAP=1`, `VCM_SESSION_ID`, and
|
|
411
|
-
`VCM_API_URL`
|
|
409
|
+
- start or resume the `harness-engineer` role in the connected repository root
|
|
412
410
|
- send a prompt that explicitly requires using `vcm-harness-bootstrap`
|
|
413
|
-
-
|
|
414
|
-
-
|
|
415
|
-
- mark bootstrap complete only when project context, generated context,
|
|
416
|
-
project architecture docs, module architecture docs, and testing docs are
|
|
417
|
-
present and non-empty
|
|
411
|
+
- persist the bootstrap run marker under `.ai/vcm/bootstrap/session.json`
|
|
412
|
+
- mark the bootstrap run complete when the `harness-engineer` Stop hook arrives
|
|
418
413
|
|
|
419
414
|
The UI should expose both stages: fixed install status and bootstrap completion
|
|
420
|
-
status. A failed or disconnected
|
|
415
|
+
status. A failed or disconnected Harness Engineer session should be restartable
|
|
421
416
|
without treating project-owned durable docs as VCM-owned harness files.
|
|
422
417
|
|
|
423
418
|
## 12. Final Acceptance
|