You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
原生 Windows 上用 /pr-gate(--executor codex)时,pmctl gate run 在默认状态目录直接失败:
state-writer: unsafe state root rejected: /c/Users/<user>/.local/share/pm-dispatch/state (ACL grants write to a non-owner principal)
pmctl gate run: failed to create parent operation record
Activity
fix(state): ACL guard names the principal and the remedy; context sui…
screenleon commentedon Nov 5, 2026
已在 #786(main
e91e969)處理訊息與文件;允許名單那項沒做,本單依你的要求關閉,剩下的需要另外決定。做了:
... non-owner principal: BUILTIN\Users, inherited(用真實繼承授權重現)。pmctl state status顯示同一段原因。PM_DISPATCH_STATE_ROOT指到只有自己能寫的目錄;繼承的授權可能屬於別的工具(例如 Codex 沙箱),不要未經確認就改父目錄。docs/platform-support.md的 Windows 一節補一條,含用icacls建立目錄的做法。failed to create parent operation record)我沒有改:原因在上一行,我沒有把兩行合併。沒做: