docs: describe the implemented sandbox architecture
CI / build (push) Successful in 1m40s
CI / test (push) Skipped
CI / publish (push) Skipped
CI / snap (push) Successful in 2m39s
CI / release (push) Skipped

Update the design doc to the shipped shape: the public API, the module
layout, the crate-private Unshare constructors and what the conformance
tests actually cover. Refresh the AGENTS.md scope list and the test
mode wording in the README and CLI.

Rename the last context-named helpers (new_with_base,
unshare_test_sandbox, RunEnv) and the comments that still described the
old abstraction.
This commit is contained in:
vhaudiquet committed 2026-11-24 18:35:17 +01:00
1 parent d5bf2ceeb3
commit 674b99b00b
17 files changed
+207 -214

No files matched your search

+3 -2
View File
@@ -46,8 +46,9 @@ Rules:
- `new` — package scaffolding (`src/new/`)
- `lint` — tree linting (`src/lint/`)
- `prune`, `package_info` — remaining subcommand modules
- `context` — build contexts: local, ssh, chroot/schroot, unshare
(`src/context/`)
- `sandbox` — the build environment trait, host and unshare backends,
staging (`src/sandbox/`)
- `exec` — subprocess line capture and host process helpers (`src/exec.rs`)
- `interrupt` — Ctrl+C interception and interrupt-time cleanup
(`src/interrupt.rs`)
- `debian` — Debian format primitives: control, versions, checksums,