Pre-Flight — WP-105 — 2026-11-28

Filled-in copy of docs/reference/pre-flight for WP-105. Verdict at the bottom.

Drafted and executed in one session, the one that did WP-094–095 and WP-097–103, after Jeff asked for the three clang warnings of the Android build to be fixed (2026-11-28). Checked at claim time: WP-104 is taken by the open TV-theme draft (docs PR #268, branch docs/wp-104-tv-reskin-draft); no WP-105 packet on main, no wp-105 branch in either repository, and no PR naming it.


Dependency check

Prereq Status in WORK_INDEX Notes
WP-103 ✅ Done The fork tip the warnings were seen on.

Rule check: every prereq is ✅ Done.

Repo + disc state

Scope lock

This repo: docs/work-packets/WP-105-clang-warnings.md, this file, and WORK_INDEX.md.

Fork: engines/terraglyph/terraglyph.h, room_class.cpp, maze_rooms.h, wizards_rooms.cpp, staged by name. No behaviour changes.

Risk review

Risk Likelihood Impact Mitigation
Moving the button sound changes when a button’s sound plays. low med It stays one value shared by every button room for the whole game, as the original’s global 0x475F50 is; only its storage moves to the engine. The self-test’s menu lines must not change.
GCC doesn’t show these warnings, so a GCC build alone proves nothing. high med Rebuild the Android clang tree with the four files and count its warnings; build with GCC as well for the self-test.
The removed members were meant for later. low low _marker and kBigHead have had no use since the rename (d168cbbcc6); the maze map’s markers live in kMarkers.

Verdict

Prepared by: Claude (WP-105 session, drafting + execution in one) Date: 2026-11-28