vibe-coding-master 0.3.2 → 0.3.4

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.
@@ -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 owns `.ai/vcm/codex-reviews/index.json`. It records the enablement marker,
309
- active gate, gate status, report path, decision, input hash, execution error,
310
- skip / override reason, and timestamps. PM reads this state through VCM turn
311
- context or the `vcm-codex-review-gate` skill; PM must not infer Codex state from
312
- report files alone.
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 launch configuration. Codex does not
345
- natively discover arbitrary `.ai/codex/config.toml` files the way it discovers
346
- `$CODEX_HOME/config.toml` or layered `$CODEX_HOME/<profile>.config.toml` files,
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
- --model <model-from-.ai/codex/config.toml> \
459
- --config model_reasoning_effort="<effort-from-.ai/codex/config.toml>"
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 it into
481
- `.ai/codex/config.toml` under `[vcm.codex_review].required_gates` and sets
482
- `enabled = true`. Turning all gates off writes `enabled = false` and
483
- `required_gates = []`.
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`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-coding-master",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Local GUI session cockpit for Claude Code role sessions.",
5
5
  "type": "module",
6
6
  "files": [