You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sec-bus] sandbox: planner covers trusted folder confinement, credential deny_read and pre-admitted local grants #10
Plan2 must express "Seatbelt folder confinement is acceptable when the caller is trusted" (host jail_isolation()), and carry the credential deny_read list for allow-default jails (host credential_denials).
Return pre-admitted local grants so the host stops re-checking tinybox's ResolveLocalGrants output against its own HOME_CREDENTIAL_DIRS/SENSITIVE_* tables. Today three owners hold the protected-path floor (host local_grants.rs, tinybox ResolveLocalGrants, tinysecurity-sandbox/src/grants.rs); make tinysecurity the one (see [core-shrink] adopt: tinybox native-shell helper and backend detection openhuman#377).
Cover SandboxMode::ReadOnly (host maps it to no backend with network allowed — confirm the intended confinement).
resolve_sandbox_policy/apply_requested_backend/command_requires_sandbox are planning; routing/execution/env passthrough stay. Dead ElevatedOp. (branch: partial)
Host re-checks every tinybox grant against its own floor tables. Gap: module returns pre-admitted grants. Host keeps grant_home + config translation. (branch: partial)
Blocked by
None.
Definition of done
The capability above is merged to the canonical repository's main with tests, and (for a release leaf) published with a checksum.toml.
The repository's own CI is green on Linux, macOS and Windows.
OpenHuman's matching host rows can be deleted against this release (tracked by the adoption leaf).
Agent brief
Files to consider: the rows above and the OpenHuman host code they replace (paths in the rows).
Research: the gaps and line references in the Change section; re-read each cited line on current main before editing, the audit is a snapshot.
Activity
senamakel commentedon Oct 25, 2026
Merged in #18 (7a370aa)