Answer: Click the exclamation mark icon in the title bar or use the `workspace::ToggleWorktreeSecurity` action to bring up the security modal that allows you to trust the worktree. Status: Overdue (check was due 2026-11-20T13:45:25Z and has not succeeded) Entry: tool/zed/permissions-and-security/trust-worktree-restricted-mode Revision: 2 Digest: sha256:cc23cfd1f249b08f (changes whenever the content changes) Timeline: Created: 2026-11-13T04:06:50Z Last changed: 2026-11-19T13:45:25Z (indicator: exclamation mark icon → exclamation mark icon in the title bar) Last verified: 2026-11-19T13:45:25Z Next check: 2026-11-20T13:45:25Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of action | workspace::ToggleWorktreeSecurity | [1] | 2026-11-19 indicator | exclamation mark icon in the title bar | [1] | 2026-11-19 persistence | persists that decision between restarts | [1] | 2026-11-19 clear command | workspace::ClearTrustedWorktrees | [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:25Z Quote: "Clicking this icon or using the `workspace::ToggleWorktreeSecurity` action will bring up the security modal that allows the user to trust the worktree." (Supports: action) Quote: "Zed will indicate this with an exclamation mark icon in the title bar." (Supports: indicator) Quote: "Trusting a worktree persists that decision between restarts." (Supports: persistence) Quote: "You can clear all trusted worktrees with the `workspace::ClearTrustedWorktrees` command." (Supports: clear command) 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:25Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:45:25Z Last attempt: 2026-11-19T13:45:25Z Notes and limitations: Extracted automatically from a single official source (section "Zed and trusted worktrees"). Human-readable page: https://zed.dev/docs/worktree-trust.html Related: 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/zed/permissions-and-security/worktree-trust-hierarchy How does Zed's worktree trust hierarchy work? https://latestn.com/tool/zed/permissions-and-security/restrict-extension-capabilities How do I restrict which capabilities Zed extensions are granted? https://latestn.com/tool/zed/permissions-and-security/rule-precedence How does Zed decide which tool permission rule wins when multiple patterns match? https://latestn.com/tool/zed/permissions-and-security/sandbox-requirements What are the requirements to use sandboxing in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:45:25Z | changed | indicator: exclamation mark icon → exclamation mark icon in the title bar | [1] 2026-11-13T04:06:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/permissions-and-security/trust-worktree-restricted-mode/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/trust-worktree-restricted-mode POST: https://latestn.com/dispute/tool/zed/permissions-and-security/trust-worktree-restricted-mode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/permissions-and-security/trust-worktree-restricted-mode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I trust a worktree in Zed so it leaves Restricted Mode? Revision 2, last verified 2026-11-19T13:45:25Z. https://latestn.com/tool/zed/permissions-and-security/trust-worktree-restricted-mode (accessed 2026-11-21T10:03:39Z). @misc{LatestN_tool_zed_permissions_and_security_trust_worktree_restricted_mode_r2, title = {How do I trust a worktree in Zed so it leaves Restricted Mode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/permissions-and-security/trust-worktree-restricted-mode}}, note = {Revision 2; digest sha256:cc23cfd1f249b08f; last verified 2026-11-19T13:45:25Z; accessed 2026-11-21T10:03:39Z} } 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/trust-worktree-restricted-mode