docs(wave11): record PREFLIGHT-2 findings and contract amendment R2 (D-040)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 5.5 committed 2026-11-29 18:57:11 +03:00
1 parent a8a9249101
commit 99203ce1f3
5 files changed
+262 -3

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ the explicit path when a backward-compatible downgrade is impossible.
| Core/Functional | Error categories, formatting adapters, foundation dependency cleanup | Existing representations and error chains; minimal consumer with optional packages absent |
| Containers/Memory | Allocator-aware variants and changed invalidation/ownership | Move-only values, allocator lifetime, stable-handle/invalidation examples, old default behavior |
| Data/Binary/Text | Exact integers, checked conversions, Unicode/limit policies | Large identifiers round-trip; overflow errors; old strict signed documents remain accepted/rejected identically |
| Async/IO | Borrowed queued handles and detached work toward structured ownership | Cancellation/parked destruction and explicit join; blocking bridge cannot deadlock its own executor. Recorded W11 changes: `Driver::shutdown_and_join` blocks for in-flight syscalls and joins file workers; `validate_limits` rejects `max_file_queue == 0`; Sync EventBus and Observable/Signal dispatch over snapshots (subscription changes take effect next pass); nested Observable/Signal updates for copyable types are queued FIFO; legacy `parallel_for` waits for all tasks before rethrowing; Async-mode EventBus handler exceptions are counted instead of terminating; legacy `retry` zero-attempt result kept until Wave C |
| Async/IO | Borrowed queued handles and detached work toward structured ownership | Cancellation/parked destruction and explicit join; blocking bridge cannot deadlock its own executor. Recorded W11 changes: `Driver::shutdown_and_join` blocks for in-flight syscalls and joins file workers; `validate_limits` rejects `max_file_queue == 0`; Sync EventBus and Observable/Signal dispatch over snapshots (subscription changes take effect next pass); nested Observable/Signal updates for copyable types are queued FIFO; legacy `parallel_for` waits for all tasks before rethrowing; Async-mode EventBus handler exceptions are counted instead of terminating; legacy `retry` zero-attempt result kept until Wave C; a concurrent `poll_once` caller gets `busy`; `~Driver` on a file worker or inside a poll turn terminates with a diagnostic |
| Net | Secure TLS defaults, total deadlines, redirect and streaming/session APIs | Private-CA correct-host tests; wrong-host failure; explicit legacy override if offered; no fallback to insecure mode |
| Service/Plugin | Reference convenience versus owning handles; new C ABI | Acquired old generation survives replacement; C/C++ paths have separate ABI tests and destruction ownership |
| Fsm/Scheduler | Terminal-state consistency and supervised children | Faulted termination, race loser cleanup, state checkpoint restore; no coroutine-frame serialization |
+3 -2
View File
@@ -49,8 +49,9 @@ public:
Async::Executor* executor();
IO::Driver* io();
Result<ShutdownReport> shutdown_blocking(Async::OperationOptions);
Result<ShutdownReport> poll_shutdown(); // non-blocking step
Result<ShutdownReport> shutdown_pumping(Async::ManualExecutor&, Async::OperationOptions);
Result<ShutdownReport> poll_shutdown(Async::OperationOptions); // non-blocking step
Result<ShutdownReport> shutdown_pumping(Async::ManualExecutor&, Async::OperationOptions,
Async::TimerQueue* timers = nullptr);
// No awaited shutdown Task on the host's own executor: it would self-join (D-038).
};
// NEW EmbeddedResources borrows executor, IO driver, Time clock and Memory budget.