| 1 | # Working in this repository |
| 2 | |
| 3 | Most of the-valley is prose: design documents and knowledge-graph nodes. How you write is most of |
| 4 | the work. |
| 5 | |
| 6 | ## Writing standard |
| 7 | |
| 8 | Write clearly, simply, and without compression that would tax a knowledgeable software engineer. |
| 9 | |
| 10 | - Lead with the plain statement. Say what the thing is in ordinary words before qualifying, |
| 11 | justifying, or elaborating it. |
| 12 | - One new idea per sentence. Density is fine when restating what the reader already knows; a new |
| 13 | concept gets its own sentence. |
| 14 | - Unpack rather than compress. If a sentence stacks abstractions or asks the reader to infer an |
| 15 | unstated step, spell it out. Two plain sentences beat one dense one. |
| 16 | - Use existing vocabulary. Coin a term only when the document defines it at first use and needs it |
| 17 | repeatedly. Prefer concrete words to abstract ones. |
| 18 | - Anything a reader must act on — requirements, acceptance criteria, plans, decision records — gets |
| 19 | the plainest register of all. |
| 20 | - When capturing someone else's idea, keep their words wherever they are clear enough to stand. |
| 21 | - The docs speak from the project, never about its participants. State a position as the project's |
| 22 | own, and refer to people only by role (the integrator, the instance's human operator). Prior art |
| 23 | and external authors may be cited freely. |
| 24 | |
| 25 | The test for every paragraph: could an engineer new to this repo read it once and correctly say it |
| 26 | back? |
| 27 | |
| 28 | ## Document altitudes |
| 29 | |
| 30 | The docs are layered. Each document stays at its altitude: |
| 31 | |
| 32 | 1. **Premise** — [README.md](./README.md). What this is and why it matters. No mechanisms. |
| 33 | 2. **Problem space** — [archive/design/user-scenarios.md](./archive/design/user-scenarios.md) and |
| 34 | [archive/design/requirements.md](./archive/design/requirements.md). What must hold, derived from |
| 35 | the scenarios. No solution detail. |
| 36 | 3. **Architecture** — [archive/design/architecture.md](./archive/design/architecture.md). The bets |
| 37 | and their rationale, traced to requirements. |
| 38 | 4. **Detailed design** — the remaining files under [archive/design/](./archive/design/). Internals, |
| 39 | formats, mechanics. |
| 40 | |
| 41 | When you find detail at the wrong altitude, move it down rather than piling on. Prune elaboration |
| 42 | freely — mechanics, taxonomies, and formats can be re-derived, and deleted text lives in git |
| 43 | history. Never silently compress insight: a conceptual move or reframe does not re-derive on demand. |
| 44 | If an insight does not fit the document it arose in, capture it at full fidelity as a |
| 45 | knowledge-graph node and leave a one-line pointer. |
| 46 | |
| 47 | ## Knowledge-graph nodes |
| 48 | |
| 49 | Node mechanics — types, ids, frontmatter, linking — are defined in |
| 50 | [archive/.the-valley/README.md](./archive/.the-valley/README.md). For the body: open with one plain |
| 51 | paragraph saying what the idea, decision, or outcome is. Context, implications, and open questions |
| 52 | follow it. |