Skip to content

Default to approval always with full-access sandbox and propagate policy uniformly - #42

Merged
SiliconState merged 7 commits into
mainfrom
approval-default-full-access
Aug 21, 2026
Merged

Default to approval always with full-access sandbox and propagate policy uniformly#42
SiliconState merged 7 commits into
mainfrom
approval-default-full-access

Conversation

@SiliconState

Copy link
Copy Markdown
Owner

Pushes local commit 98192ed via PR because main requires 3 status checks.

…icy uniformly

- A no-argument run now equals `--sandbox-profile danger-full-access
  --approval always`; ask/auto-read/auto-write/never and
  read-only/workspace-write remain explicit opt-ins.
- Resolve approval/sandbox policy once at startup: invalid or non-Unicode
  DEXT_APPROVAL/DEXT_TRUST warn and fail safe to ask; invalid
  DEXT_SANDBOX_PROFILE fails startup unless a CLI override wins.
- Rework --eval parsing (flag plus one optional case name, conflicts
  rejected) and run the eval harness, hooks, diagnostics, eval commands,
  and every pack-runtime event under the selected sandbox profile.
- Full-access subprocess launches skip sandbox scratch and preserve
  ambient temp/cache configuration; confined profiles keep private
  scratch and native enforcement.
- Add a native Windows ConPTY real-binary smoke test (launch, /status
  default-policy check, clean exit, terminal restoration) with a
  deadlock-free bounded background output reader; require it in CI and
  release workflows alongside the Unix PTY suite.
- Add regression tests for policy resolution precedence, non-Unicode
  environment fail-safety, eval CLI forms, always-profile host-operation
  approval, and the full-access no-scratch fast path.
- Update README, SECURITY, CHANGELOG, CONTRIBUTING, docs site, focused
  guides, and the risk register to the ambient-authority trust model;
  track first Windows-host CI evidence for the ConPTY harness as open.
…and sync docs and risk register with Windows ConPTY evidence
@SiliconState
SiliconState merged commit f032747 into main Aug 21, 2026
4 checks passed
@SiliconState
SiliconState deleted the approval-default-full-access branch August 21, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant