SA
SDE Discipline 04 / 04

Software Engineering

The foundation under everything else: schemas with invariants, test pyramids, infrastructure as code, and systems that survive their author.

Software Engineering abstract artwork

The story

My favorite class of bug is the one the database makes impossible. The treatment estimator rewrite freezes every price at the moment it's captured, with write-once columns enforced by triggers and full revision snapshots on every status change, because a patient quoted $38,000 in March deserves the same number in September, and a policy memo is weaker than a constraint.

I hold solo projects to team standards, because when you're the only engineer there is no one else to catch it: strict typing across the board, four-tier test pyramids with golden-file fixtures, idempotency at every boundary so replays never duplicate, CI/CD with keyless auth, and infrastructure that rebuilds from a clean checkout with one command.

The discipline pays off in unglamorous ways. The dashboard ships with a second, independent implementation of every metric purely as an audit oracle. The accounting platform's tests verify outputs byte for byte. The NPC pipeline's 1,156 tests run against in-memory fakes, so no test ever touches real patient data. Boring on purpose, and durable because of it.

What I bring

Invariants in the database

Write-once columns via triggers, append-only ledgers, revision snapshots. The schema enforces the business promise.

Test discipline at solo scale

1,156 tests on one system, strict typing, golden-file fixtures, in-memory fakes. No real cloud, no real PHI in any test.

Idempotency everywhere

Webhooks, ledger appends, file uploads, ETL runs: replay anything, duplicate nothing.

Built to be left

Terraform, runbooks, ADRs, admin panels for non-engineers. A system that needs its author forever is a liability, not an asset.

The projects

Built, shipped, and used.

Treatment Estimator preview

Treatment Estimator

In production

The pricing tool Hybridge coordinators use chairside during live consults. Shipped in about a month after a vendor failed at it for ten years, now being rebuilt as a Next.js 16 + Postgres app with a five-model pricing engine.

  • Frozen-price invariant: write-once columns enforced by database triggers
  • Per-location price books with propose/approve workflows, so pricing changes need no developer
  • Six-year estimate reproducibility for HIPAA record-keeping
  • ~$35/month total cloud footprint
Read the full story
Accounting automation platform preview

FastAPI platform behind Cloud IAP: upload a file, the system recognizes it and recommends the right ETL script, runs it with live logs, hands back the output.

  • Golden-file tests: outputs verified byte-identical against fixtures
  • In-browser script editing that commits to GitHub, so fixes ship without a terminal
  • Keyless CI/CD via Workload Identity Federation
Read the full story
NPC pipeline engineering preview

NPC pipeline engineering

In production

The software story under the AI: 19K lines of Python across 19 modules, 1,156 tests, strict typing, ports-and-adapters with dual-source dedup and an interim single-process pipeline ahead of the event-driven mesh.

  • Ports-and-adapters: a new call source is one new adapter; tests bind in-memory fakes
  • One NPC_BAA_ACCEPTED switch gates all real PHI; 1,156 tests touch no cloud and no PHI
Read the full story
JobPilot preview

JobPilot

Live

My open-source job-hunt autopilot: 160+ company boards watched directly, schema-locked LLM scoring, a calibrated resume judge with a truth-locked rewrite loop, and a Next.js console behind IAP. The one project that spans all four disciplines.

  • Open-sourced under MIT with a fork guide written to hand to an AI coding agent
  • Tailors a resume and cover letter per match; every resume ships its own ATS report
  • Grounded AI copilot with a per-job chat drawer over the live job description
  • A multi-page Next.js console behind IAP, the Google Sheet as the database, keyless CI/CD on Workload Identity Federation
Read the full story
This website preview

This website

Live

Astro + Tailwind, hand-built design system, React islands, a free-tier chatbot on Cloudflare Workers, deployed by GitHub Actions. The portfolio is also the proof.

The writing

Notes from this side of the work.