Skip to content

Commit 7ab456c

Browse files
committed
fix(config): validate surviving batch values through one mutation flow
1 parent 345b223 commit 7ab456c

11 files changed

Lines changed: 1136 additions & 1073 deletions

‎config/assertion-safety-baseline.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2364,9 +2364,9 @@ src/cli/command-options.ts 1
23642364
src/cli/command-secret-gateway.ts 2
23652365
src/cli/command-secret-targets.ts 2
23662366
src/cli/completion-runtime.ts 4
2367-
src/cli/config-cli-input.ts 3
2367+
src/cli/config-cli-input.ts 2
23682368
src/cli/config-cli-path.ts 6
2369-
src/cli/config-cli-runner.ts 7
2369+
src/cli/config-cli-runner.ts 3
23702370
src/cli/config-cli.ts 8
23712371
src/cli/config-model-validation.ts 7
23722372
src/cli/config-set-input.ts 2

‎docs/cli/config.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ SecretRef assignments are rejected on unsupported runtime-mutable surfaces (for
226226

227227
Batch parsing always uses the batch payload (`--batch-json`/`--batch-file`) as the source of truth; `--strict-json` / `--json` do not change batch parsing behavior.
228228

229+
Batch assignments apply in order, then validation checks the final config. A SecretRef replaced by a later assignment is not resolved or counted in dry-run output, even with `--allow-exec`. Providers that remain in a changed provider collection still receive command-path trust checks.
230+
229231
JSON path/value mode also works for SecretRefs and providers directly:
230232

231233
```bash

0 commit comments

Comments
 (0)