Skip to content

Add an openshell-policy extension to the OpenShell quickstart - #531

Merged
cj-ant merged 1 commit into
mainfrom
claude/project-thread-grtaef
Nov 2, 2026
Merged

cj-ant merged 1 commit into
mainfrom
claude/project-thread-grtaef

Conversation

@cj-ant

@cj-ant cj-ant commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Human: @cj-ant

Requested by CJ · project thread

Adds managed-agents/self-hosted-sandboxes/openshell-policy/, which extends the OpenShell demo with per-agent network policy. A person signs a ceiling, each sandbox starts with the least access, and OpenShell's prover decides every change. A Discover phase grows rules, a frozen Run phase keeps them, and promote and shrink produce diffs a person merges. It also adds a kill switch and a ledger of policy decisions.

openshell/on-work.sh gains an optional ON_WORK_HOOK, and a new openshell-policy workflow runs the tests and shellcheck.

Tested with 241 unit tests, including against the real openshell-prover 0.1.2. The full demo and stop/resume on live sessions have not been run, because they need API credentials.

The code works around a difference between how OpenShell 0.1.2's prover and enforcer read deny rules. See ARCHITECTURE.md.


Generated by Claude Code

@cj-ant cj-ant self-assigned this Oct 30, 2026
@cj-ant
cj-ant merged commit 8ef47d7 into main Nov 2, 2026
8 checks passed
@cj-ant
cj-ant deleted the claude/project-thread-grtaef branch November 2, 2026 14:11
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.

2 participants