惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Latest news
Latest news
T
Troy Hunt's Blog
V
Vulnerabilities – Threatpost
L
LINUX DO - 热门话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
V
V2EX
博客园 - 司徒正美
B
Blog RSS Feed
AWS News Blog
AWS News Blog
MyScale Blog
MyScale Blog
Scott Helme
Scott Helme
Cisco Talos Blog
Cisco Talos Blog
Last Week in AI
Last Week in AI
NISL@THU
NISL@THU
博客园 - Franky
P
Proofpoint News Feed
博客园_首页
C
CERT Recently Published Vulnerability Notes
雷峰网
雷峰网
S
Schneier on Security
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
G
GRAHAM CLULEY
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
WordPress大学
WordPress大学
The Hacker News
The Hacker News
T
Threatpost
阮一峰的网络日志
阮一峰的网络日志
A
Arctic Wolf
Microsoft Azure Blog
Microsoft Azure Blog
T
The Exploit Database - CXSecurity.com
Engineering at Meta
Engineering at Meta
罗磊的独立博客
T
The Blog of Author Tim Ferriss
D
Darknet – Hacking Tools, Hacker News & Cyber Security
I
Intezer
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
K
Kaspersky official blog
SecWiki News
SecWiki News
云风的 BLOG
云风的 BLOG
美团技术团队
C
Cybersecurity and Infrastructure Security Agency CISA
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Security Latest
Security Latest
C
Cyber Attacks, Cyber Crime and Cyber Security
B
Blog
S
Security Affairs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Before I Would Trust an Agent's Memory, I Would Audit Its Authority
Self-Correcting Systems · 2026-06-01 · via DEV Community

This is a submission for the Hermes Agent Challenge, under the Write About Hermes Agent prompt.

I've spent the last week testing AI memory failure modes in a public evaluation harness. That work changed how I read agent memory systems.

This is a writing submission, not a build submission. I did not build a Hermes Agent project for this challenge. I am writing from the perspective of someone testing how memory failures show up once agents can act.

So when I look at Hermes Agent, the question I care about is not only:

Can the agent remember useful things?

The harder question is:

When memory conflicts, which memory is allowed to govern the agent's action?

That distinction matters.

Hermes Agent is interesting because it is not just a chat interface. Its documentation describes an open-source agentic system with tool use, project context, persistent memory, skills, browser automation, checkpoints, delegation, scheduled tasks, and multiple memory providers.

That is exactly the kind of system where memory stops being a convenience feature and starts becoming part of the agent's operating boundary.

If an agent can run tools, edit files, browse, delegate work, schedule tasks, and remember across sessions, then memory is no longer just "context."

Memory becomes governance.

The Memory Problem I Would Watch For

In a simple chatbot, bad memory is annoying.

In an agent, bad memory can become operational.

The failure mode is not only that the agent forgets something. Sometimes the more dangerous failure is that it remembers the wrong thing too confidently.

A memory can be:

  • relevant but stale,
  • relevant but low-authority,
  • relevant but superseded,
  • relevant but only context,
  • relevant but not allowed to determine the action.

That is the distinction my own tests kept running into.

Retrieval systems are usually good at answering:

What memory is closest to the user's request?

But safety often depends on a different question:

What memory is allowed to decide what the agent should do?

Those are not the same objective.

Why Hermes Makes This Worth Talking About

Hermes Agent has several memory and context surfaces that make this question practical rather than abstract.

The docs describe persistent memory through MEMORY.md and USER.md, project context through files like AGENTS.md, .hermes.md, CLAUDE.md, SOUL.md, and .cursorrules, and reusable procedures through skills.

The prompt assembly docs also describe SOUL.md as the identity layer loaded into the system prompt, while MEMORY.md and USER.md provide durable cross-session facts that are snapshotted into new sessions.

The tips docs add one detail that matters a lot: memory is a frozen snapshot during a session. Writes can happen on disk immediately, but those changes do not appear in the system prompt until the next session starts.

That is a reasonable engineering tradeoff. It protects prompt-cache stability and keeps memory bounded.

But it also creates a real audit question:

If memory is frozen at session start, how does the operator reason about updates, corrections, and superseded facts during long-running work?

For ordinary preferences, that may not matter much.

For operational rules, credentials, approvals, safety constraints, or deployment procedures, it matters a lot.

Memory Needs Roles, Not Just Text

The practical lesson from my own AI memory tests was simple:

Relevance is not authority.

A memory can be a perfect semantic match and still be the wrong memory to obey.

For example:

  • A stale Wi-Fi password is highly relevant to "what is the Wi-Fi password?"
  • A loose old discussion about giving a contractor broad access is relevant to "what reach does this seat get?"
  • A past note that a consultant might need donor data is relevant to "can I send the donor list?"

But none of those should necessarily govern the action.

