URL: /docs/overview

---
title: How the pieces fit
description: The path a change takes through Turntable, from trust class to published release, with a link to each control.
---

A change reaches Turntable as a push or a pull request. The controls below apply in this order. Each step narrows what the next one is allowed to do, so a weakness in an early class of work cannot reach a late, privileged one.

```mermaid
flowchart LR
  E[Push or pull request] --> T[Trust class]
  T --> S[Sandbox and egress]
  S --> P[Secrets via the proxy]
  P --> A[Artifacts]
  A --> R[Release lane]
  R --> U[Publishing]
```

## 1. Trust class

Every run gets a class when it is ingested, decided from forge facts and never from pull request text: `untrusted_pr`, `trusted_pr`, `protected` or `release`. Fork pull requests wait for a human. The workflow definition comes from a ref the class allows, and a job on a privileged trigger that checks out untrusted code is demoted before anything starts. See [Trust classes](/docs/security#trust-classes-and-fork-pr-gating) and [Workflow source and taint](/docs/security#workflow-source-and-workspace-taint).

## 2. Sandboxes and egress

Each job runs in its own disposable sandbox from a [provider](/docs/providers). Egress is deny by default, and `untrusted_pr` runs stay at none whatever the project allows. Actions are pinned to a commit sha before the run. A [quota](/docs/configuration#per-org-quotas) caps what one org can use, and the control plane's own outbound requests go through one guarded client. See [Configuration](/docs/configuration#egress) and [Action pins](/docs/security#action-pins-and-moved-tags).

## 3. Secrets through the proxy

Only `protected` and `release` runs can use secrets. A job never holds a raw value: its traffic goes through the [secrets proxy](/docs/secrets-proxy), which adds the credential for rules the [vault](/docs/secrets-vault) allows, per host. A job that gets a GitHub token or a proxy credential is checked from inside its sandbox first, and a [scoped per-job token](/docs/security#scoped-per-job-github-token) is capped by its class. Jobs can also prove who they are with [OIDC](/docs/oidc). Values are sealed under per-org keys, see [Tenant isolation](/docs/tenant-isolation).

## 4. Artifacts

Each artifact records the class of the attempt that made it. A release build consumes nothing a lower class could write, and the [job cache](/docs/cache) keeps classes apart the same way. See [Artifact provenance](/docs/security#artifact-provenance-and-quarantine).

## 5. The release lane

Signing and publishing run in a separate process that holds the signing keys and publish credentials, and the main process does not. The lane re-checks the tag and the artifact digests with the forge, and it needs [human approvals](/docs/security#human-approvals) from enrolled approvers (two people by default for `production` and `release`) before it signs. See [Release lane](/docs/release-lane) and [Signing](/docs/signing).

## 6. Publishing

The lane publishes the bytes it verified to npm, GitHub Releases and a container registry, either itself (strict mode) or by holding the credential while the job pushes (compat mode). Signed provenance goes with them, and anyone can check it with `turntable verify`. See [Publishing](/docs/release-lane#publishing) and [Releases](/docs/releases).

## Around the path

- **Audit.** Every write, denial and approval goes into a per-org hash chain with signed checkpoints. See [Audit log](/docs/security#audit-log-integrity-and-export).
- **Incident response.** `incident freeze` stops scheduling, kills running jobs and flags secrets for rotation. See [Incident response](/docs/security#incident-response).
- **Agents and people.** The web UI, REST, MCP and CLI all use one [operations registry](/docs/agent-interface), so nothing is reachable from only one of them.
- **Tenancy.** Orgs are isolated in the data layer and tested adversarially. See [Architecture](/docs/architecture#tenancy-model) and [Tenant isolation](/docs/tenant-isolation).
