vibe-coding-master 0.3.0 → 0.3.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/README.md +10 -7
- package/dist/backend/adapters/claude-adapter.js +4 -1
- package/dist/backend/api/codex-hook-routes.js +9 -0
- package/dist/backend/api/codex-review-routes.js +4 -0
- package/dist/backend/api/translation-routes.js +2 -2
- package/dist/backend/cli/install-vcm-harness.js +14 -1
- package/dist/backend/gateway/gateway-service.js +4 -3
- package/dist/backend/server.js +10 -0
- package/dist/backend/services/app-settings-service.js +12 -4
- package/dist/backend/services/artifact-service.js +2 -1
- package/dist/backend/services/claude-hook-service.js +3 -3
- package/dist/backend/services/codex-hook-service.js +87 -0
- package/dist/backend/services/codex-review-service.js +145 -60
- package/dist/backend/services/harness-service.js +28 -1
- package/dist/backend/services/message-service.js +8 -7
- package/dist/backend/services/project-service.js +2 -2
- package/dist/backend/services/round-service.js +29 -25
- package/dist/backend/services/session-service.js +141 -12
- package/dist/backend/templates/handoff.js +10 -0
- package/dist/backend/templates/harness/architect-agent.js +8 -4
- package/dist/backend/templates/harness/claude-root.js +1 -1
- package/dist/backend/templates/harness/coder-agent.js +1 -1
- package/dist/backend/templates/harness/codex-review.js +41 -6
- package/dist/backend/templates/harness/reviewer-agent.js +1 -0
- package/dist/shared/constants.js +15 -1
- package/dist/shared/types/app-settings.js +4 -3
- package/dist/shared/types/codex-hook.js +1 -0
- package/dist/shared/types/session.js +44 -0
- package/dist/shared/validation/artifact-check.js +1 -0
- package/dist-frontend/assets/index-BavJjWQY.js +92 -0
- package/dist-frontend/assets/index-CR1EOe-w.css +32 -0
- package/dist-frontend/index.html +2 -2
- package/docs/ARCHITECTURE.md +1 -0
- package/docs/TESTING.md +82 -0
- package/docs/cc-best-practices.md +1 -0
- package/docs/codex-review-gates.md +88 -45
- package/docs/full-harness-baseline.md +1 -1
- package/docs/gateway-design.md +5 -4
- package/docs/known-issues.md +1 -0
- package/docs/product-design.md +28 -11
- package/docs/vcm-cc-best-practices.md +15 -5
- package/package.json +1 -1
- package/dist-frontend/assets/index-C9l94uxA.js +0 -92
- package/dist-frontend/assets/index-D6jWo6Jd.css +0 -32
|
@@ -194,8 +194,9 @@ 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
|
|
198
|
-
contract comments and
|
|
197
|
+
architect writes the plan with a Scaffold Manifest and materializes only the
|
|
198
|
+
minimum necessary code scaffolding with durable contract comments and
|
|
199
|
+
`VCM:CODE` placeholders.
|
|
199
200
|
- `coder`: implementation owner. It changes production code and baseline unit
|
|
200
201
|
tests within the approved plan. It follows the architect-defined scaffold,
|
|
201
202
|
implements and removes `VCM:CODE` placeholders, follows general coding
|
|
@@ -240,19 +241,28 @@ workload or context size is not a valid reason to change the architect plan.
|
|
|
240
241
|
## 7.1 Architecture Plan And Code Scaffolding
|
|
241
242
|
|
|
242
243
|
For code changes, the architect plan is not only a markdown handoff. It is a
|
|
243
|
-
plan document plus code
|
|
244
|
+
plan document plus a Scaffold Manifest and the minimum necessary code
|
|
245
|
+
scaffolding.
|
|
244
246
|
|
|
245
247
|
The plan document defines affected modules, changed or created files, file
|
|
246
248
|
responsibilities, why each file is in scope, user-visible behavior changes,
|
|
247
249
|
non-private cross-file callable surfaces, docs impact, risks, and Replan
|
|
248
250
|
triggers.
|
|
249
251
|
|
|
252
|
+
The Scaffold Manifest carries task-specific file context for the current handoff:
|
|
253
|
+
why a file is in scope, what coder should implement, allowed implementation
|
|
254
|
+
freedom, expected `VCM:CODE` placeholders, durable code comment needs, proof
|
|
255
|
+
points, and Replan triggers. Task context, phase notes, handoff instructions,
|
|
256
|
+
temporary rationale, and coder guidance belong in the Scaffold Manifest, not in
|
|
257
|
+
source-code comments.
|
|
258
|
+
|
|
250
259
|
Code scaffolding materializes that plan in the repository before coder work
|
|
251
260
|
starts:
|
|
252
261
|
|
|
253
262
|
- new modules or files are created when needed
|
|
254
|
-
-
|
|
255
|
-
are documented in code
|
|
263
|
+
- durable behavior, contracts, invariants, error boundaries, or non-obvious
|
|
264
|
+
logic are documented in code only when they should remain useful after the
|
|
265
|
+
task is complete
|
|
256
266
|
- new or changed non-private callable surfaces are defined directly in code with
|
|
257
267
|
signature shape and contract comments
|
|
258
268
|
- incomplete implementation bodies are marked with `VCM:CODE`
|