<?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: Capicove</title>
    <description>The latest articles on DEV Community by Capicove (@capicove_ai).</description>
    <link>https://dev.to/capicove_ai</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%2F4269941%2F1f81f109-2241-468c-9dc4-05b1d42387c2.png</url>
      <title>DEV Community: Capicove</title>
      <link>https://dev.to/capicove_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/capicove_ai"/>
    <language>en</language>
    <item>
      <title>Offline Markdown Search with Verifiable Source Evidence (SQLite FTS5 + SHA-256)</title>
      <dc:creator>Capicove</dc:creator>
      <pubDate>Sat, 28 Nov 2026 03:07:09 +0000</pubDate>
      <link>https://dev.to/capicove_ai/offline-markdown-search-with-verifiable-source-evidence-sqlite-fts5-sha-256-5d4g</link>
      <guid>https://dev.to/capicove_ai/offline-markdown-search-with-verifiable-source-evidence-sqlite-fts5-sha-256-5d4g</guid>
      <description>&lt;p&gt;A keyword search hit is much more useful when you can verify the exact passage and file hash it came from.&lt;/p&gt;

&lt;p&gt;In this reproducible walkthrough, we use &lt;a href="https://capicove.ai/" rel="noopener noreferrer"&gt;Capicove&lt;/a&gt; (MIT-licensed, local-first knowledge and multimodal CLI) to import three local Markdown notes, build an offline SQLite FTS5 keyword index, search for &lt;code&gt;FTS5&lt;/code&gt;, and inspect exact character-span evidence (&lt;code&gt;start_char&lt;/code&gt;–&lt;code&gt;end_char&lt;/code&gt;) plus SHA-256 lineage—without a hosted API, API key, or model download during retrieval.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Full HTML guide, captured outputs, and replay bundle (ZIP + SHA-256):&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://capicove.ai/guides/offline-markdown-search/" rel="noopener noreferrer"&gt;https://capicove.ai/guides/offline-markdown-search/&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Quick replay
&lt;/h2&gt;

&lt;p&gt;Requires Python 3.11+ and &lt;code&gt;uv&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/happyBayes/capicove.git
&lt;span class="nb"&gt;cd&lt;/span&gt; capicove
git checkout 3f1be3314fa15dec8b8063166d77cc896cc5f68f
uv sync --locked --no-dev --python 3.11
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then initialize a local workspace, import your Markdown files, build the index, and inspect the returned &lt;code&gt;evidence_id&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="s2"&gt;"$BIN"&lt;/span&gt; setup init &lt;span class="s2"&gt;"$CASE/workspace"&lt;/span&gt; --source-root &lt;span class="s2"&gt;"notes=$CASE/notes"&lt;/span&gt;
&lt;span class="nv"&gt;CFG&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$CASE/workspace/host.json"&lt;/span&gt;
&lt;span class="s2"&gt;"$BIN"&lt;/span&gt; &lt;span class="nb"&gt;source&lt;/span&gt; import --runtime-config &lt;span class="s2"&gt;"$CFG"&lt;/span&gt; --root notes --relative-path offline-search.md
&lt;span class="s2"&gt;"$BIN"&lt;/span&gt; index build --runtime-config &lt;span class="s2"&gt;"$CFG"&lt;/span&gt;
&lt;span class="s2"&gt;"$BIN"&lt;/span&gt; search FTS5 --runtime-config &lt;span class="s2"&gt;"$CFG"&lt;/span&gt;
&lt;span class="s2"&gt;"$BIN"&lt;/span&gt; get-evidence YOUR_EVIDENCE_ID --runtime-config &lt;span class="s2"&gt;"$CFG"&lt;/span&gt; --section metadata --section lineage
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What we verified (including failure paths)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Exact match between returned &lt;code&gt;metadata.text&lt;/code&gt; and the UTF-8 source slice &lt;code&gt;[0:403]&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;SHA-256 match across &lt;code&gt;metadata.source_sha256&lt;/code&gt;, &lt;code&gt;lineage.source_sha256&lt;/code&gt;, and the raw file&lt;/li&gt;
&lt;li&gt;Appending text to a file after import causes &lt;code&gt;index build&lt;/code&gt; to reject the stale source without replacing the active generation&lt;/li&gt;
&lt;li&gt;Running with OS-level network denial (macOS sandbox) still completes all retrieval commands cleanly&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honest boundaries
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;This walkthrough demonstrates &lt;strong&gt;deterministic local keyword search&lt;/strong&gt; (SQLite FTS5), not semantic search or LLM generation.&lt;/li&gt;
&lt;li&gt;The public capability matrix qualifies Linux; native macOS qualification is still listed as pending.&lt;/li&gt;
&lt;li&gt;Read the full guide and download the reproduction ZIP here: &lt;a href="https://capicove.ai/guides/offline-markdown-search/" rel="noopener noreferrer"&gt;https://capicove.ai/guides/offline-markdown-search/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Public GitHub mirror: &lt;a href="https://github.com/happyBayes/capicove" rel="noopener noreferrer"&gt;https://github.com/happyBayes/capicove&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>opensource</category>
      <category>cli</category>
      <category>python</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
