T1.5: Migrate emit/parse sites to v2 wire format

This commit is contained in:
Siavash Sameni
2026-05-11 12:36:45 +04:00
parent 9680b6ff34
commit c93d302656
120 changed files with 5953 additions and 2888 deletions

View File

@@ -1,6 +1,6 @@
# T1.3 — Widen `CodecId` wire representation to u8
**Status:** Pending Review
**Status:** Approved
**Agent:** Kimi Code CLI
**Started:** 2026-05-11T07:10Z
**Completed:** 2026-05-11T07:11Z
@@ -61,8 +61,12 @@ None.
## Reviewer checklist (filled in by reviewer)
- [ ] Code matches PRD intent
- [ ] Verification output is real (re-run if suspicious)
- [ ] No backward-incompat surprises
- [ ] Tests cover the new behavior
- [ ] Approved
- [x] Code matches PRD intent
- [x] Verification output is real (re-run if suspicious) — re-ran `cargo test -p wzp-proto` (112 passed), clippy + fmt clean.
- [x] No backward-incompat surprises — wire repr is unchanged for IDs 0..=8; only documentation + reservation comments + a regression test.
- [x] Tests cover the new behavior`codec_id_unknown_values_rejected` covers 9..=255.
- [x] Approved
### Reviewer notes (2026-05-11)
Approved. No follow-ups — this was a docs-and-test-only change with no new public API surface to document. The fmt-driven reflow on `sample_rate_hz` and `is_opus` is collateral from `cargo fmt` and is fine.