gunk-dev/the-valley

AGENTS.md

sourceebf24df4d772main's published tip history
3.1 KiB · Rendered
1# Working in this repository
2
3Most of the-valley is prose: design documents and knowledge-graph nodes. How you write is most of
4the work.
5
6## Writing standard
7
8Write 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- Allow subtle humor, vivid examples, and occasional metaphor when they help the reader understand
19 or remember the point. State unfamiliar concepts plainly first. Color should reward understanding,
20 never be a prerequisite for it.
21- Keep the Taoist theme that gives the-valley its name. Let it inform the voice and occasional
22 imagery. A metaphor must not replace an explanation or require philosophical knowledge to decode.
23- Anything a reader must act on — requirements, acceptance criteria, plans, decision records — gets
24 the plainest register of all.
25- When capturing someone else's idea, keep their words wherever they are clear enough to stand.
26- The docs speak from the project, never about its participants. State a position as the project's
27 own, and refer to people only by role (the integrator, the instance's human operator). Prior art
28 and external authors may be cited freely.
29
30The test for every paragraph: could an engineer new to this repo read it once and correctly say it
31back?
32
33## Document altitudes
34
35The docs are layered. Each document stays at its altitude:
36
371. **Premise** — [README.md](./README.md). What this is and why it matters. No mechanisms.
382. **Problem space** — [design/user-scenarios.md](./design/user-scenarios.md) and
39 [design/requirements.md](./design/requirements.md). What must hold, derived from the scenarios.
40 No solution detail.
413. **Architecture** — [design/architecture.md](./design/architecture.md). The bets and their
42 rationale, traced to requirements.
434. **Detailed design** — the remaining files under [design/](./design/). Internals, formats,
44 mechanics.
45
46When you find detail at the wrong altitude, move it down rather than piling on. Prune elaboration
47freely — mechanics, taxonomies, and formats can be re-derived, and deleted text lives in git
48history. Never silently compress insight: a conceptual move or reframe does not re-derive on demand.
49If an insight does not fit the document it arose in, capture it at full fidelity as a
50knowledge-graph node and leave a one-line pointer.
51
52## Knowledge-graph nodes
53
54Node mechanics — types, ids, frontmatter, linking — are defined in
55[.the-valley/README.md](./.the-valley/README.md). For the body: open with one plain paragraph saying
56what the idea, decision, or outcome is. Context, implications, and open questions follow it.