@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
38 lines • 1.33 kB
TypeScript
/**
* @medicine-wheel/community-review — Circle Management
*
* Creates and manages review circles — the community body
* that evaluates artifacts through ceremonial review.
*/
import type { ReviewCircle, ReviewCircleStatus, Reviewer, ReviewOutcome, ArtifactType } from './types.js';
/**
* Create a new review circle for an artifact.
* Initializes in 'gathering' status, awaiting reviewers.
*/
export declare function createReviewCircle(artifactId: string, artifactType: ArtifactType): ReviewCircle;
/**
* Add a reviewer to the circle.
* Only allowed while status is 'gathering'.
*/
export declare function addReviewer(circle: ReviewCircle, reviewer: Reviewer): ReviewCircle;
/**
* Transition the circle to 'reviewing' status.
* Requires at least one reviewer.
*/
export declare function submitForReview(circle: ReviewCircle): ReviewCircle;
/**
* Close the circle with a final outcome.
* Transitions status to 'decided'.
*/
export declare function closeCircle(circle: ReviewCircle, outcome: ReviewOutcome): ReviewCircle;
/**
* Get a summary of the circle's current state.
*/
export declare function circleStatus(circle: ReviewCircle): {
status: ReviewCircleStatus;
reviewerCount: number;
hasElder: boolean;
voicesHeard: number;
outcomeType?: string;
};
//# sourceMappingURL=circle.d.ts.map