Peach: Local-first video metadata scraper and media manager.
docs: record tray production state
Peach local maintenanceab5211b8650c
diff --git a/docs/STATUS.md b/docs/STATUS.mdindex 8b6a2ed0d..c53e8ac90 100644--- a/docs/STATUS.md+++ b/docs/STATUS.md@@ -4,7 +4,7 @@ Last verified: 2026-08-15## Runtime-- Production Peach: FastAPI `0.2.0` from `R:\peach-app` on HTTP `0.0.0.0:80` (listener PID 28676) and HTTPS `192.168.50.162:443` (listener PID 8268); health mode is `fastapi`.+- Production Peach: Windows tray PID 47092 owns FastAPI `0.2.0` from `R:\peach-app` on HTTP `0.0.0.0:80` (listener PID 43300) and HTTPS `192.168.50.162:443` (listener PID 45312); both health checks return `200` in `fastapi` mode. The verified current-user Startup shortcut launches `R:\peach-app\.venv\Scripts\pythonw.exe -m peach.tray` at login.- `peach.local` is again the single official LAN entry. The publisher restores the verified pre-migration behavior: Python zeroconf listens on all eligible interfaces and publishes `peach.local -> 192.168.50.162`. Production health reports `mdns_backend=zeroconf-all-interfaces`; same-host DNS-SD discovery and `getaddrinfo('peach.local')` both resolved the correct address after restart. A second LAN device remains the final external check; no firewall or router rule was changed.- Stash: `127.0.0.1:9999`, PID observed as 35332.- Traffic monitor: running through `RM-TrafficWatch` from `R:\peach-app\.venv`; all probe/sheets tasks use the same project environment.@@ -37,7 +37,7 @@ Runtime PIDs are observations, not configuration; always re-check them.- Creator/studio top lists and related-item creator/tag/studio matching now read canonical entity relations. Real-ledger timings were 0.055 s for 28 top entries and 0.055 s for 24 related items.- Creator/studio filters, canonical-name search, creator index, facets and attribution stats now also read entity relations. Real-ledger timings were 0.040 s for a 1,545-item creator filter, 0.043 s for the first 60 creators, 0.132 s for facets and 0.394 s for stats.- Snapshot availability checks use the same strict legacy-prefix resolver as `/thumb`, so the front end requests migrated previews instead of displaying false “无预览” cards.-- 84 isolated tests pass under Python 3.14, including profile preference, batch operations, client routes, duration range, structural creator cleanup, cached browser transcodes, dynamic-handler safety, agent-worktree isolation and mDNS tunnel-route fallback. The current inline JavaScript also passes syntax validation.+- 89 isolated tests pass under Python 3.14, including profile preference, batch operations, client routes, duration range, structural creator cleanup, cached browser transcodes, dynamic-handler safety, agent-worktree isolation, mDNS tunnel-route fallback and Windows tray ownership/locking. The current inline JavaScript also passes syntax validation.- Real migration preserved 81,873 assets and 59,697 tag links; both live database and backup passed `integrity_check` and `foreign_key_check` before later metadata writes.- The current slice passed isolated desktop 1280×720 and mobile 390×844 browser checks with zero horizontal overflow, all Lucide references resolved, no visible legacy length tags, and the mobile rail hidden.- Restarted production port 80 passed health, home, public OpenCode Go model discovery (26 models at verification time), canonical filtered-list/item reads, thumbnail `200` and 1 KiB `206 Partial Content` Range smoke checks.@@ -61,6 +61,7 @@ Runtime PIDs are observations, not configuration; always re-check them.- The current isolated candidate passed desktop and 390×844 checks for detail identity rows, the five icon controls, 4 px progress bars, mobile overflow, route changes and hidden legacy length tags. The drawer remained closed at content x=120 and opened only after entering the actual 72 px rail. Five-second hover exposed the pinned Lucide rewind/forward/maximize controls only after the preview ring completed its delay.- The 20:36 Peach restart was launched only after verifying the port-80 command line in the host session. The replacement process can see CloudDrive: asset 4289 again passed `video/mp4` 1 KiB `206 Partial Content` and poster `200`; local asset 1 passed the same Range contract. A sandbox drive check is not authoritative.- The mDNS regression fix remains deployed. Production explicitly advertises `192.168.50.162` while Zeroconf listens on all eligible interfaces; health and `Resolve-DnsName peach.local` returned that address after restart. No `lmd-dst.local` alias is published by Peach.+- The Windows tray and login autostart are deployed. Single-click is pystray's native default action and opens `https://peach.local/`; the native right-click menu exposes status, restart, logs, update status and exit. Startup shortcut, singleton lock, HTTP/HTTPS health, `peach.local` resolution and a real CloudDrive Range request were verified. Windows tray screenshot automation was unavailable and the in-app browser timed out on local navigation, so this deployment did not add a new visual desktop/mobile browser result.- The original Peach process could not see CloudDrive `A:`/`B:` even though CloudDrive was running. After confirming zero copy tasks and no I/O, CloudDrive and Peach were restarted in the same execution context. Asset 4289 (`669.mp4`) then passed `video/mp4`, 1 KiB `206 Range`, thumbnail and generated-poster API checks. Drive-letter visibility differs by Windows token, so the HTTP stream check is the authoritative service test.## Batch jobs@@ -187,7 +188,7 @@ Runtime PIDs are observations, not configuration; always re-check them.Claude project hooks now refresh the managed batch block on Stop, StopFailure and SessionEnd. Codex has no equivalent task-end project hook; its coordinator must keep the same STATUS/HANDOFF write contract manually. Hook verification used a synthetic event and a temporary document/state file; no prompt, response or token was persisted.-The current UI/API candidate passed JavaScript parse, 84 isolated tests, desktop 1280×720 and mobile 390×844. Production HTTP, HTTPS and mDNS were restarted onto this code. HTTPS chain verification passed with the corrected local CA; browsing tests remained on the isolated candidate and did not write real playback, preference or feedback data.+The current UI/API candidate passed JavaScript parse, 89 isolated tests, desktop 1280×720 and mobile 390×844. Production HTTP, HTTPS and mDNS were restarted onto this code. HTTPS chain verification passed with the corrected local CA; browsing tests remained on the isolated candidate and did not write real playback, preference or feedback data.## 批处理进度(自动生成)