Every project page carries its own deep dive, the architecture, the trade-offs, the numbers, and thatās where the details live. This page is the view across them. When you build enough tools solo, the same solutions start reappearing, and the recurrences say more about how I engineer than any single project can.
Architecture Patterns I Rely On
| Pattern | Where I Use It | Why |
|---|---|---|
| Hexagonal / Ports & Adapters | TALON | Pure domain logic with zero framework deps. Swap DB, LLM, or API provider without touching core. |
| LLM as Auditor, Never Judge | Classifieds Briefing, RepoAudit | A deterministic scorer makes the decision; the model audits it with bounded corrections it has to justify. The whole thesis, argued in four parts. |
| Hybrid Retrieval (RRF) | Salesforce Vector Knowledge, SF-Assistant | Keyword and vector search cover each otherās blind spots; rank fusion rewards chunks that do well in either. |
| Deterministic-First | RepoAudit | Full analysis without API keys; LLM validation is progressive enhancement, not a requirement. |
| Multi-Source Fallback | TALON | 3-tier LiDAR discovery with graceful degradation, deterministic caching, and stale-job recovery. |
| Function Calling (Tool Use) | TALON | LLM selects from dynamic tool schemas to translate natural language into structured spatial queries. |
| Multi-Agent / Microservice | Market Monitor | Independent services with clear boundaries, communicating through loose coupling (IRC + DB). |
| Strategy / Provider | Prism, SF-Assistant, RepoAudit | Swap AI providers with zero code changes. No vendor lock-in. |
| State Machine | Market Monitor | Adaptive behavior driven by computed escalation scores. |
| Feedback Loop / Calibration | Market Monitor, BookParser | Systems that learn from their own prediction accuracy. |
| Layered Prompt Caching | RepoAudit, Classifieds Briefing | Prime the shared prefix once, then run the parallel burst against the warm cache instead of racing to write it. |
| Idempotent Ingestion (Hash Gating) | Salesforce Vector Knowledge | SHA-256 gates on body and chunk: republishing costs zero callouts, a small edit re-embeds only what changed. |
| Circuit Breaker | BookParser, Reddit Research, TALON | Self-healing systems that survive flaky APIs and LLM hallucinations. |
| Abstract Factory | Chronicle, RepoAudit | Ingest N data sources or run N analysis profiles through one interface. |
| Async Multi-Phase Pipeline | RepoAudit (security) | Independent analysis phases run in parallel with semaphore-based throttling. |
| Model Cascading | BookParser, RepoAudit | Right-size model intelligence to task complexity. Cut cost and latency. |
| Resilient Scraping | Classifieds Briefing, Lead Generator | Randomized pacing, tiered browser strategies, and watchdogs that fail loudly on soft blocks instead of quietly rotting the cache. |
| TDD (Red-Green-Refactor) | TALON, Market Monitor, Lead Generator | Tests are the specification, written before the code they specify. |
| Lazy Loading | SF-Assistant | Handle massive codebases without memory overhead. |
| Zero-Dependency PWA | File Viewers, Apex Log Parser, Diegeist | Offline-capable, installable, no framework, no server. From 1K-line file viewers to a 10K-line game. |
| Procedural Generation | Diegeist | BSP dungeon generation, runtime audio synthesis via Web Audio API. Zero static assets. |
Current Focus
Geospatial Intelligence: preparing TALONās open beta across 14 western North Carolina counties at 1m LiDAR depth, a deliberate depth-over-breadth descope from earlier multi-state coverage. Runs on self-managed bare metal (Proxmox) for the compute headroom that serious geospatial processing actually demands.
Developer Tooling: evolving RepoAudit into a full-scope codebase intelligence platform. The same analysis patterns that scan for architecture quality can power onboarding tools, PR review automation, and technical debt tracking.
Hybrid AI: combining local models (Ollama) with cloud inference. Keep data private, use cloud when you need the better model.
Bidirectional Streaming: WebRTC, WebSockets, Server-Sent Events. Different architecture patterns for real-time experiences that traditional HTTP canāt do.