Record manager verification of file explorer rename, move and delete

This commit is contained in:
2026-11-09 01:52:18 +00:00
parent 208d1d096b
commit f31794d1cc
+19
View File
@@ -116,3 +116,22 @@ $ go test ./internal/server/... ./internal/protocol/... -count=1
ok git.a-wan.net/alan/pipelines/internal/server 62.981s
ok git.a-wan.net/alan/pipelines/internal/protocol 0.252s
```
## Manager verification (2026-11-09)
- Merged tree: `tool/memwatch/full.sh test/features/chat` → 1062 passed, 0 failed;
`tool/analyze.sh` clean; `go test ./internal/server/ -run 'Mutat|Rename|Move|Delete|HomeFile'` ok.
- Scratch server with an isolated home (`/tmp/scratch-home`), driven over the
websocket: rename ok; rename onto an existing name refused; separator in a
name refused; move into another folder ok; moving a folder into its own
subtree refused; moving outside home refused; deleting a non-empty folder
refused ("is not empty"); deleting a symlink to /etc removed only the link
(/etc intact); deleting home refused; recursive delete ok.
- Real Chrome (capture kit, fixture `chats=2&files=1`, PNGs under
`/tmp/review/files-mutations/`): entry menu shows Open, Download, Rename…,
Move…, Delete…; the header shows the Upload button; the rename dialog
preselects the name stem with Save disabled until it changes; the delete
confirmation names the file; the move picker opens at the shown folder with
"Move here" disabled there.
- Deployed: the Mac server and web app restarted on 208d1d09 at 02:17 after the
chat had been idle; discovery and the proxied upload re-verified live.