The workshop
Not a railroad job but the bench all the others sit on: where the work lives, how each fact is kept once, the agents and skills, and what gets shared.
Early on I asked AI for documents. Now I give it a place to work, one owner for every fact, and helpers that know how the railroad’s software really behaves. That change sits behind every other topic in this section.
01One repository
- Tool
- Cursor, then Claude
- When
- August to October 2026
- Status
- Done
The job
By August 2026 the project was busy and scattered: research in one place, the fiction in its drafts, control software, the traffic simulator, car records, the bridge and the website each on their own. A car renamed in one place might never reach the cards, the website or the simulator.
What AI did
Everything was gathered into one repository, a folder where every change is recorded so anyone can see what changed and go back. Cursor started it; Claude took over the consolidation, tidied the folders and moved the generic knowledge out into public projects. One naming rule now means a switch, signal or track is called the same thing everywhere. How the repository is laid out today, folder by folder, is in the guide Inside the Repository.
A habit came with the move. Important choices are written down as short decision records, each saying what was decided, why, and what it replaced, and every AI tool reads the same written rules before it starts. A tool that forgets everything between sessions can still read them.
Chat is a scratchpad; decisions live in the wiki.
Small automatic checks back the rules up and catch mistakes before they spread. One of them describes itself as “a guardrail against mistakes, not a security boundary”.
What came out
A public repository that every computer on the railroad is installed from, and a written set of rules that any tool, today's or the next one, can pick up.
- Worked well: the sorting and moving, which is tedious and error-prone by hand.
- Lesson: every later job was easier because there was one place to look.
See it: github.com/lnevo/hart · Inside the Repository
02One source for each fact
- Tool
- Claude
- When
- August to November 2026
- Status
- In place
The job
Gathering the files into one place was only half of it. The same facts were still written down in many places: a signal's wiring in a spreadsheet, a slide deck and the JMRI tables; a car in the card files, the traffic simulator and Operations Pro; a locomotive in DecoderPro and the command station. Each copy had been typed separately, so they slowly disagreed.
What AI did
For each kind of fact we picked one place that owns it, its system of record, and made everything else a copy built from it. Then AI rebuilt the copies from the owner instead of patching them by hand, and wrote the scripts that keep them that way.
| Fact | Owned by | Copied into |
|---|---|---|
| Names | One name map with one grammar, such as Switch 1 and Mast 2L | The JMRI tables, both dispatcher desks, the wiring documents and this website |
| Signal wiring | One table of every lamp's node and port | The wiring workbook, the slide per node, the comments in the JMRI tables, the wiring viewer and the device viewer |
| JMRI setup | One tables file in the repository | The Mac, the layout Pi and the Windows computer, and the tables browser here |
| The fleet | One car repository | Car cards, the traffic simulator, Operations Pro and the Photos page |
| Where cars are | The traffic simulator | JMRI Operations Pro, after each session |
| Locomotives | The JMRI roster on the layout Pi | The other computers and the CS-105 command station. WiThrottle phone throttles read the JMRI roster; LCC throttles read the CS-105 |
What came out
The wiring documents, the slide decks, the JMRI tables and the website now show the same names and the same wiring, and a car or locomotive is the same thing in every system. A change is made once, where it is owned, and flows out. When a generated file is wrong, the fix goes into the script that made it, never into the output.
- Worked well: the rebuilding. Hundreds of names and pins carried across many files without a typo is exactly the job AI is good at.
- Needed me: choosing each owner. Once that was decided, the rest was mechanical.
- Lesson: with one owner for each kind of data, the files stay in step as the project grows.
See it: Wiring viewer · Device viewer · The tables file · Keeping STS and JMRI in step · Where each fact lives
03Agents and skills
- Tool
- Claude
- When
- October 2026 on
- Status
- Five agents, six skills
The job
A general AI knows a little about JMRI, CATS and STS, and guesses the rest. The answers that matter on this railroad, such as why a mast stays red or where a value on the panel comes from, need the real behaviour of those programs and a look at what the layout is reporting.
What AI did
Two things were set up. Skills are written guides the AI loads when a topic comes up, so it works from checked notes instead of memory: editing JMRI panel files safely, Signal Mast Logic, the Dispatcher System, JMRI and MQTT, running CATS on JMRI, and STS in Docker. Every rule was checked against the program’s own source. Two read-only tools let it see what JMRI and the layout’s MQTT messages are reporting right now.
Agents are helpers with one job each. One traces why a signal, panel, Dispatcher run or MQTT value behaves as it does. One researches the railroad’s history and returns proposals with sources. Others build and review this website, or look for stale pages and dead code. The tracer and the researcher can only read, so they can be handed a big search without risk to the railroad.
What came out
Questions about the signals and the panels get answered from the source and the live layout, not from a guess. The skills were general enough to share and became the public model-railroad-skills plugin; the Operations Pro and STS plugins followed the same pattern.
- Worked well: skills checked against the source, so the AI stops describing how JMRI ought to work and says how it does.
- Watch for: an agent handed my guess tends to come back agreeing with it. Give it the evidence, not the conclusion.
See it: model-railroad-skills on GitHub
04This website
- Tool
- Cursor, then Claude
- When
- 2026 on
- Status
- Public
The job
The site serves crews on session night, visitors who want the history, and modelers who want to see how it works. It began on a local server for operators only.
What AI did
It built the pages, moved the site to its own domain and keeps it drawn from the same data the railroad uses, so a change is made once. A reviewer agent reads pages as a first-time reader, a historian or a designer would. The build refuses to publish if anything private, such as a local address, has leaked into a page.
What came out
The site you are reading, including this section.
- Worked well: pages that stay in step with the railroad, and reviews from more than one point of view.
- Needed me: the voice, and saying when a page tries to say too much. That is how this section started.
See it: Home