Knowledge Export / AI Context Generation

Description

Generate a compact, offline AI knowledge pack from the engine so that LLM agents have accurate context before (or without) connecting to a running game instance.

This dramatically reduces hallucinations because the agent has authoritative schema information, not source-code inference.

Note: Implement after MCP Integration is stable. This is a low-priority quality-of-life issue.

CLI

turian docs export-ai-context

Output

turian-ai-context/
  engine-overview.md
  component-schema.json
  asset-schema.json
  protocol-reference.json
  examples/
    inspect-entity.json
    list-scenes.json

Target Consumers

  • Claude Code (CLAUDE.md context)
  • Gemini CLI
  • Cursor / Windsurf
  • Any MCP client needing offline schema reference

Acceptance Criteria

  • turian docs export-ai-context command implemented
  • Output is self-contained and portable (no engine running required)
  • Published snapshot available at turian.mass4.org/docs/ai-context