Files
wz-phone/docs/PRD/reports/T1.1.2-report.md
2026-05-11 11:29:18 +04:00

62 lines
1.9 KiB
Markdown

# T1.1.2 — Refresh stale test-count figures in docs
**Status:** Pending Review
**Agent:** Kimi Code CLI
**Started:** 2026-05-11T07:19Z
**Completed:** 2026-05-11T07:21Z
**Commit:** see git log
**PRD:** `PRD-wire-format-v2.md` (housekeeping)
## What I changed
- `docs/ARCHITECTURE.md:959` — updated "272 tests" → "571 tests"
- `docs/ARCHITECTURE.md:963-971` — updated per-crate Test Coverage table with current counts:
- wzp-proto: 112, wzp-codec: 69, wzp-fec: 21, wzp-crypto: 64, wzp-transport: 11, wzp-relay: 122, wzp-client: 170, wzp-web: 2, wzp-native: 0
- `docs/DESIGN.md:573` — updated "272 tests" → "571 tests"
- `docs/PRD/TASKS.md:161` — updated baseline comment to "571 pass / 0 fail (non-Android subset)"
- `docs/PRD/TASKS.md:660` — updated T1.5 verify block to "all 571 tests still pass"
- `docs/PRD/PRD-wire-format-v2.md:97` — updated "all 571 tests pass under v2"
## Why these choices
Re-measured the non-Android workspace baseline before writing numbers: 571 pass / 0 fail. The 272 figure came from an older snapshot and was stale.
## Deviations from the task spec
None.
## Verification output
```bash
$ grep -rn "272 tests\|272 pass\|272 total" docs/ | grep -v "T1.1.2\|grep -rn\|referencing"
# (no output — all stale references removed)
```
```bash
$ cargo test -p wzp-proto -p wzp-codec -p wzp-fec -p wzp-crypto -p wzp-transport -p wzp-relay -p wzp-client -p wzp-web -p wzp-native --no-fail-fast 2>&1 | grep "test result:" | awk '{s+=$4} END {print s}'
571
```
```bash
$ cargo fmt --all -- --check
# (clean)
```
## Test summary
- Tests added: 0
- Tests modified: 0
- `cargo fmt --all -- --check`: pass
## Risks / follow-ups
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