.PHONY: install dev test lint typecheck check

install:        ## 安装框架（可编辑模式）
	pip install -e .

dev:            ## 启动开发服务器（默认 8000）
	uvicorn main:app --reload --port 8000

test:           ## 全量测试
	pytest tests/unit -q -o addopts=""

lint:           ## ruff 规范检查
	ruff check bolt

typecheck:      ## mypy 类型检查
	mypy bolt/core bolt/domain --ignore-missing-imports --no-strict-optional

check: lint typecheck test   ## 三件套（CI 同款）
