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:
2026-10-30 01:41:08 -07:00
parent 01fc1627c1
commit 727feb6be3
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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.