# Omar ElHawary

> I build and evaluate AI agents that act on real business data: MCP tooling, permission guardrails, evals and retrieval. Tier 3 support escalations before that.

Applied AI Engineer and Forward Deployed Engineer, remote from Cairo. Every post below has a plain Markdown version.

## Pages

- [Home](https://omarelhawary.com/): work, services, experience and contact
- [Arabic home](https://omarelhawary.com/ar): the homepage in Arabic
- [CV](https://omarelhawary.com/Omar-ElHawary-CV.pdf): PDF
- [Writing](https://omarelhawary.com/blog): all posts
- [RSS](https://omarelhawary.com/rss.xml)

## Posts

- [An approval has to show what it approves](https://omarelhawary.com/blog/an-approval-has-to-show-what-it-approves.md): Membership MCP lets an AI app make changes on a MemberPress site, and the risky ones wait for an admin to confirm. Three fixes from the last week, each about the gap between what the admin saw and what would run.
- [Most of my software factory is brakes](https://omarelhawary.com/blog/most-of-my-software-factory-is-brakes.md): Scheduled jobs on my Mac have turned GitHub issues into 573 merged PRs. Most of the work went into the parts that stop it, and the worst bug was a PR that told reviewers the tests passed.
- [ai-tell-lint: a linter for prose that sounds machine-written](https://omarelhawary.com/blog/ai-tell-lint-a-linter-for-machine-sounding-prose.md): For two months a private hook has stopped my agents from shipping commit messages and PR bodies full of stock AI phrasing. I've published it as a Claude Code plugin, a CLI and a GitHub Action. Here's what it catches and what the log taught me.
- [My AI memory kept a stale diagnosis alive](https://omarelhawary.com/blog/my-ai-memory-kept-a-stale-diagnosis-alive.md): My weekly planning task stopped producing files. AI summaries kept calling it a failure, even though the records also said it was disabled. What that taught me about dates, evidence, and agent memory.
- [A half-finished review looks exactly like a passing one](https://omarelhawary.com/blog/a-half-finished-review-looks-exactly-like-a-passing-one.md): My agent pipeline reviews its own code before it pushes. A reviewer killed halfway through left a file on disk that the next run read as approval, and only a rebase conflict stopped unreviewed code reaching a pull request.
- [95% at launch, 65% a month later](https://omarelhawary.com/blog/95-at-launch-65-a-month-later.md): Anthropic published the accuracy curve for hand-written knowledge feeding an AI agent: 21% without it, 95% with it, 65% a month later with nobody editing anything. The third number is the one I have to plan for.
- [A skill told me about a flag that didn't exist](https://omarelhawary.com/blog/a-skill-told-me-about-a-flag-that-didnt-exist.md): One wrong line in an instruction file cost time across three pull requests before anyone traced it. A wrong fact in code fails once, loudly. A wrong fact in an instruction file fails quietly, in every session, forever.
- [Five plugins, five missing operator paths](https://omarelhawary.com/blog/five-plugins-five-missing-operator-paths.md): Every plugin I've published exists because a feature shipped without a way for the person running the site to operate it. Support absorbs that cost monthly, and it never shows up as anything anyone has to fix.
- [Instructions are not a permission boundary](https://omarelhawary.com/blog/instructions-are-not-a-permission-boundary.md): I went looking for the safety rules in my AI setup and found that every one of them was a polite request. Here's what turns a rule into a control, and the incident at Anthropic that made me check.
- [The memory system behind my AI workflow](https://omarelhawary.com/blog/the-memory-system-behind-my-ai-workflow.md): LLM sessions start cold every time. Here's the file-based memory system I built so an AI agent picks up where the last session left off, without me re-explaining my life each morning.
- [Three cheap eval runs beat one flagship pass](https://omarelhawary.com/blog/three-cheap-eval-runs-beat-one-flagship-pass.md): A 13-model benchmark on 26 known CVEs shows run-to-run variance matters more than model tier. The lever in applied AI is the eval harness, not the model budget.
- [From support tickets to evals: a support engineer's path into applied AI](https://omarelhawary.com/blog/from-support-tickets-to-evals.md): Years of Tier 3 support escalations taught me to tell a plausible answer from a correct one. That single skill turns out to be most of the job in applied AI: evals, RAG grounding, and knowledge curation.
- [Why MemberPress Needs a Staging Safe Mode](https://omarelhawary.com/blog/why-memberpress-needs-staging-safe-mode.md): A WordPress plugin that makes MemberPress safe to run on staging — blocks customer-facing mail, pauses reminder crons, sandboxes payment gateways at read time, and survives the clone.
- [How I Built Admin Filters for MemberPress](https://omarelhawary.com/blog/how-i-built-admin-filters-for-memberpress.md): A WordPress.org plugin that adds address, custom-field, and user-meta filters to MemberPress admin lists — built entirely on hooks, with no core files modified.
- [How I Built Selective Role Reset for the Members Plugin](https://omarelhawary.com/blog/selective-role-reset-members-plugin.md): The Members plugin can now restore WordPress roles to a clean state — without nuking custom roles created by other plugins, and without orphaning users. Here's the problem and how I solved it.
- [How I Built the Administrator Rescue Link for the Members Plugin](https://omarelhawary.com/blog/administrator-rescue-link-members-plugin.md): The Members plugin now ships with a magic link that lets locked-out administrators restore their own access — without touching the database. Here's the problem it solves, how I built it, and how to use it.
- [Controlling the Past: Building Forward-Only Access for MemberPress](https://omarelhawary.com/blog/controlling-the-past-building-forward-only-access-for-memberpress.md): How the MemberPress Forward-Only Access plugin gates content by publish date vs. join date — with configurable rules, exclusions, wp-config overrides, and hooks for developers.
- [How to Bulk Generate PDF Invoices in MemberPress](https://omarelhawary.com/blog/how-to-bulk-generate-pdf-invoices-in-memberpress.md): A step-by-step tutorial for using the PDF Invoice Generator plugin to create invoices in bulk for MemberPress transactions — by date range, status, or all at once.
- [How to Troubleshoot Failed Subscription Renewals in MemberPress](https://omarelhawary.com/blog/how-to-troubleshoot-failed-subscription-renewals-in-memberpress.md): A practical guide to diagnosing and fixing failed subscription renewals in MemberPress — covering webhook issues, gateway mismatches, and the silent failures that cost you recurring revenue.
- [How to Track and Manage Gift Memberships in MemberPress](https://omarelhawary.com/blog/how-to-track-and-manage-gift-memberships-in-memberpress.md): Learn how to track gifted memberships, follow up on unclaimed gifts, export gift data, and automate reminders in MemberPress — with practical workflows and tools.
- [Bridging the Reporting Gap: The Engineering Behind the MemberPress Gift Reporter](https://omarelhawary.com/blog/memberpress-gift-reporter-bridging-gap.md): How I built a scalable solution to automate gift transaction insights for high-traffic membership sites.
- [Debugging at Scale: Lessons from Tier 3 Support](https://omarelhawary.com/blog/debugging-at-scale.md): Insights from a Tier 3 Engineer on maintaining stability in high-traffic WordPress and SaaS environments.
- [Welcome to My Technical Blog](https://omarelhawary.com/blog/welcome.md): Introducing a space for deep-dive case studies, WordPress engineering insights, and lessons from support escalations, the hardest of them handled at Tier 3.
