Priority Soft (2026–Present): Compliance, Public-Sector and Tax Platforms
Five client platforms for a US software agency. Sole engineer on a healthcare-compliance platform for a US tax resolution practice that automates IRS ACA reporting: Form 1094-C/1095-C generation, employee coverage tracking, payroll ingestion, and validation. Primary engineer on a public-sector procurement and incident platform and a tax-return workpaper review tool. Contributor on a hospice medication-reconciliation platform and a D2C personalised-book product.
Problem
US employers must file IRS Forms 1094-C and 1095-C to prove Affordable Care Act coverage, or face per-return penalties. The data is scattered across payroll exports in inconsistent formats, and reconciling coverage month-by-month for every employee is manual, slow, and error-prone. A tax resolution practice needed to do this reliably at scale and eventually sell it as a product.
Architecture
A Turborepo monorepo with strict package boundaries that separate regulatory business rules, algorithms, infrastructure adapters, and the Next.js 16 application, so ACA logic stays isolated from framework code and is independently testable. A unified Drizzle ORM + PostgreSQL data layer sits behind migration guardrails enforced in CI. Heavy work (payroll parsing, form PDF generation) runs on BullMQ + Redis background workers to keep the app responsive. An LLM-assisted normalization step maps varied payroll formats into a single canonical data model. Quality is enforced with a Playwright E2E suite, a quality-scorecard ratchet, and Railway-based staging CI/CD.
Other client platforms
The ACA platform on this page is the one I own end to end. The agency also put me on four more client platforms. Client names stay private; the work does not.
- Public-sector procurement and incident platform (primary engineer): routing endpoints configurable per customer unit, incident events that carry every answer, the location and the photos to a downstream workflow system, a database diagram generated from the live schema, a clean dependency audit, and staged releases from staging to production on Azure and Railway.
- Tax-return workpaper review tool (primary engineer): a three-panel binder workspace with bookmarks, exceptions and a signed-off version lock; AI review notes that survive validation with a status and an audited dismiss; coded exceptions for identity, tax-year, duplicate and arithmetic checks; default destinations for standard W-2 and SSA-1099 boxes; one shared pdf.js worker so WebKit stops crashing between documents.
- Hospice medication-reconciliation platform (contributor, admin side): the nurse reconciliation flow matched to the approved prototype, a live formulary viewer, savings reporting across prognosis bands, a demo tenant seed, and lint, git hooks and a PR workflow for the repo, in an Expo/React Native and Express codebase.
- D2C personalised-book product (contributor, infrastructure and localisation): a translated UI through a message catalogue, DNS and transactional-mail records, Node and dependency security pins, a managed Postgres upgrade, and story PDFs rendered into the client's illustrated template, on a Fastify + Drizzle API on AWS.
Key Design Decisions
- Isolated regulatory business rules in dedicated packages behind strict boundaries. Tax rules change yearly; keeping them out of framework code makes them auditable and safe to update
- Ran parsing and PDF generation on background workers (BullMQ + Redis) rather than in request handlers. Batch filing operations are heavy and must not block the UI
- Used LLM-assisted normalization to ingest varied payroll formats into one canonical model, instead of hand-writing a parser per client format
- Wrote a migration drift-guard (after two real staging outages) that validates every Drizzle migration as a SQL + snapshot + journal triplet and fails CI on any drift, orphan SQL, or non-monotonic timestamp, and reports every problem at once instead of just the first
- Gated CI behind a 7-dimension quality-scorecard ratchet (tsc, eslint, type-coverage at 100%, knip, dependency-cruiser, file-size, tests) that fails on any regression from baseline. The ratchet itself is unit-tested.
- Enforced architecture boundaries with dependency-cruiser as CI errors: domain can't import Next or infrastructure, and the algorithms/parsing packages stay framework-agnostic
- Built state filing generation for five states (NJ, CA, DC, RI, MA) on top of the federal 1094-C/1095-C logic, plus line-15/line-16, COBRA, ICHRA, and lookback-period modeling
- Built as a monorepo from day one to keep a future multi-tenant SaaS split cheap
- Ran the AI import detection once per file, under a time budget and with a cancel button, so a slow model call can never hold a payroll upload hostage
- Kept AI review notes on the tax workpaper tool after validation, with a status and an audited dismiss, so a reviewer can see what the model flagged and who waved it through
Tradeoffs
- The strict package boundaries cost me some ceremony and indirection up front. The payoff shows up when a tax rule changes (and it will, every year): the regulatory logic is isolated and safe to touch.
- Letting an LLM normalize payroll formats absorbs the messy inputs a rigid parser chokes on. The price is a validation layer that assumes the model will occasionally be wrong.
- Redis and a queue to babysit are more moving parts than I'd like. But filing runs are heavy, and I wasn't going to block the UI on them.
Outcome
The ACA platform went to production in August 2026, with me as sole engineer from database schema to deployment pipeline. Since then it gained ICHRA affordability checks, re-hire and second-termination coverage periods, and AI-assisted import detection. It replaces manual, penalty-prone ACA reconciliation with automated 1094-C/1095-C generation, validation, and cross-reference diagnostics, and it's built from the start to become a commercial multi-tenant SaaS. Alongside it I am primary engineer on the procurement and tax-workpaper platforms and a contributor on the hospice and personalised-book products.
Lessons Learned
- On a compliance product, the quality gates are the product. A wrong number here isn't a bug, it's a mis-filed federal return, so the E2E suite and migration guards earn their keep.
- Two staging outages taught me to treat every migration as a SQL + snapshot + journal triplet and fail CI on any drift. That guardrail came from getting burned, not from a best-practices article.
- An LLM is a great parser for input you can't predict, right up until you trust it without a deterministic check sitting underneath.