{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "perrylink-dsh-memento--keep-workspace-conventions-across-sessions",
 "repo": "PerryLink/dsh-memento",
 "repo_url": "https://github.com/PerryLink/dsh-memento",
 "repo_slug": "perrylink-dsh-memento",
 "title": "Keep workspace conventions across agent sessions",
 "page_title": "How to keep workspace conventions across agent sessions with DSH Memento",
 "summary": "Store project facts once so each new DeepSeek Harness session starts with them in the system prompt.",
 "who": "A developer on DeepSeek Harness who keeps re-explaining the same test commands and repo conventions at the start of every session.",
 "problem": "Each new session starts with no memory of project conventions, so the same context has to be typed again.",
 "outcome": "Conventions saved in the agent track workspace layer appear in the frozen snapshot of every later session.",
 "steps": [
  "Run `dsh plugin --profile web add dsh-memento` to install the plugin.",
  "Run `dsh --profile web --dump-config | grep -A3 'id: memento'` to confirm the memento row is present.",
  "Run `/memory add` and store one convention, such as the test command, in the agent track workspace layer. (inferred, check the README)",
  "Start a new session and check that the stored convention is in the injected snapshot."
 ],
 "agent_prompt": "In the dsh-memento repo, store the test command for <project> in the agent track workspace layer with /memory add, then run /memory list. Expected output: the new entry listed under agent and workspace. Verify that the memory_stats total increased by one.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The repo has been FROZEN since 2026-10-05, so expect no new fixes and pin the version you install.",
 "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": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/perrylink-dsh-memento/keep-workspace-conventions-across-sessions/",
 "md": "https://dedupedai.com/use-cases/perrylink-dsh-memento/keep-workspace-conventions-across-sessions/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--keep-workspace-conventions-across-sessions.json",
 "api_version": "v1"
}
