How Cobble handles your code
No Cobble cloud. Your code goes only to the AI provider you already use, and to your code host. Each section starts with the short answer. The detail under it is for your engineers and your security team.
- Runs on
- Machines you choose, with no Cobble cloud
- Your code goes to
- Your AI provider and your code host
- Merges
- Under your rules: on green CI by default
- Spend
- Capped per ticket and per day
Where Cobble runs
Cobble is one program, cobble, and a local web app it serves, the hub. It runs on macOS, Linux and Windows, on an engineer's machine or a server of your own. The agents it starts run on the same machine, as the same user.
The hub listens on 127.0.0.1, so only its own machine can open it. To open it from another device, publish it over your Tailscale network, or bind it to another address, which then requires a token on every request.
With several machines, each hub can report to a central hub you run yourself. Every 30 seconds it sends its host name, its version, its address and each repository's status. It sends no ticket text, no code and no credentials.
The installer and cobble update check every download against the published checksums. An update never uses sudo.
What leaves the machine
| Where it goes | What goes | When | Your control |
|---|---|---|---|
| Your AI provider | The ticket, the code and files the agent reads, its commands' output and what it sees in the browser | Every agent call | The tool and the account you choose |
| Your code host | Branches, commits, pull requests, comments and screenshots | On delivery | Your remote and your sign-in |
| Your tracker | Status changes, labels and comments | As the work moves | QA_NOTES, GRILL_COMMENTS |
| Cobble's license service | Your license key and the installation's id | Once a day | Needed while a license is in use |
| Cobble's update service | A check for a newer release | Once a day | UPDATE_CHECK=0 |
| Cobble's assessment service | Ticket text and the inputs listed under What reaches us | Only when turned on | AI_ASSESSMENT, off by default |
| Cobble's maintainers | A defect report the Assistant drafted | Only when you press Send | ASSISTANT_REPORTS, off by default |
Your AI provider
Cobble has no model of its own and doesn't call model APIs. It runs each provider's own command-line tool, signed in as the user who runs the hub, and that tool sends what the agent works with to its provider.
- The provider you set. Runs use the tool in
PROVIDER, Claude Code unless you change it. A fallback (FALLBACK_PROVIDERS) or a panel of checkers from other vendors (VERIFY_PANEL) brings in another tool only when you list it. - The Assistant has its own setting,
ASSISTANT_PROVIDER, and runs on Claude Opus 5.5 unless you change it.ASSISTANT=0turns it off. - No private endpoints. Cobble has no setting for one. If a tool supports a private model endpoint, it's set up in that tool, and it hasn't been tested through Cobble.
- Your database's rows stay out. The Data page's question agent sees the schema and row counts of your development database, never row values. If you turn on
DATA_ASK_SAMPLES, the rows its queries return go to your provider.
What reaches us
The license
The hub keeps a signed license token and works offline from it. Once a day it refreshes the token from Cobble's license service, which receives your license key and the installation's id. If the service can't be reached, work goes on through a grace period.
Jira sign-in
When you sign the hub in to Jira, the sign-in passes through the license service. To keep it between the hub and Atlassian, register your own Atlassian OAuth app, or connect with an API token.
Updates
Once a day the hub asks whether a newer release exists. UPDATE_CHECK=0 turns the check off.
The AI assessment
Off by default, and one switch for the whole hub. Turned on, it scores each ticket's complexity and readiness. For that it sends ticket titles, descriptions and comments, a failed check's evidence, the text of recalled lessons, the packages your repository declares, interview questions with their options, and proposed tickets beside the titles and descriptions of existing ones. The service doesn't keep that content.
Crash reports
Crash reports go out only from a build that carries a crash-report address, and cobble doctor says whether yours does. A report holds the stack trace, the error, the version, the operating system and a random installation id, never your name or email. CRASH_REPORTS=0 or DO_NOT_TRACK=1 turns them off.
Defect reports
When the Assistant concludes that a problem is a defect in Cobble itself, it drafts a report: the version and platform, the failure, the last events and log lines, and its diagnosis. Every known secret is masked, and the report carries no transcript, image, attachment or setting value. It's sent only when you press Send, unless you turn on ASSISTANT_REPORTS.
Your runs, transcripts, costs, settings and lessons are kept on your machine. See What Cobble keeps.
Access to your code and tracker
| Service | How Cobble signs in |
|---|---|
| GitHub, including Enterprise | Through the GitHub CLI (gh), signed in as the user who runs the hub. Cobble holds no GitHub token of its own |
| Bitbucket Cloud | An API token with pull request scopes, or an OAuth consumer of your own, which reaches only the workspace that created it |
| GitLab, including self-hosted | An access token with the api and write_repository scopes |
| Jira Cloud | A sign-in you approve on Atlassian's consent page, an OAuth app of your own, or an API token |
| Jira Data Center | A personal access token |
| Linear | A sign-in from the hub, or a personal API key |
| Azure DevOps | A personal access token with Work Items (read and write) and Project and Team (read) for Azure Boards, and Code (read, write and manage) and Build (read) to deliver to Azure Repos |
If your self-hosted code host or tracker uses certificates from your own certificate authority, give Cobble that authority's certificate in TLS_CA_FILE.
Cobble picks up a ticket only while it carries the ready label, ready-for-agent unless you change READY_LABEL. Remove the label to take the ticket back. In the tracker, Cobble moves statuses, manages its own labels and posts comments.
On a pull request, Cobble acts on review comments from people it trusts: in a private repository, every commenter; in a public one, members only, plus anyone you list in TRUSTED_REVIEWERS. Feedback from anyone else holds the pull request for you.
Its own copy of the code
- Its own files. The ticket's agents read and write its worktree, under
~/.cobble/worktrees. Your uncommitted work is never stashed or blocked. - Its own app. If the check needs the app running, each worktree serves its own copy on its own port. The App page publishes services on 127.0.0.1 only.
- Its own database. Cobble can give each worktree a copy of your development database, made before setup and dropped when the ticket settles (
WORKTREE_DB).
A worktree is removed when its ticket settles, and the run's diff stays on its run page. A project can instead run every ticket in its one checkout, one at a time (WORKTREES); Cobble then stashes uncommitted work before a run and restores it afterwards.
How the agents run
Claude Code runs with --dangerously-skip-permissions, and Codex with --dangerously-bypass-approvals-and-sandbox. That's what lets a ticket run while nobody watches.
A worktree keeps each ticket's files apart from your own. It doesn't limit what an agent's commands can reach: the machine's files, its network, and the credentials its user holds. With a user account kept for Cobble, a run reaches only what that account can.
Secrets and credentials
- Settings that hold credentials, such as
AZURE_PAT, are write-only in the hub: once saved, the Settings page and the hub's API only report that they're set. On the machine, they're kept in the hub's database, andcobble config getprints them. - Ticket secrets (
cobble secret set) reach that ticket's agents as environment variables, and no command prints them back. A repository can allow an audited reveal withSECRET_REVEAL=admin; each reveal needs a reason and is logged without the value. - The license key is read from standard input, so it never shows in the process list.
- QA account passwords for the browser check are prompted for or read from standard input, never passed as arguments, and never printed.
- Team settings you export to share through the repository never include credentials or personal settings.
- Support bundles from
cobble dumpare not redacted. Read one before you send it anywhere.
Approval before merge Configurable
| You want | Set | Result |
|---|---|---|
| Merge on green CI, the default | DELIVERY=automerge | The pull request merges once its checks pass |
| A person to decide | DELIVERY=stop | The run holds at the pull request once CI is green. Approve merges it, Reject with notes starts a fix round, and a merge on your code host settles it |
A queued ticket can follow the repository's choice or set its own. Your code host's rules always apply: where branch protection requires a review, the merge waits for it. When the repository has no CI that would run on the pull request, Cobble merges with a warning, unless REQUIRE_CI=1 makes it wait; EXPECTED_CHECKS names checks that must be present and green.
Merge settings can be committed for the whole team. If a machine's settings disagree with that file, cobble doctor fails and the queue holds until someone acknowledges the difference.
Before any of this, a separate agent, started fresh, checks the change against the ticket, runs your tests and code checks, and drives the app in a browser when the change has a user interface. A ticket that can't pass is stopped and labeled needs-human, so your reviewers only see changes that passed.
A record of every run
- The pull request carries the check's verdict, with each acceptance criterion and what the check found, the result of every code check, and captioned screenshots. A step that didn't run says so. A browser check that wasn't done is never reported as a pass.
- The ticket gets a QA report with the verdict and, on delivery, the link to the pull request, unless you turn off
QA_NOTES. - The run page in the hub keeps the whole record, with the agents' transcripts. The diff stays after the branch and the worktree are gone.
- The Assistant posts every action it takes in its conversation. By itself it takes only reversible ones, up to 10 a conversation, and proposes anything harder to undo for a person to apply.
Cobble records no video.
Cost caps Configurable
A ticket that would go over its cap is stopped and set aside, labeled needs-human with a note. At the daily cap, runs stop across all tickets and hub sessions, interviews included, until the next day or until you raise the cap. Token caps, MAX_TICKET_TOKENS and MAX_DAILY_TOKENS, cover tools Cobble can't price in dollars, such as Kimi.
Cost is calculated from the tokens each phase used, at the model's list price. It isn't taken from a bill. There's no estimate before a run: caps are set in advance, and cost is recorded afterwards, by phase, provider and model.
Which model does the work Configurable
With Claude Code, the build, the check and the repairs run on Opus by default, and picking a ticket, cleanup and the commit run on Sonnet. Every phase's model and effort is a setting, gathered on the hub's Models page.
With the AI assessment on, MODELS_BY_COMPLEXITY=1 runs each ticket under the preset you mapped to its complexity, and moves the rest of the ticket up a band after two failed checks. The assessment sends ticket text to Cobble's assessment service; see What reaches us.
What Cobble keeps
| Where | What |
|---|---|
~/.cobble/cobble.db | The hub's database: settings, runs, the queue, lessons and costs |
~/.cobble/transcripts.db | The agents' transcripts |
~/.cobble/attachments | Files attached to interviews and tickets |
~/.cobble/worktrees | Live worktrees, removed when each ticket settles |
.cobble/runs | Each run's artifacts, in the repository |
| Your pull requests | Screenshots, where your code host takes attachments |
Where attachments aren't possible, screenshots go to a cobble-proofs branch in the repository, and the hub prunes them after 14 days (PROOF_RETENTION_DAYS).
Removing a project or repository in the hub lists what will be deleted, asks you to type its name, and then purges every record and file the hub kept for it.
A security check Planned
Until it ships, your own scanners can hold the merge. Name their checks in EXPECTED_CHECKS, and Cobble waits for them to be present and green. Or add a check of your own in .cobble/checks/ in the repository: one with the severity error blocks the merge.