hn.today

Open source Scion – Anthropic's Git alternative in open source

github.com7 points0 comments
Screenshot of Open source Scion – Anthropic's Git alternative in open source

OpenScion is an open-source reimplementation of Anthropic's Scion: a server-centric source control system engineered for very large monorepos where most clients are short-lived AI agents and CI jobs instead of full repository clones on developer laptops. It rejects Git’s offline-every-client model and instead runs history, blame, commits, rebases, and merges on the server; uses changesets that list only changed files; content-addresses blobs, trees, and changesets with BLAKE3; moves refs via compare-and-swap to avoid global locks; exposes source-control operations as RPCs; and fetches only the trees and blobs a client names. Those design choices target the scale Anthropic faced (tens of thousands of daily merges, a main-branch history near 100 GB, millions of daily checkouts) and yield client work that tracks the requested slice rather than repository size.

The implementation includes a layered architecture (per-node daemon, regional cache, server with metadata and object stores), a single protocol crate shared by client, server and GUI, benchmark tooling, and a command-line client. Synthetic benchmarks included show OpenScion importing and cloning several times faster than Git and one-directory clones that cost only the requested slice. The project is organized as Rust crates, has strong CI and coverage rules, provides quick-start commands, and is released under GPL-3.0.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

OpenCode 2.0

OpenCode 2.0

OpenCode 2.0 introduces a major overhaul with a unified client/server system that runs automatically on users' machines, improving performance and usability. The update includes new features, an improved API, dark mode, and native apps, making the system more flexible and user-friendly. (anoma.ly)

Fancy Curl Sites

Fancy Curl Sites

A curl version of a website was built for terminal viewing, inspired by similar projects but with a distinct approach. The creator used a custom markup language and static site generator to produce ANSI-marked-up files for the entire blog, accessible via curl commands. (nytpu.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.