Engineering Notes
Reflections and patterns discovered while building frontend systems.
A constitution for a system of agents
The rules for AlanOS were spread across seven documents that quietly disagreed. One register of numbered clauses fixed that, and a single entry test keeps it small.
Build the experience, not the screen
Building software has become cheap enough that the person using it can shape how it works for them. A working theory, from two tools I built for myself.
Models are temporary, evidence is not
If a better model arrives next year, what should it be able to rebuild? Designing AlanOS around that question meant deciding, file by file, what is evidence and what is only a reading of it.
The feed didn't tell me which way the bus was going
A real-time feed is only half the data. Two silent mistakes about missing values, and the small timetable join that fixed both.
What counts as late is a setting
A live bus map that flagged 377 incidents on a Friday afternoon. The fix wasn't a better algorithm; it was admitting that every alert rule is an opinion, and deciding whose.
Measuring an AI assistant instead of guessing
Twenty-one real questions exposed plausible answers built on the wrong evidence. A repeatable test showed which fixes worked, and which diagnoses were wrong.
When the canonical model becomes the interface
Why a technically correct interchange model can become the wrong contract for a human-facing workflow.
Map Core Architecture
Building a reusable geospatial foundation for operational transport systems.
MobX Architecture Patterns
Structuring long-lived frontend state for complex operational systems.
Map Data Contracts
Designing resilient interfaces between frontend mapping components and backend geospatial services.