feat(runtime): implement single-article consolidation runtime and modularize codebase

This commit is contained in:
2026-08-24 00:14:07 -03:00
parent e1e0be1353
commit 23de7d8fe7
176 changed files with 266754 additions and 10179 deletions
+25
View File
@@ -0,0 +1,25 @@
"""CI multi-tier trigger runner and verification script."""
from __future__ import annotations
import subprocess
import sys
def run_ci_checks() -> int:
print("=== STEP 1: Static Zero Regex and Schema Policy Check ===")
res_static = subprocess.run([sys.executable, "tests/scripts/check_zero_regex.py"])
if res_static.returncode != 0:
return 1
print("\n=== STEP 2: Pytest Automated Suites ===")
res_pytest = subprocess.run([sys.executable, "-m", "pytest", "tests/", "-v"])
if res_pytest.returncode != 0:
return 1
print("\n=== ALL CI QUALITY GATES PASSED SUCCESSFULLY ===")
return 0
if __name__ == "__main__":
sys.exit(run_ci_checks())