CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
3.1 KiB
3.1 KiB
Audit Gate Runbook — Parity + Red-Team + Go/No-Go
Context
This runbook describes the audit gate that guards breaking changes to the agentic runtime. Every exit criterion in the spec §7 Go/No-Go table has a corresponding test suite here. If any gate slips, a breaking change is blocked until fixed.
How to run the full gate locally
cd experimental/python/perfxpert
# 1. Install dev deps
pip install -e '.[dev]'
# 2. Run the parity suite
pytest -m parity -v
# 3. Run the red-team suite (14 attacks)
pytest -m red_team -v
# 4. Run the regression-gate false-positive suite
pytest -m regression_gate -v
# 5. Run the airgap parity test
pytest tests/test_integration/test_airgap_parity.py tests/test_integration/test_airgap_intent_classify.py -v
# 6. Generate the exit dashboard
python scripts/exit_dashboard.py --output exit_dashboard.json --render
How to interpret the dashboard
Three verdicts:
| Verdict | Meaning | Action |
|---|---|---|
| GO | All 9 thresholds met (including nightly) | Change may proceed |
| PARTIAL (pending) | All non-nightly green; nightly inputs not yet collected | Wait for nightly CI; do NOT merge breaking changes yet |
| NO-GO | One or more PR-lane thresholds failed | Fix failing area, re-run |
Interpreting a NO-GO
Each metric maps to a failure region:
| Metric | Likely root cause |
|---|---|
parity_agreement_rate < 0.95 |
Parity/fixture drift — new path diverges from expected |
red_team_pass_count < 14 |
Sanitizer, allowlist, or gate_cascade bug |
airgap_identical_rate < 1.0 |
intent_classifier or gate_cascade grew a dependency on the LLM |
regression_gate_false_positive_rate > 0.05 |
regression.compare_runs threshold tuning |
per_agent_narrow_scope_violations > 0 |
Fence exceeded 400 lines / agent exceeded 5 tools |
tool_class_split_violations > 0 |
An EXECUTION tool was registered with MCP |
Adding a new parity fixture
- Generate the synthetic DB (or record a real rocprofv3 run) in
tests/fixtures/<id>.db. - Add an entry to
tests/test_parity/fixtures_inventory.py. - Re-run
pytest -m parity -v.
Adding a new attack
The 14-attack count is normative (spec §5.8 + §7). Adding a 15th attack requires an RFC + normative update to the spec. Prefer:
- Parameterizing an existing attack's test (more vectors, same attack class).
- Adding a fuzz property to
test_sanitizer_fuzz.py(supplementary, not counted).
Fixing a red-team failure
- Locate which attack regressed:
cat tests/test_red_team/_attack_outcomes/*.json | jq. - The
expected_rejection_sitefield on the Attack entry tells you which production module should have caught it. - Write a failing unit test in the owning module's test dir.
- Fix in the owning module; do NOT modify the red-team test (it is the spec).
- Re-run the red-team suite.
Rollback plan
If the audit gate reveals a fundamental defect in the runtime or tools:
- Revert the offending PR(s) from the work branch.
- Re-run the audit gate locally until GO.
- Re-attempt with smaller diffs.
Audit-gate tests themselves are additive — they never need to be reverted.