# DGR-002 — exact commands, in order. Run from the repository root. # Interpreter: /.venv/bin/python (CPython 3.14.6). Deterministic, GPU-free, # no model download, no API credits. # --- toolchain (this machine had no protoc, no cmake, no protobuf C++ headers) .venv/bin/python -m pip install grpcio-tools==1.82.1 grpcio==1.82.1 cmake==4.4.0 scripts/bootstrap_native_toolchain.sh /tmp/pbsrc/install # protobuf C++ 33.1 + abseil 20250814.1 # --- schema generation (Python stubs; committed) .venv/bin/python scripts/generate_native_protocol.py .venv/bin/python scripts/generate_native_protocol.py --check # -> "generated stubs are up to date" # --- cross-language conformance vectors (committed) .venv/bin/python scripts/generate_protocol_goldens.py .venv/bin/python scripts/generate_protocol_goldens.py --check # -> "conformance vectors are up to date" # --- C++ generation, build and conformance test cmake -S packages/node/native -B build/native -DCMAKE_PREFIX_PATH=/tmp/pbsrc/install cmake --build build/native -j"$(nproc)" ctest --test-dir build/native --output-on-failure # -> 1/1 Passed cmp build/native/cpp_roundtrip.binpb packages/node/native/testdata/session_request_golden.binpb # --- Python tests .venv/bin/python -m pytest -q tests/test_native_shard_protocol.py # -> 29 passed .venv/bin/python -m pytest -q # full suite # --- repository gates .venv/bin/python -m compileall -q packages tests git diff --check