clone

a browser grid puzzle game where you push words around to rewrite the rules of each level

main
miau-is-true / openspec / changes / add-proof-title-fitting / proposal.md
proposal.md 2.0K rendered
1## Why23Authored proof titles are player-facing content. The current presentation can4clip a long modded title in the Proof HUD, which hides the level's identity and5violates the copy rule that authored titles never receive an ellipsis.67## What Changes89- Define one measured, no-truncation fitting rule for proof titles in the Proof10 HUD, INDEX banner, and Win card.11- Give the Proof HUD title the measured space between the level number tile and12 the step counter, with a 16px inset on both sides.13- Shrink the title from 22px to 16px in 1px steps, then wrap at word14 boundaries to no more than two lines when it still does not fit beside the15 Proof HUD counter.16- On narrow screens, if that two-line fit still overflows at 16px, use the17 full title band for up to three 16px lines. Put `PROOF NN OF NN` and the18 compact `STEPS 02` counter on the same subline row, left and right aligned.19- Move the Proof HUD subline and board together when the title wraps so the20 documented 40px HUD-to-board gap remains intact.21- Reject authored titles longer than 64 characters with the exact loader error22 `Titles can be at most 64 characters so they fit on phones`; retain the23 separate W11 guidance note for titles over 32 characters.24- Keep integer grid coordinates, simulation state, pointer targets, and the25 separate mods diagnostics warning contract unchanged.2627## Capabilities2829### Modified Capabilities3031- `game-presentation`: fit authored proof titles in their owning scene regions32 without truncation or grid/layout ambiguity.33- `level-packs`: reject titles beyond the mobile fitting ceiling while34 retaining the existing nonblocking long-title guidance.3536## Impact3738- Affected presentation layout and text measurement for Proof, INDEX, and Win.39- Affected focused renderer/layout tests and browser visual acceptance at40 desktop and mobile sizes.41- No engine rules, input semantics, or authoring diagnostics envelope shape are42 changed by this proposal. The loader ceiling is a presentation safety43 validation, and the existing W11 warning remains unchanged.