<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Writing | Ashar Khalid</title>
    <link>https://ashark.tech/writing</link>
    <atom:link href="https://ashark.tech/writing/rss.xml" rel="self" type="application/rss+xml"/>
    <description>Practical notes on building AI agents, private document assistants and regulated software, drawn from real projects by a certified software architect.</description>
    <language>en-gb</language>
    <item>
      <title>Put access control in retrieval, not in the prompt</title>
      <link>https://ashark.tech/writing/access-control-in-retrieval</link>
      <guid isPermaLink="true">https://ashark.tech/writing/access-control-in-retrieval</guid>
      <description>An AI assistant built on your documents must respect the permissions your team already has. Telling the model to withhold restricted content is not enough; the filter belongs in the retrieval step.</description>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <category>RAG</category>
      <category>Security</category>
    </item>
    <item>
      <title>AI agents in production: treat every event as a possible repeat</title>
      <link>https://ashark.tech/writing/ai-agents-in-production</link>
      <guid isPermaLink="true">https://ashark.tech/writing/ai-agents-in-production</guid>
      <description>Two production faults in a live multi-agent system taught the same lesson. Assume every incoming event may be a duplicate or an echo of your own action, and trace every run so you can prove what happened.</description>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <category>AI agents</category>
      <category>Reliability</category>
    </item>
    <item>
      <title>Audit trails: write events, don&apos;t rely on database triggers</title>
      <link>https://ashark.tech/writing/audit-trails-events-not-triggers</link>
      <guid isPermaLink="true">https://ashark.tech/writing/audit-trails-events-not-triggers</guid>
      <description>In regulated software, an audit trail has to answer who did what, where, when and why. Database triggers only capture what changed. Explicit audit events capture the rest, and they are easier to replay for an audit.</description>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <category>Healthcare</category>
      <category>Architecture</category>
    </item>
    <item>
      <title>Local or hosted models? How I choose for a document assistant</title>
      <link>https://ashark.tech/writing/local-or-hosted-models</link>
      <guid isPermaLink="true">https://ashark.tech/writing/local-or-hosted-models</guid>
      <description>Running AI on your own servers keeps data in-house; hosted models are often stronger and cheaper to start. The right answer depends on three questions, and it is often a mix of both.</description>
      <pubDate>Fri, 30 Oct 2026 00:00:00 GMT</pubDate>
      <category>RAG</category>
      <category>Architecture</category>
    </item>
  </channel>
</rss>
