@medicine-wheel/community-review 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +117 -0
- package/dist/accountability.d.ts +52 -0
- package/dist/accountability.d.ts.map +1 -0
- package/dist/accountability.js +140 -0
- package/dist/accountability.js.map +1 -0
- package/dist/circle.d.ts +38 -0
- package/dist/circle.d.ts.map +1 -0
- package/dist/circle.js +86 -0
- package/dist/circle.js.map +1 -0
- package/dist/consensus.d.ts +43 -0
- package/dist/consensus.d.ts.map +1 -0
- package/dist/consensus.js +128 -0
- package/dist/consensus.js.map +1 -0
- package/dist/elder.d.ts +30 -0
- package/dist/elder.d.ts.map +1 -0
- package/dist/elder.js +77 -0
- package/dist/elder.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +54 -0
- package/dist/index.js.map +1 -0
- package/dist/outcomes.d.ts +27 -0
- package/dist/outcomes.d.ts.map +1 -0
- package/dist/outcomes.js +76 -0
- package/dist/outcomes.js.map +1 -0
- package/dist/schemas.d.ts +371 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +69 -0
- package/dist/schemas.js.map +1 -0
- package/dist/types.d.ts +108 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +10 -0
- package/dist/types.js.map +1 -0
- package/package.json +44 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @medicine-wheel/community-review — Zod Schemas
|
|
3
|
+
*
|
|
4
|
+
* Runtime validation schemas for community review types.
|
|
5
|
+
* Enforces data integrity at all boundaries.
|
|
6
|
+
*/
|
|
7
|
+
import { z } from 'zod';
|
|
8
|
+
export declare const PersonRoleSchema: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
9
|
+
export declare const ArtifactTypeSchema: z.ZodEnum<["research", "ceremony", "knowledge", "code", "narrative"]>;
|
|
10
|
+
export declare const ReviewCircleStatusSchema: z.ZodEnum<["gathering", "reviewing", "deliberating", "decided"]>;
|
|
11
|
+
export declare const ReviewOutcomeTypeSchema: z.ZodEnum<["approved-with-blessings", "deepen-required", "return-to-circle", "ceremonial-hold", "withdrawn"]>;
|
|
12
|
+
export declare const DirectionNameSchema: z.ZodEnum<["east", "south", "west", "north"]>;
|
|
13
|
+
export declare const ReviewerSchema: z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
role: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
16
|
+
direction: z.ZodOptional<z.ZodEnum<["east", "south", "west", "north"]>>;
|
|
17
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
18
|
+
accountableTo: z.ZodArray<z.ZodString, "many">;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
id: string;
|
|
21
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
22
|
+
accountableTo: string[];
|
|
23
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
24
|
+
voice?: string | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
id: string;
|
|
27
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
28
|
+
accountableTo: string[];
|
|
29
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
30
|
+
voice?: string | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
export declare const TalkingCircleEntrySchema: z.ZodObject<{
|
|
33
|
+
speakerId: z.ZodString;
|
|
34
|
+
role: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
35
|
+
direction: z.ZodOptional<z.ZodEnum<["east", "south", "west", "north"]>>;
|
|
36
|
+
voice: z.ZodString;
|
|
37
|
+
timestamp: z.ZodString;
|
|
38
|
+
inResponseTo: z.ZodOptional<z.ZodString>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
41
|
+
voice: string;
|
|
42
|
+
speakerId: string;
|
|
43
|
+
timestamp: string;
|
|
44
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
45
|
+
inResponseTo?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
48
|
+
voice: string;
|
|
49
|
+
speakerId: string;
|
|
50
|
+
timestamp: string;
|
|
51
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
52
|
+
inResponseTo?: string | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const WilsonCheckSchema: z.ZodObject<{
|
|
55
|
+
respectHonored: z.ZodBoolean;
|
|
56
|
+
reciprocityPresent: z.ZodBoolean;
|
|
57
|
+
responsibilityTaken: z.ZodBoolean;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
respectHonored: boolean;
|
|
60
|
+
reciprocityPresent: boolean;
|
|
61
|
+
responsibilityTaken: boolean;
|
|
62
|
+
}, {
|
|
63
|
+
respectHonored: boolean;
|
|
64
|
+
reciprocityPresent: boolean;
|
|
65
|
+
responsibilityTaken: boolean;
|
|
66
|
+
}>;
|
|
67
|
+
export declare const ReviewOutcomeSchema: z.ZodObject<{
|
|
68
|
+
type: z.ZodEnum<["approved-with-blessings", "deepen-required", "return-to-circle", "ceremonial-hold", "withdrawn"]>;
|
|
69
|
+
consensus: z.ZodBoolean;
|
|
70
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
71
|
+
speakerId: z.ZodString;
|
|
72
|
+
role: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
73
|
+
direction: z.ZodOptional<z.ZodEnum<["east", "south", "west", "north"]>>;
|
|
74
|
+
voice: z.ZodString;
|
|
75
|
+
timestamp: z.ZodString;
|
|
76
|
+
inResponseTo: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
79
|
+
voice: string;
|
|
80
|
+
speakerId: string;
|
|
81
|
+
timestamp: string;
|
|
82
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
83
|
+
inResponseTo?: string | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
86
|
+
voice: string;
|
|
87
|
+
speakerId: string;
|
|
88
|
+
timestamp: string;
|
|
89
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
90
|
+
inResponseTo?: string | undefined;
|
|
91
|
+
}>, "many">;
|
|
92
|
+
wilsonCheck: z.ZodObject<{
|
|
93
|
+
respectHonored: z.ZodBoolean;
|
|
94
|
+
reciprocityPresent: z.ZodBoolean;
|
|
95
|
+
responsibilityTaken: z.ZodBoolean;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
respectHonored: boolean;
|
|
98
|
+
reciprocityPresent: boolean;
|
|
99
|
+
responsibilityTaken: boolean;
|
|
100
|
+
}, {
|
|
101
|
+
respectHonored: boolean;
|
|
102
|
+
reciprocityPresent: boolean;
|
|
103
|
+
responsibilityTaken: boolean;
|
|
104
|
+
}>;
|
|
105
|
+
elderBlessing: z.ZodOptional<z.ZodString>;
|
|
106
|
+
conditions: z.ZodArray<z.ZodString, "many">;
|
|
107
|
+
nextAction: z.ZodString;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
type: "approved-with-blessings" | "deepen-required" | "return-to-circle" | "ceremonial-hold" | "withdrawn";
|
|
110
|
+
consensus: boolean;
|
|
111
|
+
voices: {
|
|
112
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
113
|
+
voice: string;
|
|
114
|
+
speakerId: string;
|
|
115
|
+
timestamp: string;
|
|
116
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
117
|
+
inResponseTo?: string | undefined;
|
|
118
|
+
}[];
|
|
119
|
+
wilsonCheck: {
|
|
120
|
+
respectHonored: boolean;
|
|
121
|
+
reciprocityPresent: boolean;
|
|
122
|
+
responsibilityTaken: boolean;
|
|
123
|
+
};
|
|
124
|
+
conditions: string[];
|
|
125
|
+
nextAction: string;
|
|
126
|
+
elderBlessing?: string | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
type: "approved-with-blessings" | "deepen-required" | "return-to-circle" | "ceremonial-hold" | "withdrawn";
|
|
129
|
+
consensus: boolean;
|
|
130
|
+
voices: {
|
|
131
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
132
|
+
voice: string;
|
|
133
|
+
speakerId: string;
|
|
134
|
+
timestamp: string;
|
|
135
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
136
|
+
inResponseTo?: string | undefined;
|
|
137
|
+
}[];
|
|
138
|
+
wilsonCheck: {
|
|
139
|
+
respectHonored: boolean;
|
|
140
|
+
reciprocityPresent: boolean;
|
|
141
|
+
responsibilityTaken: boolean;
|
|
142
|
+
};
|
|
143
|
+
conditions: string[];
|
|
144
|
+
nextAction: string;
|
|
145
|
+
elderBlessing?: string | undefined;
|
|
146
|
+
}>;
|
|
147
|
+
export declare const ReviewCircleSchema: z.ZodObject<{
|
|
148
|
+
id: z.ZodString;
|
|
149
|
+
artifactId: z.ZodString;
|
|
150
|
+
artifactType: z.ZodEnum<["research", "ceremony", "knowledge", "code", "narrative"]>;
|
|
151
|
+
reviewers: z.ZodArray<z.ZodObject<{
|
|
152
|
+
id: z.ZodString;
|
|
153
|
+
role: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
154
|
+
direction: z.ZodOptional<z.ZodEnum<["east", "south", "west", "north"]>>;
|
|
155
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
156
|
+
accountableTo: z.ZodArray<z.ZodString, "many">;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
id: string;
|
|
159
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
160
|
+
accountableTo: string[];
|
|
161
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
162
|
+
voice?: string | undefined;
|
|
163
|
+
}, {
|
|
164
|
+
id: string;
|
|
165
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
166
|
+
accountableTo: string[];
|
|
167
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
168
|
+
voice?: string | undefined;
|
|
169
|
+
}>, "many">;
|
|
170
|
+
elderValidator: z.ZodOptional<z.ZodString>;
|
|
171
|
+
status: z.ZodEnum<["gathering", "reviewing", "deliberating", "decided"]>;
|
|
172
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
173
|
+
type: z.ZodEnum<["approved-with-blessings", "deepen-required", "return-to-circle", "ceremonial-hold", "withdrawn"]>;
|
|
174
|
+
consensus: z.ZodBoolean;
|
|
175
|
+
voices: z.ZodArray<z.ZodObject<{
|
|
176
|
+
speakerId: z.ZodString;
|
|
177
|
+
role: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
178
|
+
direction: z.ZodOptional<z.ZodEnum<["east", "south", "west", "north"]>>;
|
|
179
|
+
voice: z.ZodString;
|
|
180
|
+
timestamp: z.ZodString;
|
|
181
|
+
inResponseTo: z.ZodOptional<z.ZodString>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
184
|
+
voice: string;
|
|
185
|
+
speakerId: string;
|
|
186
|
+
timestamp: string;
|
|
187
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
188
|
+
inResponseTo?: string | undefined;
|
|
189
|
+
}, {
|
|
190
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
191
|
+
voice: string;
|
|
192
|
+
speakerId: string;
|
|
193
|
+
timestamp: string;
|
|
194
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
195
|
+
inResponseTo?: string | undefined;
|
|
196
|
+
}>, "many">;
|
|
197
|
+
wilsonCheck: z.ZodObject<{
|
|
198
|
+
respectHonored: z.ZodBoolean;
|
|
199
|
+
reciprocityPresent: z.ZodBoolean;
|
|
200
|
+
responsibilityTaken: z.ZodBoolean;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
respectHonored: boolean;
|
|
203
|
+
reciprocityPresent: boolean;
|
|
204
|
+
responsibilityTaken: boolean;
|
|
205
|
+
}, {
|
|
206
|
+
respectHonored: boolean;
|
|
207
|
+
reciprocityPresent: boolean;
|
|
208
|
+
responsibilityTaken: boolean;
|
|
209
|
+
}>;
|
|
210
|
+
elderBlessing: z.ZodOptional<z.ZodString>;
|
|
211
|
+
conditions: z.ZodArray<z.ZodString, "many">;
|
|
212
|
+
nextAction: z.ZodString;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
type: "approved-with-blessings" | "deepen-required" | "return-to-circle" | "ceremonial-hold" | "withdrawn";
|
|
215
|
+
consensus: boolean;
|
|
216
|
+
voices: {
|
|
217
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
218
|
+
voice: string;
|
|
219
|
+
speakerId: string;
|
|
220
|
+
timestamp: string;
|
|
221
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
222
|
+
inResponseTo?: string | undefined;
|
|
223
|
+
}[];
|
|
224
|
+
wilsonCheck: {
|
|
225
|
+
respectHonored: boolean;
|
|
226
|
+
reciprocityPresent: boolean;
|
|
227
|
+
responsibilityTaken: boolean;
|
|
228
|
+
};
|
|
229
|
+
conditions: string[];
|
|
230
|
+
nextAction: string;
|
|
231
|
+
elderBlessing?: string | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
type: "approved-with-blessings" | "deepen-required" | "return-to-circle" | "ceremonial-hold" | "withdrawn";
|
|
234
|
+
consensus: boolean;
|
|
235
|
+
voices: {
|
|
236
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
237
|
+
voice: string;
|
|
238
|
+
speakerId: string;
|
|
239
|
+
timestamp: string;
|
|
240
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
241
|
+
inResponseTo?: string | undefined;
|
|
242
|
+
}[];
|
|
243
|
+
wilsonCheck: {
|
|
244
|
+
respectHonored: boolean;
|
|
245
|
+
reciprocityPresent: boolean;
|
|
246
|
+
responsibilityTaken: boolean;
|
|
247
|
+
};
|
|
248
|
+
conditions: string[];
|
|
249
|
+
nextAction: string;
|
|
250
|
+
elderBlessing?: string | undefined;
|
|
251
|
+
}>>;
|
|
252
|
+
talkingCircleLog: z.ZodArray<z.ZodObject<{
|
|
253
|
+
speakerId: z.ZodString;
|
|
254
|
+
role: z.ZodEnum<["steward", "contributor", "elder", "firekeeper", "community-member", "youth"]>;
|
|
255
|
+
direction: z.ZodOptional<z.ZodEnum<["east", "south", "west", "north"]>>;
|
|
256
|
+
voice: z.ZodString;
|
|
257
|
+
timestamp: z.ZodString;
|
|
258
|
+
inResponseTo: z.ZodOptional<z.ZodString>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
261
|
+
voice: string;
|
|
262
|
+
speakerId: string;
|
|
263
|
+
timestamp: string;
|
|
264
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
265
|
+
inResponseTo?: string | undefined;
|
|
266
|
+
}, {
|
|
267
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
268
|
+
voice: string;
|
|
269
|
+
speakerId: string;
|
|
270
|
+
timestamp: string;
|
|
271
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
272
|
+
inResponseTo?: string | undefined;
|
|
273
|
+
}>, "many">;
|
|
274
|
+
wilsonAlignment: z.ZodNumber;
|
|
275
|
+
ocapCompliant: z.ZodBoolean;
|
|
276
|
+
createdAt: z.ZodString;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
|
+
id: string;
|
|
279
|
+
status: "gathering" | "reviewing" | "deliberating" | "decided";
|
|
280
|
+
artifactId: string;
|
|
281
|
+
artifactType: "research" | "ceremony" | "knowledge" | "code" | "narrative";
|
|
282
|
+
reviewers: {
|
|
283
|
+
id: string;
|
|
284
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
285
|
+
accountableTo: string[];
|
|
286
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
287
|
+
voice?: string | undefined;
|
|
288
|
+
}[];
|
|
289
|
+
talkingCircleLog: {
|
|
290
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
291
|
+
voice: string;
|
|
292
|
+
speakerId: string;
|
|
293
|
+
timestamp: string;
|
|
294
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
295
|
+
inResponseTo?: string | undefined;
|
|
296
|
+
}[];
|
|
297
|
+
wilsonAlignment: number;
|
|
298
|
+
ocapCompliant: boolean;
|
|
299
|
+
createdAt: string;
|
|
300
|
+
elderValidator?: string | undefined;
|
|
301
|
+
outcome?: {
|
|
302
|
+
type: "approved-with-blessings" | "deepen-required" | "return-to-circle" | "ceremonial-hold" | "withdrawn";
|
|
303
|
+
consensus: boolean;
|
|
304
|
+
voices: {
|
|
305
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
306
|
+
voice: string;
|
|
307
|
+
speakerId: string;
|
|
308
|
+
timestamp: string;
|
|
309
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
310
|
+
inResponseTo?: string | undefined;
|
|
311
|
+
}[];
|
|
312
|
+
wilsonCheck: {
|
|
313
|
+
respectHonored: boolean;
|
|
314
|
+
reciprocityPresent: boolean;
|
|
315
|
+
responsibilityTaken: boolean;
|
|
316
|
+
};
|
|
317
|
+
conditions: string[];
|
|
318
|
+
nextAction: string;
|
|
319
|
+
elderBlessing?: string | undefined;
|
|
320
|
+
} | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
id: string;
|
|
323
|
+
status: "gathering" | "reviewing" | "deliberating" | "decided";
|
|
324
|
+
artifactId: string;
|
|
325
|
+
artifactType: "research" | "ceremony" | "knowledge" | "code" | "narrative";
|
|
326
|
+
reviewers: {
|
|
327
|
+
id: string;
|
|
328
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
329
|
+
accountableTo: string[];
|
|
330
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
331
|
+
voice?: string | undefined;
|
|
332
|
+
}[];
|
|
333
|
+
talkingCircleLog: {
|
|
334
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
335
|
+
voice: string;
|
|
336
|
+
speakerId: string;
|
|
337
|
+
timestamp: string;
|
|
338
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
339
|
+
inResponseTo?: string | undefined;
|
|
340
|
+
}[];
|
|
341
|
+
wilsonAlignment: number;
|
|
342
|
+
ocapCompliant: boolean;
|
|
343
|
+
createdAt: string;
|
|
344
|
+
elderValidator?: string | undefined;
|
|
345
|
+
outcome?: {
|
|
346
|
+
type: "approved-with-blessings" | "deepen-required" | "return-to-circle" | "ceremonial-hold" | "withdrawn";
|
|
347
|
+
consensus: boolean;
|
|
348
|
+
voices: {
|
|
349
|
+
role: "steward" | "contributor" | "elder" | "firekeeper" | "community-member" | "youth";
|
|
350
|
+
voice: string;
|
|
351
|
+
speakerId: string;
|
|
352
|
+
timestamp: string;
|
|
353
|
+
direction?: "east" | "south" | "west" | "north" | undefined;
|
|
354
|
+
inResponseTo?: string | undefined;
|
|
355
|
+
}[];
|
|
356
|
+
wilsonCheck: {
|
|
357
|
+
respectHonored: boolean;
|
|
358
|
+
reciprocityPresent: boolean;
|
|
359
|
+
responsibilityTaken: boolean;
|
|
360
|
+
};
|
|
361
|
+
conditions: string[];
|
|
362
|
+
nextAction: string;
|
|
363
|
+
elderBlessing?: string | undefined;
|
|
364
|
+
} | undefined;
|
|
365
|
+
}>;
|
|
366
|
+
export type ValidatedReviewer = z.infer<typeof ReviewerSchema>;
|
|
367
|
+
export type ValidatedTalkingCircleEntry = z.infer<typeof TalkingCircleEntrySchema>;
|
|
368
|
+
export type ValidatedWilsonCheck = z.infer<typeof WilsonCheckSchema>;
|
|
369
|
+
export type ValidatedReviewOutcome = z.infer<typeof ReviewOutcomeSchema>;
|
|
370
|
+
export type ValidatedReviewCircle = z.infer<typeof ReviewCircleSchema>;
|
|
371
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,gBAAgB,2FAE3B,CAAC;AAEH,eAAO,MAAM,kBAAkB,uEAE7B,CAAC;AAEH,eAAO,MAAM,wBAAwB,kEAEnC,CAAC;AAEH,eAAO,MAAM,uBAAuB,+GAGlC,CAAC;AAEH,eAAO,MAAM,mBAAmB,+CAA6C,CAAC;AAI9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY7B,CAAC;AAIH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC/D,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AACnF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACrE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACzE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/schemas.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @medicine-wheel/community-review — Zod Schemas
|
|
4
|
+
*
|
|
5
|
+
* Runtime validation schemas for community review types.
|
|
6
|
+
* Enforces data integrity at all boundaries.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.ReviewCircleSchema = exports.ReviewOutcomeSchema = exports.WilsonCheckSchema = exports.TalkingCircleEntrySchema = exports.ReviewerSchema = exports.DirectionNameSchema = exports.ReviewOutcomeTypeSchema = exports.ReviewCircleStatusSchema = exports.ArtifactTypeSchema = exports.PersonRoleSchema = void 0;
|
|
10
|
+
const zod_1 = require("zod");
|
|
11
|
+
// ── Enum Schemas ────────────────────────────────────────────────────────────
|
|
12
|
+
exports.PersonRoleSchema = zod_1.z.enum([
|
|
13
|
+
'steward', 'contributor', 'elder', 'firekeeper', 'community-member', 'youth',
|
|
14
|
+
]);
|
|
15
|
+
exports.ArtifactTypeSchema = zod_1.z.enum([
|
|
16
|
+
'research', 'ceremony', 'knowledge', 'code', 'narrative',
|
|
17
|
+
]);
|
|
18
|
+
exports.ReviewCircleStatusSchema = zod_1.z.enum([
|
|
19
|
+
'gathering', 'reviewing', 'deliberating', 'decided',
|
|
20
|
+
]);
|
|
21
|
+
exports.ReviewOutcomeTypeSchema = zod_1.z.enum([
|
|
22
|
+
'approved-with-blessings', 'deepen-required', 'return-to-circle',
|
|
23
|
+
'ceremonial-hold', 'withdrawn',
|
|
24
|
+
]);
|
|
25
|
+
exports.DirectionNameSchema = zod_1.z.enum(['east', 'south', 'west', 'north']);
|
|
26
|
+
// ── Composite Schemas ───────────────────────────────────────────────────────
|
|
27
|
+
exports.ReviewerSchema = zod_1.z.object({
|
|
28
|
+
id: zod_1.z.string(),
|
|
29
|
+
role: exports.PersonRoleSchema,
|
|
30
|
+
direction: exports.DirectionNameSchema.optional(),
|
|
31
|
+
voice: zod_1.z.string().optional(),
|
|
32
|
+
accountableTo: zod_1.z.array(zod_1.z.string()),
|
|
33
|
+
});
|
|
34
|
+
exports.TalkingCircleEntrySchema = zod_1.z.object({
|
|
35
|
+
speakerId: zod_1.z.string(),
|
|
36
|
+
role: exports.PersonRoleSchema,
|
|
37
|
+
direction: exports.DirectionNameSchema.optional(),
|
|
38
|
+
voice: zod_1.z.string(),
|
|
39
|
+
timestamp: zod_1.z.string(),
|
|
40
|
+
inResponseTo: zod_1.z.string().optional(),
|
|
41
|
+
});
|
|
42
|
+
exports.WilsonCheckSchema = zod_1.z.object({
|
|
43
|
+
respectHonored: zod_1.z.boolean(),
|
|
44
|
+
reciprocityPresent: zod_1.z.boolean(),
|
|
45
|
+
responsibilityTaken: zod_1.z.boolean(),
|
|
46
|
+
});
|
|
47
|
+
exports.ReviewOutcomeSchema = zod_1.z.object({
|
|
48
|
+
type: exports.ReviewOutcomeTypeSchema,
|
|
49
|
+
consensus: zod_1.z.boolean(),
|
|
50
|
+
voices: zod_1.z.array(exports.TalkingCircleEntrySchema),
|
|
51
|
+
wilsonCheck: exports.WilsonCheckSchema,
|
|
52
|
+
elderBlessing: zod_1.z.string().optional(),
|
|
53
|
+
conditions: zod_1.z.array(zod_1.z.string()),
|
|
54
|
+
nextAction: zod_1.z.string(),
|
|
55
|
+
});
|
|
56
|
+
exports.ReviewCircleSchema = zod_1.z.object({
|
|
57
|
+
id: zod_1.z.string(),
|
|
58
|
+
artifactId: zod_1.z.string(),
|
|
59
|
+
artifactType: exports.ArtifactTypeSchema,
|
|
60
|
+
reviewers: zod_1.z.array(exports.ReviewerSchema),
|
|
61
|
+
elderValidator: zod_1.z.string().optional(),
|
|
62
|
+
status: exports.ReviewCircleStatusSchema,
|
|
63
|
+
outcome: exports.ReviewOutcomeSchema.optional(),
|
|
64
|
+
talkingCircleLog: zod_1.z.array(exports.TalkingCircleEntrySchema),
|
|
65
|
+
wilsonAlignment: zod_1.z.number().min(0).max(1),
|
|
66
|
+
ocapCompliant: zod_1.z.boolean(),
|
|
67
|
+
createdAt: zod_1.z.string(),
|
|
68
|
+
});
|
|
69
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"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"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @medicine-wheel/community-review — Type Definitions
|
|
3
|
+
*
|
|
4
|
+
* Types for community-based ceremonial review — Wilson's validation
|
|
5
|
+
* through community rather than peer review. Elders, knowledge keepers,
|
|
6
|
+
* and community members validate relational accountability.
|
|
7
|
+
*/
|
|
8
|
+
import type { DirectionName } from '@medicine-wheel/ontology-core';
|
|
9
|
+
/** Roles within the review circle */
|
|
10
|
+
export type PersonRole = 'steward' | 'contributor' | 'elder' | 'firekeeper' | 'community-member' | 'youth';
|
|
11
|
+
/** Types of artifacts that can be reviewed */
|
|
12
|
+
export type ArtifactType = 'research' | 'ceremony' | 'knowledge' | 'code' | 'narrative';
|
|
13
|
+
/** Status progression of a review circle */
|
|
14
|
+
export type ReviewCircleStatus = 'gathering' | 'reviewing' | 'deliberating' | 'decided';
|
|
15
|
+
/** Possible outcomes of a community review */
|
|
16
|
+
export type ReviewOutcomeType = 'approved-with-blessings' | 'deepen-required' | 'return-to-circle' | 'ceremonial-hold' | 'withdrawn';
|
|
17
|
+
/**
|
|
18
|
+
* A review circle — the community body that evaluates an artifact
|
|
19
|
+
* through talking circle, Elder validation, and consensus.
|
|
20
|
+
*/
|
|
21
|
+
export interface ReviewCircle {
|
|
22
|
+
/** Unique identifier */
|
|
23
|
+
id: string;
|
|
24
|
+
/** The artifact under review */
|
|
25
|
+
artifactId: string;
|
|
26
|
+
/** Type of artifact being reviewed */
|
|
27
|
+
artifactType: ArtifactType;
|
|
28
|
+
/** Circle participants */
|
|
29
|
+
reviewers: Reviewer[];
|
|
30
|
+
/** Elder who provides final validation */
|
|
31
|
+
elderValidator?: string;
|
|
32
|
+
/** Current status of the circle */
|
|
33
|
+
status: ReviewCircleStatus;
|
|
34
|
+
/** Final outcome once decided */
|
|
35
|
+
outcome?: ReviewOutcome;
|
|
36
|
+
/** Log of all talking circle entries */
|
|
37
|
+
talkingCircleLog: TalkingCircleEntry[];
|
|
38
|
+
/** Wilson alignment score (0–1) */
|
|
39
|
+
wilsonAlignment: number;
|
|
40
|
+
/** Whether the review is OCAP® compliant */
|
|
41
|
+
ocapCompliant: boolean;
|
|
42
|
+
/** When the circle was created */
|
|
43
|
+
createdAt: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A participant in the review circle, carrying their role,
|
|
47
|
+
* directional perspective, and accountability relationships.
|
|
48
|
+
*/
|
|
49
|
+
export interface Reviewer {
|
|
50
|
+
/** Unique identifier */
|
|
51
|
+
id: string;
|
|
52
|
+
/** Role in the review circle */
|
|
53
|
+
role: PersonRole;
|
|
54
|
+
/** Directional perspective they bring */
|
|
55
|
+
direction?: DirectionName;
|
|
56
|
+
/** Their review statement or voice */
|
|
57
|
+
voice?: string;
|
|
58
|
+
/** Who this reviewer represents and is accountable to */
|
|
59
|
+
accountableTo: string[];
|
|
60
|
+
}
|
|
61
|
+
/** Wilson's three R's check for the review */
|
|
62
|
+
export interface WilsonCheck {
|
|
63
|
+
/** Was respect honored throughout the review? */
|
|
64
|
+
respectHonored: boolean;
|
|
65
|
+
/** Is reciprocity present in the artifact? */
|
|
66
|
+
reciprocityPresent: boolean;
|
|
67
|
+
/** Has responsibility been taken for relational impact? */
|
|
68
|
+
responsibilityTaken: boolean;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The outcome of a community review — consensus, voices,
|
|
72
|
+
* Wilson alignment check, and Elder blessing.
|
|
73
|
+
*/
|
|
74
|
+
export interface ReviewOutcome {
|
|
75
|
+
/** Type of outcome */
|
|
76
|
+
type: ReviewOutcomeType;
|
|
77
|
+
/** Whether consensus was reached */
|
|
78
|
+
consensus: boolean;
|
|
79
|
+
/** All voices that contributed to the decision */
|
|
80
|
+
voices: TalkingCircleEntry[];
|
|
81
|
+
/** Wilson's three R's assessment */
|
|
82
|
+
wilsonCheck: WilsonCheck;
|
|
83
|
+
/** Elder's blessing statement */
|
|
84
|
+
elderBlessing?: string;
|
|
85
|
+
/** Conditions for approval (if any) */
|
|
86
|
+
conditions: string[];
|
|
87
|
+
/** Recommended next action */
|
|
88
|
+
nextAction: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* A single entry in the talking circle — one person's voice,
|
|
92
|
+
* identified by direction and role.
|
|
93
|
+
*/
|
|
94
|
+
export interface TalkingCircleEntry {
|
|
95
|
+
/** Who is speaking */
|
|
96
|
+
speakerId: string;
|
|
97
|
+
/** Their role in the circle */
|
|
98
|
+
role: PersonRole;
|
|
99
|
+
/** Directional perspective of this voice */
|
|
100
|
+
direction?: DirectionName;
|
|
101
|
+
/** What was spoken */
|
|
102
|
+
voice: string;
|
|
103
|
+
/** When this was spoken */
|
|
104
|
+
timestamp: string;
|
|
105
|
+
/** Entry this is responding to (if any) */
|
|
106
|
+
inResponseTo?: string;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAqC,MAAM,+BAA+B,CAAC;AAItG,qCAAqC;AACrC,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,aAAa,GACb,OAAO,GACP,YAAY,GACZ,kBAAkB,GAClB,OAAO,CAAC;AAEZ,8CAA8C;AAC9C,MAAM,MAAM,YAAY,GACpB,UAAU,GACV,UAAU,GACV,WAAW,GACX,MAAM,GACN,WAAW,CAAC;AAIhB,4CAA4C;AAC5C,MAAM,MAAM,kBAAkB,GAC1B,WAAW,GACX,WAAW,GACX,cAAc,GACd,SAAS,CAAC;AAEd,8CAA8C;AAC9C,MAAM,MAAM,iBAAiB,GACzB,yBAAyB,GACzB,iBAAiB,GACjB,kBAAkB,GAClB,iBAAiB,GACjB,WAAW,CAAC;AAEhB;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,YAAY,EAAE,YAAY,CAAC;IAC3B,0BAA0B;IAC1B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,iCAAiC;IACjC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,wCAAwC;IACxC,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;IACvC,mCAAmC;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,aAAa,EAAE,OAAO,CAAC;IACvB,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAC;CACnB;AAID;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACvB,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,IAAI,EAAE,UAAU,CAAC;IACjB,yCAAyC;IACzC,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB;AAID,8CAA8C;AAC9C,MAAM,WAAW,WAAW;IAC1B,iDAAiD;IACjD,cAAc,EAAE,OAAO,CAAC;IACxB,8CAA8C;IAC9C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,2DAA2D;IAC3D,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,sBAAsB;IACtB,IAAI,EAAE,iBAAiB,CAAC;IACxB,oCAAoC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,oCAAoC;IACpC,WAAW,EAAE,WAAW,CAAC;IACzB,iCAAiC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,uCAAuC;IACvC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAC;CACpB;AAID;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,sBAAsB;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @medicine-wheel/community-review — Type Definitions
|
|
4
|
+
*
|
|
5
|
+
* Types for community-based ceremonial review — Wilson's validation
|
|
6
|
+
* through community rather than peer review. Elders, knowledge keepers,
|
|
7
|
+
* and community members validate relational accountability.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@medicine-wheel/community-review",
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Community-based ceremonial review protocol for Medicine Wheel — implements Wilson's validation through Elder review circles, consensus, and relational accountability",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"clean": "rm -rf dist",
|
|
19
|
+
"prepublishOnly": "npm run clean && npm run build"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md"
|
|
24
|
+
],
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@medicine-wheel/ontology-core": "^0.2.2",
|
|
27
|
+
"@medicine-wheel/ceremony-protocol": "^0.2.2",
|
|
28
|
+
"zod": "^3.23.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"typescript": "^5.4.0"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"medicine-wheel",
|
|
35
|
+
"community-review",
|
|
36
|
+
"elder-validation",
|
|
37
|
+
"consensus",
|
|
38
|
+
"wilson",
|
|
39
|
+
"indigenous",
|
|
40
|
+
"ocap",
|
|
41
|
+
"talking-circle"
|
|
42
|
+
],
|
|
43
|
+
"license": "MIT"
|
|
44
|
+
}
|