Git vs AI, Software Supply Chain Security, Forgejo, Self-Hosted Git, DeltaDB CRDT, Agentic AI Market 2026, Team PCP Attack, NX Console Breach, SpaceX Acquisition.
SpaceX’s $60B Bet on Cursor, and Why Version Control Is Changing Forever
In nine days of June 2026, the most valuable company on the planet bought the fastest-growing software startup ever, a code editor maker quietly proposed retiring the pull request, and a worm tore through npm with a dead man’s switch. These are not three stories. They are one story about who owns the layer where software is written.
// On this page
- The nine days that reset the stack
- Cursor’s origin: four MIT students to $60B
- The margin trap that made Cursor a seller
- AI coding agents and the volume problem
- Where Git quietly breaks under agents
- Zed’s DeltaDB: versioning every operation
- Git vs AI-native version control, compared
- The supply-chain reckoning of 2026
- GitHub alternatives & self-hosted Git
- The GitLab project switch, in practice
- What this means for your team this quarter
- FAQ
The nine days that reset the stack
Start with the timeline, because the speed is the point. SpaceX debuted on Nasdaq on June 12, 2026, raising roughly $75 billion in what was reported as the largest IPO in history and valuing the company above $2 trillion. Four days later, on June 16, 2026, it confirmed an agreement to acquire Anysphere — the company behind the Cursor AI coding editor — in an all-stock transaction valued at about $60 billion, widely described as the largest acquisition of a venture-backed startup ever recorded.
A company used its four-day-old public stock as acquisition currency to buy the most widely deployed AI coding tool on the market. Under the merger terms, Cursor’s common and preferred shares convert into SpaceX Class A stock, with the exchange ratio set by a seven-day volume-weighted average of SpaceX’s share price near closing. The deal is expected to close in Q3 2026, subject to regulatory approval, after which Cursor becomes a wholly owned SpaceX subsidiary.
The option that made this possible was signed back in April 2026: SpaceX secured the right to either buy Anysphere for $60 billion later in the year or pay roughly $10 billion for a partnership, with a sizeable walk-away fee attached. The acquisition feeds SpaceX’s AI division, built around xAI, which it merged with earlier in the year, and which had struggled to dent the frontier market led by Anthropic, OpenAI, Google, and Meta. Buying Cursor is how SpaceX tries to catch up — not by training a better base model, but by owning the surface where developers actually work.
That is the thesis worth holding onto as we go: the value is migrating to the workflow layer. Whoever controls where code is written, reviewed, and stored controls the most valuable real estate in software. And in 2026 that layer is being contested on three fronts at once — ownership, architecture, and trust.
Four MIT students to $60B in under four years
Anysphere was founded in 2022 by four MIT graduates — Michael Truell (CEO), Sualeh Asif, Aman Sanger, and Arvid Lunnemark — and raised an early seed round led by the OpenAI Startup Fund. Cursor, the editor, launched in March 2023. What followed is one of the fastest revenue ramps in the history of business software.
The annual recurring revenue curve tells the story better than any narrative: roughly $100 million in January 2025, about $500 million by mid-year, past $1 billion by November 2025, and $2 billion by February 2026 — with Anysphere projecting north of $6 billion ARR by the end of 2026. By the time of the deal Cursor sat at roughly $4 billion annualized revenue, of which about $2.6 billion came from enterprise customers.
| Milestone | When | Signal |
|---|---|---|
| Founded as Anysphere | 2022 | Four MIT grads, OpenAI Startup Fund seed |
| Cursor editor launches | Mar 2023 | AI-native fork of the editor experience |
| ~$100M ARR | Jan 2025 | Product-market fit at scale |
| Past $1B ARR | Nov 2025 | Series D pegs valuation near $29B |
| $2B ARR | Feb 2026 | Fastest enterprise-software ramp on record |
| SpaceX option signed | Apr 2026 | $60B buy or $10B partnership |
| $60B acquisition confirmed | Jun 16, 2026 | All-stock, days after the IPO |
Reporting also notes the company had rebuffed acquisition interest along the way — Microsoft examined a deal before declining to bid formally, and Cursor’s leadership turned down approaches from OpenAI, having prioritized staying independent. The reach is what made it a target worth $60 billion: tens of thousands of enterprise clients, developers at a large share of the Fortune 500, and on the order of 150 million lines of enterprise code generated daily. That last number is not a vanity metric. It is the reason the version-control story in this article exists at all.
The margin trap that made a $4B company sell
Here is the part the price tag obscures. A business growing toward $6 billion ARR does not usually sell. Cursor did, and the reason is a structural squeeze that every AI application company should study.
Cursor’s product runs on frontier models it does not own. For much of its rise it paid retail API pricing to model providers — most visibly to Anthropic, whose Claude models powered a large share of Cursor’s coding — while those same providers ran their own competing coding products on wholesale economics. When your largest cost input is sold to you at retail by a company that also ships a rival product, your gross margin is structurally capped and partly controlled by a competitor.
The market data made the squeeze visible. Per one widely cited corporate-spending dataset, Cursor’s category share slid from roughly 41% in mid-2025 to about 26% by May 2026, even as its absolute revenue kept climbing — while a model provider’s own coding tool climbed toward half the category. Growing fast and losing share at the same time is the signature of a company winning the demand war and losing the margin war.
If your core cost is a model API and the model vendor ships a competing app, you are renting your unit economics from a competitor. Cursor’s escape was to be acquired by a company that could provide compute at cost and remove the retail-API tax. Most startups will not have a $2-trillion buyer on standby — which is why “own your inference layer” became the defining strategic question of agentic AI in 2026.
SpaceX’s pitch resolves the trap with vertical integration: data-center capacity, energy, and connectivity already inside the group, plus xAI’s models, mean Cursor’s marginal cost of intelligence can in principle drop toward the cost of running it rather than the cost of buying it. Whether that thesis holds through integration is the open question. But the direction of travel is clear, and it points straight at the next problem — what happens when intelligence gets cheap enough to write code continuously.
When code stops being typed and starts being generated
An AI coding agent is not autocomplete. It takes an instruction — “add error handling,” “fix the failing tests,” “migrate this module to the new API” — and rewrites multiple files at once, often across several turns of conversation. The unit of work is no longer a keystroke or even a function. It is an exchange between a human and an agent that produces a burst of edits.
At individual scale this is a productivity story. At population scale it is an infrastructure story. By one estimate, Claude Code alone accounted for around 4% of public commits on GitHub and was projected to exceed 20% of daily commits by the end of 2026. Multiply that across every agent in every editor and the composition of the world’s code history changes: a growing share of it is written by software, prompted by short natural-language instructions, with the reasoning that produced it living in a chat transcript that the version-control system never sees.
This creates a provenance gap. When a human writes code, the “why” lives in their head and, ideally, in the commit message. When an agent writes code, the “why” lives in the prompt and the back-and-forth that shaped it. Git records the final diff and discards the conversation. Six months later, staring at a block of agent-written code, the question “which instruction caused this, and what assumptions was the agent working under?” can be genuinely unanswerable from the repository alone.
That gap is the seam along which next-generation source control is being pried open.
Where Git quietly breaks under agents
Git is one of the most successful pieces of infrastructure ever built, and none of what follows is an obituary. But Git was designed in 2005 around a specific mental model: developers do a meaningful chunk of work, then deliberately save a snapshot — a commit. Everything between commits is invisible to the system by design. That model has a few load-bearing assumptions that agentic development strains.
01 Snapshots discard the steps
Git captures repository state at commit time and throws away the path taken to get there. With agents producing dozens of intermediate edits per instruction, the most useful history — the sequence — is exactly what’s lost.
02 No native ticket or PR
Developers think in tickets and pull requests; Git has no native representation of either. The pull request is a layer bolted on top to reattach a discussion to a snapshot after the fact.
03 References are line numbers
Comments and links anchor to line numbers, which drift the moment code moves. A review note can point at the wrong line within a day, and there’s no durable way to say “this exact code, wherever it ends up.”
04 Conversation lives elsewhere
The reasoning that produced the code — human or agent — sits in a PR thread, a chat window, or nowhere. Code and its rationale live in separate places, and Git makes no attempt to weld them together.
None of this mattered much when humans wrote every line at human speed and carried the context in their heads. It matters a great deal when an agent rewrites five files in twelve seconds and the only record of intent is a sentence you typed and forgot. The pull request — the institution at the center of professional software for a decade — exists, in this framing, mainly to bring a discussion back to a snapshot of code after the two were separated. Remove the separation and the ceremony loses its reason to exist.
That is precisely the bet Zed is making.
DeltaDB: versioning every operation, not every commit
On June 11, 2026, Zed Industries — the team behind the high-performance Zed editor — opened the waitlist for DeltaDB, a version-control system with a different core abstraction. In a blog post, co-founder Nathan Sobo argued that the conversation generating code “is becoming the true source of our software,” and that Git, built around commits, was never designed to capture it.
Where Git stores a snapshot at each commit, DeltaDB breaks work into a stream of fine-grained deltas — individual edit operations — and gives each one a stable, addressable identity. The system records the agent’s message and the edit it produced side by side, so neither can drift away from the other. Technically it is built on operation-based CRDTs (conflict-free replicated data types), a class of distributed data structures formally defined in 2011 and already deployed inside databases like Redis, Riak, and Azure Cosmos DB, originally for collaborative text editing.
What the operation model unlocks
+ Durable references
Because a comment or link anchors to a delta rather than a line number, it survives as the surrounding code moves. Character-level permalinks persist through transformations of the file.
+ Conversation welded to code
From any line you can jump to the conversation that produced it; from any message you can jump to the code as it stands now or as it stood when the agent wrote it.
+ Concurrent worktrees
CRDT-backed worktrees let many people and agents edit the same files at once across machines. Files stay real — agents work in them through a terminal, and you can mount the worktree to disk.
+ Context for agents
Agents can query why code is the way it is, calling on the assumptions and decisions of prior agents that touched it — turning history into usable context rather than a flat list of diffs.
Critically, Zed frames DeltaDB as an evolution that interoperates with Git rather than an attempt to abolish it. The stated aim is not to replace Git or CI but to make the collaborative work that happens before a commit easier to capture. Git and CI get demoted to running checks; the day-to-day record of how software took shape moves to the operation stream. Zed plans to open-source it with an optional paid service, mirroring its editor model. A beta was slated to land within weeks of the June 11 announcement.
This is early. Applying operation-based CRDTs to a full version-control storage layer — not just an editor’s collaborative buffer — is hard, and reviewers have said so plainly. Developers have also raised real privacy questions: automatically serializing every pre-commit edit means your dead ends and half-formed ideas, the exploratory thinking that usually stays local, become part of the record. No pricing or open-source date was confirmed at announcement, and GitHub and GitLab had not commented. Treat DeltaDB as a serious thesis with an unproven implementation, not a shipped replacement.
Zed is not entirely alone in the operation-based direction — academic efforts such as EvoGit have explored conflict handling through other structures — but DeltaDB is the most prominent commercial attempt to make the conversation, not the commit, the unit of version control.
Git vs AI-native version control, side by side
The comparison below is deliberately blunt. Real systems are messier, and DeltaDB’s column describes intent and early design more than battle-tested production behavior. Read it as a map of where the architecture diverges, not a scoreboard.
| Dimension | Git (snapshot model) | Operation-based (DeltaDB-style) |
|---|---|---|
| Unit of history | Commit (chosen save point) | Delta (every edit operation) |
| Between commits | Discarded | Preserved and addressable |
| References | Line numbers, drift over time | Stable IDs, survive code movement |
| Conversation | Lives outside (PR threads, chat) | Stored beside the edits it caused |
| Concurrency | Branch + merge, conflicts common | CRDT worktrees, conflict-free merge |
| Agent provenance | Final diff only | Instruction-to-edit linkage |
| Maturity | Two decades, universal | Beta-stage, unproven at scale |
| Relationship | The incumbent | Interoperates with Git, not a clean break |
The pragmatic takeaway: for the foreseeable future these coexist. Git remains the source of truth and the thing CI runs against. The operation layer, if it proves out, sits on top and captures what Git was never built to hold. The interesting tension is cultural, not technical — if the conversation becomes the durable artifact, the pull request review stops being the main event, and a decade of team habits built around it have to find new homes.
The 2026 supply-chain reckoning
While ownership and architecture were being contested, trust was failing in public. If agents and operation-based history change how code is written, a brutal run of supply-chain attacks changed how seriously teams take where their secrets live. Two incidents anchor the year.
Shai-Hulud: the npm worm with a dead man’s switch
In November 2025, GitLab’s vulnerability researchers detailed an active, large-scale attack spreading through the npm ecosystem — an evolved strain of malware dubbed Shai-Hulud. It harvested credentials from GitHub, npm, AWS, GCP, and Azure, exfiltrated stolen data to attacker-controlled repositories, and propagated with worm-like behavior, automatically infecting other packages maintained by each victim. Most chilling was a “dead man’s switch”: if the malware lost access to both its propagation and exfiltration channels at once, it triggered destruction of data on the compromised machine — overwriting and shredding files to make recovery nearly impossible. An earlier wave tied to the same lineage had compromised hundreds of npm packages.
The Nx Console breach: when the editor is the entry point
The Nx ecosystem was hit twice inside a year. An August 2025 incident abused a misconfigured GitHub Actions workflow to steal publishing tokens and push trojanized packages — notable as one of the first documented cases of malware co-opting local AI CLI tools to help with reconnaissance. Then, on May 18, 2026, attackers published a malicious Nx Console v18.95.0 to the VS Code marketplace using a stolen contributor token. It was live for roughly 11 minutes, but estimates of affected installs ranged from a few dozen reported by the marketplace to potentially over 6,000 by the maintainers’ own analytics.
The payload was a credential stealer that swept tokens from GitHub, npm, AWS, HashiCorp Vault, Kubernetes, and 1Password — and, tellingly, AI coding-assistant configuration files — exfiltrating over HTTPS, the GitHub API, and DNS tunneling, with a persistent backdoor on macOS. It even carried Sigstore integration, meaning stolen OIDC tokens could be used to publish downstream packages with valid, cryptographically signed provenance — making malicious builds look verified. A group calling itself TeamPCP claimed responsibility and advertised the stolen data. CISA issued guidance. Nx shipped a patched build (18.100.0).
The chain reached the Nx contributor through an upstream compromise, where a delay-based safeguard — don’t install packages younger than a set age — was configured but silently ignored because the pinned package-manager version didn’t support the setting. The defense existed and failed quietly. As agents gain authority to install dependencies and run commands on your behalf, the blast radius of a single stolen token grows. Provenance is no longer a compliance checkbox; it is the difference between trusting and rebuilding.
The defensive playbook teams actually adopted
Rotate every credential on disk
GitHub, npm, SSH, cloud (AWS/GCP/Azure/Kubernetes), Vault tokens, and the contents of any .env file present during the exposure window — not just the secrets you think were touched.
Delay before pulling new packages
CISA’s guidance: wait before installing freshly published packages so the community can flag malicious releases first. Enforce a minimum release age, and verify your package manager actually supports the setting.
Pin to trusted versions
Pinning prevents the build from silently pulling an unscreened or maliciously forked package. Pull only from known, trusted sources.
Shrink the blast radius
Scope tokens narrowly, separate CI secrets from developer machines, and treat any compromised host as a full rebuild after rotation rather than a cleanup.
Audit AI tool configs as secrets
Agent and assistant config files now hold real credentials and are explicit malware targets. Treat ~/.config and assistant directories as sensitive surfaces, not throwaway dotfiles.
Build with the same agent that’s reshaping the stack
If this piece has you curious about agentic development first-hand, these are the tools referenced throughout — try them and judge the workflow shift yourself.
GitHub alternatives and the case for self-hosting
A natural reaction to a bad security year is “should we leave GitHub?” It is worth being precise: the headline incidents were supply-chain compromises — poisoned packages and a trojanized editor extension — not breaches of GitHub’s own platform. Changing where your repositories live does not, by itself, stop a malicious npm package from stealing a token off a developer’s laptop. Migration is an control-and-architecture decision, not a patch.
That said, the appetite for alternatives is real, driven by concentration risk, the desire for control over CI and data residency, and — post-acquisition season — wariness about who ultimately owns the tools in the critical path. The main options:
| Option | Model | Best when you want |
|---|---|---|
| GitLab | SaaS or self-managed | Integrated CI/CD, project-level control, an enterprise-grade self-host path |
| Forgejo | Open-source, self-hosted | A lightweight, community-governed forge with no vendor lock-in |
| Gitea | Open-source, self-hosted | Minimal footprint and fast setup for smaller teams |
| Codeberg | Hosted (Forgejo-based) | A non-profit, community-run host without running your own server |
| Self-hosted bare Git | SSH + your infra | Maximum control, minimal surface, willingness to own the plumbing |
Forgejo deserves a specific mention: a community-governed, open-source fork in the lightweight-forge lineage, it is the option for teams that want a self-hosted home for repositories without tying their fate to a single commercial vendor. The trade-off is the usual one — you inherit the operational burden of patching, backups, and uptime that a hosted provider otherwise carries. Self-hosting reduces third-party-platform risk while increasing your own operational risk. For some teams that swap is clearly worth it; for many it is not.
The GitLab project switch, in practice
If you do evaluate a move, the smallest meaningful unit is one project, not the whole organization. A sane migration looks less like a flag day and more like a pilot. The mechanics below are deliberately tool-agnostic; the order matters more than the exact commands.
Pick one low-stakes project
Choose a repository active enough to be a real test but not so critical that friction stalls the team. Migrate it end to end before touching anything load-bearing.
Mirror the repo and its history
Bring over the full Git history, not just the latest state, plus issues and merge/pull requests where the platform supports import. Confirm large files and tags survive the move.
Rebuild CI as code
Port pipelines into the new platform’s config, run them in parallel against the old system for a sprint, and compare outputs before cutting over. This is where most migrations actually stall.
Re-scope every secret
Do not copy tokens across. Mint fresh, narrowly scoped credentials in the new home — a migration is the ideal moment to shrink the blast radius you read about above.
Switch the default, keep a read-only mirror
Flip the team’s daily default to the new project while keeping the old one as a read-only fallback until you’re confident. Then archive, don’t delete.
The honest summary: tooling migrations are cheap to start and expensive to finish, because the repository is the easy part and the CI, integrations, and muscle memory are the hard part. Switch one project, learn what breaks, and let evidence rather than headlines decide whether the rest follows.
What this means for your team this quarter
Strip away the $60 billion headline and three durable shifts remain — each one a decision you can act on now rather than a spectacle to watch.
“The acquisition follows the vertical-integration pattern we saw at Tesla. AI needs the infrastructure behind it — energy, data centers, connectivity — and this level of integration could become a major competitive advantage as AI advances.”
“Developers don’t think in terms of commits; they think in terms of tickets and PRs. Git doesn’t have any native representation of either.”
1 — Treat the workflow layer as strategic
The deal confirmed that where developers work is now worth more than many of the models they work with. When choosing editors and agents, weigh who owns them and where the lock-in accumulates, not just this month’s benchmark scores. Ownership changes, and the tool in your critical path can change hands in a single weekend.
2 — Start capturing agent provenance now
You don’t need DeltaDB in production to act on its thesis. Begin linking prompts to changes today: richer commit messages that reference the instruction, PR descriptions that include the agent exchange, and a norm that agent-written code carries its “why.” When operation-based tooling matures, teams that already value provenance will adopt it in an afternoon; teams that don’t will be reconstructing intent from diffs forever.
3 — Make supply-chain hygiene non-optional
Release-age delays, pinned versions, narrowly scoped tokens, and routine credential rotation are no longer advanced practice — 2026 made them table stakes. The single highest-leverage habit is reducing what any one stolen token can reach. Assume compromise is a question of when, and design so that when costs you a rotation, not a rebuild.
Intelligence is getting cheaper, code is increasingly written by agents, the record of why is moving from the commit to the conversation, and trust has to be engineered rather than assumed. Version control isn’t changing because Git got worse. It’s changing because the thing being versioned — software, and the dialogue that now produces it — got fundamentally different.
Feel the shift, don’t just read about it
The fastest way to understand why a $60B deal happened is to spend an afternoon building with an AI coding agent. Start with Cursor and watch how much of your workflow moves into the conversation.
Try Cursor AI →