{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "arihantdeva-heimdall--act-only-on-verified-recall",
 "repo": "ArihantDeva/heimdall",
 "repo_url": "https://github.com/ArihantDeva/heimdall",
 "repo_slug": "arihantdeva-heimdall",
 "title": "Reuse remembered code only when it is still verified",
 "page_title": "How to reuse remembered code only when it is still verified with Heimdall",
 "summary": "Check each hit's verdict so an agent acts on STRONG matches and skips stale paths.",
 "who": "An engineer who lets an agent reuse past code and needs to avoid acting on a moved or changed file.",
 "problem": "Vector search returns plausible matches, and an agent that acts on a dead or changed path wastes time or breaks work.",
 "outcome": "Each result carries a verdict, so an agent can reuse STRONG paths directly and treat WEAK, REBUILT, STALE or REMOVED paths with care.",
 "steps": [
  "`npm i -g @arihantdeva/heimdall`",
  "`heimdall setup`",
  "`heimdall doctor`",
  "`heimdall search \"<topic>\"` (inferred, check the README)",
  "`heimdall verify --deep`"
 ],
 "agent_prompt": "Use the heimdall CLI from ArihantDeva/heimdall to search for <topic>. Reuse only hits marked STRONG, and list WEAK or STALE hits separately with the printed reason. Expected output: a table of verdicts and paths. Verify each STRONG path with a file check before editing it.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README states that a same-size rewrite that also restores mtime is invisible to a stat-based STRONG check, so `heimdall verify --deep` is needed for that case.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js with npm, to run `npm i -g @arihantdeva/heimdall`",
  "macOS or a Debian, Ubuntu, Fedora or Amazon Linux machine, with the build prerequisites listed in the README for the graft backend",
  "git, because llama.cpp is cloned at first build",
  "A supported agent harness: pi, Claude Code, Codex, Cursor, Windsurf, or opencode"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/arihantdeva-heimdall/act-only-on-verified-recall/",
 "md": "https://dedupedai.com/use-cases/arihantdeva-heimdall/act-only-on-verified-recall/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/arihantdeva-heimdall--act-only-on-verified-recall.json",
 "api_version": "v1"
}
