vibe-coding-master 0.3.27 → 0.3.29
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 +30 -26
- package/dist/backend/api/task-routes.js +2 -2
- package/dist/backend/gateway/gateway-service.js +24 -5
- package/dist/backend/services/claude-hook-service.js +43 -26
- package/dist/backend/services/message-service.js +9 -6
- package/dist/backend/services/project-service.js +2 -2
- package/dist/backend/services/session-service.js +44 -10
- package/dist/shared/constants.js +6 -2
- package/dist-frontend/assets/{index-DVy34Iwn.js → index-K34QFpWK.js} +35 -35
- package/dist-frontend/index.html +1 -1
- package/docs/codex-translation-plan.md +74 -127
- package/docs/full-harness-baseline.md +113 -207
- package/docs/gate-review-gates.md +13 -5
- package/docs/gateway-design.md +6 -8
- package/docs/product-design.md +51 -14
- package/docs/v0.2-implementation-plan.md +4 -0
- package/docs/vcm-cc-best-practices.md +36 -33
- package/package.json +1 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# VCM Claude Code Best Practices
|
|
2
2
|
|
|
3
|
-
Last updated: 2026-06-
|
|
3
|
+
Last updated: 2026-06-21
|
|
4
4
|
|
|
5
5
|
This is the current VCM-specific Claude Code / AI coding best-practices guide.
|
|
6
6
|
It is based on the latest `example/rust-layered` harness baseline.
|
|
7
7
|
|
|
8
8
|
Do not install this document into target repositories. Target repositories should
|
|
9
|
-
receive a concise root `CLAUDE.md` VCM block,
|
|
10
|
-
skills, harness tools, and project-owned
|
|
9
|
+
receive a concise root `CLAUDE.md` VCM block, role agents, repo-local VCM
|
|
10
|
+
skills, harness tools, Codex Translator harness files, and project-owned
|
|
11
|
+
durable docs.
|
|
11
12
|
|
|
12
13
|
`docs/cc-best-practices.md` is archived as the old generic baseline. Current VCM
|
|
13
14
|
implementation should use this document and `docs/full-harness-baseline.md`.
|
|
@@ -17,7 +18,7 @@ implementation should use this document and `docs/full-harness-baseline.md`.
|
|
|
17
18
|
VCM separates three concerns:
|
|
18
19
|
|
|
19
20
|
- Harness-managed files: VCM owns, upgrades, repairs, audits, and can uninstall
|
|
20
|
-
these through
|
|
21
|
+
these through deterministic installer definitions and managed markers.
|
|
21
22
|
- Project-owned durable docs: VCM bootstrap may create or initialize these, but
|
|
22
23
|
they become project truth and are not VCM-owned harness.
|
|
23
24
|
- Runtime state: VCM writes these during task execution and cleans them up after
|
|
@@ -41,13 +42,19 @@ CLAUDE.md
|
|
|
41
42
|
.claude/agents/architect.md
|
|
42
43
|
.claude/agents/coder.md
|
|
43
44
|
.claude/agents/reviewer.md
|
|
45
|
+
.claude/agents/gate-reviewer.md
|
|
44
46
|
.claude/skills/vcm-route-message/SKILL.md
|
|
45
47
|
.claude/skills/vcm-final-acceptance/SKILL.md
|
|
46
48
|
.claude/skills/vcm-long-running-validation/SKILL.md
|
|
47
49
|
.claude/skills/vcm-harness-bootstrap/SKILL.md
|
|
48
|
-
.
|
|
50
|
+
.claude/skills/vcm-gate-review/SKILL.md
|
|
51
|
+
.ai/codex-translator/AGENTS.md
|
|
52
|
+
.ai/codex-translator/config.toml
|
|
53
|
+
.ai/codex-translator/.codex/config.toml
|
|
54
|
+
.ai/codex-translator/.codex/hooks.json
|
|
49
55
|
.ai/tools/generate-module-index
|
|
50
56
|
.ai/tools/generate-public-surface
|
|
57
|
+
.ai/tools/request-gate-review
|
|
51
58
|
.ai/tools/run-long-check
|
|
52
59
|
.ai/tools/watch-job
|
|
53
60
|
.ai/tools/vcm-bash-guard
|
|
@@ -61,9 +68,8 @@ Derived bootstrap artifacts:
|
|
|
61
68
|
.ai/generated/public-surface.json
|
|
62
69
|
```
|
|
63
70
|
|
|
64
|
-
The generated artifacts are
|
|
65
|
-
|
|
66
|
-
bootstrap or later maintenance work. They are not hand-authored fixed templates.
|
|
71
|
+
The generated artifacts are produced by generator tools during bootstrap or
|
|
72
|
+
later maintenance work. They are not hand-authored fixed templates.
|
|
67
73
|
|
|
68
74
|
Runtime roots:
|
|
69
75
|
|
|
@@ -80,6 +86,7 @@ Not part of the current baseline:
|
|
|
80
86
|
.ai/task-specs/
|
|
81
87
|
.ai/vcm/tasks/
|
|
82
88
|
.ai/vcm/handoffs/role-commands/
|
|
89
|
+
.ai/vcm-harness-manifest.json
|
|
83
90
|
docs/plans/active/
|
|
84
91
|
docs/plans/completed/
|
|
85
92
|
docs/MODULE_MAP.md
|
|
@@ -100,35 +107,31 @@ docs/AI_WORKFLOW.md
|
|
|
100
107
|
|
|
101
108
|
Do not reintroduce these unless there is a current VCM requirement.
|
|
102
109
|
|
|
103
|
-
## 3. Harness
|
|
110
|
+
## 3. Harness Ownership
|
|
104
111
|
|
|
105
|
-
|
|
106
|
-
|
|
112
|
+
VCM harness ownership is defined by the installer code and by managed markers.
|
|
113
|
+
The current implementation does not use `.ai/vcm-harness-manifest.json`.
|
|
107
114
|
|
|
108
|
-
|
|
115
|
+
VCM-owned managed blocks use markers such as:
|
|
109
116
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
- generated context artifacts under `.ai/generated/`
|
|
116
|
-
- PR template managed blocks
|
|
117
|
-
- lifecycle labels
|
|
118
|
-
- runtime roots
|
|
119
|
-
- uninstall actions
|
|
117
|
+
```md
|
|
118
|
+
<!-- VCM:BEGIN version=1 -->
|
|
119
|
+
...
|
|
120
|
+
<!-- VCM:END -->
|
|
121
|
+
```
|
|
120
122
|
|
|
121
|
-
|
|
123
|
+
For `.gitignore`, VCM uses:
|
|
122
124
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
- placeholder `.gitkeep` files
|
|
125
|
+
```gitignore
|
|
126
|
+
# VCM:BEGIN version=1
|
|
127
|
+
...
|
|
128
|
+
# VCM:END
|
|
129
|
+
```
|
|
129
130
|
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
Whole-file and raw-file harness files are owned by VCM only when their paths are
|
|
132
|
+
listed by the fixed installer. VCM uninstall should remove only VCM-owned
|
|
133
|
+
managed blocks or unchanged VCM-owned whole files. User-authored project docs
|
|
134
|
+
must not be deleted by harness uninstall.
|
|
132
135
|
|
|
133
136
|
## 4. Project-Owned Durable Docs
|
|
134
137
|
|
|
@@ -169,6 +172,7 @@ Current runtime files and directories:
|
|
|
169
172
|
.ai/vcm/handoffs/docs-sync-report.md
|
|
170
173
|
.ai/vcm/handoffs/final-acceptance.md
|
|
171
174
|
.ai/vcm/handoffs/known-issues.md
|
|
175
|
+
.ai/vcm/gate-reviews/
|
|
172
176
|
.ai/vcm/jobs/<job-id>/
|
|
173
177
|
.ai/vcm/bootstrap/session.json
|
|
174
178
|
.ai/vcm/bootstrap/bootstrap.log
|
|
@@ -417,7 +421,7 @@ an invisible background task:
|
|
|
417
421
|
|
|
418
422
|
The UI should expose both stages: fixed install status and bootstrap completion
|
|
419
423
|
status. A failed or disconnected bootstrap terminal should be restartable
|
|
420
|
-
without treating project-owned durable docs as VCM-owned
|
|
424
|
+
without treating project-owned durable docs as VCM-owned harness files.
|
|
421
425
|
|
|
422
426
|
## 12. Final Acceptance
|
|
423
427
|
|
|
@@ -444,7 +448,6 @@ Temporary files should be deleted after the task:
|
|
|
444
448
|
- route messages
|
|
445
449
|
- handoff artifacts
|
|
446
450
|
- job logs and status files
|
|
447
|
-
- raw terminal logs
|
|
448
451
|
- app-local task records
|
|
449
452
|
- routine completed plans
|
|
450
453
|
|