<?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: Chengyi Xu</title>
    <description>The latest articles on DEV Community by Chengyi Xu (@chengyi_xu_465805f32f66ab).</description>
    <link>https://dev.to/chengyi_xu_465805f32f66ab</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%2F4098019%2F0303cebe-b318-47df-86f5-081da410e2a4.png</url>
      <title>DEV Community: Chengyi Xu</title>
      <link>https://dev.to/chengyi_xu_465805f32f66ab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chengyi_xu_465805f32f66ab"/>
    <language>en</language>
    <item>
      <title>Agent memory needs a review state, not just a retrieval score</title>
      <dc:creator>Chengyi Xu</dc:creator>
      <pubDate>Fri, 28 Aug 2026 04:15:41 +0000</pubDate>
      <link>https://dev.to/chengyi_xu_465805f32f66ab/agent-memory-needs-a-review-state-not-just-a-retrieval-score-1ben</link>
      <guid>https://dev.to/chengyi_xu_465805f32f66ab/agent-memory-needs-a-review-state-not-just-a-retrieval-score-1ben</guid>
      <description>&lt;p&gt;Agent memory is usually framed as a retrieval problem: find the prior note,&lt;br&gt;
summary, task, or preference that appears relevant to the current prompt.&lt;/p&gt;

&lt;p&gt;That is necessary, but it is not sufficient for a system that is about to&lt;br&gt;
prepare a consequential next step.&lt;/p&gt;

&lt;p&gt;A remembered item can be relevant and still be the wrong thing to use. It may&lt;br&gt;
be stale, from the wrong scope, missing an approval, or unable to explain what&lt;br&gt;
happened after it was last used. In those cases, more retrieval confidence does&lt;br&gt;
not create authority.&lt;/p&gt;

&lt;p&gt;I have found it useful to make the decision explicit before an agent turns&lt;br&gt;
Context into action preparation. A lightweight review state can have four&lt;br&gt;
outcomes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Review state&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;proceed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The source is identifiable and current, the scope is bounded, and there is action-specific approval to prepare the step.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;refresh_context&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A source changed, is stale, conflicts with newer material, or cannot be checked at the required moment.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;clarify&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The intended result, audience, scope, or completion condition is ambiguous.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;return_to_person&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The next step needs new access, material judgment, or an external commitment.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is deliberately not a permission engine. It is a forcing function for a&lt;br&gt;
reviewable decision. The agent should keep the source, freshness check, scope,&lt;br&gt;
approval state, and eventual receipt close to the proposed work.&lt;/p&gt;

&lt;h2&gt;
  
  
  A small example
&lt;/h2&gt;

&lt;p&gt;Imagine an agent finds a vendor contact in an older project note and is asked&lt;br&gt;
to send a renewal reminder. The note is semantically relevant, but the contact&lt;br&gt;
has not been verified in nine months and a prior automation approval does not&lt;br&gt;
name the vendor or this renewal.&lt;/p&gt;

&lt;p&gt;The useful result is not an optimistic send. It is &lt;code&gt;refresh_context&lt;/code&gt;: verify&lt;br&gt;
the contact and obtain action-specific approval before an external message is&lt;br&gt;
prepared.&lt;/p&gt;

&lt;p&gt;The same logic applies to less dramatic tasks. A private internal draft based&lt;br&gt;
on current meeting notes can often proceed; a changed design document should&lt;br&gt;
refresh the draft's claims; choosing an interview candidate returns a material&lt;br&gt;
decision to a person.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test the negative paths
&lt;/h2&gt;

&lt;p&gt;Many agent evaluations reward a system for producing an answer. For workflow&lt;br&gt;
agents, I think the more revealing question is whether it can decline the&lt;br&gt;
wrong kind of progress:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Can it notice that a linked source revision changed?&lt;/li&gt;
&lt;li&gt;Can it separate a remembered preference from a current authorization?&lt;/li&gt;
&lt;li&gt;Can it describe why a request is underspecified instead of guessing?&lt;/li&gt;
&lt;li&gt;Can it preserve enough receipt fields for a reviewer to inspect the result?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those checks are portable across memory stores and orchestration stacks. They&lt;br&gt;
do not require a universal model, tool, or recorder claim. They require the&lt;br&gt;
system to treat remembered information as evidence that still needs a boundary.&lt;/p&gt;

&lt;h2&gt;
  
  
  A synthetic reference set
&lt;/h2&gt;

&lt;p&gt;I published a compact, fully synthetic reference set with 12 fictional cases&lt;br&gt;
for these four review outcomes. It contains no customer records, credentials,&lt;br&gt;
private conversations, recordings, or tool access, and it is not a benchmark&lt;br&gt;
of any product or provider:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://huggingface.co/datasets/ChengyiX/agent-context-review-cases" rel="noopener noreferrer"&gt;https://huggingface.co/datasets/ChengyiX/agent-context-review-cases&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The cases are intentionally small enough to adapt to a local policy, unit&lt;br&gt;
test, agent trace review, or human-in-the-loop design discussion. The key&lt;br&gt;
question is not whether an agent can remember more. It is whether it can show&lt;br&gt;
why this Context may be used for this bounded next step now.&lt;/p&gt;

&lt;h2&gt;
  
  
  Maker disclosure
&lt;/h2&gt;

&lt;p&gt;I work on Klik, a pre-launch, app-first, recorder-agnostic proactive-AI&lt;br&gt;
direction. The public product direction is deliberate Sessions becoming&lt;br&gt;
persistent Context and helping prepare reviewable follow-through; people keep&lt;br&gt;
decisions about new access, material judgment, and external commitments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://pre.hiklik.ai/?utm_source=devto&amp;amp;utm_medium=owned_article&amp;amp;utm_campaign=kickstarter_prelaunch&amp;amp;utm_content=context_review_state" rel="noopener noreferrer"&gt;https://pre.hiklik.ai/?utm_source=devto&amp;amp;utm_medium=owned_article&amp;amp;utm_campaign=kickstarter_prelaunch&amp;amp;utm_content=context_review_state&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This post and the linked reference set are educational materials, not product&lt;br&gt;
availability, compatibility, performance, security, or autonomous-action&lt;br&gt;
claims.&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
  </channel>
</rss>
