<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hossam Saif</title>
    <description>The latest articles on DEV Community by Hossam Saif (@hossam_saif_a73bc1dde9ff9).</description>
    <link>https://dev.to/hossam_saif_a73bc1dde9ff9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4142005%2Ffb83d559-7f13-4731-ad2a-fbcd7b14f751.jpg</url>
      <title>DEV Community: Hossam Saif</title>
      <link>https://dev.to/hossam_saif_a73bc1dde9ff9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hossam_saif_a73bc1dde9ff9"/>
    <language>en</language>
    <item>
      <title>Building a Living Case Database: Schema, Human-in-the-Loop AI, and the Math That Kills Most Niche Sites</title>
      <dc:creator>Hossam Saif</dc:creator>
      <pubDate>Thu, 24 Sep 2026 22:31:31 +0000</pubDate>
      <link>https://dev.to/hossam_saif_a73bc1dde9ff9/building-a-living-case-database-schema-human-in-the-loop-ai-and-the-math-that-kills-most-niche-4k5j</link>
      <guid>https://dev.to/hossam_saif_a73bc1dde9ff9/building-a-living-case-database-schema-human-in-the-loop-ai-and-the-math-that-kills-most-niche-4k5j</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnjwsek6b3gksz3i36t1x.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnjwsek6b3gksz3i36t1x.webp" alt=" " width="800" height="537"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most "build a niche site" posts stop at the content strategy.&lt;br&gt;&lt;br&gt;
This one starts where those posts usually end: the operating model.&lt;/p&gt;

&lt;p&gt;I spent time reverse-engineering what it actually takes to run a site that publishes &lt;em&gt;living case files&lt;/em&gt; instead of one-and-done articles. The full blueprint (architecture, data model, nine-prompt production pipeline, privacy gates, economics, and monetization) is here:&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://www.moneytraces.com/2026/09/how-to-build-true-crime-case-tracking.html" rel="noopener noreferrer"&gt;How to Build a True-Crime Case-Tracking Website From Scratch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What follows is the part I think is most useful for builders: the data and process decisions that determine whether the site survives past the first six months.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. The core unit is not an article — it's a row
&lt;/h3&gt;

&lt;p&gt;Every case is a structured record &lt;em&gt;before&lt;/em&gt; it becomes a page. The schema is deliberately over-normalized from day one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;defendants&lt;/code&gt;, &lt;code&gt;victims&lt;/code&gt;, &lt;code&gt;attorneys&lt;/code&gt;, &lt;code&gt;judge&lt;/code&gt; are foreign keys (or arrays of FKs), not free-text fields.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;charges&lt;/code&gt; is its own table with per-charge legal status.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;hearings&lt;/code&gt; is an append-only log (newest first).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;last_verified&lt;/code&gt; is a first-class field that drives the stale-case metric.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why? Converting flat text into linked entities later is one of the most painful refactors you can do on a live site. Plan for the graph even if the MVP UI still renders everything as plain text.&lt;/p&gt;

&lt;p&gt;The page template is just a view over that schema:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Case Name / Docket
├── Status + Last Updated
├── Summary (2–3 sentences, rewritten as the case evolves)
├── Timeline (dated, newest first)
├── The Money / Harm
├── Key Documents
├── Related Cases
└── Update Log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. The production system is nine prompts + one human gate
&lt;/h3&gt;

&lt;p&gt;This is not an autonomous AI newsroom. It's a research and drafting pipeline with mandatory human sign-off on every legal-status claim, every newly named person, and every publication decision.&lt;/p&gt;

