reitti-cli
AGENTS.md1 starsChanged 2 months agoMITView on GitHub
Everything in this directory is published with the repository and read by people who install reitti from crates.io, GitHub Releases, or the Homebrew tap. DISTRIBUTION.md is the exception: it is the maintainer's release runbook, and it says so at the top. Write the rest for a reader who has never seen this repository and cannot ask a question. Each file has one subject, so a reader following a link from the README lands on a complete answer. digitransit-api-access.md covers registering…
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .issuectl/AGENTS.mdAGENTS.md
- issues/AGENTS.mdAGENTS.md
- issue-intakeSkill
- issue-newSkill
- issueSkill
The file
Files
Documentation guidance
Everything in this directory is published with the repository and read by people who install reitti from crates.io, GitHub Releases, or the Homebrew tap. DISTRIBUTION.md is the exception: it is the maintainer's release runbook, and it says so at the top. Write the rest for a reader who has never seen this repository and cannot ask a question.
Each file has one subject, so a reader following a link from the README lands on a complete answer. digitransit-api-access.md covers registering for a Digitransit subscription and rotating keys. configuration.md covers where reitti reads its settings, how flag, environment, file, and default values take precedence, and how to store the key without exposing it. DISTRIBUTION.md covers how releases are built, verified, and published. When a topic seems to belong in two places, put it in one and link from the other; duplicated guidance drifted apart before and left contradictory advice.
The CLI is the source of truth for its own surface. Its --help and reitti --json schema show <command> describe the current commands, flags, and response shapes, and the README says so. An example in these files that no longer matches the built binary teaches the reader a command that fails, so run each example against the current build before you rely on it, and prefer pointing at help output over paraphrasing it.
Two things are easy to get wrong in examples. Timestamps for --depart-at and --arrive-by must be RFC 3339 with an explicit offset, and the service area's offset changes with daylight saving. A fixed date in an example is illustrative only. Say so, and tell the reader to use their real travel date with its offset, so nobody copies a stale example into a plan. The other is Digitransit's subscription key: it is a real credential. The docs already explain how to keep it out of argv, shell history, and repository files. Examples use placeholders, never a working key.
The published artifacts are meant to reveal nothing about the machine that built them. Release builds remap the maintainer's home directory and source path to neutral prefixes, and doctor checks bundled text for configured private markers. That effort is wasted if the documentation names a private machine, a local home path, or an ignored build cache. Keep such details out even when they would make an example more concrete.
Reitti is an independent project that uses Digitransit's open data, which is the service behind HSL's journey planner. It is not affiliated with or endorsed by HSL or Digitransit, upstream data keeps its own licensing and attribution terms, and the MIT license covers only this software. The README's privacy and data-sources section states this; keep other documents consistent with it rather than restating it loosely.
Release documentation describes several distinct kinds of evidence, and the words matter. A direct preflight build on the maintainer's machine, a final artifact from cargo-dist, a tag-triggered GitHub release-workflow run, and a published release with assets on the release page are four different things. Local checks do not prove a release ran, and a plan is not a publication. Describe each as what it is, and do not claim an artifact, attestation, or release exists until the publication has been inspected.
There is no push or pull-request CI, and this is the maintainer's decision, not an omission. The self-hosted macOS runner used for release builds is reserved for trusted tag-triggered work, and the repository gates run locally as described in the root AGENTS.md. Documentation describes this arrangement as intended and does not present ordinary CI as planned or missing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

