A Laravel repository with Larapilot installed, on any of the four git hosts, its deploy branch, the PHP version
and database it needs, the staging site where the deploy branch runs, and the people on it, each with a role
there: PM, developer or client. An administrator creates it and Studio gives it a key (shop-k2mx7p)
that names its hosts and its place on the server. Its page has tabs for the workspace, the repository, the
infrastructure and the access of the person's role, and for administrators its settings. Studio itself never
commits to the repository: people and their agents do, with their own accounts.
One clone per person × project on the server, under a Linux user of that person: the repository on the deploy
branch, dependencies installed, a database of its own copied from the project site, Claude Code running with
that person's credential, the bridge. Served at <user>-<key>.<domain>. A PM
has one just like a developer: the skills that write the PRD or approve a story need a checkout to commit to.
A Claude Code session inside the workspace, kept by Studio with its transcript and its session id, so it resumes days later with its memory. Several conversations can live in one workspace; each is a separate session. A conversation may also run in a sandbox: a copy of the workspace on its own branch, with its own database and preview.
A small Node service inside the workspace. Studio sends it the person's message; it drives claude
in stream-json mode, posts every event back to Studio, and holds a permission question until the
person answers it. Zero dependencies, one process per conversation, released after an idle period.
The deploy branch, served by the same server at <key>.<domain>. Studio creates it
when the project is created, registers a push webhook on its git host, and redeploys it on every push to the
deploy branch.
Its Larapilot dashboard is what the PM watches; its API feeds the Board; its database seeds new workspaces.
Where things live#
| Place | What runs there | What is stored there |
|---|---|---|
| Browser | Studio's interface: Home, the projects with their tabs, the chat, and next to it the preview, the changes and the history, a terminal and an editor; the tools; the administration | Nothing but the session cookie |
| The server | Caddy, Studio (Laravel 13 + Reverb), PHP-FPM pools, MariaDB and PostgreSQL, redis; one Linux user per person for their workspaces, one per project for its site; a bridge service per workspace | Accounts, projects, transcripts, permission decisions, encrypted tokens; the clones, the databases, each person's Claude login in their home |
| Outside | The git hosts: GitHub, GitLab, Bitbucket Cloud and Azure DevOps (repositories, pull requests, the push webhook); Anthropic (Claude Code with each person's subscription or key); the clouds and services of the connectors | Code, the tokens each person created, the servers |