The memory that should govern may be less conversationally obvious:

  • "The current Wi-Fi credential lives with IT."
  • "Payment-capable access must be checked against the current access matrix."
  • "Donor data release requires verifiable named authorization."

This is where agent memory needs roles.

Not every remembered thing is the same kind of object.

Some memories are facts.
Some are preferences.
Some are procedures.
Some are policies.
Some are credentials.
Some are corrections.
Some are context.

If those all collapse into "text the agent remembers," the most relevant memory can win when the most authoritative memory should have governed.

In my own evaluation harness, adding an authority lane changed the result from 3/5 target memories selected to 5/5 on one adversarial packet. The same inputs that defeated the best lexical strategy were not fixed by making retrieval more semantic. They were fixed by separating authority from relevance before ordinary ranking got to decide.

In Hermes terms: SOUL.md carries role and identity. MEMORY.md and USER.md carry durable facts and preferences. Skills carry procedures. Project files like AGENTS.md and .hermes.md can become the policy layer, but only if the operator treats them that way.

A Simple Authority Checklist For Hermes Users

If I were setting up Hermes Agent for serious work, I would not only ask what to put in memory.

I would ask what each memory is allowed to do.

Here is the checklist I would use.

1. Separate durable facts from operating rules

Facts belong in memory.

Operating rules need stronger treatment.

If a rule determines whether the agent may edit files, deploy, access credentials, send data, or take an external action, I would not leave it as ordinary prose mixed into general memory.

I would put it somewhere explicit, concise, and easy to audit: a project AGENTS.md, a .hermes.md, or a dedicated section in a context file.

2. Mark stale and superseded memories aggressively

The most dangerous old memory is not the obviously wrong one.

It is the one that still sounds useful.

Credentials, endpoints, deployment steps, access rules, and approval notes should carry clear status language:

Superseded.
Do not use.
Current source is X.
Verify before acting.

That gives the agent a stronger signal than relevance alone.

3. Keep memory bounded and boring

Hermes documents bounded memory, and I think that is a strength.

Long memory files invite accidental policy drift. Shorter memory forces the operator to decide what actually deserves persistence.

The boring memory file is often the safer memory file.

4. Treat skills as procedures, not beliefs

Hermes' docs distinguish memory from skills: memory is for facts, skills are for procedures.

That distinction is important.

If a task has a repeatable workflow, it should probably be a skill or project instruction, not a vague remembered preference.

Procedures need steps, preconditions, and stop conditions.

Memory alone is not enough.

5. Audit what governs tool use

Once an agent can use tools, the key question becomes:

What memory or instruction controls this action?

Before trusting an agent with a workflow, I would test examples like:

  • stale credential vs current credential source,
  • old deploy command vs current deploy procedure,
  • read-only lookup vs write/execute action,
  • low-trust user note vs project rule,
  • previous approval vs current approval requirement.

The point is not to prove the agent is perfect.

The point is to find where relevant memories override authoritative ones.

The Frozen Snapshot Detail Matters

One Hermes detail I would pay attention to is the frozen memory snapshot.

The docs say memory writes happen immediately, but the prompt snapshot does not update mid-session.

That means an agent could write a correction to memory during a session, while still operating from the old prompt context until a new session begins.

That is not necessarily a bug.

But operators should understand it.

For low-risk preferences, this is fine:

Remember that I prefer terse answers.

For action-governing corrections, I would be more careful:

The deploy target changed.
The old credential is revoked.
The approval rule changed.
The current source of truth moved.

For those, I would want either a session restart, an explicit context injection, or a workflow rule that says the agent must verify against the current file before acting.

The general principle:

If a memory update changes what the agent is allowed to do, do not treat it like an ordinary preference update.

What I Would Test Next

If I were evaluating Hermes memory for production-style use, I would build a small harness around authority conflicts.

Not a benchmark claiming general results.

Just a diagnostic.

Five scenarios would be enough to start:

  1. A stale credential and an active credential policy.
  2. A user preference that conflicts with a project rule.
  3. A previous approval that is no longer valid.
  4. A read-only question that shares vocabulary with a write/execute policy.
  5. A broad remembered procedure that conflicts with a narrower current instruction.

For each one, I would track two separate metrics:

  • Did the agent retrieve or cite the relevant memory?
  • Did the correct memory govern the action?

Those are different scores.

That separation is the whole point.

Why This Matters For Open Agents

The exciting thing about open agent systems is that people can inspect and shape them.

The risky thing is the same.

My Takeaway

I would not evaluate an agent memory system only by asking whether it remembers.

I would ask whether it knows what its memories are allowed to do.

That is the difference between memory as convenience and memory as governance.

For Hermes Agent users, my practical advice is:

Do not just write memories. Classify them.

Mark what is fact, what is preference, what is procedure, what is policy, what is stale, and what must be verified before action.

Because in an agentic system, the most relevant memory is not always the memory that should win.

Being on-topic is not the same as being authoritative.

And once an agent can act, that distinction becomes the whole game.

Sources