A comprehensive TypeScript framework for relational healing, ceremonial inquiry, and Indigenous-aligned software development. Seven packages that together enable developers to create relationally accountable systems grounded in the Four Directions, Wilson’s three R’s, and OCAP® principles.
Version: 0.1.1
Document ID: rispec-medicine-wheel-system-v1
Last Updated: 2026-02-23
Users create complete Medicine Wheel software systems — from ontological data models through ceremony-aware workflows to interactive visualizations — where every component honors Indigenous relational principles.
medicine-wheel-ontology-core ← Foundation (types, schemas, vocabulary)
├── medicine-wheel-ceremony-protocol ← Ceremony state & governance
├── medicine-wheel-narrative-engine ← Beat sequencing & arc validation
├── medicine-wheel-graph-viz ← Circular layout & visualization
├── medicine-wheel-relational-query ← Query, traversal & audit
├── medicine-wheel-prompt-decomposition ← Intent extraction & PDE
└── medicine-wheel-ui-components ← React components
All packages depend on ontology-core for shared types. No circular dependencies.
Each rispec describes one package. To implement the full system:
ontology-core.spec.md — implement all types, schemas, vocabulary, constants, and query helpers| Rispec | Package | Role |
|---|---|---|
ontology-core.spec.md |
Foundation | Types, Zod schemas, RDF vocabulary, constants, semantic queries |
ceremony-protocol.spec.md |
Governance | Ceremony state, phase transitions, governance enforcement |
narrative-engine.spec.md |
Narrative | Beat sequencing, cadence, arc validation, timeline, cycle |
graph-viz.spec.md |
Visualization | Circular layout, SVG paths, data converters, Mermaid export |
relational-query.spec.md |
Query | Filtering, traversal, accountability audit, Cypher generation |
prompt-decomposition.spec.md |
PDE | Intent extraction, Four Directions classification, narrative beats |
ui-components.spec.md |
UI | DirectionCard, BeatTimeline, NodeInspector, OcapBadge, WilsonMeter |
| Direction | Ojibwe | Season | Life Stage | Focus |
|---|---|---|---|---|
| East | Waabinong | Spring | Good Life | Vision, intention, emergence |
| South | Zhaawanong | Summer | Fast Life | Growth, learning, analysis |
| West | Epangishmok | Fall | Truth & Planning | Reflection, validation, ceremony |
| North | Kiiwedinong | Winter | Elder | Wisdom, action, integration |
Relational accountability measured as three scores (0–1):
Indigenous data sovereignty governance:
Three phases of creative advancement:
User Intent: Create a ceremony-guided research cycle
Current Reality: Raw research question, no structure
Natural Progression:
createCycle(id, question) → Initializes at East/openingdecompose(prompt) → Extracts intents with Four Directions classificationinsertBeat(beats, beat) → Records work in directional sequencevalidateCadence(beats, ceremonies) → Ensures ceremony at transitionscomputeProgress(cycle, beats, ceremonies, relations) → Suggests next stepsvalidateArc(beats, ceremonies, relations) → Checks completeness
Achieved Outcome: Complete four-direction arc with Wilson alignment and OCAP® complianceUser Intent: Modify ceremony protocols with proper governance
Current Reality: Code changes needed in protected paths
Natural Progression:
checkGovernance(filePath, config) → Detects protected pathformatGovernanceWarning(rule) → Surfaces governance requirementscheckCeremonyRequired(filePath, config) → Confirms ceremony neededgetPhaseFraming(phase) → Frames the change in ceremony context
Achieved Outcome: Changes made with relational accountability and proper authorityUser Intent: Assess relational health of the knowledge graph
Current Reality: Relations exist but accountability unknown
Natural Progression:
auditAccountability(nodes, edges, relations) → Full reportrelationsNeedingAttention(relations) → Priority listtraverse(rootId, nodes, edges, relations, { ocapOnly: true }) → Compliant traversalgenerateReciprocityObservation(stewards, flows) → Invitational narrative
Achieved Outcome: Clear picture of where relational attention is needed| UI Framework: React ^18.0.0 | ^19.0.0 |