# Repository root; existing locked dependencies. Isolated local files/DB only.
uv sync --project calliope-backend --frozen --extra dev --python 3.11
npm ci --prefix calliope-web --ignore-scripts
uv run --project calliope-backend --offline python docs/hel-892/media-document-evidence/build_definition.py
uv run --project calliope-backend --offline pytest 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_h3_reference.py -q --disable-warnings
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_media_fixed_document.py docs/hel-892/media-document-evidence/*.py e2e/run-media-document.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml --check calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_media_fixed_document.py docs/hel-892/media-document-evidence/*.py e2e/run-media-document.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/media-document-evidence/recompute.py
npm run build --prefix calliope-web
npm test --prefix calliope-web
npm run check --prefix calliope-web
node --check e2e/media-document.mjs
# Existing browser runtime, no downloads:
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-media-document.py
# Foreground supervisor runs media/audio/H3 scripts and always stops owned children.
# Existing svelte-check: 1 old error/2 warnings; all frontend source bytes unchanged.
# From calliope-web: npm exec -- eslint src/lib/components/WorkflowDocumentDrawer.svelte src/lib/comfy/types.ts
# ESLint exits 2: repo has no eslint.config; not claimed passing.
# Rebuild/recompute a second time and compare source_reviews.json, definition-*.json,
# actual-*.json, audit-summary/import-protection/boundaries/package-check JSON.
# Recorded equality in repeatability.json. Sources are pinned repo bytes, no upstream imports/media.
