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.
Files changed (44) hide show
  1. package/README.md +10 -7
  2. package/dist/backend/adapters/claude-adapter.js +4 -1
  3. package/dist/backend/api/codex-hook-routes.js +9 -0
  4. package/dist/backend/api/codex-review-routes.js +4 -0
  5. package/dist/backend/api/translation-routes.js +2 -2
  6. package/dist/backend/cli/install-vcm-harness.js +14 -1
  7. package/dist/backend/gateway/gateway-service.js +4 -3
  8. package/dist/backend/server.js +10 -0
  9. package/dist/backend/services/app-settings-service.js +12 -4
  10. package/dist/backend/services/artifact-service.js +2 -1
  11. package/dist/backend/services/claude-hook-service.js +3 -3
  12. package/dist/backend/services/codex-hook-service.js +87 -0
  13. package/dist/backend/services/codex-review-service.js +145 -60
  14. package/dist/backend/services/harness-service.js +28 -1
  15. package/dist/backend/services/message-service.js +8 -7
  16. package/dist/backend/services/project-service.js +2 -2
  17. package/dist/backend/services/round-service.js +29 -25
  18. package/dist/backend/services/session-service.js +141 -12
  19. package/dist/backend/templates/handoff.js +10 -0
  20. package/dist/backend/templates/harness/architect-agent.js +8 -4
  21. package/dist/backend/templates/harness/claude-root.js +1 -1
  22. package/dist/backend/templates/harness/coder-agent.js +1 -1
  23. package/dist/backend/templates/harness/codex-review.js +41 -6
  24. package/dist/backend/templates/harness/reviewer-agent.js +1 -0
  25. package/dist/shared/constants.js +15 -1
  26. package/dist/shared/types/app-settings.js +4 -3
  27. package/dist/shared/types/codex-hook.js +1 -0
  28. package/dist/shared/types/session.js +44 -0
  29. package/dist/shared/validation/artifact-check.js +1 -0
  30. package/dist-frontend/assets/index-BavJjWQY.js +92 -0
  31. package/dist-frontend/assets/index-CR1EOe-w.css +32 -0
  32. package/dist-frontend/index.html +2 -2
  33. package/docs/ARCHITECTURE.md +1 -0
  34. package/docs/TESTING.md +82 -0
  35. package/docs/cc-best-practices.md +1 -0
  36. package/docs/codex-review-gates.md +88 -45
  37. package/docs/full-harness-baseline.md +1 -1
  38. package/docs/gateway-design.md +5 -4
  39. package/docs/known-issues.md +1 -0
  40. package/docs/product-design.md +28 -11
  41. package/docs/vcm-cc-best-practices.md +15 -5
  42. package/package.json +1 -1
  43. package/dist-frontend/assets/index-C9l94uxA.js +0 -92
  44. 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 and materializes it in code scaffolding with
198
- contract comments and `VCM:CODE` placeholders.
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 scaffolding.
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
- - file-level responsibilities, logic boundaries, collaborators, and non-goals
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`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-coding-master",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Local GUI session cockpit for Claude Code role sessions.",
5
5
  "type": "module",
6
6
  "files": [