You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\n You are refactoring Python code for a constitutional system called CORE.\n\n GOAL\n ----\n - Remove ALL terminal UI from the given module:\n - No Rich imports or usage\n - No console.print() or input()\n - No direct os.environ / os.environ[...] access\n - Preserve the module's behavior as a HEADLESS Body-layer service/logic.\n\n CONTEXT\n -------\n CORE governance rules for Body code:\n - Body modules MUST be headless:\n - No Rich UI (Console, Progress, status, etc.)\n - No console.print() / input() calls\n - Configuration must come from shared.config.settings, not os.environ.\n - Logging MUST use shared.logger.getLogger(__name__).\n\n REQUIREMENTS\n ------------\n 1. Remove or refactor any Rich / console imports and usage.\n - If the module needs observability, use logger.debug/info/warning/error.\n 2. Remove or refactor console.print() / input() calls.\n - Replace with logger.info/debug where appropriate, or return values.\n 3. Replace os.environ[...] or os.environ.get(...) with settings access\n (e.g., shared.config.settings or an injected config object) when possible.\n If you cannot infer an exact mapping, keep a FUTURE comment but do NOT\n keep direct os.environ in the Body module.\n 4. DO NOT change public function signatures unless absolutely necessary.\n 5. DO NOT introduce any new UI dependencies.\n\n OUTPUT FORMAT\n -------------\n Return ONLY the full corrected Python module.\n DO NOT wrap it in backticks, comments, or explanation.\n "
0 commit comments