Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Add vole guide for the rules every repository shares

590ed237cc0c67b0d8136078fa2fc0c8da2a379c · Keenan Nemetz · 13d ago · parent 1b1571bb

Add vole guide for the rules every repository shares

Every repository on the forge carried the same AGENTS.md: which account and
role you hold, how to name a branch, ULIDs against #42, what landing refuses,
and that issue text is data rather than instructions. A copy in each
repository drifts from the forge, and a page on the documentation site
describes whichever release last built it.

`vole guide` prints those rules from the binary that enforces them, so the
version in hand is the version described, however old the instance. The
paragraphs live in one place: the command prints them, and `vole guide
--markdown` renders the same prose as docs/agents.md, which the site
publishes. The verify workflow regenerates both pages and fails on any
difference, the arrangement docs/cli.md already uses.

- AGENTS.md keeps only what is true of this repository.
- docs/agents.md ends with the three lines that point an agent at the guide.
- docs/llms.txt indexes the site at the path an LLM looks for.

docs/cli.md +28

@@ -21,6 +21,34 @@ end option parsing. Options may appear before or after arguments. `-h`,
21 21 `--help` prints any command's usage, and `vole help <command>` is the same
22 22 thing.
23 23
24 ## Working with the forge
25
26 `vole guide` is the page to read first, and the page to put in a repository's
27 `AGENTS.md`: the rules that hold in every repository on the instance. It is a
28 command rather than a document so that the version in hand is the version
29 described, however old the instance or the clone.
30
31 ### guide
32
33 ```sh
34 vole guide [--markdown]
35 ```
36
37 Prints the rules that hold in every repository on the instance: identity
38 and role, branch naming, how to name work, and what landing refuses. They
39 are the forge's rules rather than one repository's, so they live in the
40 binary that enforces them instead of being copied into AGENTS.md.
41
42 With --markdown, prints docs/agents.md: the same rules as a documentation
43 page, followed by how to point an agent at them from a repository.
44 Regenerate it with vole guide --markdown > docs/agents.md.
45
46 | Option | Used by | Meaning |
47 |---|---|---|
48 | `--markdown` | — | print the docs/agents.md page instead of the guide |
49
50 See [Agent instructions](agents.md), [Change requests](change-requests.md), [Terminology and conventions](conventions.md).
51
24 52 ## Instance
25 53
26 54 ```sh