You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the memory-systems research (SuperLocalMemory arXiv 2603.02240; Governed Shared Memory arXiv 2606.24535; OWASP ASI06 memory-poisoning framing).
The column is stored but never used as a filter or signal. Add provenance fields (created_by agent, source surface) and derive a per-agent trust score from the existing helpful/harmful evidence: an agent whose memories keep getting invalidated writes lower-trust entries. Trust then feeds ranking and the review queue. Complements the memory governance UI (#299): 'who wrote this' is half of 'can I trust this'.
Landed on main as 8a568f3 (two grok workers off a shared contract at bede896).
Provenance — entries.source column; agent/source persisted by store()/supersede(), accepted at MCP and REST write surfaces (defaulting to mcp/rest), and returned on every read path (FTS, graph, vector, fused, get, recent, bootstrap). agent is now an actual search filter, which was the 'stored but never used' complaint.
Trust — agentTrust(db) rolls up helpful/harmful/invalidated per writer in one GROUP BY; trustFactor() weighs a wrong memory heavier than a right one, clamped to [0.5, 1.5]. Cached (5s TTL, dropped on a feedback verdict) and multiplied into BASE_SCORE_SQL. NULL writers stay at exactly 1.0 so existing ranks do not move — asserted in a test.
Review queue — no new review_queue.kind: kind has a CHECK constraint that would need migrating, so suspect agents (trust < 0.8) are reported in memory_maintenance instead. Revisit if the report proves too passive.
memory-server suite: 138/138 pass on main. The governance UI half (#299) still needs to consume the new agent/source/trust fields.
Activity
currentbits commentedon Aug 17, 2026
Landed on main as 8a568f3 (two grok workers off a shared contract at bede896).
Provenance —
entries.sourcecolumn;agent/sourcepersisted bystore()/supersede(), accepted at MCP and REST write surfaces (defaulting tomcp/rest), and returned on every read path (FTS, graph, vector, fused, get, recent, bootstrap).agentis now an actual search filter, which was the 'stored but never used' complaint.Trust —
agentTrust(db)rolls up helpful/harmful/invalidated per writer in one GROUP BY;trustFactor()weighs a wrong memory heavier than a right one, clamped to [0.5, 1.5]. Cached (5s TTL, dropped on a feedback verdict) and multiplied intoBASE_SCORE_SQL. NULL writers stay at exactly 1.0 so existing ranks do not move — asserted in a test.Review queue — no new
review_queue.kind:kindhas a CHECK constraint that would need migrating, so suspect agents (trust < 0.8) are reported inmemory_maintenanceinstead. Revisit if the report proves too passive.memory-server suite: 138/138 pass on main. The governance UI half (#299) still needs to consume the new
agent/source/trustfields.Merge pull request #329 from currentbits/coder/memory-provenance-and-…