@medicine-wheel/community-review
Version:
Community-based ceremonial review protocol for Medicine Wheel — implements Wilson's validation through Elder review circles, consensus, and relational accountability
76 lines • 2.71 kB
JavaScript
;
/**
* @medicine-wheel/community-review — Outcomes
*
* Functions for producing review outcomes — the final decisions
* of the community review circle.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.approveWithBlessings = approveWithBlessings;
exports.requestDeepening = requestDeepening;
exports.returnToCircle = returnToCircle;
exports.ceremonialHold = ceremonialHold;
const accountability_js_1 = require("./accountability.js");
/**
* Approve the artifact with blessings.
* Requires Elder blessing and Wilson alignment.
*/
function approveWithBlessings(circle, blessing) {
const { wilsonCheck, score } = (0, accountability_js_1.reviewAgainstWilson)(circle);
return {
type: 'approved-with-blessings',
consensus: true,
voices: [...circle.talkingCircleLog],
wilsonCheck,
elderBlessing: blessing,
conditions: [],
nextAction: score >= 0.67
? 'Artifact is approved and may proceed with community blessing.'
: 'Artifact is approved but Wilson alignment should be strengthened in future work.',
};
}
/**
* Request deepening — the artifact needs more work in specific areas.
*/
function requestDeepening(circle, areas) {
const { wilsonCheck } = (0, accountability_js_1.reviewAgainstWilson)(circle);
return {
type: 'deepen-required',
consensus: true,
voices: [...circle.talkingCircleLog],
wilsonCheck,
conditions: areas,
nextAction: `Deepen the artifact in these areas: ${areas.join('; ')}. Return to the circle when ready.`,
};
}
/**
* Return the artifact to the circle for revision.
* The artifact needs significant rework.
*/
function returnToCircle(circle, reason) {
const { wilsonCheck } = (0, accountability_js_1.reviewAgainstWilson)(circle);
return {
type: 'return-to-circle',
consensus: false,
voices: [...circle.talkingCircleLog],
wilsonCheck,
conditions: [reason],
nextAction: `Artifact returned to circle: ${reason}. Please revise and resubmit.`,
};
}
/**
* Place the artifact on ceremonial hold.
* Further ceremonial attention is needed before the review can proceed.
*/
function ceremonialHold(circle, reason) {
const { wilsonCheck } = (0, accountability_js_1.reviewAgainstWilson)(circle);
return {
type: 'ceremonial-hold',
consensus: false,
voices: [...circle.talkingCircleLog],
wilsonCheck,
conditions: [reason],
nextAction: `Ceremonial hold: ${reason}. The artifact requires ceremonial attention before review can continue.`,
};
}
//# sourceMappingURL=outcomes.js.map