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>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-11-29 18:31:14 +03:00
1 parent 38436b18c8
commit 7f95f89d52
16 files changed
+1856 -40

No files matched your search

+10 -6
View File
@@ -92,18 +92,22 @@ immutable and bounded; destructor traversal must not recurse through unbounded c
## Pure retry and callable ownership
NEW `RetryState::next(now, last_error)` returns either `stop`, `attempt`, or an absolute
next-attempt time. Defaults: three total attempts and a 30-second total budget; explicit
NEW `RetryState` exposes `begin(now)`, `next(now, outcome)` and `resume(now)`: `next`
returns `stop` or `wait_until(absolute time)`; `begin`/`resume` return `attempt` or `stop`.
Callers map their error to `AttemptOutcome` with a supplied classifier. Defaults: three total attempts and a 30-second total budget; explicit
`no_deadline` is required for unlimited time. Zero attempts is invalid. Backoff arithmetic
saturates at a configured cap before overflow, rejects negative durations/nonfinite
multipliers, and accepts an injected URBG for reproducible jitter. A stop request or
multipliers, and accepts an injected URBG for reproducible jitter; the default engine is seeded from
`std::random_device`. A stop request or
expired admission deadline prevents the next attempt; the policy cannot interrupt an
already-running callback or reverse its side effects. Retryability is a supplied
predicate and retrying writes still requires the caller's idempotency contract.
Retain the synchronous `retry` adapter temporarily, explicitly named as blocking. A
Time-clock/sleeper adapter belongs in a separate Time-dependent header; Async supplies
its own awaiting adapter. This prevents foundational retry code from importing execution.
Retain 1.x `retry`/`retry_while` unchanged, including the zero-attempt default-result
defect (recorded for Wave C). NEW `retry_blocking` takes injected `now`/`sleep` callables,
so Functional stays standard-library-only and no Time-dependent retry header exists.
Async supplies `Async::retry_async` over `TimerQueue`. This prevents foundational retry
code from importing execution (W11 decision D-038).
Memoization becomes per-instance with an explicit key/result signature, default 1,024
entries and FIFO eviction. Recursive calls mark an entry as computing; a repeated key