Most of the-valley is prose: design documents and knowledge-graph nodes. How you write is most of the work.
Write clearly, simply, and without compression that would tax a knowledgeable software engineer.
The test for every paragraph: could an engineer new to this repo read it once and correctly say it back?
The docs are layered. Each document stays at its altitude:
dcr-*, ida-*, bd-*, oc-*) cited in code,
schemas, and commit history continue to resolve.When you find detail at the wrong altitude, move it down rather than piling on. Prune elaboration freely — mechanics, taxonomies, and formats can be re-derived, and deleted text lives in git history. Never silently compress insight: a conceptual move or reframe does not re-derive on demand.
Historical knowledge-graph nodes live under archive/.the-valley/, with node mechanics — types, IDs, frontmatter, and linking — defined in archive/.the-valley/README.md. Each node opens with one plain paragraph stating the idea, decision, bug, or outcome, followed by context, implications, and open questions.
archive/.the-valley/ is frozen, read-only history, and nothing checks it against today's schema.
Design decisions are recorded directly in docs/architecture.md,
docs/security.md, and docs/roadmap.md. A question that is
still open lives in the project's plan graph as a question knot, owned by whoever has to answer
it. When its answer settles something about the design, the answer enters these docs through a
change, and the knot links that change.
implemented, instance configuration
deployment choice, and mechanisms that do not work yet not built. Never present a deployment
choice or an unbuilt plan as a code guarantee. Configuration includes valley.cue,
services.valley, policy/, and identity/.file:line citation verified
against HEAD before review. The checklist lives in a slice brief and the change description, not
in the docs themselves.valley plan (refs/the-valley/knots), not in prose docs. Do not compare
the-valley to other platforms; positioning is the operator's to write.draft, ready, or withdrawn.
A version is approved when an integration request names it, and submitted once it has landed.
Never call a change a PR, <!-- prose-allow: vocabulary --> pull request, or branch; a git branch
may carry a change. A change requires checks; it never owes <!-- prose-allow: vocabulary -->
them. A plan item is never an issue, ticket, <!-- prose-allow: vocabulary --> or knowledgebase
entry; it is a knot in the plan graph. Operational refs (refs/the-valley/*) are
project storage, distinct from the source (main and release tags).The prose-format check enforces the parts of rules 5, 6 and 7 that a pattern can catch: it fails
on a source path followed by a line number anywhere, and, outside fenced code blocks, on common
transition phrases and on the words rule 7 bans. To allow a legitimate use, such as quoting a banned
word, put <!-- prose-allow: <rule> --> on its line, where the rule is line-number, narration
or vocabulary; the marker allows that one rule on that line only.