# 仓库根。沿用锁定依赖，无新增依赖；所有数据库和服务均本地隔离。
uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline
npm ci --prefix calliope-web --ignore-scripts --offline
python3 docs/hel-892/grid-document-evidence/rebuild.py
python3 docs/hel-892/grid-document-evidence/render_report.py
# 仅新增两图说明；旧11块逐对象不变。定义摘要由开发者维护，运行时不信任调用方digest。
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_qwen_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_asr_fixed_document.py calliope-backend/tests/test_media_fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_fixed_document.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_supplied_companions.py calliope-backend/tests/test_delivery_scope.py calliope-backend/tests/test_case04_saved_reference.py -q --disable-warnings
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/grid-document-evidence/*.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/src/calliope/comfyui/fixed_document.py e2e/run-grid-document.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml --check docs/hel-892/grid-document-evidence/*.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/src/calliope/comfyui/fixed_document.py e2e/run-grid-document.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/grid-document-evidence/recompute.py
uv run --project calliope-backend --offline python docs/hel-892/grid-document-evidence/repeat.py
# BASE=真实27e6d56；git archive旧代码首导→2更新/153跳过/1排除→155跳过→回退2行→重导2更新。
# 升级前后两条用户编辑行均2冲突/153跳过，29列整行不变；其余153行整行不变。
# 新库155导入/1排除；16pending_check/139needs_conversion；1217/3660/294；全停用、未检查、定稿0、实跑0。
# 样例review-delta.json、import-protection.json、audit-summary.json、boundaries.json、package-check.json和repeatability.json。
# recompute缺dist有中文构建提示；不可把历史目录当本轮结果改写。
npm run build --prefix calliope-web
node --check e2e/grid-document.mjs
LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-grid-document.py
# supervisor拒绝复用已占端口；只启本地GET router/Vite，完成或异常finally停止自建服务。
# 13图两屏用途/原字段/限制；两新图35位置/1注释、原件指针/类型/精确源码；迟到响应、重试、错绑定、旧空回退、键盘焦点/无横向溢出。
# 浏览只允许127.0.0.1 GET，拒绝/api/view及外部源/预览URL；字体CSS本地空响应；不连接目标机。
# 无前端产品代码改动，未重复四脚本/svelte-check/ESLint。旧1错2警/ESLint缺配置仅沿用前批记录。
# 未重跑转换1456组/全后台；5旧失败仅历史记录。截图只附件，不能提交PNG。
