Strata: serverless version control on S3
Git was built for distributed open-source work. Large regulated organizations need something slightly different: every change tied to a work item, rules pushed down from the top, permissions written as policy, and an audit trail nobody can quietly rewrite. Strata is a prototype of that, built entirely from serverless AWS parts.
What it versions
Code and docs, but also the things that increasingly need version control in the same way: configuration, prompts and agent skills. Teams version bottom-up as usual. Every change carries structured work-tracking metadata (Jira keys or other trackers, labels, attributes) that can be searched across every repository and synced to external systems.
How it is built
- Storage: content-addressed objects on S3, keyed by SHA-256, verified by S3 on upload and written once.
- Index: DynamoDB holds repositories, refs, changes, the work-item index and the audit chain. Refs move with compare-and-swap, so concurrent pushes never corrupt history.
- API: an HTTP API with JWT auth in front of a Go Lambda on arm64. Users come from Cognito, with MFA required.
- Events: a DynamoDB stream feeds the ledger, which archives to S3 under Object Lock and publishes to EventBridge, so events are never lost. Jira sync hangs off EventBridge.
- Clients: a
strataCLI and a React web console.
Features that set it apart
Work items as first-class metadata
A message like PAY-42 round half-even links the change to PAY-42
automatically. Tickets and labels can be added later as annotations without rewriting history,
and strata find --work-item PAY-42 searches every repository.
Layers
An org → business unit → team → repository cascade. A platform team publishes a Layer whose
files are locked (CI config nobody may change), override or append
(an AGENTS.md every team extends). A repository created with
--extends org-rules inherits them.
Policy-as-code permissions
Permissions are Cedar policies, versioned in a Strata repository, with groups from Cognito and
Layer-aware resources. Until the policy repository has a change on main, only admins
can do anything: it fails closed. Protected refs require four-eyes approval bound to a revision;
authors never count as approvers.
A ledger you can verify
Every write is recorded in a hash chain and archived under S3 Object Lock. Every 15 minutes an
anchor signs a Merkle root of all chain heads with KMS, adds an RFC 3161 timestamp and chains it
to the previous anchor. strata audit --verify --anchor-key catches a rewritten
history.
Break-glass without standing admins
Emergency access is a time-boxed grant (ticket, scope, at most four hours, fresh MFA), enforced outside Cedar so no policy can lock everyone out. Every use is tagged in the ledger and must be reviewed by another admin.
A way out
strata export writes a repository as plain Git plus an evidence sidecar: sealed
changes, trees, ledger, anchors, annotations and approvals. An independent verifier proves it
complete and unaltered, offline.
Where it stands
The MVP above works: CLI and console, three-way pull, server-side branch merges, Layers, Cedar, four-eyes, break-glass, the anchored ledger and export. A warm standby in a second Region was built and drilled (a switchover took about 20 seconds of no writes, with no data loss), then removed to keep costs down for a side project. Today only the public site runs; integration tests deploy a throwaway stack and always tear it down. Next on the roadmap: client-side conflict resolution for branch merges, wave rollouts, a Git bridge, signed provenance for agent changes, and pipeline configuration inherited through Layers with Lambda MicroVMs as runners.