Skip to main content
Engineering · the build

The tactician needs it. Stonewall ships it.

Stonewall is a litigation knowledge system: a source-grounded corpus, a live operational data plane, and a retrieval-first chronicler — wired across the public surface, the operator cockpit, and a Telegram bot, on a main branch that is never red.

2,393Artifacts
279Patterns
152Matters
100%Analyzed
The best of the repo

Four things worth the look

Not a toolchain inventory — the systems that make the record hold. Pick one.

A live Postgres data planeNeon Postgres

A Neon Postgres data plane mirrors the entire corpus and carries Shelby's durable memory. The flat-file manifest stays the source of truth; Postgres is the queryable projection beside it — artifacts, patterns, and source markdowns, indexed for millisecond reads.

  • Durable per-operator memory + thread history
  • Corpus projection tables (artifacts · patterns · sources)
  • Read-only Neon role behind row-level security
  • Idempotent, schema-versioned migrator
ManifestPostgresShelbyflat-file truth → queryable projection → durable memory
Corpus at a glance

What the record is made of

Top artifact types across 2,393 indexed items — every one source-grounded and pattern-tagged.

email528screenshot318analysis271legal filing234chapter194mixed evidence191transcript137billing109