&lt;p&gt;High-level flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Signal Hunter&lt;/strong&gt; – monitors new filings, hearings, sealed-to-unsealed changes
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Qualification&lt;/strong&gt; – hard PASS/FAIL gates (primary source exists? trackable docket? privacy risk?)
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source Hunter + Claim Ledger&lt;/strong&gt; – builds a citation table with claim ID, source, page/para, legal status, confidence
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analysis&lt;/strong&gt; – patterns only if the ledger supports them; alternative explanations required
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entity Map&lt;/strong&gt; – what lives on the permanent case page vs. what becomes a standalone explainer
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Case File Builder&lt;/strong&gt; – every factual sentence must cite a claim ID
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accuracy + Privacy Gate&lt;/strong&gt; – the single most important step
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Update Check&lt;/strong&gt; – for already-tracked cases
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Distribution&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The privacy/accuracy gate is non-negotiable. Any open flag (minor identification, sealed records, presumption of guilt, secondary-only sources treated as fact) blocks publication.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The real constraint is operating capacity, not content ideas
&lt;/h3&gt;

&lt;p&gt;Homicide Watch D.C. peaked at ~500k pageviews/month and still closed. The cost of keeping every active case current was effectively one full-time reporter. When the founders moved and couldn't find a local partner willing to fund that role, the site shut down.&lt;/p&gt;

&lt;p&gt;That is the actual problem this architecture tries to solve.&lt;/p&gt;

&lt;p&gt;Define these metrics &lt;em&gt;before&lt;/em&gt; you publish the first case file:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Target&lt;/th&gt;
&lt;th&gt;Warning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Active cases per editor&lt;/td&gt;
&lt;td&gt;15–25&lt;/td&gt;
&lt;td&gt;&amp;gt;30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;High-activity cadence&lt;/td&gt;
&lt;td&gt;Daily&lt;/td&gt;
&lt;td&gt;&amp;gt;48h&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dormant cadence&lt;/td&gt;
&lt;td&gt;Weekly&lt;/td&gt;
&lt;td&gt;&amp;gt;14 days&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stale-case rate&lt;/td&gt;
&lt;td&gt;&amp;lt;5%&lt;/td&gt;
&lt;td&gt;&amp;gt;10%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Correction rate&lt;/td&gt;
&lt;td&gt;&amp;lt;2 / 100&lt;/td&gt;
&lt;td&gt;&amp;gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Site health formula:&lt;br&gt;&lt;br&gt;
&lt;code&gt;stale-case rate &amp;lt; 5% AND correction rate &amp;lt; 2&lt;/code&gt; → the site is delivering what it promised.&lt;br&gt;&lt;br&gt;
&lt;code&gt;stale-case rate &amp;gt; 10%&lt;/code&gt; → it has operationally collapsed, even if traffic looks great.&lt;/p&gt;

&lt;p&gt;Size the number of active cases to what one person can actually sustain, not to what would be editorially interesting.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Why this is interesting for builders
&lt;/h3&gt;

&lt;p&gt;Most AI content systems optimize for volume. This one optimizes for &lt;em&gt;trust under continuous update pressure&lt;/em&gt;. The claim ledger, the hard privacy gate, and the explicit automation boundary (what AI can draft vs. what a human must sign) are the parts that make the difference between a site that can keep running and one that quietly dies when the founder gets busy.&lt;/p&gt;

&lt;p&gt;If you're building anything that needs to stay accurate over time (case tracking, regulatory monitoring, product changelogs, research databases), the same pattern applies:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Structured schema first
&lt;/li&gt;
&lt;li&gt;Provenance on every claim
&lt;/li&gt;
&lt;li&gt;Explicit human gates on the high-risk decisions
&lt;/li&gt;
&lt;li&gt;Metrics that tell you when the operation is failing, not just when traffic is up&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Full write-up with the complete prompt set, site map, monetization layers, and real-world examples (Homicide Watch, DC Witness, CourtWatch, etc.) is here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.moneytraces.com/2026/09/how-to-build-true-crime-case-tracking.html" rel="noopener noreferrer"&gt;https://www.moneytraces.com/2026/09/how-to-build-true-crime-case-tracking.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Curious what others have found when trying to keep structured "living" data products accurate at low headcount. The operating numbers are the part most architecture posts skip.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>ai</category>
      <category>puppet</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
