{
  "version": 1,
  "taxonomy_version": "0.10.0",
  "generated": "2026-11-25T11:31:13.753Z",
  "base_url": "https://agentpractices.dev/",
  "count": 78,
  "practices": [
    {
      "id": "BP-0029",
      "title": "Evaluate and secure retrieval-augmented generation",
      "description": "Measure retrieval and answer quality separately against a labelled question set, re-run it on every change, and defend the index against poisoning, cross-tenant leakage, embedding inversion and injected instructions in retrieved text.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "reviewer",
        "implementer",
        "orchestrator"
      ],
      "stage": [
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0027",
        "BP-0028",
        "BP-0006",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP LLM09:2026 Vector and Embedding Weaknesses",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        },
        {
          "title": "Anthropic — Introducing Contextual Retrieval",
          "url": "https://www.anthropic.com/news/contextual-retrieval"
        }
      ],
      "slug": "agent-engineering/context-memory/evaluate-and-secure-rag",
      "content_hash": "sha256:1960bc91b4b14579f2e9186f29f27f6a3eca4a93e5fcb9b76b0edc5c426b8a2d",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/evaluate-and-secure-rag/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/evaluate-and-secure-rag.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0029%401.0.1&practice=BP-0029%401.0.1"
    },
    {
      "id": "BP-0012",
      "title": "Manage long-term memory",
      "description": "Persist only durable, sourced facts across sessions — organised by subject, updated not duplicated, never secrets — and treat what you read back as data to verify.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0005",
        "BP-0011",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Platform Docs — Memory tool",
          "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool"
        },
        {
          "title": "Anthropic — Effective context engineering for AI agents",
          "url": "https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents"
        }
      ],
      "slug": "agent-engineering/context-memory/manage-long-term-memory",
      "content_hash": "sha256:684768b19fb71eb538a9b77015651189bcdb4b57ca2e87ef1fbb9dd653a8f293",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/manage-long-term-memory/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/manage-long-term-memory.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0012%401.0.0&practice=BP-0012%401.0.0"
    },
    {
      "id": "BP-0011",
      "title": "Manage short-term (working) memory",
      "description": "Treat the context window as a finite working memory — load just in time, keep task state in an external ledger, compact at milestones, and re-read rather than recall.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0002",
        "BP-0010",
        "BP-0012",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Effective context engineering for AI agents",
          "url": "https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents"
        },
        {
          "title": "Claude Cookbook — Context engineering: memory, compaction, and tool clearing",
          "url": "https://platform.claude.com/cookbook/tool-use-context-engineering-context-engineering-tools"
        }
      ],
      "slug": "agent-engineering/context-memory/manage-short-term-memory",
      "content_hash": "sha256:4bda21819a1edc129a0cd699fce7148570bad6a28ec12249cb547c1c613c1571",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/manage-short-term-memory/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/manage-short-term-memory.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0011%401.0.0&practice=BP-0011%401.0.0"
    },
    {
      "id": "BP-0027",
      "title": "Prepare a corpus for retrieval",
      "description": "Ingest only trusted, current sources; chunk by document structure; give every chunk its context, metadata, provenance and access labels; deduplicate; and re-index when sources change.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0028",
        "BP-0029",
        "BP-0025",
        "BP-0024"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Introducing Contextual Retrieval",
          "url": "https://www.anthropic.com/news/contextual-retrieval"
        },
        {
          "title": "OWASP LLM09:2026 Vector and Embedding Weaknesses",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        }
      ],
      "slug": "agent-engineering/context-memory/prepare-a-corpus-for-retrieval",
      "content_hash": "sha256:2514527457fa3d83e1bdc5948883bcdd1a6c7fc4fe23ffea572b9529c0272171",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/prepare-a-corpus-for-retrieval/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/prepare-a-corpus-for-retrieval.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0027%401.0.1&practice=BP-0027%401.0.1"
    },
    {
      "id": "BP-0028",
      "title": "Retrieve context with hybrid search, filters and reranking, and cite it",
      "description": "Combine keyword and semantic search, filter by metadata and access before ranking, rerank a wider candidate set, pass only the best passages, cite every claim to its source, and say so when nothing relevant was found.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "implementer",
        "researcher",
        "any"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0027",
        "BP-0029",
        "BP-0010",
        "BP-0011"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Introducing Contextual Retrieval",
          "url": "https://www.anthropic.com/news/contextual-retrieval"
        },
        {
          "title": "Claude Cookbook — Enhancing RAG with contextual retrieval",
          "url": "https://platform.claude.com/cookbook/capabilities-contextual-embeddings-guide"
        }
      ],
      "slug": "agent-engineering/context-memory/retrieve-context-well",
      "content_hash": "sha256:337c0edb3910de95880052c032a7dfdd819a2621774f8a8d154928114f743d72",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/retrieve-context-well/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/retrieve-context-well.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0028%401.0.0&practice=BP-0028%401.0.0"
    },
    {
      "id": "BP-0010",
      "title": "Use a code index to gather context",
      "description": "Find code through a symbol, reference and semantic index, read only the spans the task needs, and verify index results against current source before editing.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer",
        "orchestrator"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0002",
        "BP-0008",
        "BP-0011"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Codanna — local code intelligence MCP server",
          "url": "https://github.com/bartolli/codanna"
        },
        {
          "title": "Gortex — code intelligence engine (graph",
          "MCP": null,
          "CLI)": null,
          "url": "https://github.com/zzet/gortex"
        },
        {
          "title": "codebase-memory-mcp — tree-sitter knowledge graph MCP server",
          "url": "https://github.com/DeusData/codebase-memory-mcp"
        },
        {
          "title": "Serena — LSP-backed semantic retrieval and editing MCP toolkit",
          "url": "https://github.com/oraios/serena"
        },
        {
          "title": "Sourcegraph MCP Server",
          "url": "https://sourcegraph.com/docs/api/mcp"
        },
        {
          "title": "Language Server Protocol",
          "url": "https://microsoft.github.io/language-server-protocol/"
        },
        {
          "title": "ripgrep",
          "url": "https://github.com/BurntSushi/ripgrep"
        }
      ],
      "slug": "agent-engineering/context-memory/use-a-code-index",
      "content_hash": "sha256:3a97d1856308eb599f21dbc3a3869eeb98ed0713b4b79508fd1f5ada2198d4f9",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/use-a-code-index/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/use-a-code-index.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0010%401.0.1&practice=BP-0010%401.0.1"
    },
    {
      "id": "BP-0013",
      "title": "Use temporary workflow memory — when, how, and how to secure it",
      "description": "Give a multi-step or multi-agent workflow its own scoped, expiring memory store; write to it with ownership and leases, promote durable findings at the end, and authenticate every agent with its own least-privilege, short-lived credentials.",
      "domain": "D.AGT.CTX",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0003",
        "BP-0005",
        "BP-0011",
        "BP-0012"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "MCP Specification — Authorization",
          "url": "https://modelcontextprotocol.io/specification/latest/basic/authorization"
        },
        {
          "title": "Anthropic — Effective context engineering for AI agents",
          "url": "https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents"
        }
      ],
      "slug": "agent-engineering/context-memory/use-temporary-workflow-memory",
      "content_hash": "sha256:227bdfebe21a4c8613fc52c5aea8a2fd8dbcc4a35fa58eb69d4e26d75b8d6684",
      "domain_path": [
        "Agent Engineering",
        "Context & Memory"
      ],
      "url": "https://agentpractices.dev/agent-engineering/context-memory/use-temporary-workflow-memory/",
      "md_url": "https://agentpractices.dev/agent-engineering/context-memory/use-temporary-workflow-memory.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0013%401.1.0&practice=BP-0013%401.1.0"
    },
    {
      "id": "BP-0017",
      "title": "Keep one source of truth for agent instruction files",
      "description": "Make AGENTS.md the shared instruction file and have tool-specific files (CLAUDE.md, GEMINI.md, Copilot and Cursor rules) import or point to it, adding only tool-specific lines.",
      "domain": "D.AGT.INS",
      "type": "pattern",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0015",
        "BP-0016"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "AGENTS.md",
          "url": "https://agents.md/"
        },
        {
          "title": "Claude Code docs — Share one file with other coding tools",
          "url": "https://code.claude.com/docs/en/claude-md"
        }
      ],
      "slug": "agent-engineering/instructions-prompting/one-source-of-truth-for-agent-instructions",
      "content_hash": "sha256:9f3b2c92c1a238d32f5eafabdc536ebc52cf62a05b33809b9723eeb294a4efa4",
      "domain_path": [
        "Agent Engineering",
        "Instructions & Prompting"
      ],
      "url": "https://agentpractices.dev/agent-engineering/instructions-prompting/one-source-of-truth-for-agent-instructions/",
      "md_url": "https://agentpractices.dev/agent-engineering/instructions-prompting/one-source-of-truth-for-agent-instructions.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0017%401.0.0&practice=BP-0017%401.0.0"
    },
    {
      "id": "BP-0016",
      "title": "Write CLAUDE.md files that Claude Code follows",
      "description": "Keep CLAUDE.md concise, specific and layered (user, project, local, subdirectory); import AGENTS.md instead of duplicating it; move procedures to skills and file-specific rules to .claude/rules.",
      "domain": "D.AGT.INS",
      "type": "guideline",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0015",
        "BP-0017",
        "BP-0012",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — How Claude remembers your project",
          "url": "https://code.claude.com/docs/en/claude-md"
        }
      ],
      "slug": "agent-engineering/instructions-prompting/write-a-claude-md",
      "content_hash": "sha256:85a83371024f7ab4dbb96663e48a7dca98c17d9adf2a4322baffc2e41eb135d9",
      "domain_path": [
        "Agent Engineering",
        "Instructions & Prompting"
      ],
      "url": "https://agentpractices.dev/agent-engineering/instructions-prompting/write-a-claude-md/",
      "md_url": "https://agentpractices.dev/agent-engineering/instructions-prompting/write-a-claude-md.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0016%401.0.0&practice=BP-0016%401.0.0"
    },
    {
      "id": "BP-0015",
      "title": "Write an AGENTS.md for every repository agents work in",
      "description": "Give coding agents a short, specific, tool-neutral AGENTS.md at the repo root (and per subproject in monorepos) with build, test, conventions and boundaries — the README for agents.",
      "domain": "D.AGT.INS",
      "type": "guideline",
      "roles": [
        "implementer",
        "planner",
        "any"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0016",
        "BP-0017",
        "BP-0007",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "AGENTS.md",
          "url": "https://agents.md/"
        },
        {
          "title": "Claude Code docs — How Claude remembers your project (AGENTS.md)",
          "url": "https://code.claude.com/docs/en/claude-md"
        }
      ],
      "slug": "agent-engineering/instructions-prompting/write-an-agents-md",
      "content_hash": "sha256:d7cf47730bfb8e056b5cae517894fcaa5da3d82de9ef81caff29daec1788380c",
      "domain_path": [
        "Agent Engineering",
        "Instructions & Prompting"
      ],
      "url": "https://agentpractices.dev/agent-engineering/instructions-prompting/write-an-agents-md/",
      "md_url": "https://agentpractices.dev/agent-engineering/instructions-prompting/write-an-agents-md.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0015%401.0.0&practice=BP-0015%401.0.0"
    },
    {
      "id": "BP-0018",
      "title": "Author agent skills that load at the right time and do one job well",
      "description": "Write each skill as one focused capability with a precise description, a short SKILL.md, detail in references, deterministic work in scripts, and tests against real tasks.",
      "domain": "D.AGT.SKL",
      "type": "guideline",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0019",
        "BP-0016",
        "BP-0007",
        "BP-0006"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Agent Skills specification",
          "url": "https://agentskills.io/specification"
        },
        {
          "title": "Claude Code docs — Skills",
          "url": "https://code.claude.com/docs/en/skills"
        },
        {
          "title": "Claude Platform docs — Skill authoring best practices",
          "url": "https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices"
        }
      ],
      "slug": "agent-engineering/skills-reusable-procedures/author-agent-skills",
      "content_hash": "sha256:e524ed06d15603e811b31615ddeb9bda37739eb24dcd8035323dfde61ea832cb",
      "domain_path": [
        "Agent Engineering",
        "Skills & Reusable Procedures"
      ],
      "url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/author-agent-skills/",
      "md_url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/author-agent-skills.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0018%401.0.0&practice=BP-0018%401.0.0"
    },
    {
      "id": "BP-0074",
      "title": "Choose skills, MCP servers, CLIs or hooks for each capability",
      "description": "Skills carry know-how (procedures, conventions, references, helper scripts) and load only when relevant; MCP servers carry access (authenticated, governed connections to systems); CLIs and scripts carry actions an agent with a shell can run cheaply; hooks carry rules that must always hold; always-loaded instructions carry the few facts every task needs. Pick by what the capability is, combine them, and ship a server's skills with the server where the client supports it.",
      "domain": "D.AGT.SKL",
      "type": "guideline",
      "roles": [
        "planner",
        "implementer"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-02-25",
      "related": [
        "BP-0018",
        "BP-0019",
        "BP-0030",
        "BP-0055",
        "BP-0073",
        "BP-0021",
        "BP-0015",
        "BP-0017",
        "BP-0062"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic Engineering — Equipping agents for the real world with Agent Skills",
          "url": "https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills"
        },
        {
          "title": "Agent Skills specification",
          "url": "https://agentskills.io/specification"
        },
        {
          "title": "MCP — Skills extension overview",
          "url": "https://modelcontextprotocol.io/extensions/skills/overview"
        },
        {
          "title": "MCP — SEP-2640 Skills Extension",
          "url": "https://modelcontextprotocol.io/seps/2640-skills-extension"
        }
      ],
      "slug": "agent-engineering/skills-reusable-procedures/choose-skills-mcp-clis-or-hooks",
      "content_hash": "sha256:cb8a724023c2e336a3f6ea0e53a188c9bdcdeb9e9aff6a222e430365eb095a1e",
      "domain_path": [
        "Agent Engineering",
        "Skills & Reusable Procedures"
      ],
      "url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/choose-skills-mcp-clis-or-hooks/",
      "md_url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/choose-skills-mcp-clis-or-hooks.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0074%401.0.0&practice=BP-0074%401.0.0"
    },
    {
      "id": "BP-0030",
      "title": "Structure multi-step workflows inside skills",
      "description": "Route a skill to one workflow per task type, write each workflow as numbered steps with a copyable checklist, put validate-fix-repeat loops and plan-validate-execute gates around risky steps, and match how prescriptive each step is to how fragile it is.",
      "domain": "D.AGT.SKL",
      "type": "pattern",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0018",
        "BP-0019",
        "BP-0002",
        "BP-0008"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Platform docs — Skill authoring best practices (workflows and feedback loops)",
          "url": "https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices"
        },
        {
          "title": "Agent Skills specification",
          "url": "https://agentskills.io/specification"
        }
      ],
      "slug": "agent-engineering/skills-reusable-procedures/structure-skill-workflows",
      "content_hash": "sha256:b0fcf22771103dae6044255a7e2c5b585ae742e323ae8ebe587db73f90df6ffa",
      "domain_path": [
        "Agent Engineering",
        "Skills & Reusable Procedures"
      ],
      "url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/structure-skill-workflows/",
      "md_url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/structure-skill-workflows.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0030%401.0.0&practice=BP-0030%401.0.0"
    },
    {
      "id": "BP-0019",
      "title": "Use skills deliberately and safely",
      "description": "Load a skill when the task matches it, follow its steps rather than improvising, review third-party skills like code before installing, and choose a skill only when instructions, rules, hooks or tools are the wrong fit.",
      "domain": "D.AGT.SKL",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0018",
        "BP-0016",
        "BP-0005",
        "BP-0011"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Skills",
          "url": "https://code.claude.com/docs/en/skills"
        },
        {
          "title": "Agent Skills — What are skills",
          "url": "https://agentskills.io/what-are-skills"
        }
      ],
      "slug": "agent-engineering/skills-reusable-procedures/use-skills",
      "content_hash": "sha256:3d6388384f8fd90a71afc8210e245c74777fa4d857919841668d2fd54b9b6fe4",
      "domain_path": [
        "Agent Engineering",
        "Skills & Reusable Procedures"
      ],
      "url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/use-skills/",
      "md_url": "https://agentpractices.dev/agent-engineering/skills-reusable-procedures/use-skills.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0019%401.0.0&practice=BP-0019%401.0.0"
    },
    {
      "id": "BP-0020",
      "title": "Author agent hooks that are fast, deterministic and fail safe",
      "description": "Write each hook as a small, tested, deterministic program on the narrowest event and matcher, that reads the event as untrusted JSON, blocks with an explicit signal and reason, and decides what happens when it fails.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0021",
        "BP-0018",
        "BP-0005",
        "BP-0001"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Hooks reference",
          "url": "https://code.claude.com/docs/en/hooks"
        },
        {
          "title": "Claude Code docs — Hooks guide",
          "url": "https://code.claude.com/docs/en/hooks-guide"
        }
      ],
      "slug": "agent-engineering/tool-use/author-agent-hooks",
      "content_hash": "sha256:b5f2b8795d7dc6df19e2937889967fd2ffa378b0a8f9929f2a834063e159fe27",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/author-agent-hooks/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/author-agent-hooks.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0020%401.0.0&practice=BP-0020%401.0.0"
    },
    {
      "id": "BP-0073",
      "title": "Build CLIs and MCP servers from one core, and choose daemon or per-client deliberately",
      "description": "Put the logic in one tested library and expose it through thin adapters — a CLI for people and shell-using agents, an MCP server for MCP clients, an MCP App when a UI helps. Target the current MCP specification (2026-07-28, stateless) with an official SDK; design few, task-shaped tools with strict schemas, structured output and errors the model can fix; secure transports and tokens; and decide whether the server runs per client over stdio or as a shared daemon.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-02-25",
      "related": [
        "BP-0001",
        "BP-0055",
        "BP-0022",
        "BP-0023",
        "BP-0062",
        "BP-0071",
        "BP-0044",
        "BP-0063",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "MCP specification 2026-07-28 — changelog",
          "url": "https://modelcontextprotocol.io/specification/2026-07-28/changelog"
        },
        {
          "title": "MCP blog — The 2026-07-28 specification",
          "url": "https://blog.modelcontextprotocol.io/posts/2026-07-28/"
        },
        {
          "title": "MCP — Security best practices",
          "url": "https://modelcontextprotocol.io/specification/latest/basic/security_best_practices"
        },
        {
          "title": "MCP blog — MCP Apps (official extension)",
          "url": "https://blog.modelcontextprotocol.io/posts/2026-01-26-mcp-apps/"
        },
        {
          "title": "MCP TypeScript SDK v2 — Tools",
          "url": "https://ts.sdk.modelcontextprotocol.io/v2/servers/tools"
        }
      ],
      "slug": "agent-engineering/tool-use/build-clis-and-mcp-servers-from-one-core",
      "content_hash": "sha256:b456f4a25976e250158686505a12131c30fe72c80f77b8aef2784141cc5754b5",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/build-clis-and-mcp-servers-from-one-core/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/build-clis-and-mcp-servers-from-one-core.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0073%401.0.0&practice=BP-0073%401.0.0"
    },
    {
      "id": "BP-0022",
      "title": "Configure MCP servers at the right scope",
      "description": "Put each MCP server where its audience is — personal (user), this project only for you (local), the team (project, committed), or the organisation (managed) — with credentials kept out of shared config.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "implementer",
        "orchestrator",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0023",
        "BP-0016",
        "BP-0021",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Connect Claude Code to tools via MCP",
          "url": "https://code.claude.com/docs/en/mcp"
        },
        {
          "title": "MCP Specification — Authorization",
          "url": "https://modelcontextprotocol.io/specification/latest/basic/authorization"
        }
      ],
      "slug": "agent-engineering/tool-use/configure-mcp-servers-at-the-right-scope",
      "content_hash": "sha256:8d3566621dbf980c289a3897d7789ddbf663959f32e7c3f4f92c1e3137400e1b",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/configure-mcp-servers-at-the-right-scope/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/configure-mcp-servers-at-the-right-scope.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0022%401.0.0&practice=BP-0022%401.0.0"
    },
    {
      "id": "BP-0055",
      "title": "Prefer targeted API wrapper scripts to MCP servers for narrow, repeated work",
      "description": "When an agent with a shell needs a few fixed operations on an API, give it a small, tested wrapper script (or an existing CLI) that returns compact, filtered output, instead of a broad MCP server; keep MCP where it earns its place — managed OAuth, dynamic discovery, clients without a shell, or shared governed access.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "implementer",
        "orchestrator"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0022",
        "BP-0023",
        "BP-0001",
        "BP-0018",
        "BP-0032",
        "BP-0033",
        "BP-0005",
        "BP-0041"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic Engineering — Code execution with MCP",
          "url": "https://www.anthropic.com/engineering/code-execution-with-mcp"
        },
        {
          "title": "Mario Zechner — What if you don't need MCP at all?",
          "url": "https://mariozechner.at/posts/2025-11-02-what-if-you-dont-need-mcp/"
        },
        {
          "title": "Simon Willison — Too many MCPs",
          "url": "https://simonwillison.net/2025/Aug/22/too-many-mcps/"
        },
        {
          "title": "Checkly — CLIs are more token-efficient than MCP. Or are they?",
          "url": "https://www.checklyhq.com/blog/mcp-vs-cli-token-efficiency/"
        },
        {
          "title": "Claude Code docs — Permissions",
          "url": "https://code.claude.com/docs/en/permissions"
        }
      ],
      "slug": "agent-engineering/tool-use/prefer-api-wrapper-scripts-to-mcp",
      "content_hash": "sha256:72b612e1ec3f27157366757936f2b611fe97432e5746b6419cbfbadf6088755a",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/prefer-api-wrapper-scripts-to-mcp/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/prefer-api-wrapper-scripts-to-mcp.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0055%401.0.0&practice=BP-0055%401.0.0"
    },
    {
      "id": "BP-0062",
      "title": "Give each sub-agent only the tools and MCP servers its role needs",
      "description": "Sub-agents usually inherit the parent's tools and MCP servers unless told otherwise. Set an explicit allowlist per role, attach MCP servers per sub-agent (with narrower credentials where possible), keep write and side-effect tools to the roles that need them, limit spawning depth and turns, and enforce it with tool lists and deny rules rather than the sub-agent's own permission mode.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0032",
        "BP-0042",
        "BP-0022",
        "BP-0023",
        "BP-0049",
        "BP-0055",
        "BP-0035",
        "BP-0021"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Subagents",
          "url": "https://code.claude.com/docs/en/sub-agents"
        },
        {
          "title": "Claude Code docs — Permissions",
          "url": "https://code.claude.com/docs/en/permissions"
        }
      ],
      "slug": "agent-engineering/tool-use/scope-sub-agent-tools-and-mcp",
      "content_hash": "sha256:d79c19a06271cb3e9283758f41e80a83cc40d4e45c56cb90a055ee480a4e98fa",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/scope-sub-agent-tools-and-mcp/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/scope-sub-agent-tools-and-mcp.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0062%401.0.0&practice=BP-0062%401.0.0"
    },
    {
      "id": "BP-0021",
      "title": "Use hooks for deterministic control, not as the only guardrail",
      "description": "Use hooks where something must happen on an event every time (format, test, log, notify, block), keep hard allow/deny in the permission system, and review hooks from projects and plugins like code before trusting them.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "any",
        "orchestrator"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0020",
        "BP-0019",
        "BP-0016",
        "BP-0005",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Hooks reference",
          "url": "https://code.claude.com/docs/en/hooks"
        },
        {
          "title": "Claude Code docs — How Claude remembers your project",
          "url": "https://code.claude.com/docs/en/claude-md"
        }
      ],
      "slug": "agent-engineering/tool-use/use-hooks-for-deterministic-control",
      "content_hash": "sha256:7326d5ba1fa2a672eff3689adc69954b4ee4ed14e9ee23f5c7c12ee2787e7fc4",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/use-hooks-for-deterministic-control/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/use-hooks-for-deterministic-control.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0021%401.0.0&practice=BP-0021%401.0.0"
    },
    {
      "id": "BP-0023",
      "title": "Use MCP servers safely and efficiently",
      "description": "Connect only trusted, least-privilege MCP servers, treat everything they return as untrusted data, keep tool output small, and gate side-effecting tools behind approval.",
      "domain": "D.AGT.TOOL",
      "type": "guideline",
      "roles": [
        "any",
        "orchestrator"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0022",
        "BP-0005",
        "BP-0021",
        "BP-0011",
        "BP-0010"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Connect Claude Code to tools via MCP",
          "url": "https://code.claude.com/docs/en/mcp"
        },
        {
          "title": "MCP Specification — Authorization",
          "url": "https://modelcontextprotocol.io/specification/latest/basic/authorization"
        },
        {
          "title": "MCP Specification — Security best practices",
          "url": "https://modelcontextprotocol.io/specification/latest/basic/security_best_practices"
        }
      ],
      "slug": "agent-engineering/tool-use/use-mcp-servers-safely",
      "content_hash": "sha256:4db3f892872fe897bc8ce877ea9d7997f9889625cae5948958eb3c89135e8f7c",
      "domain_path": [
        "Agent Engineering",
        "Tool Use"
      ],
      "url": "https://agentpractices.dev/agent-engineering/tool-use/use-mcp-servers-safely/",
      "md_url": "https://agentpractices.dev/agent-engineering/tool-use/use-mcp-servers-safely.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0023%401.0.0&practice=BP-0023%401.0.0"
    },
    {
      "id": "BP-0066",
      "title": "Counter position and middle-option bias in model decisions",
      "description": "Models choosing among options, rating on scales or comparing candidates are swayed by where an option sits and how it is labelled — first, last, middle, or \"Option A\". Use meaningful option names, described scale levels and no neutral midpoint unless it is a real answer; shuffle and swap order and only accept answers that survive; measure the bias with placebo runs; calibrate scores; and keep key context out of the middle of long prompts.",
      "domain": "D.AGT.WF",
      "type": "guideline",
      "roles": [
        "planner",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0064",
        "BP-0065",
        "BP-0006",
        "BP-0028",
        "BP-0052",
        "BP-0040"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Zheng et al. — Large Language Models Are Not Robust Multiple Choice Selectors (ICLR 2024)",
          "url": "https://arxiv.org/abs/2309.03882"
        },
        {
          "title": "Fragile Preferences: A Deep Dive into Order Effects in Large Language Models (2025)",
          "url": "https://arxiv.org/abs/2506.14092"
        },
        {
          "title": "Prompt Perturbations Reveal Human-Like Biases in LLM survey responses (2025)",
          "url": "https://arxiv.org/abs/2507.07188"
        },
        {
          "title": "Auditing Multimodal LLM Raters: Central Tendency Bias in Clinical Ordinal Scoring (2026)",
          "url": "https://arxiv.org/abs/2605.16386"
        },
        {
          "title": "Liu et al. — Lost in the Middle: How Language Models Use Long Contexts",
          "url": "https://arxiv.org/abs/2307.03172"
        }
      ],
      "slug": "agent-engineering/workflow/counter-position-and-middle-bias",
      "content_hash": "sha256:b46288db3cc4c4e919612b427d10da8d3e8169b2d4593cf35279aab31a6ce88f",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/counter-position-and-middle-bias/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/counter-position-and-middle-bias.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0066%401.0.0&practice=BP-0066%401.0.0"
    },
    {
      "id": "BP-0008",
      "title": "Decompose tasks into independently verifiable units",
      "description": "Break work into the smallest units that each carry their own done-check, ordered by dependency, with explicit interfaces between them — no smaller, no larger.",
      "domain": "D.AGT.WF",
      "type": "guideline",
      "roles": [
        "planner",
        "orchestrator"
      ],
      "stage": [
        "plan"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0002",
        "BP-0003",
        "BP-0006"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Building effective agents",
          "url": "https://www.anthropic.com/research/building-effective-agents"
        },
        {
          "title": "Anthropic — How we built our multi-agent research system",
          "url": "https://www.anthropic.com/engineering/multi-agent-research-system"
        }
      ],
      "slug": "agent-engineering/workflow/decompose-tasks",
      "content_hash": "sha256:c24dd31ffb537d1d4415b346babb60049bd0dfe6083677953c64de1074331f6b",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/decompose-tasks/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/decompose-tasks.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0008%401.0.0&practice=BP-0008%401.0.0"
    },
    {
      "id": "BP-0069",
      "title": "Design human approvals that people actually read",
      "description": "Ask people only where their judgment changes the outcome — plans, and irreversible or external actions — and let policy and automated checks handle the routine. Show exactly what will happen, why and how to undo it; take approvals only from authenticated people; scope and expire them; default to not acting on timeout; watch for rubber-stamping; give people a stop control; and record every decision.",
      "domain": "D.AGT.WF",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "planner",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0068",
        "BP-0048",
        "BP-0061",
        "BP-0005",
        "BP-0021",
        "BP-0040",
        "BP-0064",
        "BP-0057"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude blog — Auto mode is now the default in Claude Code (approval data)",
          "url": "https://claude.com/blog/auto-mode-default-in-claude-code"
        },
        {
          "title": "Anthropic — Claude Code auto mode (approval fatigue)",
          "url": "https://www.anthropic.com/research/claude-code-auto-mode"
        },
        {
          "title": "EU AI Act — Article 14 Human oversight",
          "url": "https://artificialintelligenceact.eu/article/14/"
        }
      ],
      "slug": "agent-engineering/workflow/design-human-approvals-people-read",
      "content_hash": "sha256:7cf6902e9c2bbb1bb86568a0b276606679b870cad2b9d78e2c1fcd6c1855f1b0",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/design-human-approvals-people-read/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/design-human-approvals-people-read.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0069%401.0.0&practice=BP-0069%401.0.0"
    },
    {
      "id": "BP-0049",
      "title": "Match model and thinking effort to each role",
      "description": "Set the model and effort (thinking level) per role, not per session; start from the provider's guidance, tune effort before switching model, prove each setting with evaluations, keep effort stable within a cached conversation, and escalate on failure.",
      "domain": "D.AGT.WF",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "planner",
        "implementer",
        "reviewer",
        "researcher"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-02-24",
      "related": [
        "BP-0048",
        "BP-0042",
        "BP-0041",
        "BP-0006",
        "BP-0046"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Platform docs — Choosing a model",
          "url": "https://platform.claude.com/docs/en/about-claude/models/choosing-a-model"
        },
        {
          "title": "Claude Platform docs — Effort",
          "url": "https://platform.claude.com/docs/en/build-with-claude/effort"
        },
        {
          "title": "Claude Code docs — Subagents (model and effort fields)",
          "url": "https://code.claude.com/docs/en/sub-agents"
        },
        {
          "title": "OpenAI docs — Reasoning models",
          "url": "https://developers.openai.com/api/docs/guides/reasoning"
        },
        {
          "title": "Google Cloud docs — Gemini thinking",
          "url": "https://docs.cloud.google.com/vertex-ai/generative-ai/docs/thinking"
        },
        {
          "title": "DeepSeek API docs — Thinking mode",
          "url": "https://api-docs.deepseek.com/guides/thinking_mode"
        },
        {
          "title": "Kimi API docs — Thinking models",
          "url": "https://platform.kimi.ai/docs/guide/use-kimi-k2-thinking-model"
        },
        {
          "title": "Alibaba Cloud Model Studio — Deep thinking (Qwen",
          "Kimi": null,
          "MiniMax)": null,
          "url": "https://www.alibabacloud.com/help/en/model-studio/deep-thinking"
        },
        {
          "title": "Z.ai docs — Deep thinking (GLM)",
          "url": "https://docs.z.ai/guides/capabilities/thinking"
        },
        {
          "title": "MiniMax — M3 model page",
          "url": "https://www.minimax.io/models/text/m3"
        }
      ],
      "slug": "agent-engineering/workflow/match-model-and-effort-to-the-role",
      "content_hash": "sha256:94a04f936d5a8a1be09c39908ac09f4a9e6017245f5864a20965ee941e6c48e4",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/match-model-and-effort-to-the-role/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/match-model-and-effort-to-the-role.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0049%401.1.0&practice=BP-0049%401.1.0"
    },
    {
      "id": "BP-0002",
      "title": "Plan, execute, verify",
      "description": "Run every non-trivial task as an explicit plan, small verified steps, and a final check against the request.",
      "domain": "D.AGT.WF",
      "type": "pattern",
      "roles": [
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0003",
        "BP-0006",
        "BP-0008",
        "BP-0010"
      ],
      "superseded_by": null,
      "sources": [],
      "slug": "agent-engineering/workflow/plan-execute-verify",
      "content_hash": "sha256:44117ae29bc55fe23ea4a8b515524b62e1c132e2a0031f572f1da91dec891fd8",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/plan-execute-verify/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/plan-execute-verify.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0002%401.0.0&practice=BP-0002%401.0.0"
    },
    {
      "id": "BP-0052",
      "title": "Prevent and catch hallucinations",
      "description": "Ground claims in sources the agent fetched, allow and prefer \"I don't know\", cite every factual claim, check identifiers (packages, APIs, paths, URLs, numbers) mechanically before use, run code instead of trusting it, and verify high-stakes output independently.",
      "domain": "D.AGT.WF",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0053",
        "BP-0002",
        "BP-0028",
        "BP-0010",
        "BP-0044",
        "BP-0036",
        "BP-0006"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Platform docs — Reduce hallucinations",
          "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations"
        },
        {
          "title": "Spracklen et al. — We Have a Package for You! Package hallucinations by code-generating LLMs (USENIX Security 2025)",
          "url": "https://arxiv.org/abs/2406.10279"
        }
      ],
      "slug": "agent-engineering/workflow/prevent-and-catch-hallucinations",
      "content_hash": "sha256:0d0f4c4a3ee91d43036bad01351148edc286a044fd164e5e141a7e7ace9baad6",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/prevent-and-catch-hallucinations/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/prevent-and-catch-hallucinations.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0052%401.0.0&practice=BP-0052%401.0.0"
    },
    {
      "id": "BP-0064",
      "title": "Use decision models for repeated, bounded decisions in agent workflows",
      "description": "Separate interpretation from decision. Put policy in a deterministic, versioned decision model (decision tables such as DMN or JDM, or policy code); use a typed judgment model (such as TypeSafe's Jev) or an LLM only to turn unstructured input into the facts the policy needs; calibrate thresholds to the cost of each error; fail closed; record which rule decided; and cascade from cheapest to most capable.",
      "domain": "D.AGT.WF",
      "type": "pattern",
      "roles": [
        "planner",
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0049",
        "BP-0047",
        "BP-0041",
        "BP-0040",
        "BP-0050",
        "BP-0006",
        "BP-0062",
        "BP-0059"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OMG — Decision Model and Notation (DMN)",
          "url": "https://www.omg.org/dmn/"
        },
        {
          "title": "GoRules ZEN Engine (JSON Decision Model)",
          "url": "https://github.com/gorules/zen"
        },
        {
          "title": "TypeSafe docs — Jev",
          "url": "https://docs.typesafe.ai/"
        },
        {
          "title": "Dataiku — Jev inside a Dataiku agent (quality, latency and cost vs LLM agents)",
          "url": "https://www.dataiku.com/tech-blog/jev-inside-a-dataiku-agent"
        },
        {
          "title": "InfoQ — Decision Models in Agentic Architectures (Alex Porcelli)",
          "url": "https://www.infoq.com/presentations/decision-models-agentic-ai"
        }
      ],
      "slug": "agent-engineering/workflow/use-decision-models-for-bounded-decisions",
      "content_hash": "sha256:11e436b6a5ac7cc5c982d270c23b24c09ad081883db621d28aae94921d4870c4",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/use-decision-models-for-bounded-decisions/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/use-decision-models-for-bounded-decisions.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0064%401.0.0&practice=BP-0064%401.0.0"
    },
    {
      "id": "BP-0059",
      "title": "Validate agent work with proof, not claims",
      "description": "Give every task a check that returns pass or fail; before any \"done\", run it fresh and read the output; match the evidence to the claim; prove the one fact a risky change depends on by running real code; drive the real app for user-facing work; keep only review findings a run reproduces; and enforce the check in the harness where it must never be skipped.",
      "domain": "D.AGT.WF",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0002",
        "BP-0006",
        "BP-0038",
        "BP-0036",
        "BP-0021",
        "BP-0052",
        "BP-0053",
        "BP-0048"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Best practices (Give Claude a check to run)",
          "url": "https://code.claude.com/docs/en/best-practices"
        },
        {
          "title": "obra/superpowers — verification-before-completion skill",
          "url": "https://github.com/obra/superpowers/tree/main/skills/verification-before-completion"
        },
        {
          "title": "pstack (Cursor plugins) — prove-it-works",
          "blast-radius": null,
          "interrogate": null,
          "create-verification-skill": null,
          "show-me-your-work": null,
          "url": "https://github.com/cursor/plugins/tree/main/pstack/skills"
        }
      ],
      "slug": "agent-engineering/workflow/validate-with-proof-not-claims",
      "content_hash": "sha256:aba6103efbcbaf8d1757d5279666ba50cd28eb7ac5d6e1f2076235aa0fbff840",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/validate-with-proof-not-claims/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/validate-with-proof-not-claims.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0059%401.0.0&practice=BP-0059%401.0.0"
    },
    {
      "id": "BP-0068",
      "title": "Workflow patterns for agents — a catalogue",
      "description": "Eleven workflow patterns (prompt chain, routing, parallel sectioning, parallel voting, orchestrator–workers, evaluator–optimiser, loop until done, human checkpoint, event-triggered, plan-then-execute, autonomous agent), each with its shape, when to use and avoid it, cost, failure modes and guardrails. Start with the simplest that works and combine patterns deliberately.",
      "domain": "D.AGT.WF",
      "type": "reference",
      "roles": [
        "planner",
        "orchestrator"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0042",
        "BP-0048",
        "BP-0064",
        "BP-0002",
        "BP-0008",
        "BP-0059",
        "BP-0041",
        "BP-0061",
        "BP-0066"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Building effective agents",
          "url": "https://www.anthropic.com/research/building-effective-agents"
        },
        {
          "title": "Geoffrey Huntley — Ralph (loop until done)",
          "url": "https://ghuntley.com/ralph/"
        },
        {
          "title": "Thoughtworks Technology Radar — Ralph loop",
          "url": "https://www.thoughtworks.com/radar/techniques/ralph-loop"
        },
        {
          "title": "Claude Code docs — Best practices (checks",
          "goals": null,
          "Stop hooks)": null,
          "url": "https://code.claude.com/docs/en/best-practices"
        }
      ],
      "slug": "agent-engineering/workflow/workflow-patterns",
      "content_hash": "sha256:c940f68f64eda8c8a4d209c3d0a366041d64ac1f28d978501a1f3ef69b9cea57",
      "domain_path": [
        "Agent Engineering",
        "Workflow"
      ],
      "url": "https://agentpractices.dev/agent-engineering/workflow/workflow-patterns/",
      "md_url": "https://agentpractices.dev/agent-engineering/workflow/workflow-patterns.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0068%401.0.0&practice=BP-0068%401.0.0"
    },
    {
      "id": "BP-0007",
      "title": "Write docs agents can act on",
      "description": "Structure documentation so an agent can fetch one page, find the rule, and act — stable IDs, rules first, fixed sections, raw Markdown and an llms.txt index.",
      "domain": "D.DOC.AGR",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0001",
        "BP-0004",
        "BP-0009"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "The /llms.txt file",
          "url": "https://llmstxt.org/"
        },
        {
          "title": "RFC 2119 — Key words for use in RFCs",
          "url": "https://www.rfc-editor.org/rfc/rfc2119"
        }
      ],
      "slug": "documentation-writing/agent-readable-docs/write-agent-readable-docs",
      "content_hash": "sha256:7ccb69c8098602ed080cd2ad43f99f11ef4a06781d2d6a2f220501d35cacba59",
      "domain_path": [
        "Documentation & Writing",
        "Agent-Readable Docs"
      ],
      "url": "https://agentpractices.dev/documentation-writing/agent-readable-docs/write-agent-readable-docs/",
      "md_url": "https://agentpractices.dev/documentation-writing/agent-readable-docs/write-agent-readable-docs.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0007%401.1.0&practice=BP-0007%401.1.0"
    },
    {
      "id": "BP-0009",
      "title": "Write human-readable docs in plain language and Simplified Technical English",
      "description": "Write docs people act on (procedures, runbooks, guides) to ISO 24495-1 plain-language principles, and write procedures and warnings to ASD-STE100 Simplified Technical English rules.",
      "domain": "D.DOC.HUM",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0007"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "ASD-STE100 Simplified Technical English (Issue 9",
          "2025)": null,
          "url": "https://www.asd-ste100.org/"
        },
        {
          "title": "ISO 24495-1:2023 Plain language — Part 1: Governing principles and guidelines",
          "url": "https://www.iso.org/standard/78907.html"
        }
      ],
      "slug": "documentation-writing/human-readable-docs/write-human-readable-docs",
      "content_hash": "sha256:e3ed632f7e5aaedf5408bbec616a786ef169b7195b59878d7f9a974e66f81e8e",
      "domain_path": [
        "Documentation & Writing",
        "Human-Readable Docs"
      ],
      "url": "https://agentpractices.dev/documentation-writing/human-readable-docs/write-human-readable-docs/",
      "md_url": "https://agentpractices.dev/documentation-writing/human-readable-docs/write-human-readable-docs.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0009%401.0.0&practice=BP-0009%401.0.0"
    },
    {
      "id": "BP-0057",
      "title": "Brainstorm to find intent before writing a spec",
      "description": "When a request leaves something important open, the agent asks one open question at a time about why and what success looks like, reads what already exists first, plays its understanding back, lays out two or three approaches with trade-offs and a recommendation, and builds nothing until the person approves a written design.",
      "domain": "D.DOC.SPC",
      "type": "procedure",
      "roles": [
        "planner",
        "orchestrator"
      ],
      "stage": [
        "plan"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0058",
        "BP-0048",
        "BP-0008",
        "BP-0002",
        "BP-0056"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "obra/superpowers — brainstorming skill",
          "url": "https://github.com/obra/superpowers/blob/main/skills/brainstorming/SKILL.md"
        },
        {
          "title": "GitHub Spec Kit — spec-driven development",
          "url": "https://github.com/github/spec-kit"
        }
      ],
      "slug": "documentation-writing/specs-design-docs/brainstorm-intent-before-specifying",
      "content_hash": "sha256:862a489532c4c0eb5e8416df48db1a2e9ef82e594a330251ce58c7f9881640d4",
      "domain_path": [
        "Documentation & Writing",
        "Specs & Design Docs"
      ],
      "url": "https://agentpractices.dev/documentation-writing/specs-design-docs/brainstorm-intent-before-specifying/",
      "md_url": "https://agentpractices.dev/documentation-writing/specs-design-docs/brainstorm-intent-before-specifying.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0057%401.0.0&practice=BP-0057%401.0.0"
    },
    {
      "id": "BP-0058",
      "title": "Write PRDs that agents can build and test against",
      "description": "Write a product requirements document with a stated problem and why, measurable success, explicit non-goals, numbered requirements with testable acceptance criteria (EARS style), constraints, open questions and an owner; review it for gaps and contradictions before planning; and keep it as the reference every plan, task and test traces back to.",
      "domain": "D.DOC.SPC",
      "type": "guideline",
      "roles": [
        "planner",
        "orchestrator",
        "reviewer"
      ],
      "stage": [
        "plan",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0057",
        "BP-0048",
        "BP-0008",
        "BP-0037",
        "BP-0006",
        "BP-0024",
        "BP-0009"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "GitHub Spec Kit — spec-driven development",
          "url": "https://github.com/github/spec-kit"
        },
        {
          "title": "Kiro docs — Specs (requirements in EARS notation)",
          "url": "https://kiro.dev/docs/specs/concepts"
        },
        {
          "title": "Easy Approach to Requirements Syntax (EARS)",
          "url": "https://en.wikipedia.org/wiki/Easy_Approach_to_Requirements_Syntax"
        }
      ],
      "slug": "documentation-writing/specs-design-docs/write-prds-agents-can-build-from",
      "content_hash": "sha256:ceade69653c4d51651d8a16eab8099a8a5d8116e28ef76052f4f2043cdce4ab2",
      "domain_path": [
        "Documentation & Writing",
        "Specs & Design Docs"
      ],
      "url": "https://agentpractices.dev/documentation-writing/specs-design-docs/write-prds-agents-can-build-from/",
      "md_url": "https://agentpractices.dev/documentation-writing/specs-design-docs/write-prds-agents-can-build-from.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0058%401.0.0&practice=BP-0058%401.0.0"
    },
    {
      "id": "BP-0031",
      "title": "Build knowledge graphs agents can trust",
      "description": "Use a graph when questions depend on relationships, give it a schema from an ontology, resolve entities to stable IDs, put provenance, trust and time on every fact, and retrieve by traversal combined with text search.",
      "domain": "D.KNO.KG",
      "type": "guideline",
      "roles": [
        "implementer",
        "researcher",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0014",
        "BP-0024",
        "BP-0025",
        "BP-0026",
        "BP-0012",
        "BP-0028",
        "BP-0029"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Edge et al. — From Local to Global: A GraphRAG Approach to Query-Focused Summarization",
          "url": "https://arxiv.org/abs/2404.16130"
        },
        {
          "title": "W3C RDF 1.1 Concepts",
          "url": "https://www.w3.org/TR/rdf11-concepts/"
        },
        {
          "title": "W3C SHACL Shapes Constraint Language",
          "url": "https://www.w3.org/TR/shacl/"
        },
        {
          "title": "W3C PROV-O",
          "url": "https://www.w3.org/TR/prov-o/"
        }
      ],
      "slug": "knowledge-modelling/knowledge-graphs/build-agent-knowledge-graphs",
      "content_hash": "sha256:d0f6d5af4597d92a1ef2cefca43553312df7ea5b75d6a2490476e3fd57a92733",
      "domain_path": [
        "Knowledge Modelling",
        "Knowledge Graphs"
      ],
      "url": "https://agentpractices.dev/knowledge-modelling/knowledge-graphs/build-agent-knowledge-graphs/",
      "md_url": "https://agentpractices.dev/knowledge-modelling/knowledge-graphs/build-agent-knowledge-graphs.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0031%401.0.0&practice=BP-0031%401.0.0"
    },
    {
      "id": "BP-0014",
      "title": "Close standards-corpus coverage gaps in one batched release",
      "description": "When independently versioned standards must stay in step, gate the coverage between them and close every gap found in a single batch, not one release per gap.",
      "domain": "D.KNO.ONT",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "2.1.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0004",
        "BP-0007",
        "BP-0072"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "W3C SKOS Reference",
          "url": "https://www.w3.org/TR/skos-reference/"
        },
        {
          "title": "Semantic Versioning 2.0.0",
          "url": "https://semver.org/"
        },
        {
          "title": "Architectural fitness function (Thoughtworks)",
          "url": "https://www.thoughtworks.com/insights/blog/architectural-fitness-function"
        },
        {
          "title": "Design by Contract — Bertrand Meyer",
          "url": "https://se.ethz.ch/~meyer/publications/computer/contract.pdf"
        }
      ],
      "slug": "knowledge-modelling/ontology/close-corpus-coverage-gaps",
      "content_hash": "sha256:42b82666c23d048ecc2a2d0edf06618f91c58f78b5b1697f4ae16a6084f74826",
      "domain_path": [
        "Knowledge Modelling",
        "Ontology"
      ],
      "url": "https://agentpractices.dev/knowledge-modelling/ontology/close-corpus-coverage-gaps/",
      "md_url": "https://agentpractices.dev/knowledge-modelling/ontology/close-corpus-coverage-gaps.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0014%402.1.0&practice=BP-0014%402.1.0"
    },
    {
      "id": "BP-0024",
      "title": "Define each term once and use it with one meaning",
      "description": "Keep a controlled glossary with stable IDs, one preferred label, synonyms and a genus-plus-differentia definition per term; disambiguate overloaded words; and use the preferred term consistently in code, data, docs and prompts.",
      "domain": "D.KNO.SEM",
      "type": "guideline",
      "roles": [
        "any",
        "planner",
        "implementer"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0025",
        "BP-0026",
        "BP-0004",
        "BP-0009"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "W3C SKOS Simple Knowledge Organization System Reference",
          "url": "https://www.w3.org/TR/skos-reference/"
        },
        {
          "title": "ISO 704:2022 Terminology work — Principles and methods",
          "url": "https://www.iso.org/standard/79077.html"
        }
      ],
      "slug": "knowledge-modelling/semantics-metadata/define-terms-once",
      "content_hash": "sha256:5c8d1828977b45006110d6001acf58a3d242baf0d8ff30fb5a1a2dcfcb5c4d35",
      "domain_path": [
        "Knowledge Modelling",
        "Semantics & Metadata"
      ],
      "url": "https://agentpractices.dev/knowledge-modelling/semantics-metadata/define-terms-once/",
      "md_url": "https://agentpractices.dev/knowledge-modelling/semantics-metadata/define-terms-once.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0024%401.0.0&practice=BP-0024%401.0.0"
    },
    {
      "id": "BP-0026",
      "title": "Map meaning between vocabularies explicitly",
      "description": "When two systems or schemes use different terms, compare definitions not labels, record each correspondence with an explicit match type (exact, close, broader, narrower, related) and its evidence, and never merge concepts with identity links.",
      "domain": "D.KNO.SEM",
      "type": "guideline",
      "roles": [
        "implementer",
        "researcher",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0024",
        "BP-0025",
        "BP-0004",
        "BP-0014"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "W3C SKOS Reference — Mapping properties",
          "url": "https://www.w3.org/TR/skos-reference/#mapping"
        },
        {
          "title": "SSSOM — Simple Standard for Sharing Ontological Mappings",
          "url": "https://mapping-commons.github.io/sssom/"
        }
      ],
      "slug": "knowledge-modelling/semantics-metadata/map-between-vocabularies",
      "content_hash": "sha256:3aa8ce0ec6656448f6ba4d7d6b920ff83160aee89158f93d72fc6e2ca53c76e1",
      "domain_path": [
        "Knowledge Modelling",
        "Semantics & Metadata"
      ],
      "url": "https://agentpractices.dev/knowledge-modelling/semantics-metadata/map-between-vocabularies/",
      "md_url": "https://agentpractices.dev/knowledge-modelling/semantics-metadata/map-between-vocabularies.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0026%401.0.0&practice=BP-0026%401.0.0"
    },
    {
      "id": "BP-0025",
      "title": "Describe resources with standard metadata vocabularies",
      "description": "Attach metadata using established vocabularies (DCMI Terms, schema.org, PROV-O, DCAT, SKOS) in valid JSON-LD instead of inventing field names, and record provenance — who or what produced it, from what, when.",
      "domain": "D.KNO.SEM",
      "type": "guideline",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0024",
        "BP-0026",
        "BP-0012",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "DCMI Metadata Terms",
          "url": "https://www.dublincore.org/specifications/dublin-core/dcmi-terms/"
        },
        {
          "title": "schema.org",
          "url": "https://schema.org/"
        },
        {
          "title": "W3C PROV-O The PROV Ontology",
          "url": "https://www.w3.org/TR/prov-o/"
        },
        {
          "title": "W3C DCAT Data Catalog Vocabulary",
          "url": "https://www.w3.org/TR/vocab-dcat-3/"
        },
        {
          "title": "W3C JSON-LD 1.1",
          "url": "https://www.w3.org/TR/json-ld11/"
        }
      ],
      "slug": "knowledge-modelling/semantics-metadata/use-standard-metadata-vocabularies",
      "content_hash": "sha256:7a4853e81cc2860a0f1356cb2f71952d07beb2f297d244835d24ce1ecd0fee37",
      "domain_path": [
        "Knowledge Modelling",
        "Semantics & Metadata"
      ],
      "url": "https://agentpractices.dev/knowledge-modelling/semantics-metadata/use-standard-metadata-vocabularies/",
      "md_url": "https://agentpractices.dev/knowledge-modelling/semantics-metadata/use-standard-metadata-vocabularies.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0025%401.0.0&practice=BP-0025%401.0.0"
    },
    {
      "id": "BP-0004",
      "title": "Classify against a taxonomy by definition, not label",
      "description": "When tagging or filing items, match each item to a concept's definition and scope note, record confidence, and report gaps instead of forcing a fit.",
      "domain": "D.KNO.TAX",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0014"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "W3C SKOS Reference",
          "url": "https://www.w3.org/TR/skos-reference/"
        },
        {
          "title": "ANSI/NISO Z39.19",
          "url": "https://www.niso.org/publications/ansiniso-z3919-2005-r2010"
        }
      ],
      "slug": "knowledge-modelling/taxonomy/apply-a-taxonomy",
      "content_hash": "sha256:d2c605a47d904c792413e95be10e950b88a079e72d3cfcad931b23f2ba31722d",
      "domain_path": [
        "Knowledge Modelling",
        "Taxonomy"
      ],
      "url": "https://agentpractices.dev/knowledge-modelling/taxonomy/apply-a-taxonomy/",
      "md_url": "https://agentpractices.dev/knowledge-modelling/taxonomy/apply-a-taxonomy.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0004%401.0.1&practice=BP-0004%401.0.1"
    },
    {
      "id": "BP-0061",
      "title": "Choose agent communication channels for durability, audience and trust",
      "description": "A protocol fixes what a message means; a channel is where it travels and who can see, send and answer it. Pick channels by durability, delivery, audience and who may post; keep control (instructions, approvals) separate from data; authenticate anything that can push into an agent; keep a durable record outside chat; route people's notifications by urgency; and stop agent-to-agent loops.",
      "domain": "D.MAS.COM",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0043",
        "BP-0003",
        "BP-0005",
        "BP-0013",
        "BP-0040",
        "BP-0048",
        "BP-0051",
        "BP-0033"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Code docs — Channels (push events into a running session)",
          "url": "https://code.claude.com/docs/en/channels"
        },
        {
          "title": "A2A Protocol specification",
          "url": "https://a2a-protocol.org/latest/specification/"
        }
      ],
      "slug": "multi-agent-systems/communication-protocols/choose-agent-communication-channels",
      "content_hash": "sha256:98fe94d098357154c7fd8f18e491e3f480f6874d30d1ef3f3ffd3d0b7df2feea",
      "domain_path": [
        "Multi-Agent Systems",
        "Communication & Protocols"
      ],
      "url": "https://agentpractices.dev/multi-agent-systems/communication-protocols/choose-agent-communication-channels/",
      "md_url": "https://agentpractices.dev/multi-agent-systems/communication-protocols/choose-agent-communication-channels.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0061%401.0.0&practice=BP-0061%401.0.0"
    },
    {
      "id": "BP-0043",
      "title": "Communicate between agents with structured, authenticated messages",
      "description": "Exchange typed messages and tasks over a standard protocol (A2A between agents, MCP between agent and tools), authenticate every party, make requests idempotent and traceable, and treat every message received as untrusted data.",
      "domain": "D.MAS.COM",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0042",
        "BP-0003",
        "BP-0023",
        "BP-0039",
        "BP-0005",
        "BP-0032"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "A2A Protocol specification",
          "url": "https://a2a-protocol.org/latest/specification/"
        },
        {
          "title": "A2A Protocol — Agent discovery",
          "url": "https://a2a-protocol.org/latest/topics/agent-discovery/"
        },
        {
          "title": "MCP Specification",
          "url": "https://modelcontextprotocol.io/specification/latest"
        }
      ],
      "slug": "multi-agent-systems/communication-protocols/communicate-between-agents",
      "content_hash": "sha256:8717f962f32b4102dd2e3804767bc08a999e81c950a23fda524f53966b903d43",
      "domain_path": [
        "Multi-Agent Systems",
        "Communication & Protocols"
      ],
      "url": "https://agentpractices.dev/multi-agent-systems/communication-protocols/communicate-between-agents/",
      "md_url": "https://agentpractices.dev/multi-agent-systems/communication-protocols/communicate-between-agents.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0043%401.0.0&practice=BP-0043%401.0.0"
    },
    {
      "id": "BP-0003",
      "title": "Use explicit handoff contracts between agents",
      "description": "Pass work between agents as a structured brief with goal, inputs, constraints, deliverable and done-criteria — never as an implicit chat history.",
      "domain": "D.MAS.HND",
      "type": "pattern",
      "roles": [
        "orchestrator",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0002",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [],
      "slug": "multi-agent-systems/coordination-handoff/handoff-contracts",
      "content_hash": "sha256:28600f179fa901ba905b4600af8da1c79043b376ebbc3123591d34438c91cce0",
      "domain_path": [
        "Multi-Agent Systems",
        "Coordination & Handoff"
      ],
      "url": "https://agentpractices.dev/multi-agent-systems/coordination-handoff/handoff-contracts/",
      "md_url": "https://agentpractices.dev/multi-agent-systems/coordination-handoff/handoff-contracts.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0003%401.0.0&practice=BP-0003%401.0.0"
    },
    {
      "id": "BP-0048",
      "title": "Orchestrate agent workflows as gated phases with a durable ledger",
      "description": "Run multi-step agent work as named phases (clarify, plan, execute, verify, integrate) with exit gates; keep the plan and progress in a ledger file, not the orchestrator's context; dispatch self-contained briefs; cap retries and escalate; end with an independent review.",
      "domain": "D.MAS.HND",
      "type": "pattern",
      "roles": [
        "orchestrator",
        "planner"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0049",
        "BP-0042",
        "BP-0003",
        "BP-0002",
        "BP-0008",
        "BP-0013",
        "BP-0036",
        "BP-0041"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Building effective agents",
          "url": "https://www.anthropic.com/research/building-effective-agents"
        },
        {
          "title": "Anthropic — How we built our multi-agent research system",
          "url": "https://www.anthropic.com/engineering/multi-agent-research-system"
        },
        {
          "title": "Claude Code docs — Subagents",
          "url": "https://code.claude.com/docs/en/sub-agents"
        }
      ],
      "slug": "multi-agent-systems/coordination-handoff/orchestrate-agent-workflows",
      "content_hash": "sha256:390af661317fa8fb69e0992b35e865559515ba6b7daf7179a5ef3174fbf209b5",
      "domain_path": [
        "Multi-Agent Systems",
        "Coordination & Handoff"
      ],
      "url": "https://agentpractices.dev/multi-agent-systems/coordination-handoff/orchestrate-agent-workflows/",
      "md_url": "https://agentpractices.dev/multi-agent-systems/coordination-handoff/orchestrate-agent-workflows.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0048%401.0.0&practice=BP-0048%401.0.0"
    },
    {
      "id": "BP-0053",
      "title": "Stop errors amplifying across agents, memory and retrieval",
      "description": "Verify at every handoff, not only at the end; pass claims with provenance and status; never treat agreement between agents as proof; gate what enters memory and retrieval corpora; keep generated content out of sources of truth; and trace and retract an error everywhere it spread.",
      "domain": "D.MAS.HND",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "reviewer",
        "implementer",
        "researcher"
      ],
      "stage": [
        "build",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0052",
        "BP-0003",
        "BP-0048",
        "BP-0043",
        "BP-0012",
        "BP-0031",
        "BP-0029",
        "BP-0051"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Singh & Pawar — The Hallucination Snowball: error propagation in multi-agent LLM pipelines (ICML 2026)",
          "url": "https://icml.cc/virtual/2026/77915"
        },
        {
          "title": "Xie et al. — From Spark to Fire: Modeling and Mitigating Error Cascades in LLM-Based Multi-Agent Collaboration (2026)",
          "url": "https://arxiv.org/abs/2603.04474"
        },
        {
          "title": "Jamshidi et al. — Hallucination Cascade: Analyzing Error Propagation in Multi-Agent LLM Systems (2026)",
          "url": "https://arxiv.org/abs/2606.07937"
        }
      ],
      "slug": "multi-agent-systems/coordination-handoff/prevent-error-amplification",
      "content_hash": "sha256:c8612600db4754d4270b3ad6f3566b249e768e474089ea586e54e390b972e664",
      "domain_path": [
        "Multi-Agent Systems",
        "Coordination & Handoff"
      ],
      "url": "https://agentpractices.dev/multi-agent-systems/coordination-handoff/prevent-error-amplification/",
      "md_url": "https://agentpractices.dev/multi-agent-systems/coordination-handoff/prevent-error-amplification.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0053%401.0.0&practice=BP-0053%401.0.0"
    },
    {
      "id": "BP-0042",
      "title": "Choose the simplest agent team topology that works",
      "description": "Start with one agent; add agents only for parallel, independent or specialised work; pick a known topology (orchestrator-workers, pipeline, evaluator-optimiser, router) with defined roles and one owner per decision.",
      "domain": "D.MAS.TOP",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "planner"
      ],
      "stage": [
        "plan"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0043",
        "BP-0003",
        "BP-0008",
        "BP-0035",
        "BP-0041"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Building effective agents",
          "url": "https://www.anthropic.com/research/building-effective-agents"
        },
        {
          "title": "Anthropic — How we built our multi-agent research system",
          "url": "https://www.anthropic.com/engineering/multi-agent-research-system"
        }
      ],
      "slug": "multi-agent-systems/team-topologies-roles/choose-the-simplest-agent-topology",
      "content_hash": "sha256:372beae480701f4e20a0b524277ef3a23da01edf4cad4711d4924377fad535f5",
      "domain_path": [
        "Multi-Agent Systems",
        "Team Topologies & Roles"
      ],
      "url": "https://agentpractices.dev/multi-agent-systems/team-topologies-roles/choose-the-simplest-agent-topology/",
      "md_url": "https://agentpractices.dev/multi-agent-systems/team-topologies-roles/choose-the-simplest-agent-topology.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0042%401.0.0&practice=BP-0042%401.0.0"
    },
    {
      "id": "BP-0060",
      "title": "Back up agent systems and keep backups out of agents' reach",
      "description": "Back up the data agents touch and the agent state you cannot rebuild (memory, knowledge graphs, workflow state, instructions, skills, gateway config, evals); keep at least one copy offline or immutable that agent credentials cannot reach; checkpoint before destructive or bulk operations; set recovery objectives per data class; and test restores on a schedule, including the \"an agent deleted production\" scenario.",
      "domain": "D.OPS.BDR",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0032",
        "BP-0021",
        "BP-0040",
        "BP-0053",
        "BP-0012",
        "BP-0013",
        "BP-0031",
        "BP-0046",
        "BP-0059"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "CISA — #StopRansomware Guide",
          "url": "https://www.cisa.gov/stopransomware/ransomware-guide"
        },
        {
          "title": "NIST SP 800-34 Rev. 1 — Contingency Planning Guide for Federal Information Systems",
          "url": "https://csrc.nist.gov/pubs/sp/800/34/r1/upd1/final"
        },
        {
          "title": "The Register — Replit deleted user's production database (July 2025)",
          "url": "https://www.theregister.com/2025/07/21/replit_saastr_vibe_coding_incident"
        },
        {
          "title": "AI Incident Database — Incident 1152 (Replit agent",
          "loss of production data)": null,
          "url": "https://incidentdatabase.ai/entities/saastr/"
        }
      ],
      "slug": "operations/backup-recovery/back-up-and-recover-agent-systems",
      "content_hash": "sha256:b2eb9c2bd6b61939a5c55a70e3f9b40845e55a1015192a85c4e941b3c3864fcd",
      "domain_path": [
        "Operations",
        "Backup & Recovery"
      ],
      "url": "https://agentpractices.dev/operations/backup-recovery/back-up-and-recover-agent-systems/",
      "md_url": "https://agentpractices.dev/operations/backup-recovery/back-up-and-recover-agent-systems.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0060%401.0.0&practice=BP-0060%401.0.0"
    },
    {
      "id": "BP-0041",
      "title": "Budget and control agent cost and latency",
      "description": "Set a budget per task with hard caps on turns, tokens and spend; measure cost per completed task; cache stable prompt prefixes; route each step to the smallest model that meets the bar; batch non-urgent work; and stop runaway loops.",
      "domain": "D.OPS.CST",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0039",
        "BP-0011",
        "BP-0028",
        "BP-0008",
        "BP-0006"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Platform docs — Prompt caching",
          "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching"
        },
        {
          "title": "Claude Platform docs — Batch processing",
          "url": "https://platform.claude.com/docs/en/build-with-claude/batch-processing"
        }
      ],
      "slug": "operations/cost-performance/budget-and-control-agent-cost",
      "content_hash": "sha256:7cd3c7d8312b7c394b8ac9e344033f2a3cbf22721db0fc2a760fc32495766efc",
      "domain_path": [
        "Operations",
        "Cost & Performance"
      ],
      "url": "https://agentpractices.dev/operations/cost-performance/budget-and-control-agent-cost/",
      "md_url": "https://agentpractices.dev/operations/cost-performance/budget-and-control-agent-cost.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0041%401.0.0&practice=BP-0041%401.0.0"
    },
    {
      "id": "BP-0065",
      "title": "Benchmark models on your own tasks for accuracy, speed, cost and output format",
      "description": "Use public leaderboards only to shortlist; choose models by running a private set of your own tasks several times each, measuring task success, schema and format validity, time to first token, end-to-end time and cost per successful task, with fair settings for every model; gate on must-haves, pick the cheapest model that passes, and record and re-run the decision.",
      "domain": "D.OPS.EVL",
      "type": "procedure",
      "roles": [
        "orchestrator",
        "reviewer"
      ],
      "stage": [
        "plan",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-02-24",
      "related": [
        "BP-0049",
        "BP-0006",
        "BP-0050",
        "BP-0041",
        "BP-0046",
        "BP-0064",
        "BP-0059"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Alzahrani et al. — When Benchmarks are Targets: Revealing the Sensitivity of LLM Leaderboards",
          "url": "https://arxiv.org/abs/2402.01781"
        },
        {
          "title": "Contamination Inflates Scores but Rarely Reorders LLM Leaderboards (2026)",
          "url": "https://arxiv.org/abs/2609.02899"
        },
        {
          "title": "Claude Platform docs — Structured outputs",
          "url": "https://platform.claude.com/docs/en/build-with-claude/structured-outputs"
        },
        {
          "title": "pstack (Cursor plugins) — benchmark-checklist skill",
          "url": "https://github.com/cursor/plugins/tree/main/pstack/skills/benchmark-checklist"
        }
      ],
      "slug": "operations/evaluation/benchmark-models-on-your-own-tasks",
      "content_hash": "sha256:03d23d9a17cfb900cf09d90509413efb7802264cae2e892d6815c9095eb472c6",
      "domain_path": [
        "Operations",
        "Evaluation"
      ],
      "url": "https://agentpractices.dev/operations/evaluation/benchmark-models-on-your-own-tasks/",
      "md_url": "https://agentpractices.dev/operations/evaluation/benchmark-models-on-your-own-tasks.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0065%401.0.0&practice=BP-0065%401.0.0"
    },
    {
      "id": "BP-0050",
      "title": "Detect and respond to model drift",
      "description": "Pin model versions, record which model actually served each call, re-run a golden evaluation set on a schedule and on every change, compare against a baseline with thresholds, watch live signals and provider lifecycle notices, and roll back through the gateway when quality drops.",
      "domain": "D.OPS.EVL",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "reviewer",
        "implementer"
      ],
      "stage": [
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0006",
        "BP-0051",
        "BP-0039",
        "BP-0046",
        "BP-0049",
        "BP-0044"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Claude Platform docs — Model IDs and versions",
          "url": "https://platform.claude.com/docs/en/about-claude/models/model-ids-and-versions"
        },
        {
          "title": "Claude Platform docs — Model deprecations",
          "url": "https://platform.claude.com/docs/en/about-claude/model-deprecations"
        },
        {
          "title": "OpenTelemetry GenAI semantic conventions",
          "url": "https://github.com/open-telemetry/semantic-conventions-genai"
        }
      ],
      "slug": "operations/evaluation/detect-model-drift",
      "content_hash": "sha256:b8782fa305f6cd4add68e7642b582291e9fc5ccc9de91bd2c3a870a882fb485a",
      "domain_path": [
        "Operations",
        "Evaluation"
      ],
      "url": "https://agentpractices.dev/operations/evaluation/detect-model-drift/",
      "md_url": "https://agentpractices.dev/operations/evaluation/detect-model-drift.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0050%401.0.0&practice=BP-0050%401.0.0"
    },
    {
      "id": "BP-0006",
      "title": "Evaluate agent output against explicit criteria",
      "description": "Judge agent work with written, checkable criteria and real examples, preferring automated checks and independent reviewers over self-assessment.",
      "domain": "D.OPS.EVL",
      "type": "guideline",
      "roles": [
        "reviewer",
        "orchestrator"
      ],
      "stage": [
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0002"
      ],
      "superseded_by": null,
      "sources": [],
      "slug": "operations/evaluation/evaluate-agent-output",
      "content_hash": "sha256:33a388be20f4a30359dd2c885cb985174b99b256220776a477e5fc65bcbd8632",
      "domain_path": [
        "Operations",
        "Evaluation"
      ],
      "url": "https://agentpractices.dev/operations/evaluation/evaluate-agent-output/",
      "md_url": "https://agentpractices.dev/operations/evaluation/evaluate-agent-output.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0006%401.0.0&practice=BP-0006%401.0.0"
    },
    {
      "id": "BP-0047",
      "title": "Cut cost with time-of-day (peak/off-peak) routing",
      "description": "Where providers price by time of day, keep their current schedule in gateway config, defer work that can wait to off-peak windows, route interactive work by current price only to evaluated models, keep sessions on one provider so caches still pay, and measure the real saving.",
      "domain": "D.OPS.GW",
      "type": "pattern",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-02-24",
      "related": [
        "BP-0046",
        "BP-0041",
        "BP-0006",
        "BP-0039"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "LiteLLM docs — Off-peak pricing",
          "url": "https://docs.litellm.ai/docs/proxy/off_peak_pricing"
        },
        {
          "title": "Claude Code Router — Custom router",
          "url": "https://musistudio.github.io/claude-code-router/docs/server/advanced/custom-router"
        },
        {
          "title": "InfoWorld — DeepSeek raises some V4 prices as AI demand strains capacity (2026)",
          "url": "https://www.infoworld.com/article/4209439/deepseek-raises-some-v4-prices-by-more-than-10x-as-ai-demand-strains-capacity.html"
        },
        {
          "title": "OpenRouter API — List models (pricing)",
          "url": "https://openrouter.ai/docs/api/api-reference/models/get-models"
        },
        {
          "title": "LiteLLM — model prices and context window map",
          "url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
        },
        {
          "title": "Claude Platform docs — Batch processing",
          "url": "https://platform.claude.com/docs/en/build-with-claude/batch-processing"
        }
      ],
      "slug": "operations/model-gateways-routing/route-by-time-of-day-pricing",
      "content_hash": "sha256:fbada220963534868dbe438da33a9470a5e699bee50f0e4f59b382690c337ec0",
      "domain_path": [
        "Operations",
        "Model Gateways & Routing"
      ],
      "url": "https://agentpractices.dev/operations/model-gateways-routing/route-by-time-of-day-pricing/",
      "md_url": "https://agentpractices.dev/operations/model-gateways-routing/route-by-time-of-day-pricing.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0047%401.1.0&practice=BP-0047%401.1.0"
    },
    {
      "id": "BP-0046",
      "title": "Route agent model traffic through a governed gateway",
      "description": "Put a model gateway (team-wide, like LiteLLM; or local per developer, like Claude Code Router) between agents and providers to centralise keys, budgets, routing, fallbacks and logs — and treat the gateway itself as a high-value, pinned, access-controlled component.",
      "domain": "D.OPS.GW",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-02-24",
      "related": [
        "BP-0041",
        "BP-0032",
        "BP-0033",
        "BP-0039",
        "BP-0044"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "LiteLLM AI Gateway docs",
          "url": "https://docs.litellm.ai/docs/simple_proxy/"
        },
        {
          "title": "Claude Code Router",
          "url": "https://github.com/musistudio/claude-code-router"
        }
      ],
      "slug": "operations/model-gateways-routing/route-model-traffic-through-a-gateway",
      "content_hash": "sha256:cfe42b053f47169659aa1ae17371758c915c4b6b5f5a1574ab53fa406e9ff6ee",
      "domain_path": [
        "Operations",
        "Model Gateways & Routing"
      ],
      "url": "https://agentpractices.dev/operations/model-gateways-routing/route-model-traffic-through-a-gateway/",
      "md_url": "https://agentpractices.dev/operations/model-gateways-routing/route-model-traffic-through-a-gateway.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0046%401.1.0&practice=BP-0046%401.1.0"
    },
    {
      "id": "BP-0040",
      "title": "Keep an audit trail of agent actions",
      "description": "Record every side-effecting agent action in an append-only, tamper-evident log — which agent, on whose behalf, what it did, to what, who approved it, and the result — separate from debug logs and kept for as long as the records it changes.",
      "domain": "D.OPS.OBS",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0039",
        "BP-0032",
        "BP-0021",
        "BP-0023",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP LLM03:2026 Excessive Agency",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        },
        {
          "title": "W3C PROV-O",
          "url": "https://www.w3.org/TR/prov-o/"
        }
      ],
      "slug": "operations/observability/keep-an-audit-trail",
      "content_hash": "sha256:ec5dbb9aba619d40c663910d319b8cad6309d6b5a65951ac1ae635007d9a9374",
      "domain_path": [
        "Operations",
        "Observability"
      ],
      "url": "https://agentpractices.dev/operations/observability/keep-an-audit-trail/",
      "md_url": "https://agentpractices.dev/operations/observability/keep-an-audit-trail.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0040%401.0.1&practice=BP-0040%401.0.1"
    },
    {
      "id": "BP-0051",
      "title": "Observe agent workflows, not just single runs",
      "description": "Trace a workflow as one root span with phases and units beneath it; record role, model, effort, attempt and gate outcome per unit; measure lead time, retries, escalations, human waits and cost per completed unit; detect stuck and looping work; and review the numbers to tune the workflow.",
      "domain": "D.OPS.OBS",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0039",
        "BP-0048",
        "BP-0050",
        "BP-0049",
        "BP-0041",
        "BP-0040"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OpenTelemetry GenAI semantic conventions",
          "url": "https://github.com/open-telemetry/semantic-conventions-genai"
        }
      ],
      "slug": "operations/observability/observe-agent-workflows",
      "content_hash": "sha256:5ad15be320f7398e31598bffbcd55f6e6711defaf1ffbaaebd3b373ab20191e3",
      "domain_path": [
        "Operations",
        "Observability"
      ],
      "url": "https://agentpractices.dev/operations/observability/observe-agent-workflows/",
      "md_url": "https://agentpractices.dev/operations/observability/observe-agent-workflows.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0051%401.0.0&practice=BP-0051%401.0.0"
    },
    {
      "id": "BP-0039",
      "title": "Trace agent runs end to end",
      "description": "Record every agent run as one trace — a span per model call, tool call and sub-agent, linked by a run ID across agents — with model, tokens, cost, latency, decisions and errors, using the OpenTelemetry GenAI conventions and redacting content by default.",
      "domain": "D.OPS.OBS",
      "type": "guideline",
      "roles": [
        "implementer",
        "orchestrator"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0040",
        "BP-0041",
        "BP-0006",
        "BP-0033"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OpenTelemetry GenAI semantic conventions",
          "url": "https://github.com/open-telemetry/semantic-conventions-genai"
        }
      ],
      "slug": "operations/observability/trace-agent-runs",
      "content_hash": "sha256:1f425b3f870e5542609468befcb9606210afd0102e72aa10cc439081d73e3a0a",
      "domain_path": [
        "Operations",
        "Observability"
      ],
      "url": "https://agentpractices.dev/operations/observability/trace-agent-runs/",
      "md_url": "https://agentpractices.dev/operations/observability/trace-agent-runs.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0039%401.0.0&practice=BP-0039%401.0.0"
    },
    {
      "id": "BP-0077",
      "title": "Map agent risks to the AI security frameworks (ATLAS, NIST AI RMF, OWASP, CoSAI)",
      "description": "Use the main AI security frameworks for what each is good at — NIST AI RMF as the governance spine, the OWASP LLM and Agentic Top 10s to find risks, MITRE ATLAS to name attacker techniques, and the CoSAI Risk Map and crosswalks to reach controls — then keep one versioned risk register per agent system that ties every risk to edition-qualified framework IDs, an implemented control, evidence, an owner and review dates.",
      "domain": "D.SEC.FRM",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "planner",
        "reviewer"
      ],
      "stage": [
        "plan",
        "build",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-02-25",
      "related": [
        "BP-0005",
        "BP-0032",
        "BP-0044",
        "BP-0053",
        "BP-0061",
        "BP-0069",
        "BP-0070",
        "BP-0075",
        "BP-0040",
        "BP-0051"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "NIST — AI Risk Management Framework (AI RMF 1.0",
          "Generative AI Profile NIST AI 600-1)": null,
          "url": "https://www.nist.gov/itl/ai-risk-management-framework"
        },
        {
          "title": "NIST IR 8596 (preliminary draft) — Cybersecurity Framework Profile for Artificial Intelligence (Cyber AI Profile)",
          "url": "https://csrc.nist.gov/pubs/ir/8596/iprd"
        },
        {
          "title": "OWASP GenAI Security Project — Top 10 for LLM Applications 2026",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        },
        {
          "title": "OWASP GenAI Security Project — Top 10 for Agentic Applications for 2026",
          "url": "https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications/"
        },
        {
          "title": "OWASP GenAI Security Project — GenAI Security Industry Framework Crosswalk",
          "url": "https://genai.owasp.org/resource/genai-security-industry-framework-crosswalk/"
        },
        {
          "title": "MITRE ATLAS",
          "url": "https://atlas.mitre.org/"
        },
        {
          "title": "MITRE ATLAS data releases (GitHub)",
          "url": "https://github.com/mitre-atlas/atlas-data/releases"
        },
        {
          "title": "Coalition for Secure AI (CoSAI) — Risk Map and tooling (GitHub)",
          "url": "https://github.com/cosai-oasis/secure-ai-tooling"
        },
        {
          "title": "Coalition for Secure AI — mission",
          "scope and workstreams": null,
          "url": "https://www.coalitionforsecureai.org/about/"
        }
      ],
      "slug": "security-safety/ai-security-frameworks-threat-modelling/map-agent-risks-to-ai-security-frameworks",
      "content_hash": "sha256:191095845c26dfb9bc6b96b35ceb0ca518087d4fe3d82d388ade323b9325bfcb",
      "domain_path": [
        "Security & Safety",
        "AI Security Frameworks & Threat Modelling"
      ],
      "url": "https://agentpractices.dev/security-safety/ai-security-frameworks-threat-modelling/map-agent-risks-to-ai-security-frameworks/",
      "md_url": "https://agentpractices.dev/security-safety/ai-security-frameworks-threat-modelling/map-agent-risks-to-ai-security-frameworks.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0077%401.1.0&practice=BP-0077%401.1.0"
    },
    {
      "id": "BP-0067",
      "title": "Keep agent data where it is allowed to be, and personal data to a minimum",
      "description": "Map every place agent data goes (prompts, tool results, memory, indexes, logs, traces, backups, channels) and which jurisdiction holds it; decide per data class which providers and regions are allowed and enforce it in the gateway; send models only what they need, pseudonymised where possible; make deletion and access requests reach derived stores; disclose automated decisions; and plan for a provider becoming unavailable.",
      "domain": "D.SEC.DAT",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "planner",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0046",
        "BP-0033",
        "BP-0012",
        "BP-0031",
        "BP-0039",
        "BP-0040",
        "BP-0060",
        "BP-0061",
        "BP-0064",
        "BP-0049"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OAIC — APP 8 Cross-border disclosure of personal information",
          "url": "https://www.oaic.gov.au/privacy/australian-privacy-principles/australian-privacy-principles-guidelines/chapter-8-app-8-cross-border-disclosure-of-personal-information"
        },
        {
          "title": "OAIC — APP 1 (automated decision transparency from 10 December 2026)",
          "url": "https://www.oaic.gov.au/privacy/australian-privacy-principles-guidelines/chapter-1-app-1-open-and-transparent-management-of-personal-information/"
        },
        {
          "title": "GDPR — Chapter V (transfers to third countries)",
          "url": "https://gdpr-info.eu/chapter-5/"
        },
        {
          "title": "Claude Platform docs — Data residency",
          "url": "https://platform.claude.com/docs/en/manage-claude/data-residency"
        },
        {
          "title": "Anthropic — Fable and Mythos access (June 2026)",
          "url": "https://www.anthropic.com/news/fable-mythos-access"
        }
      ],
      "slug": "security-safety/data-sovereignty-privacy/keep-agent-data-where-it-is-allowed",
      "content_hash": "sha256:8c778a25eddf74c53273c97edbe414ffb2214c16afe24ed5050ac22f9ba27ab5",
      "domain_path": [
        "Security & Safety",
        "Data Sovereignty & Privacy"
      ],
      "url": "https://agentpractices.dev/security-safety/data-sovereignty-privacy/keep-agent-data-where-it-is-allowed/",
      "md_url": "https://agentpractices.dev/security-safety/data-sovereignty-privacy/keep-agent-data-where-it-is-allowed.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0067%401.0.0&practice=BP-0067%401.0.0"
    },
    {
      "id": "BP-0045",
      "title": "Defend against hostile AI agents with the 4Ds — Delay, Defend, Detect, Disrupt",
      "description": "Plan defences against AI-driven attacks in four layers — slow attacking agents down, harden what they target, detect agent behaviour early (deception is a strong signal), and disrupt them inside your own environment — within legal scope and without hacking back.",
      "domain": "D.SEC.DEF",
      "type": "guideline",
      "roles": [
        "any",
        "orchestrator",
        "researcher"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0040",
        "BP-0039",
        "BP-0032",
        "BP-0033",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "IAPS — Detecting Offensive Cyber Agents: A Detection-in-Depth Approach (arXiv 2605.21956)",
          "url": "https://arxiv.org/abs/2605.21956"
        },
        {
          "title": "Beelzebub — LLM-powered deception runtime",
          "url": "https://github.com/beelzebub-labs/beelzebub"
        },
        {
          "title": "OWASP Top 10 for LLM Applications 2026",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        }
      ],
      "slug": "security-safety/defence-against-hostile-agents/defend-with-the-4ds",
      "content_hash": "sha256:54b74c63131a2681174b942ac78293f1b08b52bd706eee4d394b783ba0421b0b",
      "domain_path": [
        "Security & Safety",
        "Defence Against Hostile Agents"
      ],
      "url": "https://agentpractices.dev/security-safety/defence-against-hostile-agents/defend-with-the-4ds/",
      "md_url": "https://agentpractices.dev/security-safety/defence-against-hostile-agents/defend-with-the-4ds.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0045%401.0.1&practice=BP-0045%401.0.1"
    },
    {
      "id": "BP-0063",
      "title": "Broker agent credentials through a secrets vault (for example OpenBao)",
      "description": "Give every agent role its own vault identity and least-privilege policy; issue short-lived dynamic credentials per task and revoke them at the end; inject values into the tool or process at run time so the model never sees them; hand secrets between processes only by response wrapping; audit every access; and run the vault itself as critical infrastructure agents cannot administer.",
      "domain": "D.SEC.PRV",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0032",
        "BP-0033",
        "BP-0062",
        "BP-0055",
        "BP-0046",
        "BP-0040",
        "BP-0060",
        "BP-0044"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OpenBao documentation",
          "url": "https://openbao.org/docs/"
        },
        {
          "title": "OpenBao — Agent (auto-auth",
          "templates": null,
          "process supervisor)": null,
          "url": "https://openbao.org/docs/agent-and-proxy/agent/"
        },
        {
          "title": "OpenBao — Database secrets engine",
          "url": "https://openbao.org/docs/secrets/databases/"
        },
        {
          "title": "OpenBao 2.6.x release notes",
          "url": "https://openbao.org/community/release-notes/2-6-0/"
        },
        {
          "title": "InfoQ — OpenBao 2.7 (governance, licence)",
          "url": "https://infoq.com/news/2026/11/vault-fork-openbao-27"
        }
      ],
      "slug": "security-safety/least-privilege-secrets/broker-agent-credentials-through-a-vault",
      "content_hash": "sha256:bfc61338626726a8fb661e580e45298fb45756eaaa53b51f6567fe928d6ea55d",
      "domain_path": [
        "Security & Safety",
        "Least Privilege & Secrets"
      ],
      "url": "https://agentpractices.dev/security-safety/least-privilege-secrets/broker-agent-credentials-through-a-vault/",
      "md_url": "https://agentpractices.dev/security-safety/least-privilege-secrets/broker-agent-credentials-through-a-vault.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0063%401.0.0&practice=BP-0063%401.0.0"
    },
    {
      "id": "BP-0032",
      "title": "Give agents least-privilege, short-lived, attributable access",
      "description": "Give each agent its own identity, only the tools and permissions its task needs, credentials that expire, sandboxed execution, and human approval for high-impact actions — act on behalf of a user with that user's rights, never a generic admin.",
      "domain": "D.SEC.PRV",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer",
        "any"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0033",
        "BP-0013",
        "BP-0021",
        "BP-0023",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP LLM03:2026 Excessive Agency",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        },
        {
          "title": "MCP Specification — Security best practices (scope minimization)",
          "url": "https://modelcontextprotocol.io/specification/latest/basic/security_best_practices"
        }
      ],
      "slug": "security-safety/least-privilege-secrets/give-agents-least-privilege",
      "content_hash": "sha256:cf2f4e1c3924e3bb33db979d87f2cf287cdb374e53ce8fa0c58e4eb9f6dfc15d",
      "domain_path": [
        "Security & Safety",
        "Least Privilege & Secrets"
      ],
      "url": "https://agentpractices.dev/security-safety/least-privilege-secrets/give-agents-least-privilege/",
      "md_url": "https://agentpractices.dev/security-safety/least-privilege-secrets/give-agents-least-privilege.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0032%401.0.1&practice=BP-0032%401.0.1"
    },
    {
      "id": "BP-0033",
      "title": "Keep secrets out of agent context, memory, logs and output",
      "description": "Inject credentials at the tool boundary so the model never sees them, never put secrets in prompts, instruction files, memory, skills or commits, scan and redact everywhere agents write, and rotate any secret an agent has seen.",
      "domain": "D.SEC.PRV",
      "type": "guideline",
      "roles": [
        "any",
        "implementer",
        "orchestrator"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0032",
        "BP-0012",
        "BP-0013",
        "BP-0016",
        "BP-0022"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP LLM02:2026 Sensitive Information Disclosure",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        },
        {
          "title": "OWASP Secrets Management Cheat Sheet",
          "url": "https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html"
        }
      ],
      "slug": "security-safety/least-privilege-secrets/keep-secrets-out-of-agent-context",
      "content_hash": "sha256:89945093123c692230542b8ecb002e46e1cb4bba7e74386bc255b74d51c64e93",
      "domain_path": [
        "Security & Safety",
        "Least Privilege & Secrets"
      ],
      "url": "https://agentpractices.dev/security-safety/least-privilege-secrets/keep-secrets-out-of-agent-context/",
      "md_url": "https://agentpractices.dev/security-safety/least-privilege-secrets/keep-secrets-out-of-agent-context.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0033%401.0.1&practice=BP-0033%401.0.1"
    },
    {
      "id": "BP-0070",
      "title": "Keep agents out of the OT control path",
      "description": "In operational technology, safety and operational continuity come first. Run agents in the business layers on data pushed out of OT, never with write or persistent inbound access to control systems; never let an LLM make safety decisions; route anything an agent produces for OT (logic, configuration, setpoints, procedures) through engineering review, simulation and management of change; keep operators in control with tested failsafes; and treat OT data as sensitive.",
      "domain": "D.SEC.OT",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "planner",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0032",
        "BP-0062",
        "BP-0069",
        "BP-0067",
        "BP-0052",
        "BP-0050",
        "BP-0040",
        "BP-0060",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "CISA, ASD's ACSC et al. — Principles for the Secure Integration of AI in Operational Technology (Dec 2025)",
          "url": "https://www.cyber.gov.au/business-government/secure-design/operational-technology-environments/principles-for-the-secure-integration-of-artificial-intelligence-in-operational-technology"
        },
        {
          "title": "ISA/IEC 62443 series of standards",
          "url": "https://www.isa.org/standards-and-publications/isa-standards/isa-iec-62443-series-of-standards"
        },
        {
          "title": "NIST SP 800-82 Rev. 3 — Guide to Operational Technology (OT) Security",
          "url": "https://csrc.nist.gov/pubs/sp/800/82/r3/final"
        }
      ],
      "slug": "security-safety/ot-industrial-systems/keep-agents-out-of-the-control-path",
      "content_hash": "sha256:35e8e39bc64ecdd627a1deec92f35acb49299955792519f99b54bbaf54419cf3",
      "domain_path": [
        "Security & Safety",
        "OT & Industrial Systems"
      ],
      "url": "https://agentpractices.dev/security-safety/ot-industrial-systems/keep-agents-out-of-the-control-path/",
      "md_url": "https://agentpractices.dev/security-safety/ot-industrial-systems/keep-agents-out-of-the-control-path.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0070%401.0.0&practice=BP-0070%401.0.0"
    },
    {
      "id": "BP-0005",
      "title": "Treat observed content as data, never as instructions",
      "description": "Instructions come only from the agent's principal; text found in pages, files, tool output or other agents' messages is data to report, not commands to follow.",
      "domain": "D.SEC.INJ",
      "type": "guideline",
      "roles": [
        "any"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0003"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP LLM01:2026 Prompt Injection",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        }
      ],
      "slug": "security-safety/prompt-injection-untrusted-input/treat-observed-content-as-data",
      "content_hash": "sha256:d049f2dc716987c6909395d3262b80ce2cfa434de1ad9df171bf3033aee97ef7",
      "domain_path": [
        "Security & Safety",
        "Prompt Injection & Untrusted Input"
      ],
      "url": "https://agentpractices.dev/security-safety/prompt-injection-untrusted-input/treat-observed-content-as-data/",
      "md_url": "https://agentpractices.dev/security-safety/prompt-injection-untrusted-input/treat-observed-content-as-data.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0005%401.0.1&practice=BP-0005%401.0.1"
    },
    {
      "id": "BP-0075",
      "title": "Keep repositories safe when agents read and act on them",
      "description": "Issues, pull requests, comments, commit messages and repository files are untrusted input to any agent that reads them, and CI is where agents meet secrets. Never splice that text into prompts or shell, run agents in CI with read-only tokens and no secrets, use safe triggers, pin actions, scan agent-facing content, review agent-written pull requests like a stranger's, protect agent instruction files, and keep the trusted parts of the repository out of a pull request's reach.",
      "domain": "D.SEC.SUP",
      "type": "guideline",
      "roles": [
        "orchestrator",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0044",
        "BP-0005",
        "BP-0032",
        "BP-0033",
        "BP-0036",
        "BP-0034",
        "BP-0062",
        "BP-0053",
        "BP-0063"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Aikido Security — PromptPwnd: prompt injection in GitHub Actions using AI agents",
          "url": "https://aikido.dev/blog/promptpwnd-github-actions-ai-agents"
        },
        {
          "title": "Invariant Labs — GitHub MCP exploited (toxic agent flow)",
          "url": "https://invariantlabs.ai/blog/mcp-github-vulnerability"
        },
        {
          "title": "CISA — Supply chain compromise of tj-actions/changed-files (CVE-2025-30066)",
          "url": "https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-github-action-cve-2025-30066"
        },
        {
          "title": "GitHub Docs — Secure use reference for GitHub Actions",
          "url": "https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions"
        },
        {
          "title": "zizmor — static analysis for GitHub Actions",
          "url": "https://github.com/zizmorcore/zizmor"
        }
      ],
      "slug": "security-safety/supply-chain/keep-repositories-safe-for-agents",
      "content_hash": "sha256:3fe309fe4ed8f876dd95981b047c81bdb74d2d9ac3b824f71f16a71c4619ab47",
      "domain_path": [
        "Security & Safety",
        "Supply Chain"
      ],
      "url": "https://agentpractices.dev/security-safety/supply-chain/keep-repositories-safe-for-agents/",
      "md_url": "https://agentpractices.dev/security-safety/supply-chain/keep-repositories-safe-for-agents.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0075%401.0.0&practice=BP-0075%401.0.0"
    },
    {
      "id": "BP-0044",
      "title": "Vet, pin and track every agent dependency",
      "description": "Treat models, MCP servers, skills, plugins, hooks, gateways and packages as supply chain — verify they are real and from the expected publisher, review and pin them, keep an inventory, and never let an agent install something it cannot verify exists.",
      "domain": "D.SEC.SUP",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer",
        "orchestrator"
      ],
      "stage": [
        "plan",
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0019",
        "BP-0021",
        "BP-0023",
        "BP-0036",
        "BP-0046"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP LLM04:2026 Supply Chain",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        },
        {
          "title": "Trend Micro — Slopsquatting: when AI agents hallucinate malicious packages",
          "url": "https://www.trendmicro.com/vinfo/us/security/news/cybercrime-and-digital-threats/slopsquatting-when-ai-agents-hallucinate-malicious-packages"
        }
      ],
      "slug": "security-safety/supply-chain/vet-and-pin-agent-dependencies",
      "content_hash": "sha256:70793ff3644e160827aef416ca2c16c3e2f99e7a2318d91de2f4efa03a4642e9",
      "domain_path": [
        "Security & Safety",
        "Supply Chain"
      ],
      "url": "https://agentpractices.dev/security-safety/supply-chain/vet-and-pin-agent-dependencies/",
      "md_url": "https://agentpractices.dev/security-safety/supply-chain/vet-and-pin-agent-dependencies.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0044%401.0.1&practice=BP-0044%401.0.1"
    },
    {
      "id": "BP-0071",
      "title": "Design API surfaces contract-first and evolve them without breaking clients",
      "description": "Choose REST, RPC (gRPC, JSON-RPC), GraphQL or events by the interaction, not by habit; write the contract first (OpenAPI, Protobuf, GraphQL schema, AsyncAPI) and treat it as the source of truth; make operations clear enough for people and agents to call correctly; standardise errors, idempotency, pagination and limits; block breaking changes in CI; and deprecate with notice, headers and dates before removing anything.",
      "domain": "D.SWE.API",
      "type": "guideline",
      "roles": [
        "planner",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "plan",
        "build",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0001",
        "BP-0055",
        "BP-0058",
        "BP-0037",
        "BP-0034",
        "BP-0043",
        "BP-0024"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OpenAPI Specification v3.2.0",
          "url": "https://spec.openapis.org/oas/v3.2.0.html"
        },
        {
          "title": "RFC 9457 — Problem Details for HTTP APIs",
          "url": "https://www.rfc-editor.org/rfc/rfc9457"
        },
        {
          "title": "RFC 9745 — The Deprecation HTTP Response Header Field",
          "url": "https://www.rfc-editor.org/rfc/rfc9745"
        },
        {
          "title": "RFC 8594 — The Sunset HTTP Header Field",
          "url": "https://www.rfc-editor.org/rfc/rfc8594"
        },
        {
          "title": "oasdiff — breaking-change detection for OpenAPI",
          "url": "https://github.com/oasdiff/oasdiff"
        },
        {
          "title": "Buf — breaking-change detection for Protobuf",
          "url": "https://buf.build/docs/breaking/"
        }
      ],
      "slug": "software-engineering/api-interface-design/design-and-evolve-api-surfaces",
      "content_hash": "sha256:d3688c7cd4a59a79e611639631baf1d6c2b054f1bc5e54b27d93601153cc2f0e",
      "domain_path": [
        "Software Engineering",
        "API & Interface Design"
      ],
      "url": "https://agentpractices.dev/software-engineering/api-interface-design/design-and-evolve-api-surfaces/",
      "md_url": "https://agentpractices.dev/software-engineering/api-interface-design/design-and-evolve-api-surfaces.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0071%401.0.0&practice=BP-0071%401.0.0"
    },
    {
      "id": "BP-0001",
      "title": "Design CLIs for agents and humans",
      "description": "Build command-line tools an agent can drive reliably and a person can still use comfortably.",
      "domain": "D.SWE.CLI",
      "type": "guideline",
      "roles": [
        "implementer"
      ],
      "stage": [
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0007"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Command Line Interface Guidelines",
          "url": "https://clig.dev/"
        },
        {
          "title": "POSIX Utility Conventions",
          "url": "https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap12.html"
        }
      ],
      "slug": "software-engineering/cli-design/design-clis-for-agents",
      "content_hash": "sha256:9d1f35ecb39b40f8fb36225317c9390f43b009b001481f155df64256ee56b3d1",
      "domain_path": [
        "Software Engineering",
        "CLI Design"
      ],
      "url": "https://agentpractices.dev/software-engineering/cli-design/design-clis-for-agents/",
      "md_url": "https://agentpractices.dev/software-engineering/cli-design/design-clis-for-agents.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0001%401.0.0&practice=BP-0001%401.0.0"
    },
    {
      "id": "BP-0054",
      "title": "Keep agent-written code comments few, true and about why",
      "description": "Agents write code that explains itself through names, types and structure; they comment only to record what code cannot say (external constraints, public API contracts, licence and provenance headers, links to the reason); never narrate, never leave change notes or dead code; and keep every surviving comment true, because a wrong comment misleads the next agent more than a missing one.",
      "domain": "D.SWE.QLT",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0036",
        "BP-0034",
        "BP-0052",
        "BP-0018",
        "BP-0037"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "pstack (Cursor plugins) — no-comments skill and comment-sicko agent",
          "url": "https://github.com/cursor/plugins/tree/main/pstack"
        },
        {
          "title": "Macke & Doyle — Testing the Effect of Code Documentation on LLM Code Understanding (2024)",
          "url": "https://arxiv.org/abs/2404.03114"
        },
        {
          "title": "On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Study (2026)",
          "url": "https://arxiv.org/abs/2601.23059"
        },
        {
          "title": "Inside Out: Uncovering How Comment Internalization Steers LLMs for Better or Worse (2025)",
          "url": "https://arxiv.org/abs/2512.16790"
        }
      ],
      "slug": "software-engineering/code-quality-comments/keep-agent-code-comments-few-and-true",
      "content_hash": "sha256:7e09b53f0e02412f19175b07677e06ed9dd276527eeb7cf7300e2af771d638f1",
      "domain_path": [
        "Software Engineering",
        "Code Quality & Comments"
      ],
      "url": "https://agentpractices.dev/software-engineering/code-quality-comments/keep-agent-code-comments-few-and-true/",
      "md_url": "https://agentpractices.dev/software-engineering/code-quality-comments/keep-agent-code-comments-few-and-true.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0054%401.0.0&practice=BP-0054%401.0.0"
    },
    {
      "id": "BP-0072",
      "title": "Batch changes so the release round trip is paid once",
      "description": "When a change to an independently versioned component forces a publish, a pin bump and a consumer bump, batch the changes and run that round trip once, not once per change.",
      "domain": "D.SWE.REL",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "operate"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0014"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Semantic Versioning 2.0.0",
          "url": "https://semver.org/"
        },
        {
          "title": "Keep a Changelog 1.1.0",
          "url": "https://keepachangelog.com/en/1.1.0/"
        },
        {
          "title": "Renovate documentation — grouped dependency updates",
          "url": "https://docs.renovatebot.com/configuration-options/"
        }
      ],
      "slug": "software-engineering/release-engineering/batch-the-release-round-trip",
      "content_hash": "sha256:acf1bba8de02d84fcc215b61c022e4d960aeacd7fd1122f44ba3540b7cd4b83e",
      "domain_path": [
        "Software Engineering",
        "Release Engineering"
      ],
      "url": "https://agentpractices.dev/software-engineering/release-engineering/batch-the-release-round-trip/",
      "md_url": "https://agentpractices.dev/software-engineering/release-engineering/batch-the-release-round-trip.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0072%401.0.0&practice=BP-0072%401.0.0"
    },
    {
      "id": "BP-0038",
      "title": "Keep tests honest — never weaken verification to get a pass",
      "description": "An agent must not delete, skip, loosen or mock away a test, assertion, check or threshold to make work pass; a failing test is information about the code (or a genuinely wrong test, changed only with approval and a reason).",
      "domain": "D.SWE.TST",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer",
        "any"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0037",
        "BP-0036",
        "BP-0006"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Claude Code best practices",
          "url": "https://www.anthropic.com/engineering/claude-code-best-practices"
        }
      ],
      "slug": "software-engineering/testing/keep-tests-honest",
      "content_hash": "sha256:43469adc452d49bc0a0c2c48f389cbf9aa137be4db4fa97f43a2068dad723cad",
      "domain_path": [
        "Software Engineering",
        "Testing"
      ],
      "url": "https://agentpractices.dev/software-engineering/testing/keep-tests-honest/",
      "md_url": "https://agentpractices.dev/software-engineering/testing/keep-tests-honest.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0038%401.0.0&practice=BP-0038%401.0.0"
    },
    {
      "id": "BP-0037",
      "title": "Work test-first with agents",
      "description": "Before an agent changes behaviour, write a test that captures it, run it and watch it fail for the right reason, make the smallest change that passes, then run the full suite — tests are the agent's done-criterion.",
      "domain": "D.SWE.TST",
      "type": "pattern",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0038",
        "BP-0002",
        "BP-0008",
        "BP-0034"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Anthropic — Claude Code best practices",
          "url": "https://www.anthropic.com/engineering/claude-code-best-practices"
        }
      ],
      "slug": "software-engineering/testing/test-first-with-agents",
      "content_hash": "sha256:83ef771beb75776f8b822850490628ec09c9d97a9acb8272de66d0a33d77f1c4",
      "domain_path": [
        "Software Engineering",
        "Testing"
      ],
      "url": "https://agentpractices.dev/software-engineering/testing/test-first-with-agents/",
      "md_url": "https://agentpractices.dev/software-engineering/testing/test-first-with-agents.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0037%401.0.0&practice=BP-0037%401.0.0"
    },
    {
      "id": "BP-0076",
      "title": "Make agent dashboards single, self-contained HTML files",
      "description": "When an agent builds a dashboard to share, generate one static HTML file from a data file with a script — data embedded, CSS and charts inline, no build step and no third-party requests — so it opens anywhere and can be hosted or attached as is. Show source, data date and generation time, include a table beside every chart, carry a visible sensitivity label at least as high as the source data, escape all data, keep secrets and unapproved personal data out, check it renders, and regenerate rather than hand-edit.",
      "domain": "D.SWE.UI",
      "type": "pattern",
      "roles": [
        "implementer",
        "reviewer"
      ],
      "stage": [
        "build",
        "verify",
        "operate"
      ],
      "status": "draft",
      "version": "1.1.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0056",
        "BP-0059",
        "BP-0067",
        "BP-0051",
        "BP-0065",
        "BP-0033",
        "BP-0052"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Microsoft Learn — File types supported by the Microsoft Information Protection SDK",
          "url": "https://learn.microsoft.com/en-us/information-protection/develop/concept-supported-filetypes"
        },
        {
          "title": "Microsoft Learn — Extend sensitivity labeling on Windows (Purview Information Protection client)",
          "url": "https://learn.microsoft.com/purview/information-protection-client"
        },
        {
          "title": "MDN — Content Security Policy",
          "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP"
        },
        {
          "title": "MDN — Subresource Integrity",
          "url": "https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Subresource_Integrity"
        },
        {
          "title": "W3C WAI — Complex images (charts and graphs)",
          "url": "https://www.w3.org/WAI/tutorials/images/complex/"
        }
      ],
      "slug": "software-engineering/ui-design-systems/make-dashboards-self-contained-html",
      "content_hash": "sha256:45057c60eccea643ea61898f6ada6863f9d941964b0c885cf04d49cb35173e7a",
      "domain_path": [
        "Software Engineering",
        "UI & Design Systems"
      ],
      "url": "https://agentpractices.dev/software-engineering/ui-design-systems/make-dashboards-self-contained-html/",
      "md_url": "https://agentpractices.dev/software-engineering/ui-design-systems/make-dashboards-self-contained-html.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0076%401.1.0&practice=BP-0076%401.1.0"
    },
    {
      "id": "BP-0056",
      "title": "Use a style guide and approved mockups for repeated UI",
      "description": "Before agents build UI that repeats, agree a machine-readable style guide (design tokens, components, usage and accessibility rules) and one approved mockup per page or screen type; make agents build only from those, check the result by rendering it against the mockup, and change the guide deliberately.",
      "domain": "D.SWE.UI",
      "type": "guideline",
      "roles": [
        "planner",
        "implementer",
        "reviewer"
      ],
      "stage": [
        "plan",
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0015",
        "BP-0018",
        "BP-0002",
        "BP-0036",
        "BP-0054",
        "BP-0024"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Design Tokens Community Group — Format Module 2025.10 (stable)",
          "url": "https://www.designtokens.org/TR/2025.10/format/"
        },
        {
          "title": "Playwright — Visual comparisons",
          "url": "https://playwright.dev/docs/test-snapshots"
        },
        {
          "title": "W3C — Web Content Accessibility Guidelines (WCAG) 2.2",
          "url": "https://www.w3.org/TR/WCAG22/"
        }
      ],
      "slug": "software-engineering/ui-design-systems/use-style-guides-and-mockups-for-repeated-ui",
      "content_hash": "sha256:8c6821a18aa6fc0a4fbe4ba641443c2d727279040d1af9d94ceb693a2ab9b4f7",
      "domain_path": [
        "Software Engineering",
        "UI & Design Systems"
      ],
      "url": "https://agentpractices.dev/software-engineering/ui-design-systems/use-style-guides-and-mockups-for-repeated-ui/",
      "md_url": "https://agentpractices.dev/software-engineering/ui-design-systems/use-style-guides-and-mockups-for-repeated-ui.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0056%401.0.0&practice=BP-0056%401.0.0"
    },
    {
      "id": "BP-0078",
      "title": "Agents never push to main — issue, branch, pull request",
      "description": "An agent changes a repository only through an issue, a branch of its own and a pull request a person merges, and cleans up its branch and worktree afterwards; it never pushes, force-pushes or merges to the default branch, and the repository enforces that with a ruleset and agent credentials that cannot bypass it, not with an instruction alone.",
      "domain": "D.SWE.VCS",
      "type": "guideline",
      "roles": [
        "implementer",
        "reviewer",
        "orchestrator"
      ],
      "stage": [
        "build",
        "verify"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0075",
        "BP-0036",
        "BP-0069",
        "BP-0032",
        "BP-0021",
        "BP-0059"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "GitHub Docs — Available rules for rulesets",
          "url": "https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets"
        },
        {
          "title": "GitHub Docs — Creating rulesets for a repository",
          "url": "https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/creating-rulesets-for-a-repository"
        },
        {
          "title": "GitHub Docs — Linking a pull request to an issue",
          "url": "https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue"
        },
        {
          "title": "GitHub Docs — Managing the automatic deletion of branches",
          "url": "https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-the-automatic-deletion-of-branches"
        },
        {
          "title": "GitHub Docs — Risks and mitigations for Copilot cloud agent",
          "url": "https://docs.github.com/en/copilot/concepts/agents/cloud-agent/risks-and-mitigations"
        }
      ],
      "slug": "software-engineering/version-control-review/agents-never-push-to-main",
      "content_hash": "sha256:85acd8486cf0ec22c0728d19cf96fadd4e8978ff8ff9e7aa50a3d79932429377",
      "domain_path": [
        "Software Engineering",
        "Version Control & Review"
      ],
      "url": "https://agentpractices.dev/software-engineering/version-control-review/agents-never-push-to-main/",
      "md_url": "https://agentpractices.dev/software-engineering/version-control-review/agents-never-push-to-main.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0078%401.0.0&practice=BP-0078%401.0.0"
    },
    {
      "id": "BP-0035",
      "title": "Isolate parallel agents with worktrees and branches",
      "description": "Give each concurrently running agent its own git worktree and branch from a fresh base, keep tasks file-disjoint, integrate one at a time, and clean up worktrees when done.",
      "domain": "D.SWE.VCS",
      "type": "pattern",
      "roles": [
        "orchestrator",
        "implementer"
      ],
      "stage": [
        "plan",
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0034",
        "BP-0036",
        "BP-0008",
        "BP-0013"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "git-worktree documentation",
          "url": "https://git-scm.com/docs/git-worktree"
        }
      ],
      "slug": "software-engineering/version-control-review/isolate-parallel-agents-with-worktrees",
      "content_hash": "sha256:2ac9751ef80b6a110ec4fb82644e71c094b020cae09c31f8caed2a3873572e16",
      "domain_path": [
        "Software Engineering",
        "Version Control & Review"
      ],
      "url": "https://agentpractices.dev/software-engineering/version-control-review/isolate-parallel-agents-with-worktrees/",
      "md_url": "https://agentpractices.dev/software-engineering/version-control-review/isolate-parallel-agents-with-worktrees.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0035%401.0.0&practice=BP-0035%401.0.0"
    },
    {
      "id": "BP-0034",
      "title": "Make agent commits and pull requests reviewable",
      "description": "Agents work on a branch, commit small logical changes with clear messages and attribution, never push to protected branches or rewrite shared history, and open pull requests that state what changed, why, and the evidence it works.",
      "domain": "D.SWE.VCS",
      "type": "guideline",
      "roles": [
        "implementer",
        "any"
      ],
      "stage": [
        "build"
      ],
      "status": "draft",
      "version": "1.0.0",
      "updated": "2026-11-24",
      "reviewed": "2026-11-24",
      "review_by": "2027-05-24",
      "related": [
        "BP-0035",
        "BP-0036",
        "BP-0037",
        "BP-0002",
        "BP-0033"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "Conventional Commits 1.0.0",
          "url": "https://www.conventionalcommits.org/en/v1.0.0/"
        },
        {
          "title": "GitHub Docs — Creating a commit with multiple authors",
          "url": "https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors"
        }
      ],
      "slug": "software-engineering/version-control-review/make-agent-commits-reviewable",
      "content_hash": "sha256:a6fc5222c34349527bcd9a44739891f6c8baf5dd6efbf27fcaa3905c834c8ef0",
      "domain_path": [
        "Software Engineering",
        "Version Control & Review"
      ],
      "url": "https://agentpractices.dev/software-engineering/version-control-review/make-agent-commits-reviewable/",
      "md_url": "https://agentpractices.dev/software-engineering/version-control-review/make-agent-commits-reviewable.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0034%401.0.0&practice=BP-0034%401.0.0"
    },
    {
      "id": "BP-0036",
      "title": "Review agent-written changes before they merge",
      "description": "Every agent change gets an independent review against the request, with tests run, diffs read for weakened tests, scope creep, security issues and hidden behaviour changes, before a person approves the merge.",
      "domain": "D.SWE.VCS",
      "type": "checklist",
      "roles": [
        "reviewer",
        "any"
      ],
      "stage": [
        "verify"
      ],
      "status": "draft",
      "version": "1.0.1",
      "updated": "2026-11-25",
      "reviewed": "2026-11-25",
      "review_by": "2027-05-25",
      "related": [
        "BP-0034",
        "BP-0038",
        "BP-0006",
        "BP-0005"
      ],
      "superseded_by": null,
      "sources": [
        {
          "title": "OWASP Top 10 for LLM Applications 2026",
          "url": "https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/"
        }
      ],
      "slug": "software-engineering/version-control-review/review-agent-written-changes",
      "content_hash": "sha256:90b8564eda2bfe7f543f6014a43e18cbddd1fc0c53bdd1939427a7e5ec1a7e04",
      "domain_path": [
        "Software Engineering",
        "Version Control & Review"
      ],
      "url": "https://agentpractices.dev/software-engineering/version-control-review/review-agent-written-changes/",
      "md_url": "https://agentpractices.dev/software-engineering/version-control-review/review-agent-written-changes.md",
      "report_url": "https://github.com/madeinoz67/agentpractices/issues/new?template=report-practice-problem.yml&title=%5BProblem%5D%3A+BP-0036%401.0.1&practice=BP-0036%401.0.1"
    }
  ]
}