Private
Public Access
766 B
766 B
ImGui scope changes (gui_2.py) must be verified with scripts/check_imgui_scopes.py
From conductor/product-guidelines.md §"Code Standards & Architecture":
- Mandatory ImGui Verification: All changes to the GUI (
gui_2.py) MUST be verified using the custom AST linter (scripts/check_imgui_scopes.py) to ensure all ImGui scopes (begin/end, push/pop) are properly matched. Developers should prioritize the use ofsrc/imgui_scopes.pycontext managers (imscope) over manual push/pop calls.
From conductor/workflow.md §"Code Style":
- ImGui Defer Patterns: Use
imscopecontext managers or_render_window_if_opendispatch helpers to prevent resource leaks and keep the main loop flat. Seeconductor/code_styleguides/python.mdfor details.