| 1 | # the-valley |
| 2 | |
| 3 | > "Whatever." |
| 4 | |
| 5 | The-valley is a project to make software development easier for people and the agents working with |
| 6 | them. It brings together source management, verification, automation, and project knowledge on |
| 7 | infrastructure the operator controls. |
| 8 | |
| 9 | The immediate aim is practical: use it for daily work, get changes into use quickly, and move the |
| 10 | projects in `gunk-dev/` and `patflynn/` off GitHub. A usable product interface should make the |
| 11 | system itself easier to understand and improve. |
| 12 | |
| 13 | ## Why build this |
| 14 | |
| 15 | GitHub ties repository hosting to its approach to checks, review, automation, and project |
| 16 | management. That combination adds friction when a project needs a different workflow. |
| 17 | |
| 18 | Checks often run in a separate environment with its own configuration and debugging process. |
| 19 | Contributors wait for that environment to repeat work they have already done locally. Agents must |
| 20 | fit their work into interfaces organized around a person managing a pull request. Meanwhile, the |
| 21 | reasoning behind a project is spread across issues, documents, conversations, and people's memory. |
| 22 | |
| 23 | The-valley explores whether small, replaceable tools can meet these needs more directly. A |
| 24 | contributor should be able to verify a change where they write it, submit it with evidence, and see |
| 25 | it integrated promptly when the requirements are met. People and agents should have access to the |
| 26 | same project knowledge and the same account of what happened. |
| 27 | |
| 28 | ## Where this goes |
| 29 | |
| 30 | Software development is the first use case for a broader idea: organize work around outcomes that |
| 31 | someone wants, record what each outcome depends on, and use those dependencies to decide what can be |
| 32 | worked on next. The system should help complete the work as well as describe it. |
| 33 | |
| 34 | That includes work on the-valley itself. Its requirements, design, implementation, and operational |
| 35 | problems belong in the same record. Experience building useful applications should improve the |
| 36 | tools, and better tools should make the applications easier to build. |
| 37 | |
| 38 | The [outcome scheduling proposal](./.the-valley/ideas/ida-eac723e-outcome-dag.md) develops this |
| 39 | direction. It is broader than the current implementation. |
| 40 | |
| 41 | ## Constraints |
| 42 | |
| 43 | The project is open source. Its parts should remain understandable, replaceable, and usable without |
| 44 | buying into an entire platform. Project state must survive the loss of a host or service. |
| 45 | |
| 46 | The reference implementation uses Nix. The underlying contracts must remain implementable with other |
| 47 | tools. Shared coordination is acceptable where it is needed, but its purpose and limits must be |
| 48 | explicit. |
| 49 | |
| 50 | [Requirements](./design/requirements.md) states these constraints more precisely. |
| 51 | |
| 52 | ## Status |
| 53 | |
| 54 | The-valley hosts its own repository and knowledge graph. The repository includes working tools for |
| 55 | local verification, signed evidence, and integration, along with the host configuration and event |
| 56 | projection they use. Several implementation and validation gaps remain. |
| 57 | |
| 58 | The [roadmap](./design/roadmap.md) distinguishes what has been built from what has been validated. |
| 59 | The [open questions](./design/openquestions.md) and [bug nodes](./.the-valley/bugs/) record the |
| 60 | unresolved parts of the design. |
| 61 | |
| 62 | ## Reading the project |
| 63 | |
| 64 | | Document | Purpose | |
| 65 | | -------------------------------------------------- | ----------------------------------------------------------------- | |
| 66 | | [User scenarios](./design/user-scenarios.md) | What people need to be able to do | |
| 67 | | [Requirements](./design/requirements.md) | What must hold for those scenarios to work | |
| 68 | | [Architecture](./design/architecture.md) | The main design choices and their reasons | |
| 69 | | [Contributor protocol](./design/contribute.md) | How to publish a change and request integration | |
| 70 | | [Verification](./design/verification.md) | Checks, statements, signatures, and their limits | |
| 71 | | [Integration](./design/integration.md) | How the integrator evaluates and lands a request | |
| 72 | | [Self-transparency](./design/self-transparency.md) | A proposed requirement for recording changes to the system itself | |
| 73 | | [Open questions](./design/openquestions.md) | Decisions and implementation questions still needing work | |
| 74 | | [Roadmap](./design/roadmap.md) | Incremental delivery and validation | |
| 75 | | [Knowledge graph](./.the-valley/README.md) | Ideas, decisions, bugs, and outcomes, with a reading guide | |