medicine-wheel

RISE Spec: Plan Insight Perspective Registration

Anchor: jgwill/Miadi#483.

Companion lanterns:

Status: specification only. This file authorizes no medicine-wheel code change in the @miadi/plan-insight implementation session.

Reverse Engineering

Intent

Medicine-wheel stores a queryable relational projection so plans and all related episodes can find Miette’s perspective. It never becomes the author or source of truth: the session file remains authoritative, and medicine-wheel never generates, edits, or rewrites narrative Markdown.

Specifications

Shared payload

Consume the exact PerspectiveRecord contract pinned by @miadi/plan-insight:

REST surface

Malformed records return 400. Storage failures are explicit server failures; no success-shaped empty fallback is allowed for writes.

Storage providers

Mirror the file layout and provider discipline established for Inquiry Weaves:

The persistence layer stores projections only. It receives no generator, prompt, model, or filesystem authority.

MCP surface

Add mcp/src/tools/plan-perspectives.ts with tools equivalent to:

MCP tools call the same service/storage contract as REST and cannot generate or rewrite perspective prose.

Exportation

No implementation or build is part of the Miadi carrier session.