-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdip-proposal.json
More file actions
310 lines (310 loc) · 9.33 KB
/
dip-proposal.json
File metadata and controls
310 lines (310 loc) · 9.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://destin-protocol.org/schemas/dip-proposal.json",
"title": "DESTIN Improvement Proposal (DIP)",
"description": "Schema for DESTIN Improvement Proposals that govern protocol evolution",
"type": "object",
"version": "0.1.0",
"required": [
"dip_id",
"title",
"rationale",
"proposed_changes",
"impact_analysis",
"author",
"timestamp"
],
"properties": {
"dip_id": {
"type": "string",
"description": "Unique identifier for the DIP",
"pattern": "^dip-[0-9]{4}$",
"examples": ["dip-0001", "dip-0042"]
},
"title": {
"type": "string",
"description": "Short, descriptive title for the proposal",
"maxLength": 200,
"examples": [
"Add New Domain Tag for Healthcare",
"Modify ARF Decay Function"
]
},
"rationale": {
"type": "string",
"description": "Clear explanation of why this change is needed",
"maxLength": 5000
},
"proposed_changes": {
"type": "array",
"description": "Specific changes being proposed",
"items": {
"type": "object",
"required": ["component", "change_type", "description"],
"properties": {
"component": {
"type": "string",
"description": "Protocol component being modified",
"enum": [
"arf",
"dwip",
"cadm",
"domain_tags",
"governance",
"ledger",
"identity",
"interoperability"
]
},
"change_type": {
"type": "string",
"description": "Type of change being made",
"enum": ["addition", "modification", "removal", "deprecation"]
},
"description": {
"type": "string",
"description": "Detailed description of the change"
},
"backwards_compatible": {
"type": "boolean",
"description": "Whether this change is backwards compatible"
},
"migration_required": {
"type": "boolean",
"description": "Whether existing implementations need migration"
}
},
"additionalProperties": false
},
"minItems": 1
},
"impact_analysis": {
"type": "object",
"description": "Analysis of the proposed changes' impact",
"required": ["arf_impact", "dwip_impact", "cadm_impact"],
"properties": {
"arf_impact": {
"type": "string",
"description": "Impact on Adaptive Reputation Fabric",
"enum": ["none", "low", "medium", "high", "critical"]
},
"dwip_impact": {
"type": "string",
"description": "Impact on Domain-Weighted Influence Protocol",
"enum": ["none", "low", "medium", "high", "critical"]
},
"cadm_impact": {
"type": "string",
"description": "Impact on Context-Aware Dialogue Modes",
"enum": ["none", "low", "medium", "high", "critical"]
},
"manipulation_surface": {
"type": "string",
"description": "Assessment of new manipulation vectors",
"enum": ["none", "low", "medium", "high", "critical"]
},
"scoring_recalibration": {
"type": "boolean",
"description": "Whether existing scores need recalibration"
},
"interoperability_impact": {
"type": "string",
"description": "Impact on cross-system interoperability",
"enum": ["none", "low", "medium", "high", "critical"]
}
},
"additionalProperties": false
},
"author": {
"type": "string",
"description": "DID of the proposal author",
"pattern": "^did:[a-z]+:[a-zA-Z0-9._-]+$"
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when the DIP was submitted"
},
"status": {
"type": "string",
"description": "Current status of the DIP",
"enum": [
"draft",
"proposed",
"active",
"accepted",
"rejected",
"superseded"
],
"default": "draft"
},
"simulation_results": {
"type": "object",
"description": "Results from simulation or testing",
"properties": {
"simulated": {
"type": "boolean",
"description": "Whether the proposal was simulated"
},
"test_environment": {
"type": "string",
"description": "Description of test environment used"
},
"performance_impact": {
"type": "string",
"description": "Performance impact assessment",
"enum": ["none", "low", "medium", "high"]
},
"security_analysis": {
"type": "string",
"description": "Security analysis results"
}
},
"additionalProperties": false
},
"reference_implementation": {
"type": "object",
"description": "Optional reference implementation details",
"properties": {
"repository_url": {
"type": "string",
"format": "uri",
"description": "URL to reference implementation repository"
},
"branch": {
"type": "string",
"description": "Branch containing the implementation"
},
"test_coverage": {
"type": "number",
"minimum": 0.0,
"maximum": 1.0,
"description": "Test coverage percentage"
}
},
"additionalProperties": false
},
"governance_compliance": {
"type": "object",
"description": "Compliance with governance requirements",
"properties": {
"retention_impact": {
"type": "string",
"description": "Impact on data retention requirements",
"enum": ["none", "low", "medium", "high"]
},
"ledger_impact": {
"type": "string",
"description": "Impact on ledger architecture",
"enum": ["none", "low", "medium", "high"]
},
"audit_impact": {
"type": "string",
"description": "Impact on auditability requirements",
"enum": ["none", "low", "medium", "high"]
}
},
"additionalProperties": false
},
"voting_results": {
"type": "object",
"description": "Results from council voting",
"properties": {
"total_votes": {
"type": "integer",
"minimum": 0,
"description": "Total number of votes cast"
},
"approve_votes": {
"type": "integer",
"minimum": 0,
"description": "Number of approve votes"
},
"reject_votes": {
"type": "integer",
"minimum": 0,
"description": "Number of reject votes"
},
"abstain_votes": {
"type": "integer",
"minimum": 0,
"description": "Number of abstain votes"
},
"quorum_reached": {
"type": "boolean",
"description": "Whether voting quorum was reached"
},
"final_decision": {
"type": "string",
"enum": ["approved", "rejected", "pending", "deferred"]
},
"decision_timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp when decision was made"
}
},
"additionalProperties": false
},
"activation_window": {
"type": "object",
"description": "Timeline for DIP activation",
"properties": {
"proposed_activation": {
"type": "string",
"format": "date-time",
"description": "Proposed activation date"
},
"actual_activation": {
"type": ["string", "null"],
"format": "date-time",
"description": "Actual activation date (null if not yet activated)"
},
"deprecation_notice_days": {
"type": "integer",
"minimum": 0,
"description": "Days of notice before deprecation"
}
},
"additionalProperties": false
},
"metadata": {
"type": "object",
"description": "Additional proposal metadata",
"additionalProperties": true
}
},
"additionalProperties": false,
"examples": [
{
"dip_id": "dip-0001",
"title": "Add Healthcare Domain Tag",
"rationale": "Healthcare applications require specialized scoring and dialogue modes for patient safety and regulatory compliance.",
"proposed_changes": [
{
"component": "domain_tags",
"change_type": "addition",
"description": "Add 'healthcare' domain tag with resolution mode and high accuracy weighting",
"backwards_compatible": true,
"migration_required": false
}
],
"impact_analysis": {
"arf_impact": "low",
"dwip_impact": "low",
"cadm_impact": "none",
"manipulation_surface": "low",
"scoring_recalibration": false,
"interoperability_impact": "none"
},
"author": "did:peer:healthcare-advocate",
"timestamp": "2025-07-01T12:00:00Z",
"status": "proposed",
"governance_compliance": {
"retention_impact": "low",
"ledger_impact": "none",
"audit_impact": "low"
}
}
]
}