Skip to content
webcpporgPublic

About

The proposals of webcpp: an OpenSpec specification for every library and every change, with its reference code

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

webcpp proposals

Every library of webcpp, and every change to one, begins here as a proposal: an OpenSpec specification with its design, its tasks and the reference code an implementer starts from. The organization's own proposal, organization, says how webcpp is organized and how a library is built inside it; read it before anything else.

CONTRIBUTING.md says how to propose a library or a change, and how a proposal is decided.

Layout

The organization and each library are OpenSpec roots of their own:

organization/openspec/            the superproject, its build, documentation, CI, releases, site
libraries/<name>/openspec/
  specs/<name>/spec.md            the library's specification as implemented
  changes/genesis/                the proposal of a new library, while it is open
  changes/<change>/               a proposal that changes an existing library
  changes/archive/<date>-<id>/    every proposal implemented, rejected or withdrawn

A new library is proposed by its genesis; a change to an existing library is a proposal of its own, beside it. Every proposal holds proposal.md (why, what, impact), design.md (the decisions), tasks.md, specs/<capability>/spec.md (the requirements, each with scenarios), .openspec.yaml (its status and release) and reference/ (the reference code, the original specification and plan, and STATUS.md, where the work stands and how to resume it).

Proposals

The table is written by python3 tools/proposals.py readme from every proposal's .openspec.yaml, and the CI fails when it is not current. Release 0.1.0 is not tagged yet: a proposal marked with it is implemented, in the superproject's main, and enters 0.1.0 when the tag is placed.

