Architecture check
Check the changed/target code against CLAUDE.md and the layer READMEs. Report violations as a concrete list (file:line → rule → fix), not vague advice.
Checklist:
Namespaces —
Game.Game.<Module>.<Layer>, mirroring the folder path. File name == class name.Layer boundaries (who may know whom):
Domain— no dependencies, no Godot.Repository— knows State only.Service— knows Repository (interfaces fromCommon); no Godot.UI— knows Service + State; Godot allowed here.Level— knows Factories; the only place wiring happens.- Flag any
using Godot;in Domain/Service/Repository.
UI in code only — no
.tscnfor UI; the only scene islevel/game_level.tscn. UI nodes built in C#.Dependency injection — dependencies passed via constructors (usually through factories). Modules don't
neweach other; onlyLevelwires them.No
virtualmethods — extension viaabstractor interface.Persistable state — every saved POCO is registered in
JsonConverterStateService; states are plain POCOs.Tests — engine-free
Service/Domainhave tests;Commondeps are mocked.Style — 4 spaces (no tabs), ≤120 chars, braces on all blocks (except short
?:), ≤3 nesting levels,usingorder project→BCL→Godot.
If everything passes, say so briefly. Otherwise list each violation with the fix.