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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ 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 | |
| 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 | | | |
Expand Down
11 changes: 11 additions & 0 deletions organization/openspec/changes/contributor-identity/.openspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
schema: spec-driven
created: 2026-10-13
webcpp:
library: organization
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
92 changes: 92 additions & 0 deletions organization/openspec/changes/contributor-identity/design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
## Context

The organization's genesis (`changes/archive/2026-10-07-genesis/`) fixed one identity for every
commit of a maintainer and of the maintainer's agents, and the specification
(`specs/organization/spec.md`, "Superproject: Commit identity and form") and the superproject's
`AGENTS.md`, chapter 11, carry it with its address and the command that sets it. External
contributors already commit under their own name and address. The other parts of the rule, the
form of a commit, are what the lint and the reviews rely on.

## Goals / Non-Goals

**Goals:**

- One rule for every contributor: commit under your own git identity.
- Keep every rule about the form of a commit and about personal data in files.
- Remove the fixed address from the rules a contributor reads and runs.

**Non-Goals:**

- 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).

## Decisions

### D1. Each contributor commits under their own identity

A contributor, human or agent, commits under a name and an e-mail address they control; a GitHub
noreply address (`<id>+<login>@users.noreply.github.com`) is allowed and is the suggested choice
for anyone who does not want to publish an address. An agent commits under the identity of the
account it acts for or of its own account, never under another person's.

Rejected: keeping one fixed identity for the maintainer and the maintainer's agents. It cannot be
followed by a second maintainer or by an agent of another account without impersonation, and it
keeps a personal address in the rules.

Rejected: a shared organization identity (such as `webcpp <noreply@webcpp.org>`). It hides who made
a change, which the review and the history need, and the organization has no mailbox behind it.

### D2. The form of a commit is unchanged

No trailer of any kind, explicit paths, a plain subject prefixed by the part it touches, no last
paragraph that starts with `word:`, English, no em dash. These are about the history's
readability and are independent of whose name is on a commit.

### D3. History and recorded material are not rewritten

Existing commits keep their author and committer. Archived proposals, the organization's genesis
reference and the patches recorded under `reference/` of open proposals keep the identity they
were made with: they are records of what was done, and changing them would make them disagree with
the commits they describe. Plans of open proposals that spell the old command are read under the
new rule once it is accepted; each is updated when its own proposal is next revised.

Rejected: a sweep that edits every occurrence of the old address in the repository. It would
rewrite records, touch proposals this change does not own, and gain nothing a reader of the rule
needs.

### D4. No tool checks the author's address

The superproject's tools check no author address (the lint checks only the banned word in each
commit's author, committer and message, and the tests commit under their own throwaway
identities), so the change is to the rules alone.

## Risks / Trade-offs

- [A contributor commits with a machine's default identity, such as an employer's address] ->
`AGENTS.md` tells them to pass their identity explicitly, and the reviewer checks the author of
a pull request's commits.
- [Agents of one account commit under different identities] -> the rule names the account an agent
acts for; the owner may later fix one identity per agent account in that account's own
configuration, outside the repositories.

## Migration Plan

1. Accept this change and merge the superproject's `AGENTS.md` pull request.
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?
47 changes: 47 additions & 0 deletions organization/openspec/changes/contributor-identity/proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Why

The organization's rules fix one personal identity, a name and an e-mail address, for every commit
a maintainer or a maintainer's agent makes, and write that address into the superproject's
`AGENTS.md`, into the organization's specification and into the command every contributor is told
to run. A rule that names one person's address cannot be followed by anyone else without
impersonating them, ties every agent to one mailbox, and keeps personal data in files whose own
rules forbid it. The rule webcpp actually needs is about the form of a commit, not about whose name
is on it: no trailer, explicit paths, a plain English subject.

## What Changes

- The requirement "Superproject: Commit identity and form" is modified: every contributor, human
or agent, maintainer or external, commits under their own git identity, a name and an e-mail
address they control (a GitHub noreply address is allowed). No address is fixed by the rules.
- Everything else of the requirement stays: no trailer of any kind (no `Co-authored-by`, no
`Signed-off-by`, no agent name), explicit paths and never `git add -A`, a plain subject
prefixed by the part it touches, no last paragraph that git reads as a trailer, English, no em
dash. Files still hold no personal data.
- The superproject's `AGENTS.md`, chapter 11 "Identity", is rewritten to the same rule, with a
command that passes the contributor's own identity instead of a fixed one.
- History is not rewritten: existing commits, archived proposals and recorded patches keep the
identity they were made with.

## Capabilities

### New Capabilities

None.

### Modified Capabilities

- `organization`: the requirement "Superproject: Commit identity and form" is modified.

## Impact

- **Kind:** the organization (the superproject's rules and the organization's specification).
- **Implementation:** the superproject's `AGENTS.md`, chapter 11, in a pull request to
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## MODIFIED Requirements

### Requirement: Superproject: Commit identity and form
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 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::`
- **THEN** git would read it as a trailer, so the paragraph is rewritten to start otherwise
18 changes: 18 additions & 0 deletions organization/openspec/changes/contributor-identity/tasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Tasks

## 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`)

## 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

## 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`