# AGENTS.md — Coordination Protocol Repository

This repository defines the **Coordination Protocol (`v0.1-draft`)** — an open standard for accountless human-agent coordination — along with its JSON Schemas, non-normative recipes, and black-box conformance runner.

## If You Are an Agent Looking to Use the Protocol Today

Do not build a backend unless the user explicitly asked to implement a new server. Use the live production reference implementation listed in [`implementations.json`](implementations.json):

- **Reference Server:** Sundry (`https://sundry.to`) — zero sign-up or server setup required
- **MCP Endpoint:** `POST https://sundry.to/api/mcp`
- **REST Create:** `POST https://sundry.to/api/mcp/create_board`
- **Live Server Guide:** `https://sundry.to/llms.txt`
- **Single-Fetch Agent Handbook:** [`llms-full.txt`](llms-full.txt) (concise version in [`llms.txt`](llms.txt))
- **MCP Client Configs & Quickstart:** [`examples/mcp-configs/`](examples/mcp-configs/) and [`examples/quickstart.sh`](examples/quickstart.sh)
- **Drop-in Agent Skill:** [`skills/coordination-protocol/SKILL.md`](skills/coordination-protocol/SKILL.md)
- **Claude Code Mirror:** [`CLAUDE.md`](CLAUDE.md)

## If You Are Editing or Implementing the Specification

1. **Keep `SPEC.md` Sections 1–11 vendor-neutral:** Normative rules MUST NOT depend on any single provider or paid tier. Reference Sundry as an example/reference implementation only in non-normative notes (such as Appendix A), `implementations.json`, `server.json`, `README.md`, `examples/`, and `skills/`.
2. **Preserve the four non-negotiable invariants:**
   - Zero accounts for guests.
   - Server-enforced `stage → confirm` (assistants never commit).
   - Two-channel envelope (`assistant_guide` first; `host_note_untrusted` + `note_handling` last; never raw `agent_note`).
   - Projection-enforced privacy (no sealed, aggregate-only, or anonymous values on any surface).
3. **Keep schemas and conformance tests in sync:** Any change to `SPEC.md` MUST update the corresponding schema under `schemas/v0.1/` and add or update a test in `conformance/check.mjs`.
4. **Verify before committing:**
   ```bash
   node conformance/check.mjs https://sundry.to
   ```
