HANDOFF: Indigenous AI DSL-LSP Enhanced Implementation
Date: 2026-02-25 From: πΈοΈ Echo Weaver (Mia + Miette triad) To: Cloud Implementation Agent Issue: miadisabelle/Etuaptmumk-RSM#147
What This Package Is
A scaffolding package for building an Indigenous AI Concept Registry MCP Server that provides semantic understanding of the IAIP research framework to AI agents. The original scaffolding (January 2026) defined 5 core components. This enhanced version integrates learnings from 6 weeks of ecosystem development across ontology engineering, agent orchestration, medicine-wheel package publishing, and ceremonial protocol design.
What Changed Since January
The IAIP ecosystem has matured significantly:
- Medicine Wheel npm packages published β
medicine-wheel-ontology-core,medicine-wheel-relational-query,medicine-wheel-narrative-engine,medicine-wheel-graph-viz,medicine-wheel-ui-components,medicine-wheel-ceremony-protocolnow exist as typed TS/JS packages with Zod validators, providing a de facto Indigenous ontology SDK - Indigenous Ontology Development Kit (iODK) β Architectural pattern established for ontology lifecycle (TS/JSON source β OWL/SHACL/JSON-LD generated views), with OCAP governance, relational accountability, and ceremony-as-change-management
- Agent Orchestration patterns analyzed β Planner-executor, graph-based workflows, runtime-centric fleet management, and difficulty-adaptive orchestration shapes identified and evaluated
- RSIS-GitNexus β KuzuDB-based relational graph over git repos, consuming medicine-wheel ontology, with MCP tool exposure
- Ceremonial Inquiry Ecosystem Framework β Six Thematic Suns, Wisdom Ledger, ceremonial cadence, reciprocity registers all defined
- MCP (Model Context Protocol) β Emerged as the primary agent integration pattern; the DSL server should expose tools via MCP, not just LSP
Files in This Package
Original (January 2026)
| File | Purpose |
|---|---|
README.md | Original overview and vision |
initial_prompt.md | AI Studio project brief |
rispecs.md | RISE specs for 5 original components |
concept-registry.yaml | 25+ concepts with Indigenous knowledge mappings |
Enhanced (February 2026)
| File | Purpose |
|---|---|
HANDOFF.md | This document β context and instructions |
RISE-enhanced-architecture.md | Updated architecture integrating ecosystem learnings |
rispecs-ontology-bridge.md | RISE spec: Bridge to medicine-wheel-ontology-core and iODK patterns |
rispecs-mcp-tools.md | RISE spec: MCP tool exposure for agent integration |
rispecs-agent-orchestration.md | RISE spec: Multi-agent awareness and orchestration participation |
rispecs-ceremony-protocol.md | RISE spec: Ceremony protocol integration (OCAP, directional awareness) |
rispecs-wisdom-ledger.md | RISE spec: Wisdom Ledger and Inquiry Ecosystem integration |
concept-registry-extensions.yaml | New concepts from ecosystem evolution |
implementation-scaffold.md | Concrete implementation guide with code scaffolding |
How to Use This Package
For the Cloud Agent
- Read
RISE-enhanced-architecture.mdfirst β This is your architectural north star - Read original
rispecs.mdβ These 5 components remain the core - Read enhanced
rispecs-*.mdfiles β These extend the core with ecosystem integration - Use
concept-registry.yaml+concept-registry-extensions.yamlas semantic content - Follow
implementation-scaffold.mdfor concrete code structure and patterns - Apply RISE framework (see
llms/llms-rise-framework.txtat repo root) throughout
Implementation Priority
β οΈ Correction (2026-02-25): Phase ordering was inverted. MCP is the primary working protocol. LSP is secondary.
Phase 1 β MCP Concept Registry Server (β done)
- Concept Registry Module loaded from YAML
- Relational Graph Engine (networkx)
- MCP tool exposure (
iaip_concept_lookup,iaip_concept_relationship) - OCAP governance on concept access
- Wisdom Ledger (SQLite)
- Plugin lifecycle via
.mcp.json+pip install -e .
Phase 2 β Ontology Bridge
- Medicine-wheel type alignment (from
rispecs-ontology-bridge.md) - Extended concept registry (from
concept-registry-extensions.yaml) - Export pipeline (JSON-LD, OWL/SHACL)
Phase 3 β LSP Layer (future, requires DSL file format)
- LSP becomes meaningful when a
.iaipfile format is defined - Current LSP: hover + diagnostics only (concept-name string matching)
- Full LSP (completions, go-to-definition, semantic tokens) depends on grammar design
Key Design Decisions Already Made
- Python 3.10+ with
pyglsfor LSP,mcpSDK for MCP exposure - Dual protocol: LSP for IDE integration + MCP for agent integration
- Medicine-wheel-ontology-core alignment: Concept registry types align with
RelationalNode,Relation,OcapFlagsfrom the published npm packages - YAML source of truth: Concepts maintained in YAML, compiled to JSON for serving, with optional OWL/SHACL export
- Four Directions metadata: Every concept and operation carries directional alignment (East/South/West/North)
- OCAP by default: All concept access respects Ownership, Control, Access, Possession flags
Success Criteria (Enhanced)
All original criteria plus:
- Server exposes MCP tools alongside LSP operations
- Concepts carry medicine-wheel-ontology-core compatible types
- OCAP flags are checked on every concept access
- Four Directions metadata enriches every query response
- Agent orchestration: server can participate in multi-agent workflows as a concept-resolution specialist
- Wisdom Ledger integration: concept usage tracked and queryable over time
- Ceremony protocol: concept changes trigger ceremony-aware workflows