Answer: Zed has multiple layers of trust, from least to most trusted: "single file worktree", "directory worktree", and "parent directory worktree". Each single file worktree requires a separate trust grant unless the containing directory is trusted or all worktrees are trusted, and trusting a parent directory grants trust to all its subdirectories. Status: Overdue (check was due 2026-11-20T13:45:28Z and has not succeeded) Entry: tool/zed/permissions-and-security/worktree-trust-hierarchy Revision: 2 Digest: sha256:90b3f166d5575f66 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:06:53Z Last changed: 2026-11-19T13:45:28Z (parent directory scope: — → This will grant trust to all its subdirectories, including all current and potential directory worktrees.) Last verified: 2026-11-19T13:45:28Z Next check: 2026-11-20T13:45:28Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of least trusted level | single file worktree | [1] | 2026-11-19 middle level | directory worktree | [1] | 2026-11-19 most trusted level | parent directory worktree | [1] | 2026-11-19 single file trust requirement | Each single file worktree requires a separate trust grant, unless the directory containing it is trusted or all worktrees are trusted. | [1] | 2026-11-19 directory trust requirement | Each directory worktree therefore requires a separate trust grant unless a parent-directory trust grant exists (see below). | [1] | 2026-11-19 parent directory scope | This will grant trust to all its subdirectories, including all current and potential directory worktrees. | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/worktree-trust.md". https://zed.dev/docs/worktree-trust.md Role: primary. Accessed: 2026-11-19T13:45:28Z Quote: "from the least to most trusted level: - "single file worktree" (Supports: least trusted level) Quote: "If a directory is open in Zed, it is a full worktree. It may spawn multiple language servers and MCP servers defined in project settings. Each directory worktree" (Supports: middle level) Quote: "To permit trust decisions for multiple directory worktrees at once, it's possible to trust all subdirectories of a given parent directory worktree opened in Zed by checking the appropriate checkbox." (Supports: most trusted level) Quote: "Each single file worktree requires a separate trust grant, unless the directory containing it is trusted or all worktrees are trusted." (Supports: single file trust requirement) Quote: "Each directory worktree therefore requires a separate trust grant unless a parent-directory trust grant exists (see below)." (Supports: directory trust requirement) Quote: "This will grant trust to all its subdirectories, including all current and potential directory worktrees." (Supports: parent directory scope) Snapshot SHA-256: a51e0e046c37b4e90d3ccb5a2ffec5b25ec33d4efa8ea4b401430949d8713542 (captured 2026-11-19T13:45:25Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-19T13:45:28Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:45:28Z Last attempt: 2026-11-19T13:45:28Z Notes and limitations: Extracted automatically from a single official source (section "Trust hierarchy"). Human-readable page: https://zed.dev/docs/worktree-trust.html Related: https://latestn.com/tool/zed/pricing-and-limits/hosted-model-pricing What are the Zed-hosted model prices per 1M tokens compared to provider prices? https://latestn.com/tool/zed/pricing-and-limits/pro-threshold-billing How does Zed Pro threshold billing work? https://latestn.com/tool/zed/pricing-and-limits/spend-limits How do Zed spend limits work for Pro and Business plans? https://latestn.com/tool/zed/permissions-and-security/trust-worktree-restricted-mode How do I trust a worktree in Zed so it leaves Restricted Mode? https://latestn.com/tool/zed/permissions-and-security/what-is-restricted-untrusted-worktree What is restricted in Zed when a worktree is not trusted? https://latestn.com/tool/zed/permissions-and-security/which-tools-are-sandboxed Which Zed Agent tools are sandboxed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:45:28Z | changed | parent directory scope: — → This will grant trust to all its subdirectories, including all current and potential directory worktrees. | [1] 2026-11-19T13:45:28Z | changed | parent trust scope: This will grant trust to all its subdirectories, including all current and potential directory worktrees. → — | [1] 2026-11-19T13:45:28Z | changed | directory trust requirement: Each directory worktree therefore requires a separate trust grant unless a parent-directory trust grant exists → Each directory worktree therefore requires a separate trust grant unless a parent-directory trust grant exists (see below). | [1] 2026-11-13T04:06:53Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/permissions-and-security/worktree-trust-hierarchy/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/permissions-and-security/worktree-trust-hierarchy POST: https://latestn.com/dispute/tool/zed/permissions-and-security/worktree-trust-hierarchy with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/permissions-and-security/worktree-trust-hierarchy?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does Zed's worktree trust hierarchy work? Revision 2, last verified 2026-11-19T13:45:28Z. https://latestn.com/tool/zed/permissions-and-security/worktree-trust-hierarchy (accessed 2026-11-21T10:06:13Z). @misc{LatestN_tool_zed_permissions_and_security_worktree_trust_hierarchy_r2, title = {How does Zed's worktree trust hierarchy work?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/permissions-and-security/worktree-trust-hierarchy}}, note = {Revision 2; digest sha256:90b3f166d5575f66; last verified 2026-11-19T13:45:28Z; accessed 2026-11-21T10:06:13Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/permissions-and-security/worktree-trust-hierarchy