utils/CLAUDE.md
Krzysztof kuhy Rudnicki abc3ada6c3 agent_ready: wire into CLAUDE.md commands, shared-gate CI and test_changed
The checker shipped with 100% branch coverage but nothing ran it: add it to
the CLAUDE.md test/lint/coverage commands, the shared-gates-tests workflow
(--cov-fail-under=100, same shape as repo_contract/coverage_gaps) and the
test_changed.sh fallback gate list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBScELfMUiieK9ManFbS3Y
2026-10-22 21:29:48 +02:00

1.1 KiB

utils

Monorepo of shared gates and libraries (dep_freshness, file_length, md_naming, repo_contract, coverage_gaps, crdt-sync, gatelock, freedays, sickdays, earned_time, music_theory, ...). Python packages with a root-level <pkg>/tests run with PYTHONPATH=.; subprojects with their own pyproject.toml run via scripts/run_subproject_tests.sh <dir>. scripts/check_repo_contract.sh is the REAL shared gate (not a shim): never overwrite it with repo_contract/templates/check_repo_contract.shim.sh.

Commands

  • run: n/a: collection of gates and libraries, no single entry point
  • test: PYTHONPATH=. python -m pytest -q agent_ready/tests coverage_gaps/tests dep_freshness/tests file_length/tests home_paths/tests md_naming/tests repo_contract/tests scripts/tests
  • test-changed: scripts/test_changed.sh
  • lint: ruff check agent_ready coverage_gaps repo_contract
  • coverage: PYTHONPATH=. python -m pytest -q agent_ready/tests repo_contract/tests --cov=agent_ready --cov=repo_contract --cov-branch --cov-report=xml --cov-fail-under=100
  • coverage-gaps: coverage-gaps coverage.xml