kinogaki-platform

kinogaki-platform — audit issues

Audited 2026-06-20. Repo: libraries/kinogaki-platform. Criteria: completeness · tests · separation of concerns · verb-named functions · file size (<1000 lines) · organization.

Health summary

This is a small, well-disciplined library: 8 public headers + a thin Cocoa/Metal backend, the largest source file is 286 lines, and the build is clean (-Wall -Wextra, 35 test cases / 105 checks all passing). Separation of concerns is genuinely good — windowing, RHI, and the two buses are cleanly layered and no Cocoa/Metal type leaks into a public header. The real gaps are in test coverage of the OS-adjacent-but-testable surfaces (the Cocoa keyOf/modifier mapping, the null backend, the RHI blend/scissor/texture paths) and a couple of documentation drifts (a stale ctx->clear() example, lingering PRISMAPLATFORM_/prisma naming in the CMake build). Nothing is broken or stubbed beyond the intentional null backend.

Issues

[MEDIUM] tests — Cocoa event-translation logic is untested though it is pure and testable

[MEDIUM] tests — null backend and RHI blend/scissor/texture/window paths have no coverage

[LOW] organization — stale prisma/PRISMAPLATFORM naming survives in the build system

[LOW] completeness — docstring example calls a method that does not exist on IContext

[LOW] completeness — quietly-swallowed writes are intentional but undocumented at one call site

[LOW] separation — clean

[LOW] naming — clean

[LOW] filesize — clean