feat: enforce Guanghu-native HoloLake runtime laws

This commit is contained in:
冰朔 2026-08-04 23:11:25 +08:00
commit 67e6fcdd38
57 changed files with 1765 additions and 1504 deletions

View file

@ -459,14 +459,18 @@ That browser harness is a deterministic desktop command bridge, not real native
# Unit tests (fast, no browser)
pnpm test
# Unit tests with coverage (must pass ≥70%)
# Optional coverage observation; it is not an acceptance threshold
pnpm test:coverage
# Rust tests
cargo test
# Rust coverage (must pass ≥85% line coverage)
cargo llvm-cov --manifest-path src-tauri/Cargo.toml --no-clean --fail-under-lines 85
# Native authority contract
pnpm test:native-authority
# Exact GLS-0844 receipt (output must be outside the repository)
bash scripts/run-hololake-native-quality-gate.sh \
/path/outside/repository/GHNQG-receipt.hldp
# Playwright core smoke lane (requires dev server)
BASE_URL="http://localhost:5173" pnpm playwright:smoke