44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
---
|
|
status: partial
|
|
phase: 02-env-audit-and-cli-polish
|
|
source: [02-VERIFICATION.md]
|
|
started: 2026-04-09T17:30:00Z
|
|
updated: 2026-04-09T17:30:00Z
|
|
---
|
|
|
|
## Current Test
|
|
|
|
[awaiting human testing]
|
|
|
|
## Tests
|
|
|
|
### 1. Visual Audit Display
|
|
expected: Run `claudebox` without `--yes` — see grouped sections (Sandbox-generated, Host allowlisted, Extra), PATH split by colon, sensitive values masked, Y/n prompt on stderr
|
|
result: [pending]
|
|
|
|
### 2. Dry-Run Output
|
|
expected: Run `claudebox --dry-run` — full bwrap command prints to stderr, does not execute
|
|
result: [pending]
|
|
|
|
### 3. Check Mode
|
|
expected: Run `claudebox --check` — colored OK/FAIL/WARN output for bwrap, claude, git, curl, nix, ~/.claudebox, ANTHROPIC_API_KEY
|
|
result: [pending]
|
|
|
|
### 4. Non-Interactive Abort
|
|
expected: Pipe input to `claudebox` (e.g., `echo | claudebox`) — aborts with error telling user to pass `--yes`/`-y`
|
|
result: [pending]
|
|
|
|
### 5. Yes Flag Skip
|
|
expected: Run `claudebox --yes` or `claudebox -y` — skips audit display and confirmation, launches immediately
|
|
result: [pending]
|
|
|
|
## Summary
|
|
|
|
total: 5
|
|
passed: 0
|
|
issues: 0
|
|
pending: 5
|
|
skipped: 0
|
|
blocked: 0
|
|
|
|
## Gaps
|