docs: simplify and harden OpenShell quickstart#1113
Conversation
This comment has been minimized.
This comment has been minimized.
Mob Review — PR #1113
|
This comment has been minimized.
This comment has been minimized.
|
CHANGES REQUESTED What This PR DoesRewrites How It Works
Findings
Finding Details🟡 F1: Day 2 section uses non-existent
|
OpenShell NET:FAIL stress-test updateI ran a focused stress-test pass for the
This means the safest Day 1 doc shape is still: and the all-inside shape should be treated as future/experimental until the Rust proxy/TLS layer is fixed. 5 Whys
Stress TestsHarness: Environment: Results:
Important distinction: Code ResearchOpenAB dependency shape:
OpenAB Discord path:
OpenAB-owned WebSocket paths:
OpenShell source behavior:
Document ResearchOpenShell official docs explain the model:
This explains why Recommended PR DecisionFor this PR, I recommend we do not claim the all-inside OpenShell shape as the Day 1 supported path. Recommended docs stance: This is the most honest version of the guide:
Future Fix DirectionTo make all-inside OpenShell work, OpenAB needs code-layer work:
|
Summary
Before / After
Review Decisions
openshell sandbox connect,openshell sandbox exec, or an OpenShell-generated SSH route.docker execmay be used only for debugging; it is not proof of the OpenShell sandbox/proxy/policy path.openshell/Dockerfile.kirois an OpenShell-specific wrapper around the existing default OpenAB/Kiro image.openshell/Dockerfileis no longer changed in this PR. The PR file list now has no changes to the existing native sandbox image.Changes
docs/openshell.mddocs/adr/openshell-openab-preset-module.mdopenshell/Dockerfile.kiroHOME=/sandboxand writable/sandboxruntime paths..github/workflows/build-operator.ymlghcr.io/openabdev/openab-kiro-sandbox..github/workflows/docker-smoke-test.ymlopenshell/Dockerfile*.Prior Research
https://docs.nvidia.com/openshell/reference/policy-schema
https://docs.nvidia.com/openshell/get-started/tutorials/first-network-policy
--credential API_KEYcan read from the host environment and attach credentials to sandboxes.https://docs.nvidia.com/openshell/sandboxes/manage-providers
https://kiro.dev/docs/cli/privacy-and-security/firewalls/
https://kiro.dev/docs/cli/authentication/
https://docs.discord.com/developers/events/gateway
Testing
git diff --checkgit diff --exit-code origin/main...HEAD -- openshell/Dockerfiledocker build -t openab-kiro-sandbox-pr1113 -f openshell/Dockerfile.kiro .docker run --rm --entrypoint sh openab-kiro-sandbox-pr1113 -lc 'printf "user=%s home=%s pwd=%s\n" "$(id -un)" "$HOME" "$PWD"; command -v openab; command -v kiro-cli; test -d /sandbox/.local/share/kiro-cli; test -d /sandbox/.kiro; test -w /sandbox/tmp'user=sandbox,home=/sandbox,pwd=/sandbox,/usr/local/bin/openab, and/usr/local/bin/kiro-cli.openshell 0.0.70.oab.openshell policy set ... --wait.openshell sandbox exec, not rawdocker exec, that the sandbox user,/sandbox, token injection,openab, andkiro-cliwere present.Still Pending
This PR is not claiming final OpenShell/macOS success yet. The next E2E run needs human Kiro device-flow approval, then must prove:
kiro-cli whoamisucceeds inside the OpenShell sandbox.openab run -c /sandbox/config.tomlis launched through OpenShell.discord bot connected.Risks / Notes