Files

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 of src/imgui_scopes.py context managers (imscope) over manual push/pop calls.

From conductor/workflow.md §"Code Style":

  • ImGui Defer Patterns: Use imscope context managers or _render_window_if_open dispatch helpers to prevent resource leaks and keep the main loop flat. See conductor/code_styleguides/python.md for details.