70 lines
3.5 KiB
Markdown
70 lines
3.5 KiB
Markdown
# Wave 11 spec review: S-IO-03 (B2) and M-ASYNC-04 (A2) against contract R2
|
||
|
||
Task ID: W11-SPEC-REVIEW-1
|
||
Role: opus-reviewer
|
||
Status: READY
|
||
|
||
## 1. Context and baseline
|
||
- Repo `/home/faumaray/Projects/VoidLibrary`, branch `feat/roadmap-p2-wave11`, HEAD `99203ce`
|
||
(prep `7f95f89`, docs `a8a9249`, R2 `99203ce`) on `main` `38436b1`. Untracked user files are not inputs.
|
||
- PREFLIGHT-2 (`docs/agent-workflow/tasks/W11-PREFLIGHT-2-OUTPUT.md`) said the R2 amendment can be
|
||
re-reviewed on the task specs. Root wrote `docs/agent-workflow/tasks/W11-CONTRACT-R2.md` and draft
|
||
specs `docs/agent-workflow/tasks/S-IO-03.md` and `docs/agent-workflow/tasks/M-ASYNC-04.md`.
|
||
- Design chain: `W11-PLAN-OUTPUT.md` → `W11-PLAN-REV1-OUTPUT.md` → `W11-CONTRACT-R2.md` (R2 wins).
|
||
|
||
## 2. Objective and deliverables
|
||
Verdict per spec (READY / CHANGES_REQUIRED / INSUFFICIENT_EVIDENCE): is each spec complete,
|
||
internally consistent, faithful to PLAN+REV1+R2, implementable without guessing, with acceptance
|
||
tests covering the roadmap row and every mandatory invariant? Findings P0–P3 with exact spec line
|
||
and the replacement text you recommend.
|
||
|
||
## 3. Scope and non-goals
|
||
In: the two specs, R2 items N3, N4, N5, P3-5, P3-9 as reflected in them, F1/F2/F7/F9/F11/F12/F13
|
||
carry-over, verification commands (module lists, filters, sanitizer flags), write-scope
|
||
disjointness between the two specs and versus S-IO-04/S-RUNTIME-02 later steps.
|
||
Out: re-litigating accepted decisions D-W11-01..15; other specs.
|
||
|
||
## 4. Files to inspect
|
||
The two specs, `W11-CONTRACT-R2.md`, `W11-PLAN-REV1-OUTPUT.md`, `W11-PLAN-OUTPUT.md`,
|
||
`docs/roadmap/subsystems/IO.md`, `docs/roadmap/modules/Async.md`, and source they cite
|
||
(`src/IO/EpollDriver.cpp`, `include/Void/IO/*`, `include/Void/Async/*`, `cmake/Module.cmake:14`,
|
||
`CMakeLists.txt:13-15`, `tests/CMakeLists.txt`).
|
||
|
||
## 5. Write ownership and coordination
|
||
Write scope: none
|
||
Allowed: read-only `git`, `rg`, `sed -n`, Serena/codebase-memory reads. Two implementers (M-FUNCTIONAL-03,
|
||
M-TIME-03) run in separate worktrees; ignore them.
|
||
|
||
## 6. Implementation or investigation approach
|
||
1. Diff each spec's mandatory list against PLAN/REV1/R2; list omissions or contradictions.
|
||
2. Check every signature is consistent with existing types it names (`ComposedTransferError`,
|
||
`Transfer`, `DescriptorId`, `BufferLease`, `Coro::Task`, `Void::Result::Result`, `ThreadPool`).
|
||
3. Check acceptance tests are deterministic and map to invariants; flag untestable ones.
|
||
4. Check commands will actually select the new tests (module closure; silent skip rule).
|
||
|
||
## 7. Interfaces and data contracts
|
||
Not applicable for authorship: review signatures written in the specs.
|
||
|
||
## 8. Dependencies and integration
|
||
Root will fix the specs from your findings, set Status READY, lint, and dispatch.
|
||
|
||
## 9. Edge cases security and performance
|
||
As listed in the specs §9; flag any missing hazard from PREFLIGHT-1/2.
|
||
|
||
## 10. Acceptance criteria
|
||
1. Verdict per spec. 2. Findings with spec line + replacement text. 3. Explicit statement whether
|
||
each R2 item relevant to the spec is fully reflected.
|
||
|
||
## 11. Verification commands and evidence
|
||
Read-only, e.g. `rg -n "ComposedTransferError|struct Transfer|DescriptorId" include/Void/IO`.
|
||
|
||
## 12. Constraints and stop conditions
|
||
No edits, commits, network or spawning. INSUFFICIENT_EVIDENCE rather than guess.
|
||
|
||
## 13. Authorization and decisions
|
||
Root decisions D-034, D-038, D-040. Technical check only.
|
||
|
||
## 14. Return format
|
||
Task ID; verdict per spec; findings P0→P3 with replacement text; R2 coverage statement; checks not
|
||
run. Compact.
|