Update agent instructions; check a worktree is clean before its pre-rm hook
- AGENTS.md and the skill: only the user's browser is off (xdg-open); browser tools run in the sandbox, headless or in a Wayland window; host-run project files are read-only - wt rm: refuse a dirty worktree before wt-pre-rm runs, so its stack is not stopped for nothing
This commit is contained in:
@@ -44,7 +44,7 @@ sandbox is on.
|
||||
|
||||
## Things you cannot do
|
||||
|
||||
- Open a browser (`xdg-open` is disabled): print the link for the user.
|
||||
- Open the user's browser (`xdg-open` is disabled): print the link for the user.
|
||||
- Run GUI programs, unless `WAYLAND_DISPLAY` is set (the project enabled `OCSB_DISPLAY=1`): then
|
||||
windows open on the user's desktop through Wayland. Without it browsers must run headless.
|
||||
- `sudo`, `systemd-run`: denied.
|
||||
|
||||
Reference in New Issue
Block a user