Skip to content

P0-10: Delete FundingCAPTCHA dead members (waiting.py, grid.py leftovers, /ws channel, no-op settings key) #188

Open

Description

@charliehuge

Part of #175 (audit Phase 0). Evidence: docs/audit/2026-11-09/detail/fundingcaptcha.md §2 "Dead members", §5.

All paths under ShowControl/FundingCAPTCHA/. Each item verified by grep across the whole repo.

Item Location Why dead
ScreenSavers/waiting.py + its screensavers.json entry 42 LOC Self-described stub; pipes_3d.py:382-402 already draws the identical title + "step into frame" overlay. With both listed, half of idle time shows the stub.
Seven colour aliases games/grid.py:18-24 Zero references outside grid.py
CELL_PAD, Grid.inner_rect games/grid.py:26,90-91 Used only by dead blit_cell
Grid._flashes, flash(), draw_flashes() games/grid.py:67,93-115 Zero callers
Grid.draw_background() games/grid.py:97-102 Zero callers (games draw cells inline)
Grid.blit_cell() games/grid.py:117-120 Zero callers
MID_GREY, LT_GREY, GREEN, YELLOW, RED app.py:69-73 app.py uses only BLACK, WHITE, DK_GREY, CYAN
Empty "Silhouette rendering" section header app.py:284-285 Leftover from the extraction commit
/ws status WebSocket, broadcast(), _app_status fan-out app.py:104,133-163,189-194 No client connects. Dashboard/index.html polls GET /health; Dashboard/fundingcaptcha.html uses /logs only. broadcast() runs 9× per loop for nobody. Keep /health and /logs.
BodyBlobs.active body_blobs.py:127-129 Zero callers
detection.min_blob_pixels captcha-settings.json:6, read at app.py:267 BlobTracker.detect_foreground() never consults it (only detect() does, which FundingCAPTCHA does not call). Note the same-named key under shader_app.blobs is live; leave that one.
Stale comments deploy/captcha.service:1,6-7 "Game Server" and "emit fake blobs" are pre-ADR-0013 wording

Done when. ~150 LOC gone; make test unchanged; the Dashboard FundingCAPTCHA page still shows status and logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentImplementation task suitable for an AI agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions