Files
ngit-grasp/grasp-audit/src/specs
DanConwayDev 5148479d76 feat(grasp-audit): add filter capability compliance tests
Add comprehensive GRASP-01 compliance tests for uploadpack.allowFilter
capability to the grasp-audit test suite. These tests can be run against
ANY GRASP implementation (ngit-relay, ngit-grasp, or others) to verify
filter support.

New test module: grasp-audit/src/specs/grasp01/git_filter.rs

Tests added:
- test_filter_capability_advertised: Verifies filter appears in info/refs
- test_filtered_clone_succeeds: Tests git clone --filter=blob:none
- test_filtered_fetch_succeeds: Tests git fetch --filter=tree:0

Usage:
  cd grasp-audit && nix develop -c bash test-ngit-relay.sh --mode test
  cd grasp-audit && nix develop -c cargo run -- audit -r ws://localhost:8080 -s git-filter
2026-01-12 14:09:26 +00:00
..