<?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: Sainath Bodige</title>
    <description>The latest articles on DEV Community by Sainath Bodige (@sainath_bodige_2006).</description>
    <link>https://dev.to/sainath_bodige_2006</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%2F4149841%2F2d498b13-6b84-4dc2-8387-d9435cf8455c.png</url>
      <title>DEV Community: Sainath Bodige</title>
      <link>https://dev.to/sainath_bodige_2006</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sainath_bodige_2006"/>
    <language>en</language>
    <item>
      <title>How Hindsight Made My Agent Remember Vendor Promises</title>
      <dc:creator>Sainath Bodige</dc:creator>
      <pubDate>Tue, 29 Sep 2026 14:40:35 +0000</pubDate>
      <link>https://dev.to/sainath_bodige_2006/how-hindsight-made-my-agent-remember-vendor-promises-4714</link>
      <guid>https://dev.to/sainath_bodige_2006/how-hindsight-made-my-agent-remember-vendor-promises-4714</guid>
      <description>&lt;h1&gt;
  
  
  What Makes a Memory-Based AI System Trustworthy
&lt;/h1&gt;

&lt;p&gt;A memory-enabled AI system can sound much smarter than a stateless one.&lt;/p&gt;

&lt;p&gt;It can remember previous conversations, bring old information into new decisions, and create continuity across interactions.&lt;/p&gt;

&lt;p&gt;But persistent memory introduces a harder requirement:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The application has to know what it can safely trust.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;PactTrace is a useful example.&lt;/p&gt;

&lt;p&gt;It remembers vendor commitments using &lt;a href="https://github.com/vectorize-io/hindsight" rel="noopener noreferrer"&gt;Hindsight&lt;/a&gt;, recalls relevant history when a new quote appears, and uses Groq to compare the current evidence against that history.&lt;/p&gt;

&lt;p&gt;The architecture is interesting because trust is not delegated to a single model response.&lt;/p&gt;

&lt;p&gt;Several layers work together.&lt;/p&gt;

&lt;h2&gt;
  
  
  The use case
&lt;/h2&gt;

&lt;p&gt;Vendor promises are often spread across calls, emails, notes, and negotiations.&lt;/p&gt;

&lt;p&gt;A vendor might promise:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a discount&lt;/li&gt;
&lt;li&gt;a fee waiver&lt;/li&gt;
&lt;li&gt;a pricing guarantee&lt;/li&gt;
&lt;li&gt;a service level&lt;/li&gt;
&lt;li&gt;a support commitment&lt;/li&gt;
&lt;li&gt;a renewal term&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Months later, the new quote may be reviewed by someone who never saw the original conversation.&lt;/p&gt;

&lt;p&gt;PactTrace turns those historical interactions into reusable memory.&lt;/p&gt;

&lt;p&gt;The workflow is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Capture → Remember → Recall → Verify → Act&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc4mvg7nns4xqz5cdzbju.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc4mvg7nns4xqz5cdzbju.jpg" alt=" " width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 1: only extract supported commitments
&lt;/h2&gt;

&lt;p&gt;The first trust boundary appears before anything reaches long-term memory.&lt;/p&gt;

&lt;p&gt;PactTrace asks the model to extract only explicit or strongly supported vendor commitments.&lt;/p&gt;

&lt;p&gt;The prompt includes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Do not invent commitments.

If a value, condition, or deadline is not present,
return null.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response must also satisfy a strict Zod schema.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;extractedCommitmentsSchema&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strictObject&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;vendor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
  &lt;span class="na"&gt;summary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
  &lt;span class="na"&gt;commitments&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strictObject&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
      &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
      &lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
      &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;nullable&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
      &lt;span class="na"&gt;condition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;nullable&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
      &lt;span class="na"&gt;deadline&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;string&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;nullable&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
      &lt;span class="na"&gt;status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;z&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;enum&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;promised&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;active&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;honored&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;violated&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;unknown&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="p"&gt;]),&lt;/span&gt;
    &lt;span class="p"&gt;}),&lt;/span&gt;
  &lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That matters because long-term memory amplifies mistakes.&lt;/p&gt;

