Last updated: 2026-02-12
Ship gopus as a dependable production codec library with:
- deterministic behavior against pinned libopus references,
- stable real-time performance (zero hot-path allocations),
- explicit release gates that block regressions.
- Decoder feature-complete and stable across SILK/CELT/Hybrid.
- Encoder feature-complete with known quality gap in strict
Q >= 0profiles. - Broad parity and fixture coverage already exists.
- Core CI is cross-platform and includes fixture provenance checks.
- Correctness
TestEncoderComplianceSummaryremains green on pinned fixtures.TestSILKParamTraceAgainstLibopusremains exact parity for canonical WB fixture.- Exhaustive fixture honesty/provenance checks remain green on pinned libopus.
- Real-time performance
- Hot-path
Encode/Decodeand int16 variants stay at0 allocs/op. - Benchmark guardrails stay within CI thresholds (
make bench-guard). - No race detector failures on fast-tier full package sweep.
- Optional deeper parity-tier race sweep remains available.
- Operational confidence
- One-command production gate exists for pre-release verification.
- CI covers race, parity, and fuzz smoke in addition to existing test suite.
- Quality closure
- Raise remaining encoder profiles to strict production threshold (
Q >= 0) without parity regressions.
- Add zero-allocation regression guards for hot paths.
- Add explicit production verification make targets.
- Ensure README documents production verification workflow.
- Focus SILK/Hybrid speech-bitrate quality uplift.
- Tune CELT short-frame transients against libopus references.
- Introduce ratcheting quality thresholds per profile until all strict gates pass.
- Define release checklist with required gate evidence.
- Run production gate before every tag/release candidate.
- Publish benchmark and compliance deltas per release.
- Removed per-frame FFT scratch allocation in encoder tonality analysis.
- Added hot-path allocation guard tests:
TestHotPathAllocsEncodeFloat32TestHotPathAllocsEncodeInt16TestHotPathAllocsDecodeFloat32TestHotPathAllocsDecodeInt16
- Added make targets:
make test-racemake test-race-paritymake test-fuzz-smokemake verify-productionmake verify-production-exhaustivemake bench-guardmake release-evidence
- Added scheduled exhaustive CI with release-evidence artifact upload.
- Added dedicated CI performance gate (
perf-linux) using deterministic benchmark guardrails (tools/bench_guardrails.json).