diff --git a/README.md b/README.md index 744984f..f65dd6e 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ tag is placed. | wasi | [genesis](libraries/wasi/openspec/changes/archive/2026-10-08-genesis) | wasi: the HTTP handler a WebAssembly component exports, for C++ on wasip2 and wasip3 | own | implemented | 0.1.0 | 2026-10-08 | [code](https://github.com/webcpporg/wasi/tree/6e3c529) | | wasi | [redesign](libraries/wasi/openspec/changes/redesign) | wasi: one namespace per WASI version, one entry point, target features and run scripts | own | accepted | | 2026-10-09 | | | wasi | [wasm-bindgen](libraries/wasi/openspec/changes/wasm-bindgen) | wasm: evolve wasi into WebAssembly integration and generate C++ bindings | own | accepted | | 2026-11-03 | [code](https://github.com/webcpporg/wasi) | -| webrtc | [genesis](libraries/webrtc/openspec/changes/genesis) | webrtc: the W3C WebRTC API in Asio's model, native and in the browser | own | proposed | | | | +| webrtc | [genesis](libraries/webrtc/openspec/changes/genesis) | webrtc: the W3C WebRTC API in Asio's model, native and in the browser | own | accepted | | 2026-11-14 | | | xactor | [genesis](libraries/xactor/openspec/changes/archive/2026-10-07-genesis) | xactor: a deterministic actor system for C++20 | own | implemented | 0.1.0 | 2026-10-07 | [code](https://github.com/webcpporg/xactor/tree/62f3e77) | | xstate | [genesis](libraries/xstate/openspec/changes/archive/2026-10-07-genesis) | xstate: XState's state machines and actors for C++20 | port of XState 5.33.2 (TypeScript, MIT) | implemented | 0.1.0 | 2026-10-07 | [code](https://github.com/webcpporg/xstate/tree/5299db2) | diff --git a/libraries/webrtc/openspec/changes/genesis/.openspec.yaml b/libraries/webrtc/openspec/changes/genesis/.openspec.yaml index 164d07b..645edc7 100644 --- a/libraries/webrtc/openspec/changes/genesis/.openspec.yaml +++ b/libraries/webrtc/openspec/changes/genesis/.openspec.yaml @@ -5,7 +5,7 @@ webcpp: title: "webrtc: the W3C WebRTC API in Asio's model, native and in the browser" kind: own port_of: null - status: proposed + status: accepted release: null implementation: null - decided: null + decided: 2026-11-14 diff --git a/libraries/webrtc/openspec/changes/genesis/proposal.md b/libraries/webrtc/openspec/changes/genesis/proposal.md index 6a4a4eb..5ece25c 100644 --- a/libraries/webrtc/openspec/changes/genesis/proposal.md +++ b/libraries/webrtc/openspec/changes/genesis/proposal.md @@ -82,7 +82,7 @@ None. against the same OpenSSL as Asio and Beast, with `threading=multi`; the browser's `RTCPeerConnection` and `RTCDataChannel` on Emscripten. It knows nothing of xactor or of webcpp::beast. -- **Status:** proposed, for its public discussion on the pull request; no release; not decided. +- **Status:** accepted by the owner on 2026-11-14 (`decided`); no release; not built. - **Other proposals:** depends on webcpp::asio's genesis (`libraries/asio`, implementing) for the executors and the browser bridge, and follows webcpp::beast's genesis (`libraries/beast`) in its browser patterns; webcpp::beast may later use a byte stream of this library (beast's D6). diff --git a/libraries/webrtc/openspec/changes/genesis/reference/STATUS.md b/libraries/webrtc/openspec/changes/genesis/reference/STATUS.md index b6fc850..484d1f6 100644 --- a/libraries/webrtc/openspec/changes/genesis/reference/STATUS.md +++ b/libraries/webrtc/openspec/changes/genesis/reference/STATUS.md @@ -1,8 +1,9 @@ # webcpp::webrtc: where the proposal stands, and how to resume Written 2026-11-14, when the draft of 2026-10-13 was brought up to date and given its plan and -its reference code, and proposed the same day (tasks.md 0.8): its status is `proposed`, for its -public discussion on webcpporg/proposals#12 and the maintainers' decision. +its reference code. It was proposed the same day on webcpporg/proposals#12 (tasks.md 0.8), and +the owner accepted it that day: its status is `accepted`, with `decided: 2026-11-14` and +`release: null`. ## What exists @@ -68,16 +69,16 @@ trystero `e9326e9`, libdatachannel `6b1e2e6`, OpenSSL `45e844f`), with `source/` - tasks.md 1.11: the C API's cost on receipt, measured against the C++ API's `receive()`. - tasks.md 1.12: the documentation (the library's page, Doc Comments checked by MrDocs). - tasks.md 1.13: the repository `webcpporg/webrtc` from one import commit of `source/`, the - superproject's change (submodule, CI lanes, the libdatachannel target's threading message, which - names trystero, worded for every consumer; webrtc moved from chapter 18 to chapter 15 of - `CODING-GUIDELINES.md`), the whole lint, the review. + superproject's change (submodule, CI lanes; webrtc moved from chapter 17 to chapter 15 of + `CODING-GUIDELINES.md`), the whole lint, the review. The libdatachannel target's refusal of + `threading=single` already names libdatachannel's own threads, for every consumer + (webcpporg/webcpp#15, merged 2026-11-14). - Increments 2 and 3 (tasks.md groups 2 and 3). -- The superproject's `CODING-GUIDELINES.md` chapter 18 still summarizes the draft of 2026-10-13 - (the stale WASI reason, libdatachannel found through `-sLIBDATACHANNEL_ROOT`, the open - questions on the licence and on the message without exceptions): it is updated with this - revision, in the superproject. - Open questions O1 to O3 (design.md). +The superproject's `CODING-GUIDELINES.md` summarizes this revision since webcpporg/webcpp#15; +webcpporg/webcpp#16 moves it from chapter 18 to chapter 17, accepted and not built. + ## How to resume 1. Read `../design.md` whole, then `plan.md` and `../tasks.md`; `spec.md` only for history. @@ -86,5 +87,5 @@ trystero `e9326e9`, libdatachannel `6b1e2e6`, OpenSSL `45e844f`), with `source/` `.local/` as the superproject's `AGENTS.md` chapter 1 says; link this `source/` as `libs/webrtc`. 3. Run the commands above; expect the same 25 passes. -4. Go on with tasks.md 1.11, then 1.12 and 1.13 once the owner accepts the proposal and creates - the repository; then increment 2, then trystero's change. +4. Go on with tasks.md 1.11, then 1.12 and 1.13 once the owner creates the repository (the + proposal is accepted); then increment 2, then trystero's change. diff --git a/libraries/webrtc/openspec/changes/genesis/reference/plan.md b/libraries/webrtc/openspec/changes/genesis/reference/plan.md index 8fad677..edfa46b 100644 --- a/libraries/webrtc/openspec/changes/genesis/reference/plan.md +++ b/libraries/webrtc/openspec/changes/genesis/reference/plan.md @@ -332,8 +332,9 @@ runtime's precondition (D6); exceptions (D4); allocation and what is outside the headers-alone units, with and without exceptions (`STATUS.md` says how it was run); the whole lint, `tools/lint/lint.sh`, runs once the library is a submodule. 2. The superproject's change: register `libs/webrtc` (`.gitmodules`, `meta`, the CI's lanes), - word `third_party`'s libdatachannel refusal of `threading=single` for every consumer, not for - trystero alone, and move webrtc from chapter 18 to chapter 15 of `CODING-GUIDELINES.md`. + and move webrtc from chapter 17 to chapter 15 of `CODING-GUIDELINES.md`. `third_party`'s + libdatachannel refusal of `threading=single` is already worded for every consumer, not for + trystero alone (webcpporg/webcpp#15). 3. The review of the increment, then the owner's merge. ## Increment 2: the browser implementation and the interop lane diff --git a/libraries/webrtc/openspec/changes/genesis/tasks.md b/libraries/webrtc/openspec/changes/genesis/tasks.md index 24a8cdf..19bd976 100644 --- a/libraries/webrtc/openspec/changes/genesis/tasks.md +++ b/libraries/webrtc/openspec/changes/genesis/tasks.md @@ -13,7 +13,7 @@ increment is done in `reference/source/`, built and tested as `reference/STATUS. - [x] 0.5 The draft specification, with the owner's decisions of 2026-10-10 and the controller's rulings on the review (section 2), done 2026-10-10 (`reference/spec.md`) - [x] 0.6 The review's answers: no zero-copy receive for now, and separate event operations with the policies of section 5.2 (section 10), done 2026-10-10 - [x] 0.7 Record the owner's decision that webcpp::webrtc stays a library of its own on webcpp::asio, not a part of webcpp::beast, with its reasons (design.md, D1), done 2026-11-14 -- [x] 0.8 Propose: the status `proposed`, the pull request, the public discussion (the owner's), done 2026-11-14 on webcpporg/proposals#12, where the discussion is held +- [x] 0.8 Propose: the status `proposed`, the pull request, the public discussion (the owner's), done 2026-11-14 on webcpporg/proposals#12, and the owner accepted the proposal the same day ## 1. Increment 1: the interface, the `runtime` and the native implementation @@ -29,7 +29,7 @@ increment is done in `reference/source/`, built and tested as `reference/STATUS. - [x] 1.10 Measure whether a never-read native channel stalls the connection's other channels: it does, and destroying it releases them; pinned by `test/stall_test.cpp` (plan: Task 1.10) - [ ] 1.11 Measure the C API's cost on receipt against the C++ API's `receive()`, and state the ratio in the documentation (plan: Task 1.11) - [ ] 1.12 Documentation: the library's page, libdatachannel's justification and licence, the table of differences, the cancellation and error tables, Doc Comments checked by MrDocs, examples (plan: Task 1.12) -- [ ] 1.13 The repository `webcpporg/webrtc` from one import commit, the superproject's change (submodule, lanes, the libdatachannel target's message, chapter 15), the whole lint, the lanes of a native-only increment, the review (plan: Task 1.13) +- [ ] 1.13 The repository `webcpporg/webrtc` from one import commit, the superproject's change (submodule, lanes, chapter 15; the libdatachannel target's message is already worded for every consumer, webcpporg/webcpp#15), the whole lint, the lanes of a native-only increment, the review (plan: Task 1.13) ## 2. Increment 2: the browser implementation and the interop lane