GRP 1.0 contract
These requirements define GRP 1.0. It inherits the room, decision,
mechanism, mandate and receipt sections that were frozen as 0.1, and adds
actions, artifacts, exact review, speaking turns and per-request version
negotiation. The inherited documents remain intact.
GRP 1.0 and 0.2
GRP 1.0 is the 0.2 contract under its stable version. Every requirement on
this page applies to both versions; the only differences are the version
strings and the coordination status value a host declares, shown under
Coordination discovery. No operation, field, error
code, authentication rule or receipt format differs.
- A host MAY serve both versions. It MUST answer each request with the highest
version in the caller’s
X-GRP-Accept-Protocollist that it serves:1.0to a caller that lists1.0, and0.2to a caller that lists0.2but not1.0. - A discovery document is negotiated per request in the same way. Its
protocol_versionandmetadata.coordination.versionMUST name the same version as theX-GRP-Protocol-Versionresponse header. Answering a caller that did not list1.0with the0.2document is not a silent downgrade. - A host that answers more than one version SHOULD list them in the discovery
field
protocol_versions_supported(Discovery §2.14). - A client that implements
1.0SHOULD also list0.2, so it keeps working with a host that serves only0.2. - Receipts, mandates and hash chains carry no protocol version. A receipt
issued under
0.1or0.2verifies unchanged under1.0.
Where the rest of this page says 1.0, the same rule holds for 0.2.
What a host may support
Conversation is the base of every room. Decisions, actions, artifacts and speaking turns are each optional, per room and per host:
- A room needs no decision, action or artifact to be complete, and a host that offers only conversation-only rooms is a complete GRP host.
- A host that offers decisions implements them as the Decisions and Mechanisms sections require; nothing on this page relaxes that.
- A host that offers actions, artifacts or speaking turns declares them under Coordination discovery and implements them as Actions and artifacts and Reads, speaking turns and presence require.
- Speaking turns apply only to a room created with the turn-taking conversation policy (Rooms §2.20).
Inherited base and explicit differences
1.0 inherits the 0.1 room, decision, mechanism, mandate and receipt contracts
except for the explicit differences below. Existing decision operations MUST
retain equivalent REST/MCP effects and documented authentication. Existing valid
decision receipts MUST remain verifiable; API negotiation does not rewrite
receipt payloads, mechanism identifiers or signing identities.
- Discovery declares
protocol_version: "1.0"(or"0.2", as negotiated), replacing the0.1version literal. The negotiation rules below apply before dispatch. - Action, artifact, exact-review and speaking-turn operations are defined on REST with participant tokens (see Transport and authentication scope). The contract does not require equivalent MCP tools or mandate-scoped mutations for them.
- A turn-taking room requires a valid speaking grant and a current observation for discuss, ask and option proposals. A host MUST NOT apply that grant to choices or exact reviews, silently bypass it, or enable it in a room that was not created turn-taking.
- An open successor amending a completed group-reviewed action prevents room conclusion until completed or canceled. It does not invalidate earlier receipts.
- Optional expected-revision headers add scoped preconditions. Conversation and room-global observations are distinct; artifact/review/claim fences remain resource-local. See Actions and artifacts.
This is not permission to change other inherited requirements.
Not part of 1.0. A phased foreground policy and the generic working-signal interface are retained experiments on the hosted service at grp.app. They are not supported by this contract, and appearing in a schema does not make them so.
Transport and authentication scope
| Surface | Contract |
|---|---|
| Room, conversation and decision operations | REST and MCP, with equivalent effects and the inherited authentication paths (participant token or mandate, per the room’s auth) |
| Actions, artifacts, exact review, composing and speaking-turn mutations | REST, with a participant token. Mandates do not authorize them |
| Reads of actions, artifacts and turn state | The room’s visibility and authentication rules apply; being able to read is not permission to mutate |
| Receipts | Unchanged. Decision and conclusion receipts only; no receipt attests that tracked work was carried out |
A host MAY expose the REST-only operations through its own MCP adapter as well. The hosted service does, through its account MCP connection (Reference → MCP); that adapter is outside this contract and adds no MCP requirement to it. The published SDK covers selected types and methods for these operations, not the full CLI surface.
Two operations shipped by the grp CLI and the hosted service are not yet in
the contract documents named under Contract documents:
room creation presets
and decision cancellation. The pages that describe
them scope them as hosted-service behavior.
Version negotiation
Discovery and REST room/MCP responses identify the version the host answered
with in X-GRP-Protocol-Version. Clients send the comma-separated versions they
implement in X-GRP-Accept-Protocol, for example 0.1, 0.2, 1.0. This is not a
credential.
A 1.0 host MUST reject a mutating REST request or MCP POST lacking that header,
or any request whose explicit list excludes every version it serves, with HTTP 409 and
error.code: "protocol.version_unsupported" before dispatch. It MUST NOT
interpret missing support as implicit consent or silently downgrade. GET/HEAD
without the header remain readable for diagnosis and receive the host’s
preferred version; OPTIONS remains available.
MCP clients configure the header on their HTTP transport, not as a tool argument.
If the legacy draft A2A adapter is enabled, its POSTs use the same negotiation;
it is not a bypass or a claim of A2A 1.0 support.
A host that implements only 0.1 may ignore the header; clients retain that
legacy path.
The missing-header rule covers the protocol’s room surfaces: the REST room API
and the room MCP catalogs at /mcp and /mcp/host. On the hosted service the
account MCP connection, a host-specific adapter outside this specification,
does not require the header on its requests; it still refuses a request whose
explicit list excludes every served version.
Clients MUST reject unknown discovery versions and MUST NOT retry a refused mutation as an older version or with weaker guards. Discovery checks and a negotiated request serve different purposes: discovery describes capabilities; the request header prevents a changed host version from dispatching an incompatible write. An unrecognized response after an attempted mutation means the outcome needs inspection, not permission to repeat it.
Coordination discovery
The host declares metadata.coordination:
{
"version": "1.0",
"status": "stable",
"profile": "rest-token",
"transports": ["rest"],
"mutation_auth": ["participant_token"],
"mandate_mutations": false,
"mcp_tools": false
}When the negotiated version is 0.2, the same declaration carries
"version": "0.2" and "status": "candidate". That candidate value is a
retained wire label for clients released before 1.0, not a statement about
the contract’s maturity. A 1.0 declaration carries "stable".
Clients MUST refuse a declaration that mixes the two versions, such as protocol
1.0 with coordination version 0.2. The published SDK refuses mixed
versions; it also tolerates "status": "candidate" alongside version 1.0.
This specification does not require a client to refuse that pairing.
The seven keys above are the contract. The hosted service serves six more
capability keys in the same object (actions, artifacts,
exact_artifact_reviews, successors, speaking_turns, foreground); they
are listed with their served values in
Discovery §2.16 and are not yet
part of the contract documents.
The declaration covers actions, artifacts, exact review, successors, composing presence and opt-in speaking turns. Reads follow visibility/auth rules; mutations additionally need an authorized room participant and the applicable resource/role fences. A mandate does not become a participant token. Discovery does not grant a speaking turn or permission to edit.
Unknown or malformed coordination declarations MUST NOT be treated as absent
support and used to disable freshness checks. A host MAY also publish an
experimental_coordination_state block for earlier clients; the versioned
coordination declaration takes precedence. The presence of a declaration is not independent
conformance certification.
Contract documents and checks
docs/reference/openapi/grp-v1.0-coordination.openapi.json is the versioned REST
contract for actions, artifacts, speaking turns, composing and the 1.0 read and
wait envelopes; grp-v0.2-coordination.openapi.json is the same contract with
the 0.2 labels. Each inherits unchanged base operations from the separate
grp-v0.1.openapi.json file and omits the experimental working-signal paths.
Actions and artifacts and
Reads, speaking turns and presence
describe the resource shapes and fences. No universal discussion phase,
auto-approval or convergence rule is introduced.
The conformance core, transport and operator profiles identify only
grp/0.1. --protocol=1.0 --profile=coordination-discovery performs limited
read-only declaration and negotiation checks; --protocol=0.2 runs the same
checks for the earlier label. A report MUST NOT be described as base-transport,
authorization, lifecycle or full 1.0 certification. Operators validate the
lifecycles they support separately; see Conformance and the
upgrade checklist.