Who it is forAn AI platform engineer deciding how retrieval must respect user permissions before an answer is generated.
The problemPermission-aware retrieval, token limits, and tool authority are easy to leave implicit in AI designs.
The outcomeA boundary-by-boundary trace of one query with each authority check and owner named.
What you need first
- git installed, to clone the repository
- A Markdown reader or code editor to read the chapters
Steps
- Run
git clone https://github.com/DrHazemAli/enterprise-system-design.git - Run
cd enterprise-system-design - Open reference/02-data-and-retrieval/12-embeddings-and-vector-similarity.md and read how knowledge becomes searchable evidence.
- Open reference/03-ai-control-plane/ and note who controls tokens, tools, state, and model selection.
- Open principles/ai-systems/01-representation-authority-and-memory.md and apply its governing question to your design.
Prompt for your agent
Read the enterprise-system-design repository and trace a retrieval request for <target AI feature> from user identity through authorization, retrieval, grounding, and response. Output a table of each boundary with its authority check and one unverified assumption. Verify that every boundary has a named owner.
Caveat. The README covers AI systems as design reasoning, so the chapters do not supply a working retrieval implementation to deploy.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for DrHazemAli/enterprise-system-design and "Trace permission-aware retrieval in an AI feature"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer