All work

Open Source · Developer Tool · 2026

Boundra

Checking TypeScript monorepo domain boundaries with a Rust CLI

Built a Rust CLI that checks client, server, shared, domain, and app boundaries through BR-001 to BR-005, with Zod runtime contracts and a Vite development overlay.

5 rules
BR-001 through BR-005
10K files
Large fixture benchmark
164.20 ms
Measured analysis time
01

Architecture documents drift from the code

Layer and import rules are easy to agree on and hard to enforce. Reviewers repeatedly catch the same violations, while developers receive feedback too late.

02

Make the rule executable and local

I implemented BR001 through BR005 in a Rust analyzer, validated configuration at runtime with Zod, and connected results to a Vite overlay for immediate feedback.

Benchmarks include generated fixtures and a real monorepo snapshot so performance claims remain reproducible instead of anecdotal.

03

Fast feedback at repository scale

The analyzer processed a 10,000-file fixture in 164.20 ms and matched 2,559 import edges. Architecture rules became part of the development loop rather than a document checked after the fact.

04

Trace

Role

Rule model, Rust analyzer, configuration validation, editor overlay, and benchmark design

Focus

Static analysis · Architecture rules · Vite overlay · Benchmarking

Stack

Rust · TypeScript · Zod · Vite · Static Analysis · NPM · GitHub Actions

Disclosure

Benchmarks use public fixtures and a documented local environment.

Next work OWKR Balance