Files
faumarayandClaude Opus 5.5 7f95f89d52 chore(wave11): plan execution-path backfill, reserve error codes, update area plans
- 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>
2026-11-29 18:31:14 +03:00

4.6 KiB
Raw Permalink Blame History

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; branch feat/roadmap-p2-wave11 from main 38436b1. Uncommitted root prep: workflow docs, roadmap area-plan edits (docs/roadmap/{modules/Functional.md,subsystems/IO.md,subsystems/Runtime.md,MIGRATION.md}), and new enumerators AsyncErrorCode::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: VoidTests 1,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.md D-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

  1. For each F1–F13 and P3 item: state RESOLVED / PARTIAL / UNRESOLVED with evidence.
  2. Look for new hazards the resolutions introduce (e.g. raw waker pointer lifetime, busy from poll_once breaking existing callers that loop on it, reserved close capacity unbounded, phase-9 idle wait vs inline-resume after join, ~HostCore unbounded shutdown on destruction).
  3. 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

  1. Verdict with justification. 2. Each F1–F13/P3 item marked RESOLVED/PARTIAL/UNRESOLVED.
  2. 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.