fix: architecture_linter_v2 — repo-aware, test-backed, CI-enforced (#437) #453
Reference in New Issue
Block a user
Delete Branch "burn/20260409-1926-linter-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #437
Changes
API_KEY_REGEXwas invalid (caused runtime crash incheck_api_keys)architecture_linter.py--repoflag and--jsonoutput for CI/scripted useLinterResultclass for structured programmatic access.git,node_modules,__pycache__; skip.env.examplefilestests/test_linter.pycovering all checks.gitea/workflows/architecture-lint.ymlVerification
python3 -m py_compile scripts/architecture_linter_v2.pypassespython3 -m py_compile scripts/architecture_linter.pypassespython3 -m pytest tests/test_linter.py -v— 19/19 passedAuto-approved: clean diff, no conflicts, mergeable.