#architecture
9 pieces of content
How I Built This Portfolio
A technical walkthrough of building sivabuilds.com — the stack decisions, content pipeline, knowledge graph architecture, and the gotchas worth documenting.
Building a Local PII Privacy Gate for AI Coding Assistants
How I built a hybrid regex + on-device LLM scanner that blocks prompts containing PII before they reach cloud APIs — zero data leaves the device.
On-Device vs Cloud LLM: A Practical Benchmark
Benchmarking Apple's on-device Foundation Models against cloud LLMs across commit message generation, code review, and text classification — latency, quality, cost, and privacy tradeoffs.
How to Build an LLM-Powered UI Generator
A technical deep dive into building a system where users type plain English and get live HTML mockups that match a specific design system — grounding, token budgets, streaming, and security.
Reducing LLM Token Usage by 44% with Selective Context Injection
RuleFlow — Dynamic Rule Engine in Node.js
A Drools-style rule engine where business logic runs on editable JSON rules instead of hardcoded conditionals — demonstrated with an airline loyalty program.
Building a Modular Rule Engine for Credit Decisioning
How I designed a plugin-based rule engine that automated credit decisions, reduced manual review by 30%, and made rule changes deployable in hours instead of sprints.
Correlation IDs Go in Middleware, Not App Code
Structured Logging Is a Library, Not a Guideline