{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "perrylink-dsh-memento--approve-every-memory-write",
 "repo": "PerryLink/dsh-memento",
 "repo_url": "https://github.com/PerryLink/dsh-memento",
 "repo_slug": "perrylink-dsh-memento",
 "title": "Review every memory write before it is saved",
 "page_title": "How to review every memory write before it is saved with DSH Memento",
 "summary": "Keep writePolicy at ask so each add, replace, or remove waits for your approval.",
 "who": "A team lead or careful developer who does not want the model to write facts into memory without review.",
 "problem": "A model may save incorrect or unwanted facts to long-term memory without anyone noticing.",
 "outcome": "Every proposed write is held for approval, and a denied write leaves a *-denied audit row instead of changing memory.",
 "steps": [
  "Run `dsh plugin --profile web add dsh-memento` to install the plugin.",
  "Run `dsh --profile web --dump-config | grep -A3 'id: memento'` and confirm writePolicy is ask.",
  "Trigger a memory write in a session and deny it in the approval prompt.",
  "Run `/memory audit` and find the *-denied row for that write.",
  "Run `/memory list` and confirm the denied entry is absent."
 ],
 "agent_prompt": "In the dsh-memento repo, confirm writePolicy is ask, trigger one memory write from <session>, deny it, then run /memory audit. Expected output: a *-denied audit row for that write. Verify that /memory list does not show the denied entry.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The gate only covers writes that go through the plugin service, and the README does not describe the approval prompt layout, so check the exact flow in your own harness build.",
 "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.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/perrylink-dsh-memento/approve-every-memory-write/",
 "md": "https://dedupedai.com/use-cases/perrylink-dsh-memento/approve-every-memory-write/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--approve-every-memory-write.json",
 "api_version": "v1"
}
