diff --git a/.github/test-suite-registry.json b/.github/test-suite-registry.json index 45e1b85e2a..c2fd1261df 100644 --- a/.github/test-suite-registry.json +++ b/.github/test-suite-registry.json @@ -307,6 +307,20 @@ "related_issues": [1619], "reason": "The registered id-bench workflow is disabled_manually." }, + { + "id": "id.planted-bug.preflight", + "paths": ["pkgs/id/tests/test_planted_bug_preflight.py"], + "invocation": "python3 -I -m unittest discover -s pkgs/id/tests -p 'test_planted_bug_preflight.py' -v", + "venue": { + "workflow": ".github/workflows/id-check.yml", + "job_step": "guard / Test planted-bug preflight safety refusals", + "state": "active", + "dispatchable": true + }, + "status": "mapped", + "related_issues": [12058], + "notes": "Runs on the existing nightly/manual guard, before Nix setup. Five refusal tests use synthetic disposable Git fixtures and a fake Cargo sentinel, not the heavy mutation harness. Workflow enablement verified 2026-11-19; configured coverage is not evidence of a hosted run." + }, { "id": "id.just-recipes.drift-guard", "paths": ["pkgs/id/scripts/just-recipes-check-test.sh"], diff --git a/.github/workflows/id-check.yml b/.github/workflows/id-check.yml index d2760701aa..9d89121367 100644 --- a/.github/workflows/id-check.yml +++ b/.github/workflows/id-check.yml @@ -76,6 +76,10 @@ jobs: steps: - uses: actions/checkout@v7 + # Synthetic Git fixtures only: no Cargo build or live mutation harness. + - name: Test planted-bug preflight safety refusals + run: python3 -I -m unittest discover -s pkgs/id/tests -p 'test_planted_bug_preflight.py' -v + - name: Test matrix normalization run: bash .github/scripts/id-pr-checks-matrix.test.sh