From 8ac3385a561ea5ec6e249412e1524ed90e902857 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 5 Jul 2026 15:19:24 -0400 Subject: [PATCH] =?UTF-8?q?refactor(conductor/product-guidelines.md):=20th?= =?UTF-8?q?in-pointer=20=C2=A7AI-Optimized=20Compact=20Style=20Indentation?= =?UTF-8?q?=20+=20Newlines=20to=20python.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per agent_directives_consolidation_20260705 §3.4. The 2 duplicate bullets (Indentation, Newlines) are replaced with a 1-line pointer to conductor/code_styleguides/python.md §1, the canonical home for Python style. The 4 project-specific bullets (Vertical Compaction, Region Blocks, Type Hinting, SDM) are preserved — they are unique to this project. Net: 6 lines reduced to 1 line of pointer + 4 preserved bullets. --- conductor/product-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.