|
| 1 | +# ForkCell Runtime Fork |
| 2 | + |
| 3 | +This repository is BeforeWire's pinned OpenShell runtime fork for ForkCell. |
| 4 | + |
| 5 | +ForkCell is the control plane for governed agent execution cells: checkpoint, |
| 6 | +governed run, receipt, then accept, restore, or fork. OpenShell remains the |
| 7 | +runtime enforcement layer for sandbox lifecycle, filesystem/process policy, |
| 8 | +egress/L7 policy, credentials, and OCSF/log events. |
| 9 | + |
| 10 | +## Pinned Runtime |
| 11 | + |
| 12 | +- Branch: `forkcell-workspace-substrate` |
| 13 | +- Runtime tag: recorded in `beforewire/forkcell/patches/openshell.lock` |
| 14 | +- Runtime commit: recorded in `beforewire/forkcell/patches/openshell.lock` |
| 15 | +- ForkCell repo: `https://github.com/beforewire/forkcell` |
| 16 | +- Upstream base: `f23c2c8e84193beac5c35af8cd80276b60b8dbd4` |
| 17 | + |
| 18 | +## Patch Scope |
| 19 | + |
| 20 | +The ForkCell patch adds a typed Docker workspace substrate contract: |
| 21 | + |
| 22 | +- accepts `docker.workspace` config with `type: forkcell_overlay`; |
| 23 | +- mounts a named workspace backing volume at a private runtime path; |
| 24 | +- passes workspace substrate metadata to the supervisor; |
| 25 | +- prepares/chowns overlay runtime directories before privilege drop; |
| 26 | +- keeps OpenShell policy, egress, credential, and OCSF paths unchanged. |
| 27 | + |
| 28 | +## Non-goals |
| 29 | + |
| 30 | +- This fork does not replace upstream OpenShell. |
| 31 | +- This fork does not add business-semantic policy evaluation. |
| 32 | +- This fork does not claim full sandbox lifecycle latency is `0ms`. |
| 33 | +- This fork only enables ForkCell's fast workspace restore substrate. |
| 34 | + |
| 35 | +## Validation |
| 36 | + |
| 37 | +ForkCell's public-preview docs report: |
| 38 | + |
| 39 | +- native overlay `restore_sync_ms`: `0ms` for validated profiles; |
| 40 | +- correctness matrix: `7/7` cases passed; |
| 41 | +- policy smoke: deny host, allow GET, and L7 deny passed; |
| 42 | +- README-path tiny demo: checkpoint mark `0ms`, restore duration `0ms`, |
| 43 | + total restore path `783ms` including OpenShell sandbox lifecycle and log |
| 44 | + collection. |
| 45 | + |
| 46 | +See `beforewire/forkcell` for the user-facing README, receipts, and preview |
| 47 | +testing plan. |
0 commit comments