Library Proposal Title Kind Status Release Decided Implementation
organization genesis organization: the superproject, its build, its rules, its CI and its site organization implemented 0.1.0 2026-10-07 code
organization site-increments-4-5 organization: the site, increments 4 and 5 (trystero's JavaScript API and the cursors; the state machine, on the server, C++ calls the browser) organization accepted 2026-10-10
organization wasm-tools organization: build and install the wasm bindings generator as a host tool organization accepted 2026-11-03 code
organization agent-skills organization: agent skills in .agents/skills, in the proposals and the superproject organization implemented 0.1.0 2026-10-13 code
organization cobalt-target-names organization: the build names Cobalt's targets only under /webcpp/cobalt organization implemented 0.1.0 2026-11-14 code
organization coding-guidelines organization: CODING-GUIDELINES.md, the single source of the rules and the design decisions organization implemented 0.1.0 2026-10-26 code
organization contributor-identity organization: every contributor commits under their own git identity organization implemented 0.1.0 2026-10-13 code
asio genesis asio: Boost.Asio across native, browsers and WASI wrapper implementing 2026-10-11 code
beast genesis beast: existing Boost.Beast applications on WASIp2, WASIp3 and Emscripten wrapper implementing 2026-11-06 code
cobalt genesis cobalt: existing Boost.Cobalt applications on native, browsers and WASIp2/P3 wrapper implementing 2026-11-06 code
codecs genesis codecs: one contract for turning bytes and values into text and back, one header per format, tokens like Boost.URL own implementing 2026-11-24 code
codecs one-verb codecs: one verb for every library: a value type's formats declared to codecs, the armor's label in its type, over decoding a value in place own implementing 2026-12-02 code
codecs zbase32 codecs: z-base-32, the format of pkarr's and iroh's keys, constant time and streaming, on base32's one implementation own implementing 2026-12-01 code
config genesis config: webcpp's configuration, the target, exceptions and version every library includes first own implemented 0.1.0 2026-10-09 code
config timing-guard config: one DIT timing guard for every webcpp library, moved from crypto and hash, Windows on ARM64 covered own withdrawn 2026-11-24
crypto genesis crypto: authenticated encryption, randomness and secp256k1 over C backends wrapper implementing 2026-10-11 code
crypto backend-concepts crypto: every backend capability an internal concept, the contract of the shipped backends wrapper proposed 2026-11-22
crypto foundation crypto: the cryptographic foundation, every backend in full, one default per family and a browser backend wrapper accepted 2026-11-14
crypto api-gaps crypto: the API gaps of version 0.2 closed, and dudect judged on hosted runners wrapper implementing 2026-11-20 code
crypto data-independent-timing crypto: the library sets arm64's DIT around every cryptographic operation wrapper implementing 2026-11-20 code
crypto formats crypto: one encode and one decode for every key and signature format, the format as a value wrapper implementing 2026-11-22 code
crypto hpke crypto: HPKE (RFC 9180) composed from crypto's own primitives, readable names, the mode from the arguments wrapper implementing 2026-11-23 code
crypto one-verb crypto: codecs' verbs are crypto's: crypto::encode and crypto::decode removed, the check declared to codecs, PEM on a fixed label and decoded in place wrapper implementing 2026-12-02 code
crypto rfc9001-tests crypto: RFC 9001 Appendix A's QUIC packet protection vectors as interop tests, on every AES-GCM backend, no QUIC API wrapper implementing 2026-12-01 code
crypto unified-sign crypto: one sign and verify on every curve, the scheme always named, the key pair contract and four forms of each operation wrapper implementing 2026-11-22 code
crypto uniform-types crypto: typed signatures, typed X25519 keys, and concepts for key pairs, AEADs and boxes wrapper implementing 2026-11-22 code
document genesis document: a JSON document for C++20 that behaves as JavaScript does, in one relocatable image own implemented 0.1.0 2026-10-12 code
hash genesis hash: hashing and key derivation over Boost.Hash2 and C backends wrapper accepted 2026-11-14
hash base58-with-checksum hash: Base58Check registered into codecs, over a double SHA-256 checksum wrapper implementing 2026-11-26 code
hash data-independent-timing hash: the library sets arm64's DIT around every computation on a secret wrapper implementing 2026-11-20 code
hash hkdf-pieces hash: HKDF over input pieces, no cap on every backend and no heap on the synchronous ones, spelled-out names wrapper implementing 2026-11-23 code
idna genesis idna: internationalized domain names for C++20 own implemented 0.1.0 2026-10-09 code
json_schema genesis json_schema: a JSON Schema validator for every dialect own draft
lexical genesis lexical: the lexical forms of JSON Schema's string formats own implemented 0.1.0 2026-10-09 code
lexical strategies lexical: one entry point, strategies and Boost.Regex own draft
pratt genesis pratt: a generic Pratt parser engine for C++20, with a decimal calculator own implemented 0.1.0 2026-10-08 code
secure genesis secure: the side-channel and secret-in-memory primitives crypto, hash and codecs share (DIT guard, erase, secret, constant-time blocks), no algorithm own implementing 2026-11-24 code
trystero genesis trystero: serverless WebRTC rooms, wire compatible with Trystero port of Trystero 0.26.0 implemented 0.1.0 2026-10-09 code
trystero bounded-json-parse trystero: bound the text and the objects a room parses port of Trystero 0.26.0 draft
trystero shared-connection trystero: one connection shared by the rooms of an app port of Trystero 0.26.0 implemented 0.1.0 2026-10-11 code
wasi genesis wasi: the HTTP handler a WebAssembly component exports, for C++ on wasip2 and wasip3 own implemented 0.1.0 2026-10-08 code
wasi redesign wasi: one namespace per WASI version, one entry point, target features and run scripts own accepted 2026-10-09
wasi wasm-bindgen wasm: evolve wasi into WebAssembly integration and generate C++ bindings own accepted 2026-11-03 code
webrtc genesis webrtc: the W3C WebRTC API in Asio's model, native and in the browser own accepted 2026-11-14
xactor genesis xactor: a deterministic actor system for C++20 own implemented 0.1.0 2026-10-07 code
xstate 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

Statuses

Status Meaning
draft The specification is being written; it may lack reference code.
proposed Submitted for a decision, with its reference code.
accepted Accepted; not built yet.
implementing Being built.
implemented Merged into main, in its repository and in the superproject, with the CI green on GitHub; archived.
rejected Decided against; archived.
withdrawn Withdrawn by its author; archived.

Checking the repository

for root in organization libraries/*; do (cd "$root" && openspec validate --all --strict --no-interactive); done
python3 tools/proposals_test.py
python3 tools/proposals.py check

OpenSpec is npm install --global @fission-ai/openspec@1.10.0.

License

Distributed under the Boost Software License, Version 1.0.

About

The proposals of webcpp: an OpenSpec specification for every library and every change, with its reference code

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages