test(gateway): bind qualification to immutable Protocol

This commit is contained in:
sechmachine
2026-07-29 23:02:28 +07:00
parent f37f53eab2
commit 040ca73ce9
8 changed files with 100 additions and 15 deletions
@@ -0,0 +1,24 @@
## 1. Contract and focused regressions
- [x] 1.1 Add fixed catalog tests for the three media profiles, ten-minute
duration, exact six impairment profiles, and bounded output configuration.
- [x] 1.2 Add summary, payload-integrity, fairness, cap, and failure-threshold
tests before implementing the harness.
## 2. Qualification harness
- [x] 2.1 Implement opt-in real-duration processing measurement with compressed
raw samples, full statistics, timing overhead, and environment metadata.
- [x] 2.2 Implement deterministic bounded impairment observations and reuse the
production fair pacer for fairness and capacity-step evidence.
- [x] 2.3 Add one mTLS/QUIC fake-provider traversal per fixed encoded profile
and prove the artifact boundary contains no provider route or secret.
## 3. Freeze and evidence
- [x] 3.1 Run focused red/green checks, strict OpenSpec validation, `make
verify`, race/fuzz/resource checks, and freeze the harness commit.
- [x] 3.2 Run the opt-in ten-minute and six-profile command exactly once
against the frozen candidate and archive raw artifacts and hashes.
- [x] 3.3 Sync the canonical specification, archive the completed change, and
revalidate strictly without claiming live Apollo/macOS/firewall evidence.