|
1 | | -# Governance — Protocol-Commons |
| 1 | +# COMMANDLAYER GOVERNANCE — CORE PROTOCOLS |
| 2 | +Applies To: Protocol-Commons, Agent-Cards |
| 3 | +Status: v1.0.0 — Stable-Lock |
2 | 4 |
|
3 | | -The CommandLayer Protocol Commons defines the canonical verb and schema layer for agents. |
| 5 | +> This document is **NORMATIVE and ENFORCEABLE**. |
4 | 6 |
|
5 | | -During the v1.0.0 cycle, it operates under a single-maintainer model to ensure stability and correctness of the core language. As adoption grows, stewardship will expand to a small group of trusted maintainers under a transparent proposal and review process. |
| 7 | +--- |
| 8 | + |
| 9 | +## 1. Authority Model |
| 10 | + |
| 11 | +- **Sole Governance Council:** commandlayer.eth |
| 12 | +- Holds exclusive authority over: |
| 13 | + - Approving and publishing normative changes |
| 14 | + - Signing `manifest.json` and checksum sets |
| 15 | + - Updating ENS TXT canonical fields |
| 16 | + - Issuing and locking version releases |
| 17 | + - Revocation and security incident handling |
| 18 | + |
| 19 | +No external party may alter canonical standards without Council approval. |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## 2. Change Classes |
| 24 | + |
| 25 | +| Change Type | Examples | Version Requirement | Logging Requirement | |
| 26 | +|------------|----------|-------------------|--------------------| |
| 27 | +| **Normative** | Schema shapes, `$id` format, ENS TXT rules | Major: `v1 → v2` | `RESOLUTION.md` | |
| 28 | +| **Compatibility-affecting** | Request/receipt structure tightening | Minor: `v1.0 → v1.1` | `RESOLUTION.md` | |
| 29 | +| **Non-behavioral** | Docs, comments, logo | Patch: `v1.0.0 → v1.0.1` | Commit message OK | |
| 30 | + |
| 31 | +No change is valid until **CIDs + checksums** are published and signed. |
6 | 32 |
|
7 | 33 | --- |
8 | 34 |
|
9 | | -## Stewardship |
| 35 | +## 3. Immutability Guarantees |
10 | 36 |
|
11 | | -- **Owner:** commandlayer.eth |
12 | | -- **Maintainer:** CommandLayer Governance Council |
13 | | -- **Contact:** dev@commandlayer.org |
| 37 | +Once published: |
14 | 38 |
|
15 | | -The Commons MUST remain: |
| 39 | +- Version directories MUST NOT mutate |
| 40 | +- `$id` and CID MUST remain stable forever |
| 41 | +- ENS TXT MUST continue to resolve to matching artifacts |
16 | 42 |
|
17 | | -- Neutral — no vendor-specific semantics |
18 | | -- Minimal — only what is required for interoperability |
19 | | -- Strictly versioned |
20 | | -- Immutable once tagged and published |
| 43 | +Violations trigger: |
| 44 | +- Immediate revocation event in `RESOLUTION.md` |
| 45 | +- Replacement version required |
21 | 46 |
|
22 | 47 | --- |
23 | 48 |
|
24 | | -## Change Process |
| 49 | +## 4. Release Requirements |
25 | 50 |
|
26 | | -1. Open an Issue describing the change request |
27 | | -2. Provide justification |
28 | | - - Interoperability need |
29 | | - - Bug fix |
30 | | - - Security correction |
31 | | -3. Update/verifying artifacts: |
32 | | - - Request + receipt schemas validated under strict Ajv |
33 | | - - Checksums regenerated |
34 | | - - Manifest updated |
35 | | -4. Maintainer review + decision |
36 | | -5. Versioned release: |
37 | | - - New tag (e.g., `commons-v1.0.1`) |
38 | | - - New IPFS CID recorded in `SECURITY_PROVENANCE.md` |
| 51 | +Every Protocol-Commons or Agent-Cards release MUST include: |
39 | 52 |
|
40 | | -⚠️ Any change to request/receipt shape or `$id` structure requires a **minor/major** version bump. |
| 53 | +- Validated schemas under **Ajv strict** |
| 54 | +- IPFS CID root pinned and verified |
| 55 | +- Updated manifest with: |
| 56 | + - checksum mappings |
| 57 | + - `$id` integrity |
| 58 | + - version and status fields |
| 59 | +- ENS TXT updates propagated |
| 60 | + |
| 61 | +CI enforcement is mandatory. |
41 | 62 |
|
42 | 63 | --- |
43 | 64 |
|
44 | | -## ENS Binding |
| 65 | +## 5. ENS TXT Enforcement |
45 | 66 |
|
46 | | -Protocol-Commons is responsible ONLY for: |
47 | | -``` |
48 | | -cl.verb |
49 | | -cl.version |
50 | | -cl.schema.request |
51 | | -cl.schema.receipt |
52 | | -cl.cid.schemas |
53 | | -cl.schemas.mirror.ipfs |
54 | | -``` |
| 67 | +Council MUST validate: |
55 | 68 |
|
56 | | -These are **immutable protocol commitments** once published. |
| 69 | +- `cl.verb` matches **implements[0]** |
| 70 | +- `cl.version` matches card `version` |
| 71 | +- All `cl.schema.*` mappings match `$id` values |
| 72 | +- All CID + checksum fields resolve and match |
57 | 73 |
|
58 | | -Updates MUST be approved via governance and logged in `RESOLUTION.md`. |
| 74 | +Any mismatch → **Resolver MUST reject as untrusted** |
59 | 75 |
|
60 | 76 | --- |
61 | 77 |
|
62 | | -## Deprecation |
| 78 | +## 6. Security Oversight |
| 79 | + |
| 80 | +Governance responsibilities include: |
63 | 81 |
|
64 | | -1. Log change in `RESOLUTION.md` |
65 | | -2. Mark deprecated in documentation |
66 | | -3. Preserve for backward compatibility unless removal is a security event |
| 82 | +- Enforcing policies in: |
| 83 | + - `SECURITY.md` |
| 84 | + - `SECURITY_PROVENANCE.md` |
| 85 | +- Revoking compromised artifacts |
| 86 | +- Requiring replacement CID publication |
| 87 | +- Maintaining audit trail in `RESOLUTION.md` |
67 | 88 |
|
68 | | -Deprecation window: **≥90 days** before removal. |
| 89 | +Security reports MUST receive a response within **7 days**. |
69 | 90 |
|
70 | 91 | --- |
71 | 92 |
|
72 | | -## Transparency Artifacts |
| 93 | +## 7. Dispute / Revocation Handling |
| 94 | + |
| 95 | +If an artifact becomes compromised: |
73 | 96 |
|
74 | | -- `POLICY.md` — rules for verbs & schemas |
75 | | -- `SPEC.md` — normative protocol requirements |
76 | | -- `RESOLUTION.md` — lifecycle history |
77 | | -- `SECURITY_PROVENANCE.md` — CIDs & hashes for each release |
| 97 | +1. Record revocation in `RESOLUTION.md` |
| 98 | +2. Mark deprecated or blocked in metadata |
| 99 | +3. Update ENS TXT with appropriate state |
| 100 | +4. Issue a new signed replacement version if viable |
| 101 | + |
| 102 | +Council judgment is final. |
78 | 103 |
|
79 | 104 | --- |
80 | 105 |
|
| 106 | +## 8. Compatibility Claims |
81 | 107 |
|
| 108 | +Software MAY claim: |
82 | 109 |
|
| 110 | +- **Protocol-Commons-Compatible** |
| 111 | +- **Agent-Cards-Compatible** |
83 | 112 |
|
| 113 | +…only if it completely: |
84 | 114 |
|
| 115 | +- Resolves ENS TXT → identity → schemas |
| 116 | +- Validates all artifacts in strict mode |
| 117 | +- Enforces trace and status guarantees |
| 118 | +- Invokes via x402 canonical `entry` URIs |
85 | 119 |
|
| 120 | +False claims are governance violations. |
86 | 121 |
|
| 122 | +--- |
87 | 123 |
|
| 124 | +## 9. Transparency Artifacts |
| 125 | + |
| 126 | +| Doc | Purpose | |
| 127 | +|-----|---------| |
| 128 | +| `SPEC.md` | Normative standard requirements | |
| 129 | +| `POLICY.md` | Publication + correctness rules | |
| 130 | +| `RESOLUTION.md` | Lifecycle + incident log | |
| 131 | +| `SECURITY.md` | Incident intake + expectations | |
| 132 | +| `SECURITY_PROVENANCE.md` | CID + checksum signing | |
| 133 | +| `VERSIONING.md` | Change class mapping | |
| 134 | + |
| 135 | +All MUST be updated atomically with each release. |
| 136 | + |
| 137 | +--- |
88 | 138 |
|
| 139 | +_Last updated: v1.0.0 Stable-Lock_ |
| 140 | +Signed: **commandlayer.eth** |
0 commit comments