> Historical record: references to the legacy hosted PR check describe the
> original narrower gate. Use `nix flake check` for current validation; recorded
> results below do not establish a pass of today's broader check.

Card 14 Verification Evidence: Build and Tests
Executed on: Linux x86_64 Strix Halo gfx1151
Workspace: /home/mixer/gufo

================================================================================
Gate 1: Nix Derivation Independence Proof
================================================================================
Command:
nix eval --raw .#packages.x86_64-linux.default.drvPath

Output before touching model test source:
/nix/store/4nqkz6iivwjxjdx6kgw9jd1mw0y3bjf9-gufo-0-unstable-642af9d-dirty.drv

Command:
touch src/models/qwen3_asr/tests/audio_test.cpp && nix eval --raw .#packages.x86_64-linux.default.drvPath

Output after touching model test source:
/nix/store/4nqkz6iivwjxjdx6kgw9jd1mw0y3bjf9-gufo-0-unstable-642af9d-dirty.drv

Disposition: PASS
Derivation hash is byte-for-byte identical. Changes to tests, functional fragments, fixtures, and tools under model extensions do not invalidate the production derivation.

================================================================================
Gate 2: Extension Manifest Schema Validation
================================================================================
Command:
nix develop -c python3 tests/extensions/metadata_test.py --schema

Output:
PASS: All 8 discovered extension manifests validate against schemas/extension.schema.json

Disposition: PASS (8/8 manifests valid)

================================================================================
Gate 3: Extension Manifest Discovery & Configure Tests
================================================================================
Command:
nix develop -c python3 tests/extensions/metadata_test.py

Output:
............
----------------------------------------------------------------------
Ran 12 tests in 10.421s

OK

Disposition: PASS (12/12 tests OK)

================================================================================
Gate 4: Extension Isolation & Boundary Scanner
================================================================================
Command:
python3 tests/tools/check_extension_isolation_test.py

Output:
...........................
----------------------------------------------------------------------
Ran 27 tests in 23.059s

OK

Disposition: PASS (27/27 tests OK)

================================================================================
Gate 5: Extension Discovery Unit & Functional Tests
================================================================================
Command:
nix develop -c python3 tests/extensions/discovery_test.py

Output:
.............
----------------------------------------------------------------------
Ran 13 tests in 52.788s

OK

Disposition: PASS (13/13 tests OK, including metadata-only exclusion and missing build manifest behavior)

================================================================================
Gate 6: Infrastructure Generator Unit & Drift Tests
================================================================================
Command:
python3 -m unittest tests/tools/generate_infrastructure_test.py

Output:
.........
----------------------------------------------------------------------
Ran 9 tests in 0.030s

OK

Disposition: PASS (9/9 tests OK)

================================================================================
Gate 7: Infrastructure Drift Check CLI
================================================================================
Command:
python3 tools/ci/generate-infrastructure.py --check

Output:
PASS: Infrastructure files are up to date with model metadata.
Exit code: 0

Disposition: PASS (Zero drift across all 6 managed infrastructure files)

================================================================================
Gate 8: Functional Impact Rules & DevLab Registry Unit Tests
================================================================================
Command:
PYTHONPATH=tests/functional python3 -m unittest tests/functional/test_impact.py tests/functional/test_devlab.py

Output:
...............................
----------------------------------------------------------------------
Ran 31 tests in 0.052s

OK

Disposition: PASS (31/31 tests OK)

================================================================================
Gate 9: C++ Clang-Format CI Check
================================================================================
Command:
nix shell --inputs-from . nixpkgs#clang-tools -c python3 tools/ci/check-format.py

Output:
PASS: Checked 792 C++ files
Exit code: 0

Disposition: PASS

================================================================================
Gate 10: Documentation Links & Model Path Check
================================================================================
Command:
python3 tools/ci/check-docs.py

Output:
[check-docs] PASSED: 311 markdown files and 1591 local links/anchors verified with zero broken links or invalid JSON blocks.
Exit code: 0

Disposition: PASS

================================================================================
Gate 11: Continuation Identity Goldens
================================================================================
Command:
nix develop -c ctest --test-dir build/cpu-test -R 'continuation_identity' --output-on-failure

Output:
Test project /home/mixer/gufo/build/cpu-test
    Start 141: qwen27b_continuation_identity_test
1/3 Test #141: qwen27b_continuation_identity_test .............   Passed    0.00 sec
    Start 155: deepseek_v4_flash_continuation_identity_test
2/3 Test #155: deepseek_v4_flash_continuation_identity_test ...   Passed    0.00 sec
    Start 161: qwen38_flash_next_continuation_identity_test
3/3 Test #161: qwen38_flash_next_continuation_identity_test ...   Passed    0.00 sec

100% tests passed out of 3
Exit code: 0

Disposition: PASS

================================================================================
Gate 12: Local PR Check Suite (cpu-test)
================================================================================
Command:
nix develop -c cmake --build --preset cpu-test --target check-pr

Output:
100% tests passed out of 96
Total Test time (real) = 139.64 sec
Exit code: 0

Disposition: PASS

================================================================================
Gate 13: Hosted Nix PR Check Derivations
================================================================================
Command:
legacy hosted PR check

Output:
these 4 derivations will be built:
  /nix/store/17rpb6f5klm67dphwqmx4cb5s7vxcssn-check-pr-tests.drv
  /nix/store/pmpzv91w3dch526zbqwjkd9cvgjdndr7-check-dependency-inventory.drv
  /nix/store/snsxw10hag14cs3ghp8bi6gbcwvj5fwb-check-docs.drv
  /nix/store/s1hndb78yjpggrfwj17d872lcnkg4j96-check-pr.drv
building '/nix/store/pmpzv91w3dch526zbqwjkd9cvgjdndr7-check-dependency-inventory.drv'...
building '/nix/store/snsxw10hag14cs3ghp8bi6gbcwvj5fwb-check-docs.drv'...
building '/nix/store/17rpb6f5klm67dphwqmx4cb5s7vxcssn-check-pr-tests.drv'...
building '/nix/store/s1hndb78yjpggrfwj17d872lcnkg4j96-check-pr.drv'...
Exit code: 0

Disposition: PASS
All 4 hosted check derivations built and passed cleanly, including lock-mode discovery and all 96 PR ctest checks.
