# 装 server (任意 host 30 秒)
$ docker build -t boss-vault:v0.3.0 .
$ docker run -d -p 8421:8421 -e ANTHROPIC_API_KEY=$KEY boss-vault:v0.3.0
# 5 sync endpoint
$ curl localhost:8421/v1/healthz # liveness
$ curl localhost:8421/v1/version # skill + git + vault 版本
$ curl localhost:8421/v1/panels # 列 panels + 评委 + anchor_slug
$ curl localhost:8421/v1/anchors # 列 anchors + perspective 状态
$ curl -X POST localhost:8421/v1/attribution/check \
-H "Content-Type: application/json" \
-d '{"dry_run": true}' # 触发 30/90/365
# Interactive docs
# Swagger UI → http://localhost:8421/docs
# ReDoc → http://localhost:8421/redoc
# OpenAPI 3.0 JSON → http://localhost:8421/v1/openapi.json
# 本地不 docker · 直跑 uvicorn (开发模式 reload)
$ pip install -r requirements.txt
$ uvicorn scripts.boss_server:app --reload --port 8421