.PHONY: help install run run-mcp format format-check lint typecheck test test-unit test-integration migration-check eval live-acceptance up down UV_CACHE_DIR ?= /tmp/ekp-uv-cache export UV_CACHE_DIR help: @echo "Enterprise Knowledge Platform" @echo " install Install development dependencies" @echo " run Start the development API" @echo " run-mcp Start the authenticated MCP gateway" @echo " format Format code" @echo " format-check Check formatting without modifying files" @echo " lint Run linters" @echo " typecheck Run static type checks" @echo " test Run default tests" @echo " test-unit Run unit tests" @echo " test-integration Run integration tests" @echo " migration-check Validate the forward migration path" @echo " eval Run RAG evaluation" @echo " live-acceptance Run controlled target-provider acceptance" @echo " up Start local dependencies" @echo " down Stop local dependencies" install: uv sync --all-groups run: uv run uvicorn ekp_api.main:app --host "$${API_HOST:-0.0.0.0}" --port "$${API_PORT:-8000}" run-mcp: uv run ekp-mcp format: uv run ruff format . format-check: uv run ruff format --check . lint: uv run ruff check . typecheck: uv run mypy apps/api/src apps/mcp-server/src packages tests test: uv run pytest tests/unit tests/integration test-unit: uv run pytest tests/unit test-integration: uv run pytest tests/integration migration-check: uv run alembic heads uv run alembic upgrade head --sql >/dev/null eval: uv run pytest tests/evaluation live-acceptance: uv run ekp-live-acceptance up: docker compose -f docker-compose.dev.yml up -d down: docker compose -f docker-compose.dev.yml down