{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "perrylink-dsh-memento--audit-what-the-model-remembered",
 "repo": "PerryLink/dsh-memento",
 "repo_url": "https://github.com/PerryLink/dsh-memento",
 "repo_slug": "perrylink-dsh-memento",
 "title": "Audit what the model saw and what it wrote",
 "page_title": "How to audit what the model saw and what it wrote with DSH Memento",
 "summary": "Rebuild the memory write history from the plugin audit table and the session log.",
 "who": "A security-minded engineer or reviewer who needs evidence of every memory change in a DeepSeek Harness profile.",
 "problem": "Without a record, it is hard to tell which memory entries came from the model and which were approved by a person.",
 "outcome": "A list of memory writes with their approval outcomes, plus a visible note where the session log does not record memory events.",
 "steps": [
  "Run `/memory audit` to list the plugin audit table.",
  "Read the gap line if it appears, which means the session log does not record memory event types.",
  "Match each audit row with its approval/asked and approval/decided pair in the session log.",
  "Set auditRetentionDays in the memento config if you need audit rows removed after a set number of days; 0 keeps them forever. (inferred, check the README)"
 ],
 "agent_prompt": "Using the dsh-memento repo on profile <profile>, run /memory audit and list each write with its outcome. Expected output: rows from the plugin audit table, plus the session-log gap line if it is shown. Verify that each write has a matching approval/asked and approval/decided pair in the session log.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the session log does not yet know the memory event types, so the audit is only complete when the approval pair and plugin table are both checked.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "Node ^22.19.0 or >=24.0.0",
  "DeepSeek Harness with the dsh CLI installed",
  "A dsh profile, such as the web profile used in the examples"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/perrylink-dsh-memento/audit-what-the-model-remembered/",
 "md": "https://dedupedai.com/use-cases/perrylink-dsh-memento/audit-what-the-model-remembered/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/perrylink-dsh-memento--audit-what-the-model-remembered.json",
 "api_version": "v1"
}
