diff --git a/conductor/product-guidelines.md b/conductor/product-guidelines.md index 5244da82..e2c2bc08 100644 --- a/conductor/product-guidelines.md +++ b/conductor/product-guidelines.md @@ -51,8 +51,8 @@ The canonical mandate is in `conductor/code_styleguides/data_oriented_design.md` ## AI-Optimized Compact Style -- **Indentation:** Exactly **1 space** per level. This minimizes token usage in nested structures. -- **Newlines:** Maximum **one (1)** blank line between top-level definitions. **Zero (0)** blank lines within function or method bodies. +For the **Indentation** and **Newlines** rules (1-space indent, blank-line rules), see `conductor/code_styleguides/python.md` ยง1 (the canonical home for Python style). The project-specific rules for this project: + - **Vertical Compaction:** Use single-line `if` statements, semicolon-separated framework calls (`imgui.same_line(); imgui.text(...)`), and aligned assignments to aggressively minimize vertical line counts. **Note:** Function and method definition signatures (`def ...:`) must ALWAYS remain on their own isolated lines. - **Region Blocks:** Use `#region: Name` and `#endregion: Name` to logically organize massive files that cannot be easily broken apart without increasing context load. - **Type Hinting:** Mandatory, strict type hints for all parameters, return types, and global variables to ensure high-signal context for AI agents.