Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ identity they publish under, and holds no private data.
the release it entered, when it is merged into the superproject and released. The maintainers
then archive it, which writes the library's specification under `specs/`.

## Commit identity in older plans

Every contributor follows the current superproject `AGENTS.md`, chapter 11, using the identity
of the account they act for or their own account. An older plan's fixed identity is historical
context, not an instruction to impersonate its author. Update that command when the open proposal
is next revised. Existing commits, archived proposals and recorded patches keep their original
identity; no bulk rewrite is required.

## Grants and the DAO

webcpp funds work through grants governed by its members. The governance, its rules and the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ libraries marked with it are published, in the superproject's `main`.
| Library | Proposal | Title | Kind | Status | Release | Decided | Implementation |
| --- | --- | --- | --- | --- | --- | --- | --- |
| organization | [genesis](organization/openspec/changes/archive/2026-10-07-genesis) | organization: the superproject, its build, its rules, its CI and its site | organization | implemented | 0.1.0 | 2026-10-07 | [code](https://github.com/webcpporg/webcpp/tree/c53f3f9) |
| organization | [contributor-identity](organization/openspec/changes/contributor-identity) | organization: every contributor commits under their own git identity | organization | draft | | | [code](https://github.com/webcpporg/webcpp) |
| organization | [site-increments-4-5](organization/openspec/changes/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 | [agent-skills](organization/openspec/changes/archive/2026-10-13-agent-skills) | organization: agent skills in .agents/skills, in the proposals and the superproject | organization | implemented | 0.1.0 | 2026-10-13 | [code](https://github.com/webcpporg/webcpp/tree/5a441c1e90c5b242cf55c351edf6c79c37ef1f8d) |
| organization | [contributor-identity](organization/openspec/changes/archive/2026-10-13-contributor-identity) | organization: every contributor commits under their own git identity | organization | implemented | 0.1.0 | 2026-10-13 | [code](https://github.com/webcpporg/webcpp/tree/9a268b7efa8a9b7eab8810bc024486288c689fab) |
| asio | [genesis](libraries/asio/openspec/changes/genesis) | asio: Boost.Asio natively, the browser's event loop on Emscripten | wrapper | implementing | | 2026-10-11 | |
| beast | [genesis](libraries/beast/openspec/changes/genesis) | beast: Boost.Beast natively, the browser's WebSocket and fetch on Emscripten | wrapper | draft | | | |
| config | [genesis](libraries/config/openspec/changes/archive/2026-10-09-genesis) | config: webcpp's configuration, the target, exceptions and version every library includes first | own | implemented | 0.1.0 | 2026-10-09 | [code](https://github.com/webcpporg/config/tree/2fad162) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ webcpp:
title: "organization: every contributor commits under their own git identity"
kind: organization
port_of: null
status: draft
release: null
implementation: https://github.com/webcpporg/webcpp
decided: null
status: implemented
release: "0.1.0"
implementation: https://github.com/webcpporg/webcpp/tree/9a268b7efa8a9b7eab8810bc024486288c689fab
decided: 2026-10-13
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ form of a commit, are what the lint and the reviews rely on.

- Rewriting history: no commit is amended, rebased or re-signed, and no archived proposal or
recorded patch is edited.
- Changing `meta/libraries.json`'s `authors` and `maintainers` (open question O2).
- Requiring signed commits (open question O3).
- Changing `meta/libraries.json`'s `authors` and `maintainers` (O2 below).
- Requiring signed commits (O3 below).

## Decisions

Expand Down Expand Up @@ -77,16 +77,28 @@ identities), so the change is to the rules alone.
2. From then on, every new commit follows the new rule; nothing else is migrated.
3. On archive, the requirement's new text replaces the old one in `specs/organization/spec.md`.

## Open Questions

- **O1.** Should the old address stay mentioned anywhere in the current rules, for instance as the
identity of the existing history? This proposal says no: the history shows it, the rules need
not.
- **O2.** `meta/libraries.json` names `authors` `["R"]` and a maintainer address in every library,
and the specification requires it. Should the maintainer field keep a personal address, take a
noreply or organization address, or name a GitHub login? A separate change, since it touches
every library.
- **O3.** Should commits to webcpporg repositories be signed (`git commit -S`, or GitHub's
vigilant mode)? Not required by this change.
- **O4.** Should the CI check that a pull request's commits carry no trailer, which today only the
reviewer checks?
## Archival decisions

Recorded on 2026-10-13 when the owner requested verification and archival if implemented,
without running CI. These decisions preserve the scope already merged in webcpp PR #1;
they do not introduce new implementation requirements.

- **O1. No fixed address in the current commit rule.** The merged chapter 11 uses placeholders
and each contributor's own identity. History, archived material and recorded patches retain
their original identity as D3 requires. A maintainer contact in library metadata is a different
concern, addressed by O2.
- **O2. Library metadata remains outside this change.** Keep `authors` and `maintainers` as they
are. Changing contact fields across libraries would need a separate proposal; this archive
makes no new choice of personal, noreply or organization contact.
- **O3. No signing requirement is introduced.** The merged rule does not require signed commits.
No GitHub settings are changed by this proposal.
- **O4. No new CI check.** Commit form remains a review responsibility. Adding enforcement of
the no-trailer rule is outside this documentation change. Existing lint behavior is unchanged,
and no CI is executed for this archive, as the owner requested.

## Migration completion

D3 is the ongoing policy, not a bulk migration gate: an open proposal's old command is read
under the current rulebook and is updated when that proposal is next revised. This policy is
now also recorded in `CONTRIBUTING.md` so it remains visible after archival. No unrelated plan,
archived proposal, recorded patch or existing commit was rewritten.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ None.
https://github.com/webcpporg/webcpp from the branch `contributor-identity`. No tool, lint rule
or workflow checks the author's address, so none changes; the lint's check of the banned word
in every commit's author, committer and message stays.
- **Status:** draft.
- **Other proposals:** the plans of open proposals (`site-increments-4-5`, `asio`, `crypto`,
`json_schema`, `document`) still spell the old command in their reference material; they are
left as written (design D3) and follow the specification once this change is accepted.
`meta/libraries.json`'s `authors` and `maintainers` are not commit identity and are left to
open question O2.
- **Status:** implemented in the 0.1.0 release in preparation; archived on 2026-10-13.
The implementation is merge commit `9a268b7efa8a9b7eab8810bc024486288c689fab`
from https://github.com/webcpporg/webcpp/pull/1; see `reference/STATUS.md`.
- **Other proposals:** older proposal reference material may still spell a fixed identity.
It follows the current specification under design D3. Update commands when an open proposal
is next revised; preserve archived material and recorded patches. `meta/libraries.json`'s
`authors` and `maintainers` are not commit identity and remain outside this change (design O2).
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Contributor identity: implementation and archival evidence

Verified on 2026-10-13 (America/New_York), without executing CI.

## Implementation

- https://github.com/webcpporg/webcpp/pull/1 merged as
`9a268b7efa8a9b7eab8810bc024486288c689fab` on 2026-10-13 local time.
- https://github.com/webcpporg/proposals/pull/1 merged the proposal as
`4ad28c278b8237818c0b6ece59ac7e75723b9ce9` on the same local date.
- The identity rule is unchanged in the fetched webcpp main at
`5a441c1e90c5b242cf55c351edf6c79c37ef1f8d`. `identity-rule.md` preserves its text.
- A search of the current `tools/` and `.github/` found no enforcement of a fixed contributor
address. The matches set throwaway test identities or the site publishing bot's own identity.

## Reproduce the read-only checks

Run from a webcpp checkout containing the published merge commit:

```sh
git show 9a268b7efa8a9b7eab8810bc024486288c689fab:AGENTS.md
git grep -n -E 'user\.email|user\.name|interpret-trailers' 5a441c1e90c5b242cf55c351edf6c79c37ef1f8d -- tools .github
```

Read chapter 11's Identity paragraph: own identity, allowed noreply address, no fixed address,
the placeholder commit command, no trailers and explicit paths are all present. The modified
specification preserves the accidental-trailer scenario and adds the external-contributor case.

## Archive

O1 to O4 are closed within the already merged scope in `../design.md`. D3's ongoing migration
policy is in `CONTRIBUTING.md`; no claim is made that all older plans were rewritten.
The change is implemented for the 0.1.0 release in preparation, consistent with the index;
no release tag is created. The main specification is synchronized and the index regenerated.
Local validation covers all OpenSpec roots, the proposal index and the proposal tool's tests.
The archive commit and merge use `[skip ci]` at the owner's explicit request.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Implemented identity rule

Source: webcpp merge commit `9a268b7efa8a9b7eab8810bc024486288c689fab`, `AGENTS.md`, chapter 11.

- **Identity.** Every contributor, human or agent, maintainer or external,
commits under their own git identity: a name and an e-mail address they
control, of which a GitHub noreply address
(`<id>+<login>@users.noreply.github.com`) is one. An agent commits under
the identity of the account it acts for or of its own account, never under
another person's; these rules fix no address. Either way, with no trailer
of any kind (no `Co-authored-by`, no `Signed-off-by`, no agent name):

```
git -c user.name=<name> -c user.email=<address> commit -- <paths>
```

Stage and commit with explicit paths, never `git add -A`. A subject is
plain: what the change does, prefixed by the part it touches
(`tools/doc: ...`, `xactor: ...`).
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
## 0. The proposal

- [x] 0.1 Write the proposal, the design, the tasks and the modified requirement; validate with `openspec validate --all --strict` and `tools/proposals.py check`
- [ ] 0.2 Settle O1 to O4 of `design.md` with the owner and record the answers in `design.md`
- [ ] 0.3 Submit the proposal for a decision (status `proposed`)
- [x] 0.2 Record O1 to O4 as archival decisions preserving the already merged scope, under the owner's request
- [x] 0.3 Record acceptance through the merged implementation PR and the owner's instruction to archive; the intermediate `proposed` step is superseded

## 1. The superproject

- [x] 1.1 `AGENTS.md`, chapter 11 "Identity": every contributor commits under their own git identity, a noreply address allowed; the command passes the contributor's identity; no trailer, explicit paths, unchanged
- [x] 1.2 Check that no tool, lint rule or workflow checks the author's address (`git grep` of the old address and of `user.email` in `tools/` and `.github/`)
- [ ] 1.3 The superproject's pull request reviewed and merged by the owner
- [x] 1.3 The superproject's pull request reviewed and merged by the owner

## 2. After the decision

- [ ] 2.1 Each open proposal's plan that spells the old command is updated when that proposal is next revised (design D3)
- [ ] 2.2 Archive the change, which writes the modified requirement into `specs/organization/spec.md`
- [x] 2.1 Record D3's ongoing migration policy in `CONTRIBUTING.md`: update old commands when each open proposal is next revised; no bulk rewrite is required
- [x] 2.2 Archive the change, which writes the modified requirement into `specs/organization/spec.md`
13 changes: 9 additions & 4 deletions organization/openspec/specs/organization/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ webcpp is a collection of header-only C++20 libraries for the web, organized as
superproject, `webcpporg/webcpp`, holds each library as a submodule under `libs/<name>`, one build
(b2), one rulebook (`AGENTS.md`), one lint, one documentation toolchain, one CI and one site. This
capability is the organization as built at the superproject's commit `c53f3f9` (`../../changes/archive/2026-10-07-genesis/reference/superproject/`):
with subsequent changes recorded in `../../changes/archive/2026-10-13-agent-skills/`:
with subsequent changes recorded in `../../changes/archive/2026-10-13-agent-skills/`
and `../../changes/archive/2026-10-13-contributor-identity/`:
how it is laid out, how every library is built, tested, linted, documented, released and published,
and what every contributor, human or coding agent, must do. A library's own proposal relies on
these requirements and adds only what is specific to the library.
Expand Down Expand Up @@ -123,11 +124,15 @@ A webcpp library that builds on a C library SHALL bring it in so that the C code
- **THEN** it is byte-identical to one that does not name it, since sections are discarded at link time

### Requirement: Superproject: Commit identity and form
A maintainer's commits, and those of the maintainer's agents, SHALL be made as `R <github.overboard312@passmail.net>` with no trailer of any kind (no `Co-authored-by`, no `Signed-off-by`, no agent name), by `git -c user.name=R -c user.email=github.overboard312@passmail.net commit -- <paths>`; an external contributor commits under their own name and address, also with no trailer. Commits MUST stage explicit paths and never `git add -A`; a subject is plain, says what the change does, and is prefixed by the part it touches (`tools/doc: ...`, `xactor: ...`); a last body paragraph MUST NOT start with `word:` since git reads it as a trailer (`std::` does). Every commit message is English, with no em dash.
Every contributor, human or agent, maintainer or external, SHALL commit under their own git identity: a name and an e-mail address they control, of which a GitHub noreply address (`<id>+<login>@users.noreply.github.com`) is one; an agent commits under the identity of the account it acts for or of its own account, never under another person's, and the rules fix no address. Every commit SHALL carry no trailer of any kind (no `Co-authored-by`, no `Signed-off-by`, no agent name), and is made by `git -c user.name=<name> -c user.email=<address> commit -- <paths>` or with that identity configured. Commits MUST stage explicit paths and never `git add -A`; a subject is plain, says what the change does, and is prefixed by the part it touches (`tools/doc: ...`, `xactor: ...`); a last body paragraph MUST NOT start with `word:` since git reads it as a trailer (`std::` does). Every commit message is English, with no em dash. Existing commits are not rewritten to change their identity.

#### Scenario: A commit by an agent
- **WHEN** an agent commits a change to `tools/lint`
- **THEN** `git log -1 --format='%an %ae'` prints `R github.overboard312@passmail.net` and `git log -1 --format=%B | git interpret-trailers --parse` prints nothing
- **WHEN** an agent acting for an account commits a change to `tools/lint`
- **THEN** `git log -1 --format='%an %ae'` prints the name and address of that account's identity and `git log -1 --format=%B | git interpret-trailers --parse` prints nothing

#### Scenario: A commit by an external contributor
- **WHEN** a contributor commits under their GitHub noreply address
- **THEN** the commit is accepted as to its identity, and is reviewed for its form alone

#### Scenario: An accidental trailer
- **WHEN** the last paragraph of a message starts with `std::`
Expand Down