vibe-coding-master 0.3.22 → 0.3.23
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 +2 -2
- package/dist/backend/api/codex-translation-routes.js +24 -0
- package/dist/backend/server.js +2 -1
- package/dist/backend/services/codex-hook-service.js +30 -9
- package/dist/backend/services/codex-translation-service.js +17 -40
- package/dist/backend/services/session-service.js +188 -11
- package/dist/backend/services/translation-service.js +15 -4
- package/dist/backend/templates/handoff.js +3 -3
- package/dist/backend/templates/harness/architect-agent.js +3 -2
- package/dist/backend/templates/harness/coder-agent.js +6 -1
- package/dist/shared/types/app-settings.js +3 -2
- package/dist-frontend/assets/index-C2xTNLmb.js +95 -0
- package/dist-frontend/assets/index-Cfum1Prr.css +32 -0
- package/dist-frontend/index.html +2 -2
- package/docs/codex-translation-plan.md +41 -37
- package/docs/product-design.md +5 -5
- package/docs/v0.4-custom-workflow-plan.md +785 -0
- package/docs/vcm-cc-best-practices.md +15 -12
- package/package.json +1 -1
- package/dist-frontend/assets/index-CEB6Bssn.js +0 -95
- package/dist-frontend/assets/index-Dmefx9m7.css +0 -32
|
@@ -194,13 +194,14 @@ VCM uses four core roles:
|
|
|
194
194
|
- `architect`: technical planner and docs-sync owner. It defines module/file
|
|
195
195
|
responsibilities, cross-file callable surfaces, public contracts, phase
|
|
196
196
|
boundaries, risks, and durable docs updates. Before coder work starts,
|
|
197
|
-
architect writes the plan with a Scaffold Manifest
|
|
198
|
-
minimum necessary code scaffolding with
|
|
199
|
-
`VCM:CODE
|
|
197
|
+
architect writes the plan with a Scaffold Manifest whose rows have stable
|
|
198
|
+
IDs, and materializes only the minimum necessary code scaffolding with
|
|
199
|
+
durable contract comments and `VCM:CODE <ID>` placeholders.
|
|
200
200
|
- `coder`: implementation owner. It changes production code and baseline unit
|
|
201
201
|
tests within the approved plan. It follows the architect-defined scaffold,
|
|
202
|
-
implements and removes `VCM:CODE` placeholders,
|
|
203
|
-
standards, and does not change
|
|
202
|
+
implements and removes `VCM:CODE` placeholders, reports Scaffold Completion
|
|
203
|
+
by ID in handoff, follows general coding standards, and does not change
|
|
204
|
+
architecture or durable docs.
|
|
204
205
|
- `reviewer`: independent validation owner. It reads code as needed, writes or
|
|
205
206
|
updates tests, owns `docs/TESTING.md`, and decides validation sufficiency.
|
|
206
207
|
`docs/TESTING.md` must be current validation strategy, not a task log, and
|
|
@@ -250,11 +251,11 @@ non-private cross-file callable surfaces, docs impact, risks, and Replan
|
|
|
250
251
|
triggers.
|
|
251
252
|
|
|
252
253
|
The Scaffold Manifest carries task-specific file context for the current handoff:
|
|
253
|
-
why a file is in scope, what coder should implement, allowed
|
|
254
|
-
freedom, expected `VCM:CODE` placeholders, durable code comment
|
|
255
|
-
points, and Replan triggers. Task context, phase notes, handoff
|
|
256
|
-
temporary rationale, and coder guidance belong in the Scaffold
|
|
257
|
-
source-code comments.
|
|
254
|
+
stable row ID, why a file is in scope, what coder should implement, allowed
|
|
255
|
+
implementation freedom, expected `VCM:CODE` placeholders, durable code comment
|
|
256
|
+
needs, proof points, and Replan triggers. Task context, phase notes, handoff
|
|
257
|
+
instructions, temporary rationale, and coder guidance belong in the Scaffold
|
|
258
|
+
Manifest, not in source-code comments.
|
|
258
259
|
|
|
259
260
|
Code scaffolding materializes that plan in the repository before coder work
|
|
260
261
|
starts:
|
|
@@ -265,11 +266,13 @@ starts:
|
|
|
265
266
|
task is complete
|
|
266
267
|
- new or changed non-private callable surfaces are defined directly in code with
|
|
267
268
|
signature shape and contract comments
|
|
268
|
-
- incomplete implementation bodies are marked with `VCM:CODE
|
|
269
|
+
- incomplete implementation bodies are marked with `VCM:CODE <Scaffold Manifest ID>`
|
|
269
270
|
|
|
270
271
|
Coder implements the marked placeholders and may add private helpers, but cannot
|
|
271
272
|
change file responsibilities, callable-surface signatures, or contract intent
|
|
272
|
-
without architect replan.
|
|
273
|
+
without architect replan. Coder handoff reports Scaffold Completion by manifest
|
|
274
|
+
ID, including completed markers, remaining markers if any, private helpers
|
|
275
|
+
added, manifest deviations, and whether Replan is needed.
|
|
273
276
|
|
|
274
277
|
Architect may also enter Debug Mode when PM routes bugs, failing tests,
|
|
275
278
|
build/runtime failures, or unclear defects. Debug Mode allows architect to read
|