Merge remote-tracking branch 'origin/jules02-cli-ux-improvements-8438108481486765359'

# Conflicts:
#	.github/workflows/ci.yml
#	.github/workflows/pre-deploy-validation.yml
#	benchmark_performance.py
#	scripts/doctor.py
#	tests/test_data_cleanup_system.py
#	tests/test_decision_support_v2.py
#	tests/test_ensemble_drift_safety.py
#	tests/test_ensemble_new.py
#	tests/test_jules_ensemble_safety_v2.py
#	tests/test_performance_instrumentation.py
#	tests/verify_integration.py
This commit is contained in:
Leo
2026-09-15 09:54:23 +00:00
116 changed files with 2006 additions and 1162 deletions
+7 -2
View File
@@ -22,9 +22,10 @@ def get_required_vars_from_config():
if isinstance(item, ast.AnnAssign) and isinstance(item.target, ast.Name):
var_name = item.target.id
if var_name != "model_config":
required_vars.add(var_name.lower())
required_vars.add(var_name.lower())
return required_vars
def get_vars_from_example():
example_path = Path(".env.example")
if not example_path.exists():
@@ -40,6 +41,7 @@ def get_vars_from_example():
vars.add(var.lower())
return vars
def validate():
print("Validating environment configuration template...")
@@ -67,9 +69,12 @@ def validate():
print("=" * 60)
return False
print(f"SUCCESS: Environment validation passed. .env.example contains all {len(required)} fields.")
print(
f"SUCCESS: Environment validation passed. .env.example contains all {len(required)} fields."
)
return True
if __name__ == "__main__":
if not validate():
sys.exit(1)