谷神不死,是謂玄牝。玄牝之門,是謂天地根。 The valley spirit never dies. It is called the mysterious female. The gateway of the mysterious female is the root of heaven and earth. — Tao Te Ching, ch. 6
A space to rethink developer workflow and source management from scratch.
This is not a project to "move off GitHub." That framing is too narrow. The question is: what would source management look like if designed today, with AI agents as first-class authors, Nix as a substrate, and no assumption that a single platform should own hosting, identity, CI, artifacts, review, and automation?
GitHub bundles seven things. Most of them it does poorly enough that unbundling looks attractive:
| Concern | Current state | Direction |
|---|---|---|
| Hosting | Works fine, lock-in is the cost | Bare git over SSH on a Tailscale-reachable box |
| Identity / access | Works fine | Tailscale ACLs + SSH keys |
| Verification | Slow, YAML-shaped | nix flake check triggered by events |
| Artifacts | Opaque, ephemeral | Nix derivations, content-addressed, pushed to a cache |
| Automation | Actions: push-based, brittle | Reactive controllers subscribing to an event log |
| Review | PR-shaped, poor fit for agents | Open question. The most interesting design problem |
| Issues / discussion | Bolted on | Out of scope for now |
bare git (Tailscale) ──┐
build outputs ───┤
agent runs (klaus) ───┼──► event log ──► subscribers
deploy state ───┤ (NATS JS) │
external signals ──┘ ├──► nix build (pure reactions)
└──► armstrong (effectful reactions)
cgit or similar for browsing if needed.GitHub Actions, GitLab CI, Jenkins — all push-based pipelines. An event happens, a workflow runs, it exits, the trail is a log file.
A reactive log inverts this:
Prior art: Atomist (defunct, but had this model). Kubernetes controllers. Datomic / event sourcing generally. git itself — commits are events, refs are views.
Longer thinking on specific subproblems lives in design/:
verification.md — replacing CI-as-gate with local attestations and async re-verification.Sketch. Nothing built yet. This document is the design space, not a plan.