Private
Public Access
1.1 KiB
1.1 KiB
imgui_scope_verification — v1
Why this iteration: Lifted verbatim from conductor/product-guidelines.md §"Code Standards & Architecture" (line 39) + conductor/workflow.md §"Code Style" line 9. This is the baseline encoding — the imperative-bullet style currently in production.
Future variants will test alternative encodings (rationale-first, tabular) against this baseline.
Source: conductor/product-guidelines.md:39 + workflow.md:9
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.