docs: plan fix-review-findings change

Capture the code review findings as an OpenSpec change: pointer
enter position, working clear action with default g/c bindings,
release-deferred buffer destruction on resize, and behavior-neutral
cleanups. Includes design decisions and implementation tasks.
This commit is contained in:
2026-11-11 17:45:37 +01:00
parent dfa296117d
commit 34f3f514cb
6 changed files with 136 additions and 0 deletions
@@ -0,0 +1,14 @@
# Spec Delta: fix-review-findings
## MODIFIED Requirements
### Requirement: Input coordinates remain logical
The system SHALL report mouse positions and grid cells in logical coordinates regardless of the active scale.
#### Scenario: Scaled click
- **WHEN** the user clicks on a scaled display
- **THEN** the selected grid cell matches the visual location of the cursor
#### Scenario: Pointer entry without motion
- **WHEN** the pointer enters the canvas surface at a position and no motion event follows
- **THEN** the reported cursor position matches the entry point in logical coordinates
@@ -0,0 +1,19 @@
# Spec Delta: fix-review-findings
## MODIFIED Requirements
### Requirement: Default bindings are available without configuration
The system SHALL provide built-in default bindings for every supported action — digits 1-0 selecting the ten built-in patterns, Space rotating, Escape cancelling, Ctrl+Q quitting, P pausing, N stepping, +/- changing simulation speed, G toggling grid lines, and C clearing the grid.
#### Scenario: No config file present
- **WHEN** the application starts and `~/.config/wlgol/keys.conf` does not exist
- **THEN** the application uses the built-in default bindings
- **AND** creates the config file with the default contents
#### Scenario: Clear without configuration
- **WHEN** the default bindings are active and the user presses C
- **THEN** the clear action is triggered
#### Scenario: Toggle grid lines without configuration
- **WHEN** the default bindings are active and the user presses G
- **THEN** the toggle_grid action is triggered