[docs] Thorns: Analysis, review, and G1.7 closed

This commit is contained in:
2026-11-02 09:33:57 +01:00
parent 1070017d2c
commit 87375c72d4
5 changed files with 117 additions and 2 deletions
+43
View File
@@ -0,0 +1,43 @@
# Review — `feature/thorns`
Adversarial self-review (CLAUDE.md §5.3). Analysis: [`features/thorns.md`](../features/thorns.md).
Reviewed 2026-11-02 on Node 22.11.0, Windows 10. There is no PR: the only remote is Gitea.
## Gates
Counts are on the merge; HANDOVER repeats them. New: engine +7 (2 properties), ui +4, e2e +1
(touch, rush, axe with the touch focused).
**The app changed** (CLAUDE.md §5.4): a *Touch her* button over her picture. Rebuilt by the e2e and
offline runs; **not deployed** (G0.13). Seen in the built app at phone width: a touch answered
*That tickles.*, three taps 400 ms apart gave *Gently. I have thorns.*, and the keyboard focus ring
is a rounded frame round her picture.
## Bug drills
| Put back | Result |
|:--|:--|
| A tremor counts as fussing | CAUGHT |
| A rush never brings the thorns | CAUGHT: 3 |
| She never rests | CAUGHT |
| Every touch makes her blush | CAUGHT: 2 |
| A touch is written as care | CAUGHT: 2 |
| A held key is a rush | CAUGHT |
## Findings
| # | Area | Finding | Resolution |
|:--|:--|:--|:--|
| 1 | Soul | *Gently* can be read as a reproach by someone already fragile. | Three separate, deliberate taps in two seconds; said once; she rests and then it is gone; nothing remembers it. Her words are about herself. Accepted for the author's play test; the line is in `copy/en.ts`. |
| 2 | Accessibility / soul | A tremor or a bouncing finger could be told *gently*. | Taps within 250 ms are one touch (T2), and a held key is one; both drilled. Not tried with a real tremor or switch access. |
| 3 | Design | The author's option said *a blush once a day*, and also *nothing is recorded*. Those cannot both hold. | Nothing is recorded; the blush is once per visit (T4). Said plainly in the analysis. |
| 4 | Design | The blush shows on her face only in full bloom, as every mood does; before that only her words answer. | Accepted: the stand-ins draw moods for the full bloom only (STYLE.md). |
| 5 | Correctness | The clock moved back while she rests. | She never rests longer than `restMs` (tested). |
| 6 | Correctness | Two tabs: each has its own touches. | Nothing is shared or stored; harmless. |
| 7 | Test honesty | A frozen e2e clock (`setFixedTime`) would make three clicks one touch, and the rush test would fail for the wrong reason. | The e2e drives the clock with `clock.install` and `runFor`. |
| 8 | Dependence | Touching as a fidget. | It gives nothing after the first blush; no number grows. |
| — | Privacy, reachability, offline | Looked; nothing is stored, sent or shared. | — |
## What was not verified
- A screen reader announcing the bubble change; switch access; a real phone's touch timing.