Skip to content

Case study 05 · Public repo · sample apps only

A release gate thatrefuses broken work.

A reliability layer for agent-built software: a ranked backlog that coding agents claim work from through the repo itself, and a gate that will not ship while something a person relies on is broken.

Role
Design, build, tests
Stack
TypeScript CLI, Python standard library, SQLite, a git branch as the message bus
Runs on
One machine, against two fictional sample apps
Status
Public, MIT. Figures are test runs

Read the code ↗

localhost:4677 · Lodestar health
The Lodestar health dashboard watching two sample apps. Harbor Bikes is at 80 percent with one red critical journey, a bike booked twice for the same day; Ledgerleaf is at 100 percent.
The dashboard against the repo's two fictional sample apps, after switching on one sample fault and attempting a release. The release was refused.

The problem

The tests pass, and the button does nothing.

Agents write code faster than anyone can check it by hand. A unit test with a mocked database can stay green while the real button a customer presses is broken, and several agents working at once will happily pick up the same task.

Lodestar writes down what working means as journeys, one thing a person expects to work, checks each on the real path, and makes the release depend on the critical ones. The backlog is a set of scored files that agents claim through git, so no server is needed and only one agent can win an item.

How it works

Follow one requestthrough it.

Drag sideways to follow it →

Deciding what to buildProving it worksready to shipyesnoScored backlogone YAML file per item, ranked by WSJFnpx lodestarrank · next · claim · reviewlodestar-bus branchclaims and reviews: one push winsmainanother agent approved this exact commitJourney registrywhat a person presses, what must happenReal-path checksthe real server, an empty data folderResults storeSQLite, with history, and a dashboardRelease gateare the critical journeys green?Publishrun the commandRefuseexit 2, nothing ships
A piece of work: ranked, claimed on the bus, reviewed, then offered to the gate.A check run: each journey is exercised on the real path, and the result decides the gate.
  1. One ranked backlog

    Each item is a YAML file with scores, ordered by cost of delay divided by effort.

  2. Claims through git

    An agent claims an item by pushing a file. Git accepts one of two competing pushes.

  3. Checks on the real path

    Start the real server, send what the page sends, read back what a person would see.

  4. A gate with a veto

    If a critical journey is red or has never run, the publish command is not run.

What is measured

Test runs against two sample apps.

22
journeys registered across the 2 sample apps
6 of 6
sample faults detected, each turning only the journey it should
1 of 5
processes wins when five claim the same item at once
39
tests passing: 27 Node, 12 Python

Read this before the numbers

  • Everything here was produced by running the public repo on one laptop against its two fictional sample apps. None of it is a production figure.
  • Lodestar was first built to watch private applications. Their registries and results are not in the repo, and no figure from them is quoted.
  • The sample apps are two small servers with JSON files for storage. They show the method. They are not evidence of how it holds up on a large system.

What it leaves out

The limits,stated plainly.

  • A browser

    Checks drive the server over HTTP as the page does. A bug that lives only in the rendered page would be missed.

  • Authenticated agents

    Every agent pushes with the same git credentials. The review gate proves a review happened, not who did it.

  • More than one machine

    The results store is a local SQLite file and the dashboard binds to localhost.

  • Deployed probes

    The sample apps are not deployed, so uptime probes hit a local staging instance.

  • Much of its own backlog

    Discovery connectors, a skill builder and an automation engine are scored items, not built.