Dataset Viewer
Auto-converted to Parquet Duplicate
case
stringlengths
14
27
file
stringlengths
26
40
expect
stringclasses
2 values
schema
stringclasses
1 value
note
stringlengths
23
222
payload
unknown
minimal-task-created
valid/minimal-task-created.json
accept
dcp-message
Only required fields present.
{ "dcp_version": "1.0", "message_id": "msg_min0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x",...
event-only-refs
valid/event-only-refs.json
accept
dcp-message
Event payload satisfied by refs alone.
{ "dcp_version": "1.0", "message_id": "msg_refs001", "message_type": "task.updated", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_refs001", "entity_type": "task", "verb": "updated", "entity_id": "task_x", "refs": [ { "rel": "relates_to", "ref": "tas...
event-only-delta
valid/event-only-delta.json
accept
dcp-message
Event payload satisfied by delta alone.
{ "dcp_version": "1.0", "message_id": "msg_delta01", "message_type": "task.status_changed", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_delta01", "entity_type": "task", "verb": "status_changed", "entity_id": "task_x", "delta": { "status": { "from": "todo",...
unknown-verb-tolerated
valid/unknown-verb-tolerated.json
accept
dcp-message
Unknown verb 'archived' must be tolerated (forward-compat).
{ "dcp_version": "1.0", "message_id": "msg_uverb01", "message_type": "task.archived", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_uverb01", "entity_type": "task", "verb": "archived", "entity_id": "task_x", "refs": [ { "rel": "relates_to", "ref": "p...
unknown-status-tolerated
valid/unknown-status-tolerated.json
accept
dcp-message
Unknown status 'on_hold' must be tolerated (forward-compat).
{ "dcp_version": "1.0", "message_id": "msg_ustat01", "message_type": "task.snapshot", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_ustat01", "entity_type": "task", "verb": "snapshot", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x...
extensions-namespaced
valid/extensions-namespaced.json
accept
dcp-message
Namespaced x- extensions on envelope and entity.
{ "dcp_version": "1.0", "message_id": "msg_ext0001", "message_type": "project.snapshot", "issued_at": "2026-06-29T10:00:00Z", "extensions": { "x-tokonomix": { "council_run_id": "run_123" } }, "body": { "event_id": "evt_ext0001", "entity_type": "project", "verb": "snapshot", "...
envelope-extra-field
invalid/envelope-extra-field.json
reject
dcp-message
Unknown top-level field violates additionalProperties:false on the envelope core.
{ "dcp_version": "1.0", "message_id": "msg_bad0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x",...
envelope-missing-message-id
invalid/envelope-missing-message-id.json
reject
dcp-message
message_id is required.
{ "dcp_version": "1.0", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", "title": "A task", ...
message-type-mismatch
invalid/message-type-mismatch.json
reject
dcp-message
message_type must equal '<entity_type>.<verb>'.
{ "dcp_version": "1.0", "message_id": "msg_mt0001", "message_type": "task.updated", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", ...
event-empty-payload
invalid/event-empty-payload.json
reject
dcp-message
Event must carry at least one of entity/delta/refs.
{ "dcp_version": "1.0", "message_id": "msg_empty01", "message_type": "task.updated", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_empty01", "entity_type": "task", "verb": "updated", "entity_id": "task_x" } }
bad-id-pattern
invalid/bad-id-pattern.json
reject
dcp-message
entity_id must match the opaque id pattern.
{ "dcp_version": "1.0", "message_id": "msg_badid01", "message_type": "task.updated", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_refs001", "entity_type": "task", "verb": "updated", "entity_id": "Task 42", "refs": [ { "rel": "relates_to", "ref": "ta...
non-namespaced-extension
invalid/non-namespaced-extension.json
reject
dcp-message
Extension keys must match '^x-<vendor>$'.
{ "dcp_version": "1.0", "message_id": "msg_ns0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", ...
bad-extension-key
invalid/bad-extension-key.json
reject
dcp-message
Extension key must be lowercase 'x-...'.
{ "dcp_version": "1.0", "message_id": "msg_bk0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", ...
bad-dcp-version
invalid/bad-dcp-version.json
reject
dcp-message
dcp_version must be 'major.minor'.
{ "dcp_version": "1", "message_id": "msg_ver0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", ...
ref-forbidden-rel
invalid/ref-forbidden-rel.json
reject
dcp-message
rel vocabulary is closed; routing/permission verbs like 'approved_by' are forbidden (SRP guard).
{ "dcp_version": "1.0", "message_id": "msg_rel0001", "message_type": "task.updated", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_refs001", "entity_type": "task", "verb": "updated", "entity_id": "task_x", "refs": [ { "rel": "approved_by", "ref": "us...
delta-nested-object
invalid/delta-nested-object.json
reject
dcp-message
delta leaf values must be scalar or null; nested objects are rejected.
{ "dcp_version": "1.0", "message_id": "msg_dn0001", "message_type": "task.status_changed", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_delta01", "entity_type": "task", "verb": "status_changed", "entity_id": "task_x", "delta": { "meta": { "to": { ...
timestamp-with-offset
invalid/timestamp-with-offset.json
reject
dcp-message
Timestamps must be UTC with a trailing 'Z'.
{ "dcp_version": "1.0", "message_id": "msg_ts0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00+02:00", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project...
entity-shape-violation
invalid/entity-shape-violation.json
reject
dcp-message
A task snapshot missing 'title' must be rejected (conditional entity dispatch).
{ "dcp_version": "1.0", "message_id": "msg_es0001", "message_type": "task.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", ...
unknown-entity-type
invalid/unknown-entity-type.json
reject
dcp-message
entity_type is a closed enum of the eight v1 nouns.
{ "dcp_version": "1.0", "message_id": "msg_uet0001", "message_type": "epic.created", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_uet0001", "entity_type": "epic", "verb": "created", "entity_id": "epic_x", "refs": [ { "rel": "relates_to", "ref": "pro...
message-type-no-dot
invalid/message-type-no-dot.json
reject
dcp-message
message_type must be '<entity>.<verb>'.
{ "dcp_version": "1.0", "message_id": "msg_nd0001", "message_type": "taskcreated", "issued_at": "2026-06-29T10:00:00Z", "body": { "event_id": "evt_min0001", "entity_type": "task", "verb": "created", "entity_id": "task_x", "entity": { "id": "task_x", "project_id": "project_x", ...
job-requeued-same-entity
valid/job-requeued-same-entity.json
accept
dcp-message
Job-lifecycle (x-agentsweaver): open verb 'requeued' on a stable entity_id; delta status leased->open is a retry (lease expiry or operator retry), ordered by the emitter-maintained monotonic x-agentsweaver.attempt counter.
{ "dcp_version": "1.0", "message_id": "msg_aw_01JZK0007", "message_type": "task.requeued", "issued_at": "2026-07-03T06:34:00Z", "correlation_id": "msg_aw_01JZK0000", "body": { "event_id": "evt_aw_01JZK0007", "entity_type": "task", "verb": "requeued", "entity_id": "task_awjob_8b2d1a", "pr...
job-mismatch-open-verb
invalid/job-mismatch-open-verb.json
reject
dcp-message
message_type/body.verb mismatch on an OPEN verb (task.leased vs assigned) — the 4.1 rule applies beyond the controlled vocabulary.
{ "dcp_version": "1.0", "message_id": "msg_aw_bad_0001", "message_type": "task.leased", "issued_at": "2026-07-03T06:21:00Z", "body": { "event_id": "evt_aw_bad_0001", "entity_type": "task", "verb": "assigned", "entity_id": "task_awjob_7f3a9c", "delta": { "status": { "to": "lea...
job-lease-field-toplevel
invalid/job-lease-field-toplevel.json
reject
dcp-message
Rail mechanics (fence_token) as a top-level Event field instead of inside x-<vendor> extensions — additionalProperties:false rejects.
{ "dcp_version": "1.0", "message_id": "msg_aw_bad_0002", "message_type": "task.leased", "issued_at": "2026-07-03T06:21:00Z", "body": { "event_id": "evt_aw_bad_0002", "entity_type": "task", "verb": "leased", "entity_id": "task_awjob_7f3a9c", "fence_token": 1041, "delta": { "status...
job-extension-no-prefix
invalid/job-extension-no-prefix.json
reject
dcp-message
Extension key without the x- prefix.
{ "dcp_version": "1.0", "message_id": "msg_aw_bad_0003", "message_type": "task.leased", "issued_at": "2026-07-03T06:21:00Z", "body": { "event_id": "evt_aw_bad_0003", "entity_type": "task", "verb": "leased", "entity_id": "task_awjob_7f3a9c", "delta": { "status": { "to": "lease...
job-delta-nested-object
invalid/job-delta-nested-object.json
reject
dcp-message
Delta leaf must be scalar or null; nested object rejected (job-lifecycle variant of the existing rule).
{ "dcp_version": "1.0", "message_id": "msg_aw_bad_0004", "message_type": "task.leased", "issued_at": "2026-07-03T06:21:00Z", "body": { "event_id": "evt_aw_bad_0004", "entity_type": "task", "verb": "leased", "entity_id": "task_awjob_7f3a9c", "delta": { "status": { "from": { ...

DCP v1 Conformance Corpus

The official, language-neutral conformance test corpus of the Development Coordination Protocol (DCP) — an open, vendor-neutral vocabulary for exchanging project-coordination events (a task completed, a decision recorded, a finding raised…) between AI agents and humans.

A DCP implementation, in any language, is conformant when it accepts every accept case and rejects every reject case in this corpus, validating each payload as a DcpMessage against the DCP v1 JSON Schemas (JSON Schema 2020-12) plus the one cross-field rule schemas cannot express: message_type must equal <body.entity_type>.<body.verb> — on conflict, the body wins and the message is malformed.

Contents

  • cases.jsonl — all 25 cases (7 accept / 18 reject), one JSON object per line: case, file, expect (accept/reject), schema, note (what the case probes), and the full payload.
  • corpus/ — the same corpus in its original layout: valid/, invalid/, and manifest.json (the machine-readable case list an implementation iterates).

Quick start

from datasets import load_dataset

cases = load_dataset("DevCoPro/dcp-conformance-corpus", split="train")
for case in cases:
    result = my_validator(case["payload"])          # your implementation
    assert result.ok == (case["expect"] == "accept"), case["case"]

Or language-neutral, straight from the original layout: iterate corpus/manifest.json, validate each file against the schema base https://schemas.devcopro.org/v1/, and compare with expect.

What DCP is (and deliberately is not)

DCP standardizes what changed in a project — over a closed set of 8 coordination entities (Project, Task, Dependency, ArchitectureImpact, Decision, ReviewRequest, Finding, Milestone) with an open verb vocabulary. Its prime directive: "DCP carries no trust; it describes project-state changes only." It never authenticates, routes, plans, schedules, or executes — those belong to other layers, which is exactly why it composes with the rest of the 2026 agent-protocol stack:

  • CloudEvents binding (normative) — a DcpMessage rides unchanged as CE data.
  • A2A community extension — DCP events in an A2A DataPart.
  • MCP connects agents to tools; DCP is the payload vocabulary for the coordination conversation itself.

Links

Citation

@misc{dcp-conformance-corpus,
  title   = {DCP v1 Conformance Corpus},
  author  = {{InterIP Networks}},
  year    = {2026},
  url     = {https://huggingface.co/datasets/DevCoPro/dcp-conformance-corpus},
  note    = {Conformance test corpus for the Development Coordination Protocol v1.0.0-draft}
}

Maintained by Mesut Kalkan (founding maintainer, InterIP Networks). Licensed Apache-2.0, same as the DCP schemas and examples.

Downloads last month
45