.PHONY: check contract release

# Everything CI's lint and unit jobs run, plus the tmux tests when tmux is installed.
check:
	uv run ruff check
	uv run ruff format --check
	uv run mypy
	uv run pytest

# The Claude Code contract against the real, logged-in `claude`: forty-seven short Haiku requests,
# in the trusted folder that WORKCREW_CONTRACT_WORK names.
contract:
	uv run pytest -m contract

release:
	@test -n "$(V)" || { echo "usage: make release V=x.y.z"; exit 2; }
	scripts/release.sh "$(V)"
