@medicine-wheel/mcp 4.0.0
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/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +115 -0
- package/dist/index.js.map +1 -0
- package/dist/jsonl-store.d.ts +184 -0
- package/dist/jsonl-store.d.ts.map +1 -0
- package/dist/jsonl-store.js +393 -0
- package/dist/jsonl-store.js.map +1 -0
- package/dist/prompts/index.d.ts +3 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +229 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/resources/index.d.ts +3 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +252 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/store.d.ts +15 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +16 -0
- package/dist/store.js.map +1 -0
- package/dist/tools/ceremony-lifecycle.d.ts +10 -0
- package/dist/tools/ceremony-lifecycle.d.ts.map +1 -0
- package/dist/tools/ceremony-lifecycle.js +275 -0
- package/dist/tools/ceremony-lifecycle.js.map +1 -0
- package/dist/tools/coordination.d.ts +10 -0
- package/dist/tools/coordination.d.ts.map +1 -0
- package/dist/tools/coordination.js +136 -0
- package/dist/tools/coordination.js.map +1 -0
- package/dist/tools/discovery.d.ts +11 -0
- package/dist/tools/discovery.d.ts.map +1 -0
- package/dist/tools/discovery.js +552 -0
- package/dist/tools/discovery.js.map +1 -0
- package/dist/tools/east.d.ts +3 -0
- package/dist/tools/east.d.ts.map +1 -0
- package/dist/tools/east.js +271 -0
- package/dist/tools/east.js.map +1 -0
- package/dist/tools/epistemic.d.ts +10 -0
- package/dist/tools/epistemic.d.ts.map +1 -0
- package/dist/tools/epistemic.js +159 -0
- package/dist/tools/epistemic.js.map +1 -0
- package/dist/tools/governance-transformation.d.ts +10 -0
- package/dist/tools/governance-transformation.d.ts.map +1 -0
- package/dist/tools/governance-transformation.js +181 -0
- package/dist/tools/governance-transformation.js.map +1 -0
- package/dist/tools/integrations.d.ts +9 -0
- package/dist/tools/integrations.d.ts.map +1 -0
- package/dist/tools/integrations.js +643 -0
- package/dist/tools/integrations.js.map +1 -0
- package/dist/tools/north.d.ts +3 -0
- package/dist/tools/north.d.ts.map +1 -0
- package/dist/tools/north.js +436 -0
- package/dist/tools/north.js.map +1 -0
- package/dist/tools/reasoning-observability.d.ts +10 -0
- package/dist/tools/reasoning-observability.d.ts.map +1 -0
- package/dist/tools/reasoning-observability.js +90 -0
- package/dist/tools/reasoning-observability.js.map +1 -0
- package/dist/tools/south.d.ts +3 -0
- package/dist/tools/south.d.ts.map +1 -0
- package/dist/tools/south.js +295 -0
- package/dist/tools/south.js.map +1 -0
- package/dist/tools/structural-tension.d.ts +15 -0
- package/dist/tools/structural-tension.d.ts.map +1 -0
- package/dist/tools/structural-tension.js +695 -0
- package/dist/tools/structural-tension.js.map +1 -0
- package/dist/tools/west.d.ts +3 -0
- package/dist/tools/west.d.ts.map +1 -0
- package/dist/tools/west.js +313 -0
- package/dist/tools/west.js.map +1 -0
- package/dist/types.d.ts +28 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +9 -0
- package/dist/types.js.map +1 -0
- package/dist/validators/index.d.ts +3 -0
- package/dist/validators/index.d.ts.map +1 -0
- package/dist/validators/index.js +388 -0
- package/dist/validators/index.js.map +1 -0
- package/package.json +48 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
export const validators = [
|
|
2
|
+
{
|
|
3
|
+
name: "accountability_validator",
|
|
4
|
+
description: "Audit research plan for relational accountability alignment with Wilson's Indigenous paradigm. Checks ontology, epistemology, axiology, and relational obligations.",
|
|
5
|
+
inputSchema: {
|
|
6
|
+
type: "object",
|
|
7
|
+
properties: {
|
|
8
|
+
research_plan: {
|
|
9
|
+
type: "object",
|
|
10
|
+
description: "Research plan details to validate",
|
|
11
|
+
properties: {
|
|
12
|
+
title: { type: "string" },
|
|
13
|
+
methods: { type: "string" },
|
|
14
|
+
duration: { type: "string" },
|
|
15
|
+
pre_relationship_phase: { type: "string" },
|
|
16
|
+
advisory_board_members: { type: "number" },
|
|
17
|
+
elder_investigators: { type: "number" },
|
|
18
|
+
ceremony_integration: { type: "string" },
|
|
19
|
+
community_benefit: { type: "string" },
|
|
20
|
+
data_storage: { type: "string" },
|
|
21
|
+
reb_status: { type: "string" },
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
required: ["research_plan"],
|
|
26
|
+
},
|
|
27
|
+
handler: async (args) => {
|
|
28
|
+
const plan = args.research_plan;
|
|
29
|
+
const gaps = [];
|
|
30
|
+
const strengths = [];
|
|
31
|
+
let score = 0;
|
|
32
|
+
// Check pre-relationship phase
|
|
33
|
+
if (plan.pre_relationship_phase && plan.pre_relationship_phase !== "none") {
|
|
34
|
+
strengths.push("Pre-relationship phase planned");
|
|
35
|
+
score += 15;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
gaps.push("CRITICAL: No pre-relationship phase; must build trust before data collection");
|
|
39
|
+
}
|
|
40
|
+
// Check advisory board
|
|
41
|
+
if (plan.advisory_board_members > 0) {
|
|
42
|
+
strengths.push(`Community advisory board with ${plan.advisory_board_members} members`);
|
|
43
|
+
score += 20;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
gaps.push("CRITICAL: No community advisory board; research cannot proceed without community governance");
|
|
47
|
+
}
|
|
48
|
+
// Check Elder co-investigators
|
|
49
|
+
if (plan.elder_investigators > 0) {
|
|
50
|
+
strengths.push(`${plan.elder_investigators} Elder co-investigators`);
|
|
51
|
+
score += 20;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
gaps.push("CRITICAL: No Elder co-investigators; Elder wisdom essential for cultural validity");
|
|
55
|
+
}
|
|
56
|
+
// Check ceremony integration
|
|
57
|
+
if (plan.ceremony_integration && plan.ceremony_integration !== "none" && plan.ceremony_integration !== "none planned") {
|
|
58
|
+
strengths.push("Ceremony integrated into research process");
|
|
59
|
+
score += 15;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
gaps.push("CRITICAL: No ceremony integration; research is ceremony, not just methods");
|
|
63
|
+
}
|
|
64
|
+
// Check community benefit
|
|
65
|
+
if (plan.community_benefit && !plan.community_benefit.includes("Academic publication only")) {
|
|
66
|
+
strengths.push("Reciprocal community benefit defined");
|
|
67
|
+
score += 15;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
gaps.push("CRITICAL: No reciprocal benefit; extractive approach; community must gain from research");
|
|
71
|
+
}
|
|
72
|
+
// Check data storage (OCAP)
|
|
73
|
+
if (plan.data_storage && (plan.data_storage.includes("on-premise") || plan.data_storage.includes("community"))) {
|
|
74
|
+
strengths.push("Data sovereignty honored (on-premise storage)");
|
|
75
|
+
score += 10;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
gaps.push("CRITICAL: Data not stored on-premise; OCAP® violation; community must possess data");
|
|
79
|
+
}
|
|
80
|
+
// Check REB
|
|
81
|
+
if (plan.reb_status && plan.reb_status.includes("community")) {
|
|
82
|
+
strengths.push("Community REB involved");
|
|
83
|
+
score += 5;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
gaps.push("IMPORTANT: Community REB not identified; dual review required (TCPS2 Chapter 9)");
|
|
87
|
+
}
|
|
88
|
+
const status = score >= 70 ? "ALIGNED" : score >= 40 ? "NEEDS IMPROVEMENT" : "CRITICAL GAPS";
|
|
89
|
+
return {
|
|
90
|
+
audit_status: status,
|
|
91
|
+
wilson_paradigm_alignment: `${score}%`,
|
|
92
|
+
ontology_check: {
|
|
93
|
+
principle: "Reality is relational; everything interconnected",
|
|
94
|
+
assessment: plan.advisory_board_members > 0 && plan.elder_investigators > 0
|
|
95
|
+
? "✓ Relational approach evident (advisory board + Elders)"
|
|
96
|
+
: "✗ Individualistic approach; lacking relational structure",
|
|
97
|
+
},
|
|
98
|
+
epistemology_check: {
|
|
99
|
+
principle: "Knowledge co-created via relationships, ceremony, and land",
|
|
100
|
+
assessment: plan.ceremony_integration && plan.ceremony_integration !== "none" && plan.ceremony_integration !== "none planned"
|
|
101
|
+
? "✓ Ceremony as knowledge-making recognized"
|
|
102
|
+
: "✗ Extractive epistemology; knowledge seen as commodity to gather",
|
|
103
|
+
},
|
|
104
|
+
axiology_check: {
|
|
105
|
+
principle: "Relational accountability; researcher answers to all relations",
|
|
106
|
+
assessment: plan.community_benefit && !plan.community_benefit.includes("Academic publication only")
|
|
107
|
+
? "✓ Reciprocity and accountability present"
|
|
108
|
+
: "✗ One-way benefit; researcher gains, community does not",
|
|
109
|
+
},
|
|
110
|
+
critical_gaps: gaps,
|
|
111
|
+
strengths: strengths,
|
|
112
|
+
recommendations: gaps.length > 0 ? [
|
|
113
|
+
"Pause research until gaps addressed",
|
|
114
|
+
"Consult with Elders and community leaders",
|
|
115
|
+
"Revise research plan with community input",
|
|
116
|
+
"Establish OCAP® data governance agreement",
|
|
117
|
+
"Integrate ceremony throughout (not just at end)",
|
|
118
|
+
] : [
|
|
119
|
+
"Research plan is well-aligned with Indigenous paradigm",
|
|
120
|
+
"Continue with community oversight",
|
|
121
|
+
"Regular accountability audits recommended",
|
|
122
|
+
],
|
|
123
|
+
next_steps: score < 70 ? "CANNOT PROCEED until critical gaps addressed" : "Proceed with ongoing community oversight",
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "ocap_compliance_checker",
|
|
129
|
+
description: "Verify OCAP® (Ownership, Control, Access, Possession) data sovereignty compliance. Ensures First Nations principles are honored.",
|
|
130
|
+
inputSchema: {
|
|
131
|
+
type: "object",
|
|
132
|
+
properties: {
|
|
133
|
+
data_plan: {
|
|
134
|
+
type: "object",
|
|
135
|
+
description: "Data management plan to check",
|
|
136
|
+
properties: {
|
|
137
|
+
storage_location: { type: "string" },
|
|
138
|
+
ownership_statement: { type: "string" },
|
|
139
|
+
access_controls: { type: "string" },
|
|
140
|
+
community_approval: { type: "boolean" },
|
|
141
|
+
data_sharing_agreements: { type: "string" },
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
required: ["data_plan"],
|
|
146
|
+
},
|
|
147
|
+
handler: async (args) => {
|
|
148
|
+
const plan = args.data_plan;
|
|
149
|
+
const violations = [];
|
|
150
|
+
const compliant = [];
|
|
151
|
+
// Ownership
|
|
152
|
+
if (plan.ownership_statement && plan.ownership_statement.includes("community")) {
|
|
153
|
+
compliant.push("✓ OWNERSHIP: Community ownership explicitly stated");
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
violations.push("✗ OWNERSHIP: Data ownership must belong to community, not researcher/institution");
|
|
157
|
+
}
|
|
158
|
+
// Control
|
|
159
|
+
if (plan.community_approval) {
|
|
160
|
+
compliant.push("✓ CONTROL: Community approval required for data use");
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
violations.push("✗ CONTROL: Community must control data collection, use, and sharing");
|
|
164
|
+
}
|
|
165
|
+
// Access
|
|
166
|
+
if (plan.access_controls && plan.access_controls !== "open") {
|
|
167
|
+
compliant.push("✓ ACCESS: Access controls defined");
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
violations.push("✗ ACCESS: Community must determine who accesses data; cannot be open access without permission");
|
|
171
|
+
}
|
|
172
|
+
// Possession
|
|
173
|
+
if (plan.storage_location && (plan.storage_location.includes("on-premise") || plan.storage_location.includes("community"))) {
|
|
174
|
+
compliant.push("✓ POSSESSION: Data stored in community custody");
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
violations.push("✗ POSSESSION: Data must be physically/digitally possessed by community (on-premise)");
|
|
178
|
+
}
|
|
179
|
+
const isCompliant = violations.length === 0;
|
|
180
|
+
return {
|
|
181
|
+
ocap_status: isCompliant ? "COMPLIANT" : "VIOLATIONS DETECTED",
|
|
182
|
+
violations,
|
|
183
|
+
compliant,
|
|
184
|
+
ocap_principles: {
|
|
185
|
+
ownership: {
|
|
186
|
+
principle: "Data belongs to First Nation collectively",
|
|
187
|
+
requirement: "Community retains IP; publications co-authored; community as data owner",
|
|
188
|
+
current_status: plan.ownership_statement?.includes("community") ? "✓" : "✗",
|
|
189
|
+
},
|
|
190
|
+
control: {
|
|
191
|
+
principle: "Community controls collection, use, sharing, analysis",
|
|
192
|
+
requirement: "Advisory board has veto power; approval required at each research phase",
|
|
193
|
+
current_status: plan.community_approval ? "✓" : "✗",
|
|
194
|
+
},
|
|
195
|
+
access: {
|
|
196
|
+
principle: "First Nations access own data; community determines external access",
|
|
197
|
+
requirement: "Community sets access protocols based on cultural values",
|
|
198
|
+
current_status: plan.access_controls && plan.access_controls !== "open" ? "✓" : "✗",
|
|
199
|
+
},
|
|
200
|
+
possession: {
|
|
201
|
+
principle: "Physical/digital custody with community",
|
|
202
|
+
requirement: "On-premise storage (GC Canada or community servers); not extracted to cloud",
|
|
203
|
+
current_status: plan.storage_location?.includes("on-premise") || plan.storage_location?.includes("community") ? "✓" : "✗",
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
recommendations: isCompliant ? [
|
|
207
|
+
"OCAP® compliance confirmed",
|
|
208
|
+
"Maintain community governance throughout research",
|
|
209
|
+
"Regular audits to ensure ongoing compliance",
|
|
210
|
+
] : [
|
|
211
|
+
"STOP: Cannot proceed with current data plan",
|
|
212
|
+
"Develop OCAP®-compliant data governance agreement with community",
|
|
213
|
+
"Revise storage to on-premise/community controlled",
|
|
214
|
+
"Establish community oversight mechanisms",
|
|
215
|
+
],
|
|
216
|
+
tcps2_chapter9: {
|
|
217
|
+
note: "Canadian institutions require TCPS2 Chapter 9 compliance",
|
|
218
|
+
requirements: [
|
|
219
|
+
"Community engagement plan",
|
|
220
|
+
"Dual REB approval (institutional + community)",
|
|
221
|
+
"OCAP® principles integrated",
|
|
222
|
+
"Community REB may override institutional REB on cultural grounds",
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
};
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "two_eyed_seeing_bridge",
|
|
230
|
+
description: "Translate concepts between Western and Indigenous worldviews. Supports integration without hierarchy or dominance.",
|
|
231
|
+
inputSchema: {
|
|
232
|
+
type: "object",
|
|
233
|
+
properties: {
|
|
234
|
+
concept: {
|
|
235
|
+
type: "string",
|
|
236
|
+
description: "Concept to translate (Western or Indigenous)",
|
|
237
|
+
},
|
|
238
|
+
direction: {
|
|
239
|
+
type: "string",
|
|
240
|
+
enum: ["western_to_indigenous", "indigenous_to_western", "integrate_both"],
|
|
241
|
+
description: "Translation direction",
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
required: ["concept", "direction"],
|
|
245
|
+
},
|
|
246
|
+
handler: async (args) => {
|
|
247
|
+
const { concept, direction } = args;
|
|
248
|
+
const translations = {
|
|
249
|
+
"research methodology": {
|
|
250
|
+
western: "Systematic procedures for data collection and analysis",
|
|
251
|
+
indigenous: "Ceremony and relational engagement; knowledge emerges through sacred protocols",
|
|
252
|
+
integrated: "Combine ceremony (smudging, talking circles) with rigorous documentation; both honor knowledge differently",
|
|
253
|
+
},
|
|
254
|
+
"data": {
|
|
255
|
+
western: "Information collected, categorized, analyzed statistically",
|
|
256
|
+
indigenous: "Stories, teachings, relationships; knowledge is alive and relational",
|
|
257
|
+
integrated: "Stories + systematic documentation; honor narrative while allowing pattern analysis",
|
|
258
|
+
},
|
|
259
|
+
"objectivity": {
|
|
260
|
+
western: "Researcher maintains distance to avoid bias",
|
|
261
|
+
indigenous: "Researcher is in relationship; subjectivity and positionality are strengths",
|
|
262
|
+
integrated: "Researcher acknowledges relationships and positionality while maintaining rigorous methods",
|
|
263
|
+
},
|
|
264
|
+
"validity": {
|
|
265
|
+
western: "Measured through statistical tests, reliability, replicability",
|
|
266
|
+
indigenous: "Validated by Elders, community resonance, relational integrity",
|
|
267
|
+
integrated: "Dual validation: statistical rigor + Elder/community verification",
|
|
268
|
+
},
|
|
269
|
+
"knowledge": {
|
|
270
|
+
western: "Information that can be proven, tested, documented",
|
|
271
|
+
indigenous: "Wisdom held in relationships, land, ceremony, stories; co-created with spirit",
|
|
272
|
+
integrated: "Honor both empirical and relational ways of knowing; neither is superior",
|
|
273
|
+
},
|
|
274
|
+
};
|
|
275
|
+
const translation = translations[concept.toLowerCase()] || {
|
|
276
|
+
western: "Concept not in translation library",
|
|
277
|
+
indigenous: "Consult with Elders for Indigenous understanding",
|
|
278
|
+
integrated: "Two-Eyed Seeing requires learning both perspectives deeply",
|
|
279
|
+
};
|
|
280
|
+
return {
|
|
281
|
+
framework: "Two-Eyed Seeing (Etuaptmumk) - Mi'kmaw Integration",
|
|
282
|
+
concept,
|
|
283
|
+
direction,
|
|
284
|
+
translation,
|
|
285
|
+
principles: {
|
|
286
|
+
equitable: "All perspectives valued; no hierarchy",
|
|
287
|
+
weaving: "Back-and-forth between both worldviews",
|
|
288
|
+
decolonizing: "Rejects Western dominance; honors Indigenous epistemology as equal",
|
|
289
|
+
co_learning: "Both perspectives teach each other",
|
|
290
|
+
to_betterment: "Integration serves community wellbeing, not just academic goals",
|
|
291
|
+
},
|
|
292
|
+
implementation_guidance: {
|
|
293
|
+
ontology: "Relational Indigenous (interconnected) + Western (parts & wholes) → integrated whole",
|
|
294
|
+
epistemology: "Ceremony/story + hypothesis testing/rigor → blended approaches",
|
|
295
|
+
axiology: "Relational accountability + academic standards → ethical clarity via Elder guidance",
|
|
296
|
+
methods: "Advisory board, Elders as co-investigators, ceremony throughout, storytelling + data",
|
|
297
|
+
},
|
|
298
|
+
examples: {
|
|
299
|
+
health: "Sweat lodge ceremony + Western trauma therapy (e.g., Seeking Safety); Elders + clinicians as equals",
|
|
300
|
+
education: "Land-based curriculum + scientific rigor; storytelling pedagogy; students co-create knowledge",
|
|
301
|
+
environment: "Traditional ecological knowledge (Elders) + scientific indicators; Bayesian integration",
|
|
302
|
+
},
|
|
303
|
+
warnings: [
|
|
304
|
+
"Not just adding Indigenous 'flavor' to Western research",
|
|
305
|
+
"Requires genuine respect for both worldviews",
|
|
306
|
+
"Elder guidance essential; don't appropriate or tokenize",
|
|
307
|
+
"Some knowledge doesn't translate; honor boundaries",
|
|
308
|
+
],
|
|
309
|
+
};
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: "wilson_paradigm_checker",
|
|
314
|
+
description: "Assess research alignment with Shawn Wilson's Indigenous research paradigm: ontology (relational reality), epistemology (ceremony as knowledge-making), axiology (relational accountability).",
|
|
315
|
+
inputSchema: {
|
|
316
|
+
type: "object",
|
|
317
|
+
properties: {
|
|
318
|
+
research_description: {
|
|
319
|
+
type: "string",
|
|
320
|
+
description: "Description of research approach",
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
required: ["research_description"],
|
|
324
|
+
},
|
|
325
|
+
handler: async (args) => {
|
|
326
|
+
const { research_description } = args;
|
|
327
|
+
const description = research_description.toLowerCase();
|
|
328
|
+
const relationshipKeywords = ["relationship", "relational", "community", "elder", "kinship", "connection"];
|
|
329
|
+
const ceremonyKeywords = ["ceremony", "smudge", "tobacco", "sacred", "spirit", "prayer"];
|
|
330
|
+
const accountabilityKeywords = ["reciprocity", "accountability", "reciprocal", "benefit", "responsibility"];
|
|
331
|
+
const hasRelational = relationshipKeywords.some(k => description.includes(k));
|
|
332
|
+
const hasCeremony = ceremonyKeywords.some(k => description.includes(k));
|
|
333
|
+
const hasAccountability = accountabilityKeywords.some(k => description.includes(k));
|
|
334
|
+
return {
|
|
335
|
+
framework: "Shawn Wilson's Indigenous Research Paradigm",
|
|
336
|
+
research_description,
|
|
337
|
+
ontology_assessment: {
|
|
338
|
+
principle: "Reality is relational; everything interconnected; identity = roles in relationships",
|
|
339
|
+
indicators: relationshipKeywords,
|
|
340
|
+
present: hasRelational,
|
|
341
|
+
status: hasRelational ? "✓ Relational ontology evident" : "✗ Appears individualistic; missing relational framing",
|
|
342
|
+
teaching: "Once in relationship, you are responsible for that relationship's wellbeing",
|
|
343
|
+
},
|
|
344
|
+
epistemology_assessment: {
|
|
345
|
+
principle: "Knowledge co-created via relations, stories, land observation, ceremony; not extracted",
|
|
346
|
+
indicators: ceremonyKeywords,
|
|
347
|
+
present: hasCeremony,
|
|
348
|
+
status: hasCeremony ? "✓ Ceremony as epistemology recognized" : "✗ Extractive approach; knowledge seen as commodity to gather",
|
|
349
|
+
teaching: "Knowledge has spirit; treat respectfully, not as property",
|
|
350
|
+
},
|
|
351
|
+
axiology_assessment: {
|
|
352
|
+
principle: "Ethics of relational accountability; researcher answers to all relations; reciprocity mandatory",
|
|
353
|
+
indicators: accountabilityKeywords,
|
|
354
|
+
present: hasAccountability,
|
|
355
|
+
status: hasAccountability ? "✓ Accountability and reciprocity present" : "✗ One-way benefit; lacks reciprocity",
|
|
356
|
+
teaching: "Researcher must live congruently with topic; embody values researched",
|
|
357
|
+
},
|
|
358
|
+
overall_alignment: {
|
|
359
|
+
score: [hasRelational, hasCeremony, hasAccountability].filter(Boolean).length,
|
|
360
|
+
max: 3,
|
|
361
|
+
status: [hasRelational, hasCeremony, hasAccountability].filter(Boolean).length === 3
|
|
362
|
+
? "STRONG ALIGNMENT"
|
|
363
|
+
: [hasRelational, hasCeremony, hasAccountability].filter(Boolean).length === 2
|
|
364
|
+
? "PARTIAL ALIGNMENT"
|
|
365
|
+
: "WEAK ALIGNMENT",
|
|
366
|
+
},
|
|
367
|
+
key_concepts: {
|
|
368
|
+
relational_accountability: "Once in relationship, responsible for its wellbeing",
|
|
369
|
+
research_as_ceremony: "Sacred act of building & maintaining relationships",
|
|
370
|
+
wetiko_disease: "Colonial illness of greed/disconnection; cure = laughter, willpower, relational repair",
|
|
371
|
+
spiritual_crash: "When spirit and action misaligned; resolved through ceremony and congruence",
|
|
372
|
+
natural_law: "Living in right relationship with all relations",
|
|
373
|
+
},
|
|
374
|
+
recommendations: hasRelational && hasCeremony && hasAccountability ? [
|
|
375
|
+
"Strong alignment with Wilson's paradigm",
|
|
376
|
+
"Continue with Elder guidance",
|
|
377
|
+
"Regular accountability audits",
|
|
378
|
+
] : [
|
|
379
|
+
"Strengthen relational framing" + (!hasRelational ? " (CRITICAL)" : ""),
|
|
380
|
+
"Integrate ceremony throughout" + (!hasCeremony ? " (CRITICAL)" : ""),
|
|
381
|
+
"Define reciprocal benefits" + (!hasAccountability ? " (CRITICAL)" : ""),
|
|
382
|
+
"Consult with Elders before proceeding",
|
|
383
|
+
],
|
|
384
|
+
};
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
];
|
|
388
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAW;IAChC;QACE,IAAI,EAAE,0BAA0B;QAChC,WAAW,EAAE,qKAAqK;QAClL,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,aAAa,EAAE;oBACb,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,mCAAmC;oBAChD,UAAU,EAAE;wBACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC5B,sBAAsB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC1C,sBAAsB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC1C,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACvC,oBAAoB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACxC,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACrC,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAChC,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ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;oBACnE,yCAAyC;oBACzC,8BAA8B;oBAC9B,+BAA+B;iBAChC,CAAC,CAAC,CAAC;oBACF,+BAA+B,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;oBACvE,+BAA+B,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;oBACrE,4BAA4B,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;oBACxE,uCAAuC;iBACxC;aACF,CAAC;QACJ,CAAC;KACF;CACF,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@medicine-wheel/mcp",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "Medicine Wheel MCP Server — Integrated Indigenous Paradigm Research Framework",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"@medicine-wheel/mcp": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc && node -e \"const fs=require('fs'); try { const nextMode=(fs.statSync('dist/index.js').mode & 0o777) | 0o755; fs.chmodSync('dist/index.js', nextMode); } catch (error) { if (error && error.code !== 'EPERM') throw error; console.warn('[mcp] Skipping chmod on dist/index.js:', error.message); }\"",
|
|
12
|
+
"start": "node dist/index.js",
|
|
13
|
+
"dev": "tsc --watch",
|
|
14
|
+
"clean": "rm -rf dist"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"mcp",
|
|
18
|
+
"medicine-wheel",
|
|
19
|
+
"indigenous-research",
|
|
20
|
+
"four-directions",
|
|
21
|
+
"ocap",
|
|
22
|
+
"data-sovereignty",
|
|
23
|
+
"shawn-wilson",
|
|
24
|
+
"two-eyed-seeing",
|
|
25
|
+
"ceremony"
|
|
26
|
+
],
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
29
|
+
"@medicine-wheel/ontology-core": "^0.2.4",
|
|
30
|
+
"@medicine-wheel/ceremony-protocol": "^0.2.4",
|
|
31
|
+
"@medicine-wheel/community-review": "^0.2.4",
|
|
32
|
+
"@medicine-wheel/consent-lifecycle": "^0.2.4",
|
|
33
|
+
"@medicine-wheel/fire-keeper": "^0.2.4",
|
|
34
|
+
"@medicine-wheel/graph-viz": "^0.2.4",
|
|
35
|
+
"@medicine-wheel/importance-unit": "^0.2.4",
|
|
36
|
+
"@medicine-wheel/narrative-engine": "^0.2.4",
|
|
37
|
+
"@medicine-wheel/prompt-decomposition": "^0.2.4",
|
|
38
|
+
"@medicine-wheel/relational-index": "^0.2.4",
|
|
39
|
+
"@medicine-wheel/relational-query": "^0.2.4",
|
|
40
|
+
"@medicine-wheel/session-reader": "^0.2.4",
|
|
41
|
+
"@medicine-wheel/transformation-tracker": "^0.2.4",
|
|
42
|
+
"@medicine-wheel/ui-components": "^0.2.4"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/node": "^20.10.0",
|
|
46
|
+
"typescript": "^5.3.0"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "Node16",
|
|
5
|
+
"moduleResolution": "Node16",
|
|
6
|
+
"lib": ["ES2022"],
|
|
7
|
+
"outDir": "./dist",
|
|
8
|
+
"rootDir": "./src",
|
|
9
|
+
"strict": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"declaration": true,
|
|
15
|
+
"declarationMap": true,
|
|
16
|
+
"sourceMap": true
|
|
17
|
+
},
|
|
18
|
+
"include": ["src/**/*"],
|
|
19
|
+
"exclude": ["node_modules", "dist"]
|
|
20
|
+
}
|