1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Parameter Spec: dry::
### Scope
- **Element:** `parameter/dry`
- **Source:** `docs/cli/param.md#parameter--2-dry`
- **Prefix:** `EC-`
- **Minimum cases:** 3
### Case Index
| ID | Name | Category | Status |
|----|------|----------|--------|
| EC-05 | dry_one_shows_preview_no_write | nominal | ✅ |
| EC-06 | dry_zero_executes_normally | nominal | ✅ |
| EC-07 | dry_default_is_zero | nominal | ✅ |
---
### EC-05: dry one shows preview no write
- **Given:** An archive is loaded in session state
- **When:** `.archive.save path::"out.json" dry::1` is run
- **Then:** Exit code 0; stdout shows `[DRY RUN]` preview lines; no file created on disk
- **Tests:** `tests/archive_commands_test.rs`
### EC-06: dry zero executes normally
- **Given:** An archive is loaded in session state
- **When:** `.archive.save path::"out.json" dry::0` is run
- **Then:** Exit code 0; file is written to disk; no `[DRY RUN]` prefix in output
- **Tests:** `tests/archive_commands_test.rs`
### EC-07: dry default is zero
- **Given:** An archive is loaded in session state
- **When:** `.archive.save path::"out.json"` is run (no `dry::` specified)
- **Then:** Exit code 0; file is written to disk (same behavior as `dry::0`)
- **Tests:** `tests/archive_commands_test.rs`