Trustworthy sandbox attestation: durable operations, applied-state snapshots, complete observations, and exact cleanup receipts #2661
rcs2153
started this conversation in
Design Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello OpenShell maintainers,
We are evaluating NVIDIA OpenShell as an optional execution-containment
provider for a local-first workflow governance kernel. Our system decides
whether an operation may execute and which evidence must return; OpenShell
would remain responsible for sandbox lifecycle and the filesystem, process,
network, inference, and platform controls it actually enforces.
We reviewed OpenShell
v0.0.101at exact source commit8ddd98c3dff62619a3963f99ba1e055b67650e72. The current APIs already exposeuseful typed facts, including gateway-owned sandbox identity and resource
version, committed structured policy, effective policy content and revision,
configuration revision, policy source and failure mode, sandbox-reported
policy-load status, driver runtime object identity, and the final exit code for
one connected exec stream.
For a restart-safe execution receipt, we could not identify authoritative API
facts for several other lifecycle boundaries:
ambiguous transport result;
resolution;
active gateway, driver, and platform;
binding, complete terminal semantics, and restart lookup;
event and drop counts, finalization posture, integrity commitment, and a
stable reference;
and
We do not think callers should infer those facts from requested configuration,
human CLI text, a live stream alone, or partial log records. The component that
enforces or observes a fact should expose it authoritatively and bind it to
stable resource and operation identities.
Would a lifecycle model like the following align with OpenShell's direction?
The names are illustrative. Some of these semantics may fit better as fields
or operations on existing resources.
The properties we care about are:
commitment;
fails closed;
composed and loaded policy;
actually applied;
known drops and finalization state;
sandbox disappears; and
than a compile-time support claim.
For one narrow motivating use case, imagine a fixed no-write CI/governance
operation in a sandbox with no credentials and default-deny networking. A
caller wants to prove that the reviewed policy and immutable image were
applied, the fixed operation reached a typed terminal outcome, one deliberate
egress denial appears inside a complete observation interval, and the exact
sandbox reached terminal cleanup. Raw stdout, stderr, policy, environment, and
security logs should remain outside the caller's governance state; stable
references, commitments, bounded counts, and typed postures are sufficient.
We would value guidance on these questions:
first-class durable resources?
reconciliation survives gateway or client restart within a declared
retention period?
applied-control/degradation snapshot across supported platforms?
watermarks, event and drop counts, integrity commitment, and retrieval
posture?
inputs without exposing sensitive values as retrievable metadata?
independently useful issues, or a different incremental sequence?
We are not asking OpenShell to adopt workflow approvals, evidence ledgers,
reports, or any Workflow OS-specific model. We are also not proposing a fork,
a custom runtime distribution, arbitrary provider writes, or a production
security claim. Our intent is to understand whether general-purpose,
enforcer-owned lifecycle attestation belongs upstream and where maintainers
would want those boundaries.
Source references for the reviewed pin:
v0.0.101commitThank you for any direction on fit, preferred API shape, or work already in
progress that addresses these gaps.
All reactions