&lt;p&gt;A hallucination that exists for one response is bad.&lt;/p&gt;

&lt;p&gt;A hallucination stored as persistent historical truth can affect future decisions too.&lt;/p&gt;

&lt;p&gt;So the safest memory is one that starts with conservative ingestion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 2: confirm that memory was actually retained
&lt;/h2&gt;

&lt;p&gt;PactTrace stores the original interaction and extracted commitment memories in Hindsight.&lt;/p&gt;

&lt;p&gt;It uses synchronous batch retention:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;getHindsightClient&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;retainBatch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="nx"&gt;bankId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nx"&gt;items&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;async&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="na"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;AbortSignal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;timeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="nx"&gt;_000&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then it validates the acknowledgement:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;success&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
  &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
  &lt;span class="nx"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;items_count&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="nx"&gt;items&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Hindsight did not confirm the complete batch&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This seems like a reliability detail, but it affects user trust.&lt;/p&gt;

&lt;p&gt;The application should not display “saved” when the provider has only queued a request or accepted part of the expected memory batch.&lt;/p&gt;

&lt;p&gt;The UI should reflect confirmed system state.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 3: attach metadata to memory
&lt;/h2&gt;

&lt;p&gt;Each retained item includes metadata such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;metadata&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;vendor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;vendor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;source&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;interaction_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;interactionId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Individual commitment memories add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory type&lt;/li&gt;
&lt;li&gt;commitment type&lt;/li&gt;
&lt;li&gt;status&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That metadata later helps isolate vendor-specific history.&lt;/p&gt;

&lt;p&gt;Without it, retrieval would depend too heavily on natural-language similarity.&lt;/p&gt;

&lt;p&gt;For a business system, “sounds related” is not always enough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 4: verify recalled memories belong to the vendor
&lt;/h2&gt;

&lt;p&gt;When Hindsight returns results, PactTrace checks the metadata:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;owner&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
  &lt;span class="nf"&gt;normalizeVendor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;owner&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="nx"&gt;normalizedVendor&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
  &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[];&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is one of the most important lines in the retrieval pipeline.&lt;/p&gt;

&lt;p&gt;The recall prompt asks for CloudNova memories, but the application does not assume prompt wording alone guarantees isolation.&lt;/p&gt;

&lt;p&gt;It checks the stored vendor field too.&lt;/p&gt;

&lt;p&gt;That is an example of a broader engineering principle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use the model or retrieval system for intelligence, but use application logic for invariants.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 5: force the analysis to remain grounded
&lt;/h2&gt;

&lt;p&gt;PactTrace's comparison model receives the current quote and selected recalled memories.&lt;/p&gt;

&lt;p&gt;It is instructed not to invent:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use only the supplied memories for historical facts
and only the supplied quote for current evidence.

Never invent prices, percentages, dates or conditions.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;More importantly, PactTrace validates the output after generation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;memory&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;conflict&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;historicalCommitment&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt;
  &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;input&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;quote&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;conflict&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;currentEvidence&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Comparison evidence was not grounded in the supplied sources&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This means the final answer cannot rely only on the model's confidence.&lt;/p&gt;

&lt;p&gt;The quoted evidence has to exist in the actual sources.&lt;/p&gt;

&lt;h2&gt;
  
  
  The CloudNova case
&lt;/h2&gt;

&lt;p&gt;Suppose a historical interaction says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;CloudNova agreed to waive the onboarding fee and promised a 15% renewal discount if the account exceeds 100 seats.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A later quote says:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;CloudNova renewal quote for 130 seats is ₹460000 annually. The quote does not include any renewal discount.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;PactTrace recalls the historical promise.&lt;/p&gt;

&lt;p&gt;It checks the condition:&lt;/p&gt;

&lt;p&gt;130 seats exceeds 100.&lt;/p&gt;

&lt;p&gt;Then it checks current evidence:&lt;/p&gt;

&lt;p&gt;the quote explicitly says no renewal discount is included.&lt;/p&gt;

