windows.cordis.patch.yml 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. # The dsh-base Windows platform layer: applied by the dsh launcher on win32
  2. # hosts, between the bundle layers and the user layers. Windows confines
  3. # through the ACL restricted-token runner (the win32 chain of
  4. # dsh-sandbox-local → @deepseek-ai/dsh-sandbox-windows-acl), so the shipped
  5. # stack is the SANDBOXED PowerShell executor plus the full permission
  6. # surface: sandbox/sandbox-policy enforce the file-effect policy, the
  7. # permission switcher and the approval service run exactly as on POSIX, and
  8. # the fs row stays the base's sandboxed provider (fs-sandbox) — mounting
  9. # dsh-fs-local alongside it would double-register ctx.fs and fail the load.
  10. # Only the POSIX bash
  11. # stack (bash-sandbox/tool-bash) is disabled — bash has no Windows runner.
  12. # A Windows host that prefers the unconfined local pwsh executor or full
  13. # access overrides these rows through its profile or home cordis.patch.yml.
  14. # The bash-restore recipe must be complete: disable pwsh-sandbox and
  15. # tool-pwsh AND re-enable bash-sandbox and tool-bash — both executor
  16. # families register the same 'bash' service, so re-enabling the bash rows
  17. # while pwsh-sandbox stays inserted fails loud at load on a duplicate
  18. # registration.
  19. - id: bash-sandbox
  20. disabled: true
  21. - id: tool-bash
  22. disabled: true
  23. - insert:
  24. - id: pwsh-sandbox
  25. name: '@deepseek-ai/dsh-pwsh-sandbox'
  26. - id: tool-pwsh
  27. name: '@deepseek-ai/dsh-tool-pwsh'