0% read on this device
Browse the curriculum

Start Here

Vision

First Principles

Operating Model

Domain Model

Agent Factory

Runtime Architecture

AI Engineering

Autonomous Workflows

Verification & Delivery

Factory Platform

Quality Engineering

Security & Governance

Case Studies

Labs

Interview Practice

Research Journal

Reference

Curriculum/Runtime Architecture/A focused view of boundaries, contracts, state, authority, failure paths, and tradeoffs drawn from this chapter.
Runtime Architecture5 min readchapter

Sandboxed Execution, Isolation, and Publication Boundaries

An implementation agent executes untrusted generated actions against valuable source code. A worktree prevents branch collision, but it does not contain process, credential, network, resource, or host risk. Conversely, a disposable virtual

Status: Draft for studyRisk: highLifecycle: executeContent reviewed 2026-08-11Maturity guide →
Claim boundaryThis is curriculum guidance. It does not by itself prove a production implementation.
architecture mode

A focused view of boundaries, contracts, state, authority, failure paths, and tradeoffs drawn from this chapter.

Whiteboard exercise

Reconstruct and defend this chapter’s architecture.

Reconstruct the architecture, name each boundary, and defend the tradeoffs.

runtimeharnessenvironment5 min chapter
Open the source exercise

Draw local worktree, container, and remote-VM variants. Mark credentials, network, lease, receipts, quarantine, independent validation, publication, and teardown. Add a worker crash after VM allocation and before journal update.

4. Tradeoffs and alternatives

Local worktrees are fast and observable but share the host. Containers improve process and filesystem isolation but may share a kernel. Remote VMs strengthen host separation at higher latency, cost, provider risk, and orphan complexity. Risk-proportional policy should choose the boundary.

Giving the sandbox publication credentials simplifies the architecture and destroys separation of duties. The outer publication step is more work but keeps untrusted code away from the durable repository write identity.

5. Current Mission Control Implementation

GitHub main includes the codex/v1 adapter contract and Factory host readiness, but not the complete production worker.

Study commit 9d5f8e3 on draft PR #64 implements an attempt-specific local worktree worker. It claims a durable lease, renews heartbeats, validates the frozen worktree and code scope, runs Codex, blocks out-of-scope changes, commits, mints an ephemeral repository-restricted GitHub App token, pushes, and creates or reuses an exact PR. Terminal reporting requires the active matching lease.

Todo 024 records a real GitHub App proof: branch and commit were created, and PR #61 opened with passing checks. The proof required direct control-plane mutations because the browser Mission path could not yet carry all policy and receipt data. The browser-only golden path and complete UI state matrix remain open.

Remote sandbox documents in the local Mission Control folder are uncommitted proposals, not product capability. They define a strong authority and threat model, but the provider proof is blocked because the selected exe.dev plan has zero VM capacity and the Product Owner declined an upgrade. No repository, model, or production credential was sent to a VM.

External review

Review this chapter.

Challenge a claim, boundary, missing failure mode, unclear term, or unsupported evidence statement.

  • Claim
  • Boundary
  • Failure
  • Evidence