&lt;p&gt;That supports a potential conflict.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0yy02onekgmkz2o8plae.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0yy02onekgmkz2o8plae.jpg" alt=" " width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice what it does not do.&lt;/p&gt;

&lt;p&gt;It does not automatically claim a legal violation.&lt;/p&gt;

&lt;p&gt;It does not calculate financial damage.&lt;/p&gt;

&lt;p&gt;It does not assume every historical commitment applies to every future document.&lt;/p&gt;

&lt;p&gt;The application even sets:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;financialImpact&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;because no verified financial-impact calculator is implemented.&lt;/p&gt;

&lt;p&gt;That is a trustworthy limitation.&lt;/p&gt;

&lt;h2&gt;
  
  
  “I don't know” is a feature
&lt;/h2&gt;

&lt;p&gt;The onboarding-fee commitment demonstrates another important rule.&lt;/p&gt;

&lt;p&gt;If the new renewal quote says nothing about onboarding, PactTrace does not interpret silence as contradiction.&lt;/p&gt;

&lt;p&gt;The result is &lt;strong&gt;insufficient evidence&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Likewise, if a historical commitment depends on a condition and the current quote cannot establish whether that condition occurred, the system does not escalate the result.&lt;/p&gt;

&lt;p&gt;Unknown or unmet conditions must remain low-severity insufficient evidence.&lt;/p&gt;

&lt;p&gt;That behavior is less dramatic than always finding a problem.&lt;/p&gt;

&lt;p&gt;It is also much more defensible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reliability is part of AI quality
&lt;/h2&gt;

&lt;p&gt;When people discuss trustworthy AI, they often focus entirely on prompting.&lt;/p&gt;

&lt;p&gt;PactTrace shows why production reliability matters too.&lt;/p&gt;

&lt;p&gt;The system includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;strict schemas&lt;/li&gt;
&lt;li&gt;server-only provider code&lt;/li&gt;
&lt;li&gt;timeouts&lt;/li&gt;
&lt;li&gt;bounded retry behavior&lt;/li&gt;
&lt;li&gt;vendor filtering&lt;/li&gt;
&lt;li&gt;conservative deduplication&lt;/li&gt;
&lt;li&gt;evidence validation&lt;/li&gt;
&lt;li&gt;explicit uncertainty states&lt;/li&gt;
&lt;li&gt;sanitized provider failures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Trust comes from the complete system, not just the language model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Persistent memory raises the standard
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://hindsight.vectorize.io/" rel="noopener noreferrer"&gt;Hindsight agent memory&lt;/a&gt; gives PactTrace something a normal one-shot quote analyzer does not have:&lt;/p&gt;

&lt;p&gt;historical continuity.&lt;/p&gt;

&lt;p&gt;That makes the application more useful.&lt;/p&gt;

&lt;p&gt;It also raises the standard for engineering.&lt;/p&gt;

&lt;p&gt;If an agent remembers information for later decisions, developers need to think carefully about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what enters memory&lt;/li&gt;
&lt;li&gt;how it is identified&lt;/li&gt;
&lt;li&gt;how it is recalled&lt;/li&gt;
&lt;li&gt;how conclusions are grounded&lt;/li&gt;
&lt;li&gt;how uncertainty is represented&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Vectorize discussion of &lt;a href="https://vectorize.io/articles/agent-memory-vs-rag" rel="noopener noreferrer"&gt;agent memory versus RAG&lt;/a&gt; is useful context for this broader architectural shift.&lt;/p&gt;

&lt;p&gt;My main takeaway from PactTrace is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trustworthy AI memory is not just about remembering the right thing. It is about refusing to claim more than the evidence supports.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Project: &lt;a href="https://github.com/v9vek26/pacttrace" rel="noopener noreferrer"&gt;https://github.com/v9vek26/pacttrace&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Live application: &lt;a href="https://pacttrace.vercel.app/" rel="noopener noreferrer"&gt;https://pacttrace.vercel.app/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>agents</category>
      <category>nextjs</category>
    </item>
  </channel>
</rss>
