Writing
Write-ups of production bugs, integration quirks, and tooling changes from my own work, mostly at ClearFeed.
Nov 25, 2026 · 6 min
Moving Our Backend From ESLint to oxlint
Commits went from 18 seconds to about one, and full-repo lint from 94 seconds to under six. The work was in keeping the rules we actually relied on.
Jul 20, 2026 · 4 min
Rethinking TypeScript Checks for Agentic Development
What changed when agents started writing most of the code, and why that made an always-on TypeScript checker a poor use of local memory.
May 03, 2026 · 5 min
One Source of Truth: Global Instructions for Claude, Codex, and Other Coding Agents
A practical way to share agent guidance across tools without turning one global file into an instruction dump.
Apr 19, 2026 · 7 min
When The Scheduler Can Fire Twice: Claiming Scheduled Work With One UPDATE … RETURNING
When a scheduled job can be invoked more than once at the same time, the reliable fix is not a distributed lock. It is one UPDATE … RETURNING that claims a row by flipping its status, plus a lease that recovers work if a run stalls.
Mar 31, 2026 · 6 min
Building on Top of Microsoft Teams: Bot Events, Graph APIs, and the Mental Model That Helped
What helped while building a Teams integration for a real product, without pretending it is just one API and one happy path.
Jan 19, 2026 · 6 min
What Shared Channels Actually Change For A Teams Bot
The confusing part about shared channels in Teams is that your bot setup can be correct, reads can work, and regular message events can still fail unless the bot is explicitly mentioned.
Nov 18, 2025 · 4 min
Scoping an AI Agent's Tools to the Person Asking
How we let a support agent reset passwords and read HR records from Slack without trusting the model to stay on the right account.
May 05, 2025 · ClearFeed ↗
Slack Developer Sandboxes - A Guide to Slack App Development for Engineering Teams
A practical guide I wrote at ClearFeed on how engineering teams can test Slack apps without stepping on each other.
Apr 28, 2025 · 5 min
Making CloudWatch Logs Actually Queryable
We had logs in CloudWatch, but not in a form CloudWatch could really use. This is the pattern that split local and production formatting, preserved structure, and made Sentry point back to the right logs.
Aug 22, 2024 · 4 min
Making Production Deployments Easier By Bringing The Flow Into Slack
How a deployment process with too many AWS-specific paths turned into one Slack-first release flow that people could actually use.
Nov 17, 2023 · 4 min
The SQS Long Poll That Never Came Back
A debugging story about a poller that looked healthy for years, then started hanging forever when the network dropped at exactly the wrong moment.
Nov 14, 2023 · 7 min
Slack Connect And The One Event Problem When Your App Is Installed Twice
In a Slack Connect channel, installing the same app on both workspaces does not mean you will receive two Events API deliveries. The fix starts with the event envelope, not the business logic.
Apr 19, 2023 · 7 min
Making Cron Jobs Boring In Distributed Systems
Once scheduled work runs across multiple app instances and tenant data, the hard part stops being cron syntax and starts being coordination.
Feb 01, 2023 · 7 min
Making Sentry Alerts Better For HTTP Exceptions
Default Sentry alerts for outbound HTTP failures were too generic to act on quickly. This is a pattern that works well: group by method, URL, and status, carry over the useful response body, and scrub the sensitive parts before the event leaves the process.
Dec 14, 2022 · 6 min
Business-Context Logging With async_hooks, Not Just Request IDs
We wanted logs to carry business identifiers automatically, not just request IDs. The useful lesson was that async context propagation is also a lifecycle problem, and a naive map-based store can quietly turn observability code into a memory leak.
Sep 14, 2022 · 4 min
Rolling Out Risky Crons In Production
A practical pattern for dangerous cron jobs: do not trust staging alone, start with a tiny allowlist, and widen the blast radius in phases.
Mar 18, 2021 · 4 min
Using Three.js at 3D Usher to Make Instant Quoting Less Wrong
What it took to build a manufacturing quote flow that looked beyond the outer shape of a 3D model and priced the harder details too.