Spaces:
Running
Running
| # Clanker Pet — QA / display audit | |
| Findings from live QA of the pet front-end (distinct from the engine's | |
| `v8_audit_log.md`, which tracks VADUGWI scoring issues). The pet is also a | |
| real-world eval harness, so visual/UX defects get logged here with their fix. | |
| ## 1. Creature flashes PURPLE on most interactions — FIXED 2026-06-16 | |
| **Symptom:** the creature's body briefly turns purple/blue on a lot of messages. | |
| **Root cause:** the M1 "raw read" flash in `applyResponse` (static/app.js) colored | |
| the body with `hue = read.valence / 255 * 360`. That walks the entire hue wheel, so | |
| positive reads (V≈180–255) land at ~254–360° = blue/purple/magenta. It fired on | |
| every message, so he flashed purple constantly. The *settled* mood color was always | |
| fine — the server's `appearance.py` maps valence only across 8°→125° (red→yellow→ | |
| green); only the flash used the wrong formula. | |
| **Fix:** the flash now uses `hueForValence()` — the same piecewise red→orange→ | |
| yellow→green mapping as `appearance.py`. A low-valence read flashes red/orange, a | |
| high-valence read flashes green. No purple. | |