{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "okf-memory-okf-agent-memory--share-rules-across-personal-and-vendor-scopes",
 "repo": "okf-memory/okf-agent-memory",
 "repo_url": "https://github.com/okf-memory/okf-agent-memory",
 "repo_slug": "okf-memory-okf-agent-memory",
 "title": "Look up rules across project, vendor, user, and system scopes",
 "page_title": "How to look up rules across project, vendor, user, and system scopes with Okf Agent Memory",
 "summary": "Find a concept in the right layer, with higher-priority scopes shadowing lower ones.",
 "who": "A developer who keeps personal style notes and vendor framework rules alongside a project and needs the agent to pick the right one.",
 "problem": "Guidance lives in several places, and an agent can pick an outdated or wrong version without a clear precedence order.",
 "outcome": "Searches and lookups return the authoritative concept, with project content overriding vendor, user, and system content.",
 "steps": [
  "Run `make build` to create bin/okf.",
  "Run `./bin/okf search \"authentication\"` to search all scopes with automatic shadowing and priority ranking.",
  "Run `./bin/okf search \"routing\" --scope vendor` to limit the search to vendor packages.",
  "Run `./bin/okf show user:guidelines/style` to read a personal concept by its scoped name.",
  "Run `./bin/okf show decisions/auth` to read the local project concept, which takes priority over other scopes with the same ID."
 ],
 "agent_prompt": "Using the okf-memory/okf-agent-memory repo, search for <topic> across all scopes, then show the concept the search ranks first. Report which scope it came from and whether a higher-priority scope shadows any other matching concept. Verify the scope label before using the concept.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Vendor packages and the user and system layers only return results if those folders are populated, and the README excerpt does not explain how to install vendor packages.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A Git repository where the agent works",
  "A Go toolchain and make, since the README builds the tool with make build",
  "Clone access to github.com/okf-memory/okf-agent-memory"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/okf-memory-okf-agent-memory/share-rules-across-personal-and-vendor-scopes/",
 "md": "https://dedupedai.com/use-cases/okf-memory-okf-agent-memory/share-rules-across-personal-and-vendor-scopes/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/okf-memory-okf-agent-memory--share-rules-across-personal-and-vendor-scopes.json",
 "api_version": "v1"
}
