Skip to content

CODING-GUIDELINES.md: the rules and every design decision, in one place - #5

Merged
pinhopro merged 5 commits into
mainfrom
coding-guidelines
Oct 27, 2026
Merged

pinhopro merged 5 commits into
mainfrom
coding-guidelines

Conversation

@pinhopro

@pinhopro pinhopro commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The organization's proposal coding-guidelines (webcpporg/proposals, organization/openspec/changes/coding-guidelines), accepted on 2026-10-26.

  • CODING-GUIDELINES.md holds every rule on how code is written and every decision of webcpp's design, each with its reason, in nineteen chapters. Chapters 1 to 13 are AGENTS.md's rules moved word for word, each citation rewritten to the chapter's new home; 14 and 15 gather the organization's and each library's design decisions; 16 to 19 hold the roadmap, the proposals not built and the conflicts still open.
  • AGENTS.md keeps how to work in the tree, in six chapters.
  • CONTRIBUTING.md, README.md, the index page, the five skills and the comments and messages of the Jamroot and the tools cite the new chapters. No behaviour changes.
  • libs/trystero moves to trystero: AGENTS.md sends the reader to the superproject's coding guidelines trystero#2, which fixes what this CI found in trystero and predates this change: three parameters the lint reports against libstdc++, and the allocation test on MSVC.
  • The other libraries and the site move to their merged changes in a pull request of their own, once their CI, which reads this superproject's main, is green: config#1, xactor#1, xstate#1, pratt#1, wasi#1, idna#2, lexical#1, document#1 and webcpporg.github.io#2.

Locally, on macOS: lint: clean (clang-tidy over 342 translation units), every tools/**/*_test.py (32 of 32) and b2 -a doc.

🤖 Generated with Claude Code

R added 5 commits October 26, 2026 11:42
The organization's proposal coding-guidelines, accepted on 2026-10-26.
CODING-GUIDELINES.md holds every rule on how code is written and every
decision of webcpp's design, each with its reason, in nineteen chapters.
Chapters 1 to 13 are AGENTS.md's rules moved word for word, each citation
rewritten to the chapter's new home. Chapters 14 and 15 gather the
organization's and each library's design decisions; 16 to 19 hold the
roadmap, the proposals not built and the conflicts still open. AGENTS.md
keeps how to work in the tree, in six chapters.
…guidelines

Each rule they summarise or point to now lives in CODING-GUIDELINES.md, and
how to work in the tree in AGENTS.md: every citation names the file and the
chapter that hold it.
The lint's changelog rule, the release tooling and the comments of the
Jamroot and the tests cite the chapter of AGENTS.md or CODING-GUIDELINES.md
that now holds what they name. No behaviour changes.
The CI's lint, which reads libstdc++ on Linux, reports three parameters of
trystero's headers that are moved into std::allocate_shared as used only as
const references. trystero exempts them as it already exempts app::make's,
which this commit records, with its AGENTS.md pointing to the coding
guidelines.
…more

trystero's memory backend takes its queue's nodes from the channel's
resource, which MSVC's std::list allocates a sentinel of even when empty,
and its allocation test checks its resources once its own objects are
gone, which MSVC's debug containers hold iterator proxies of. Both MSVC
lanes failed trystero/allocation on what the test itself made.
@pinhopro
pinhopro merged commit 9b4fa4e into main Oct 27, 2026
47 checks passed
@pinhopro
pinhopro deleted the coding-guidelines branch November 8, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant