Nov 2025 – Present
CrunchAtlas
Software Engineer
Local-first, air-gapped AI security platform for critical infrastructure. Sole author of the systems below.
- Built the Postgres-native job queue that replaced Celery for the platform's GPU, LLM, and sandbox jobs, so a burst of heavy AI work can't OOM an air-gapped box and any one job can be cancelled without killing its worker. It runs on atomic per-lane claiming (
SELECT FOR UPDATE SKIP LOCKED), priority-FIFO ordering, dependency DAGs with cycle detection, and lock-free single-flight. - Engineered the queue's crash-isolation so no job hangs non-terminal: each job runs in a spawned (not forked) supervisor that survives a segfault or OOM-kill and reaps the child's process group, while a heartbeat sweeper force-fails jobs whose supervisor dies or freezes (catching a frozen-but-alive one a PID check would miss). Chaos tests SIGKILL live supervisors and kill the database mid-job to prove it.
- Built GPU-memory admission control so concurrent LLM jobs can't overcommit one card: a per-pool Postgres advisory lock admits a job only when its declared context-token cost fits the pool's live budget, and a runtime
READ COMMITTEDrequirement makes a claimer that waited on the lock re-price against just-committed usage instead of a stale snapshot. - Built the in-house agent runtime the platform's security agents run on (LangChain/LangGraph): context compaction that counts real tokens and fails closed instead of overflowing, plus tool-output eviction, loop detection, and per-run container sandboxing (fresh, network-isolated, self-reaping).
- Built PurpleHaze, an autonomous penetration-testing product: a local LLM drives Metasploit and real offensive tooling through a full multi-step engagement, holds session state across long runs, and produces compliance-grade OWASP and NIST reports, with no human in the loop.
- Sole owner of AtlasCyber's AWS, end to end across GovCloud and commercial partitions: EC2 (with a reverse-proxy/tunnel fleet), S3, IAM, VPC networking, and CloudFront.
- Rewrote the network-capture sensor from scratch in Rust, memory-safe workspace-wide (
#![forbid(unsafe_code)]): a headless Linux daemon around a crash-safe SQLite-WAL upload queue that persists each capture before upload and survives a restart without dropping data, replacing the prior lossy in-memory queue.