vibe-coding-master 0.3.2 → 0.3.3
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/dist/backend/adapters/claude-adapter.js +4 -1
- package/dist/backend/api/round-routes.js +1 -0
- package/dist/backend/server.js +10 -7
- package/dist/backend/services/app-settings-service.js +56 -1
- package/dist/backend/services/codex-review-service.js +45 -107
- package/dist/backend/services/round-service.js +78 -3
- package/dist/backend/services/session-service.js +43 -20
- package/dist/backend/templates/harness/codex-review.js +7 -30
- package/dist/shared/types/session.js +10 -1
- package/dist-frontend/assets/{index-BavJjWQY.js → index-OPkFuHRf.js} +29 -29
- package/dist-frontend/index.html +1 -1
- package/docs/codex-file-translation-plan.md +618 -0
- package/docs/codex-review-gates.md +30 -16
- package/package.json +1 -1
|
@@ -305,11 +305,17 @@ Codex review outputs live under:
|
|
|
305
305
|
.ai/vcm/codex-reviews/requests/<request-id>.json
|
|
306
306
|
```
|
|
307
307
|
|
|
308
|
-
VCM
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
VCM stores Codex Review Gate switches outside the repository in the global
|
|
309
|
+
`~/.vcm/settings.json` file as one VCM-wide selected gate list. The
|
|
310
|
+
project-local `.ai/codex/config.toml` must not store gate enablement, VCM must
|
|
311
|
+
not key these switches by project or task, and VCM must not create a separate
|
|
312
|
+
Codex review settings file for them.
|
|
313
|
+
|
|
314
|
+
VCM owns `.ai/vcm/codex-reviews/index.json` as task runtime state. It mirrors
|
|
315
|
+
the global settings enablement marker, active gate, gate status, report path,
|
|
316
|
+
decision, input hash, execution error, skip / override reason, and timestamps.
|
|
317
|
+
PM reads this state through VCM turn context or the `vcm-codex-review-gate`
|
|
318
|
+
skill; PM must not infer Codex state from report files alone.
|
|
313
319
|
|
|
314
320
|
The `.ai/codex/` directory is VCM-managed runtime configuration for the fifth
|
|
315
321
|
role. It should contain:
|
|
@@ -341,11 +347,9 @@ The managed block should include the Codex reviewer role, evidence sources,
|
|
|
341
347
|
three gate-specific review criteria, finding format, and write constraints.
|
|
342
348
|
Project-local custom notes may live outside the block.
|
|
343
349
|
|
|
344
|
-
`.ai/codex/config.toml` is VCM-owned
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
so the VCM Codex adapter reads this file and maps supported keys to the Codex
|
|
348
|
-
CLI invocation.
|
|
350
|
+
`.ai/codex/config.toml` is stable VCM-owned Codex Reviewer permission
|
|
351
|
+
configuration. It must not contain Codex Review Gate switches, default
|
|
352
|
+
`command = "codex"` boilerplate, or model / effort values that the VCM UI owns.
|
|
349
353
|
|
|
350
354
|
`.ai/codex/.codex/config.toml` and `.ai/codex/.codex/hooks.json` are the
|
|
351
355
|
Codex CLI project-level hook configuration. Because VCM starts Codex with
|
|
@@ -380,6 +384,9 @@ root using a relative path:
|
|
|
380
384
|
".ai/codex" = "read"
|
|
381
385
|
".ai/vcm/codex-reviews" = "write"
|
|
382
386
|
"**/*.env" = "deny"
|
|
387
|
+
|
|
388
|
+
[permissions.vcm_codex_reviewer.network]
|
|
389
|
+
enabled = true
|
|
383
390
|
```
|
|
384
391
|
|
|
385
392
|
With `--cd <taskRepoRoot>/.ai/codex`, `../..` points back to
|
|
@@ -455,10 +462,16 @@ codex \
|
|
|
455
462
|
--sandbox workspace-write \
|
|
456
463
|
--ask-for-approval never \
|
|
457
464
|
--dangerously-bypass-hook-trust \
|
|
458
|
-
--
|
|
459
|
-
--
|
|
465
|
+
--search \
|
|
466
|
+
--model <model-selected-in-VCM-UI> \
|
|
467
|
+
--config model_reasoning_effort="<effort-selected-in-VCM-UI>"
|
|
460
468
|
```
|
|
461
469
|
|
|
470
|
+
VCM omits `--model` or `model_reasoning_effort` when the user selects
|
|
471
|
+
`Default`, letting Codex CLI use its account or CLI default. `--search` enables
|
|
472
|
+
Codex CLI's native web search tool for reviewer checks that need current
|
|
473
|
+
external context.
|
|
474
|
+
|
|
462
475
|
Starting from `.ai/codex` causes Codex to load `.ai/codex/AGENTS.md` through
|
|
463
476
|
its normal `AGENTS.md` discovery path and `.ai/codex/.codex/hooks.json` through
|
|
464
477
|
the Codex project hook path. VCM sends the gate prompt into this terminal,
|
|
@@ -477,10 +490,11 @@ connected active task and contains three independent toggles:
|
|
|
477
490
|
- Validation Adequacy
|
|
478
491
|
- Final Diff
|
|
479
492
|
|
|
480
|
-
All three toggles default to `off`. Turning on any gate writes
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
`
|
|
493
|
+
All three toggles default to `off`. Turning on any gate writes the selected
|
|
494
|
+
global gate list to `~/.vcm/settings.json`. Turning all gates off stores an
|
|
495
|
+
empty selected gate list. VCM then mirrors this global setting into the active
|
|
496
|
+
task's `.ai/vcm/codex-reviews/index.json` as runtime state for PM/tool
|
|
497
|
+
consumption.
|
|
484
498
|
|
|
485
499
|
The task workspace must not show a separate Codex Review Gates panel. The UI
|
|
486
500
|
does not expose manual `Run`, `Run Again`, `Retry`, `Skip`, or `Override`
|