Repository navigation
Commit 821bbfb
docs: describe the write gate the code actually implements
The previous wording claimed speed must be readable and exactly 0 km/h and that
park never overrides a refusal. VehicleWriteGate does neither: allowUpToKmh lets
a caller open the gate up to 50 km/h, and an unreadable speed is rescued to
ALLOWED when the gear reads park.
A safety invariant documented as already held is worse than one documented as
owed — the next change reads this file, believes the gate is closed, and builds
on top of it. Both widenings are named here as debt, with the target the rest of
the suite already describes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 0149d39 commit 821bbfb
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
0 commit comments