| .github/ | directory | |
| .the-valley/ | directory | |
| attest/ | directory | |
| bin/ | directory | |
| completions/ | directory | |
| design/ | directory | |
| examples/ | directory | |
| integrator/ | directory | |
| nix/ | directory | |
| schema/ | directory | |
| AGENTS.md | file | 2.7 KiB |
| CLAUDE.md | file | 11 bytes |
| README.md | file | 5.3 KiB |
| flake.lock | file | 564 bytes |
| flake.nix | file | 90.7 KiB |
"Whatever."
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 and no assumption that a single platform should own hosting, identity, CI, artifacts, review, and automation?
GitHub bundles every concern of source management — from hosting through verification to project knowledge; design/architecture.md tables them one by one — and does several of them poorly enough that unbundling looks attractive:
Compose small tools over a durable substrate you own. Each concern gets the mechanism it deserves instead of the bundle's compromise, and everything that matters survives the loss of any one host.
At its most general, the-valley is a recursive, transparent outcome-production engine: its unit of work is the outcome — a thing someone wants to exist that does not yet — and its job is to complete the dependency graph outcomes form, transparently (ida-eac723e carries the full sketch). The software development lifecycle is the v1 reference implementation, not the boundary: everything above is how the engine gets pointed at code first. Recursive includes the engine itself — the-valley builds the-valley.
Phase 0 in progress. The repo ships its first artifacts: the CUE schema defining what a valley host
declares — its projects, their push mirrors, and the durability policy for its data
(schema/valley.cue, with an example in
examples/host.cue) — and a NixOS module (flake.nix) that
installs a valley host from that declaration. Phase 1's spine is landing: the host module can run an
event bus onto which every push's ref updates are projected as events
(schema/events.cue), watchable with valley tail. The knowledge-graph
convention has a checkable form as well: schema/node.cue describes a node's
frontmatter, and the flake exposes the lint that enforces it as lib.knowledgeLint, so any project
can instantiate the same check over its own tree from a flake input. The plan-of-record —
incremental, MVP-first, validation-gated — is design/roadmap.md.
design/user-scenarios.md — the escalating ladder of problem-space
user scenarios the requirements derive from; only the top-priority rung carries acceptance
criteria.design/requirements.md — what the system must be: who it's for, the
unbundled needs, the constraints, non-goals.design/architecture.md — the bets and their rationale: the event
log, attestations instead of CI gates, the pull-based integrator, review as feedback, knowledge as
a graph.design/contribute.md — the contributor protocol: what a human or agent
does to push a change and request integration.design/verification.md — pure vs. effectful checks and what makes an
attestation hard to forge.design/self-transparency.md — DRAFT. A candidate invariant,
deliberately unresolved: no actor can durably change the system or an output without transparency,
recursively. Names the facets; decides nothing.design/openquestions.md — consolidated open questions, tagged by
layer.design/roadmap.md — the incremental validation plan.bin/valley — the integrator's CLI: the Phase 0 verbs (pending, review) as a
plain shell script, accreting one verb per phase per the roadmap's CLI thread. valley checks
derives the checks a change owes from the declared verification policy, and only reports them.