- Audit roadmap vs TASKS (D-033); scope Wave 11 to M-FUNCTIONAL-03, M-TIME-03,
M-ASYNC-04/05, S-IO-03/04, S-RUNTIME-02/03 (D-034..D-036)
- Schedule VoidForge upstream requests after Wave 11 (D-037)
- Persist planner output, PREFLIGHT findings and contract addendum (D-038)
- Add AsyncErrorCode::closed, IoErrorCode::sync_failed,
RuntimeErrorCode::{self_join, shutdown_incomplete}
- Update Functional/IO/Runtime area plans and MIGRATION per C-13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.6 KiB
Wave 11 PREFLIGHT re-review of the contract addendum
Task ID: W11-PREFLIGHT-2 Role: opus-reviewer Status: READY
1. Context and baseline
- Repo root / cwd:
/home/faumaray/Projects/VoidLibrary; branchfeat/roadmap-p2-wave11frommain38436b1. Uncommitted root prep: workflow docs, roadmap area-plan edits (docs/roadmap/{modules/Functional.md,subsystems/IO.md,subsystems/Runtime.md,MIGRATION.md}), and new enumeratorsAsyncErrorCode::closed=9(→cancelled),IoErrorCode::sync_failed=12(→io),RuntimeErrorCode::{self_join=8, shutdown_incomplete=9}(→conflict). Untracked user files (.env,WG.conf,keys,jev_token,.serena/,.vbs/, dotfiles) are not inputs. - Baseline
38436b1:VoidTests1,484 discovered, 1,480 passed, 4 skipped, 0 failed. - First PREFLIGHT verdict CHANGES_REQUIRED:
docs/agent-workflow/tasks/W11-PREFLIGHT-OUTPUT.md. Original plan:W11-PLAN-OUTPUT.md. Planner addendum answering it:W11-PLAN-REV1-OUTPUT.md. Root disposition:docs/agent-workflow/DECISIONS.mdD-038.
2. Objective and deliverables
Fresh, independent verdict (READY / CHANGES_REQUIRED / INSUFFICIENT_EVIDENCE) on whether the addendum plus root doc edits resolve findings F1–F13 and the P3 list without introducing new defects, so implementation specs can be written. Severity-ranked findings for anything still open or newly introduced.
3. Scope and non-goals
In scope (from the first review's re-review scope): revised S-IO-03, S-IO-04, S-RUNTIME-03
contracts (F1–F6, F9, F13); AsyncChannel, Retry, EventBus, TimerQueue invariants (F7, F8,
F12); area-plan/MIGRATION edits (F10); the three planner adjustments (signal adapter closes
fd off-owner; syscall shim exception; Observable FIFO ordering change). Also check the
poll_once concurrent-caller choice (busy), the wake_closed_ atomic argument, the
FileState close-request reserved capacity, and ThreadExecutor::idle() use in phase 9.
Non-goals: re-reviewing parts confirmed sound in the first review, style, other waves.
4. Files to inspect
docs/agent-workflow/tasks/{W11-PLAN-OUTPUT,W11-PREFLIGHT-OUTPUT,W11-PLAN-REV1-OUTPUT}.md,
docs/agent-workflow/DECISIONS.md (D-038), git diff of the root prep, and source cited by
the addendum: src/IO/EpollDriver.cpp, include/Void/IO/{Types,Driver,Stream}.hpp,
include/Void/IO/Detail/Backend.hpp, include/Void/Async/{Executor,Operation,TaskScope,EventBus,Observable}.hpp,
include/Void/Runtime/{Host,Options}.hpp, src/System/SignalWatcher.cpp, src/IPC/Session.cpp
(poll_once result use), include/Void/Memory/BudgetResource.hpp.
5. Write ownership and coordination
Write scope: none
Allowed commands: read-only git, rg, ls, sed -n, Serena/codebase-memory read tools; optional
probes only under /tmp/void-w11-preflight2-probe. A root subset build runs in
/tmp/void-w11-prep; do not touch it.
6. Implementation or investigation approach
- For each F1–F13 and P3 item: state RESOLVED / PARTIAL / UNRESOLVED with evidence.
- Look for new hazards the resolutions introduce (e.g. raw waker pointer lifetime,
busyfrompoll_oncebreaking existing callers that loop on it, reserved close capacity unbounded, phase-9 idle wait vs inline-resume after join,~HostCoreunbounded shutdown on destruction). - Check the area-plan edits are consistent with the addendum and with D-001..D-038.
7. Interfaces and data contracts
Not applicable for new authorship: review the addendum's signatures as written.
8. Dependencies and integration
A1 (M-FUNCTIONAL-03) and B1 (M-TIME-03 Timer) may be dispatched in parallel with this review (D-038); report any finding affecting F8/F12 explicitly so root can correct them.
9. Edge cases security and performance
Same list as the first PREFLIGHT: fd reuse, signal masks, partial start, TaskScope destructor, ManualClock + blocking waits, inline resume after join, retained buffers, tombstones.
10. Acceptance criteria
- Verdict with justification. 2. Each F1–F13/P3 item marked RESOLVED/PARTIAL/UNRESOLVED.
- New findings have severity, location, trigger, impact, evidence, recommendation.
11. Verification commands and evidence
Read-only inspection, e.g. git diff -- docs/roadmap include/Void, rg -n "poll_once\(" src include.
12. Constraints and stop conditions
No edits, commits or network; no spawning. Mark INSUFFICIENT_EVIDENCE rather than guess.
13. Authorization and decisions
Root decisions D-034, D-038 under user decisions D-027/D-031. Technical check only.
14. Return format
Task ID; verdict; per-item status table; new findings P0→P3; checks not run. Compact.