Gessa Docs

Documentation

Information Architecture

The Diataxis content structure for Gessa product docs plus the parallel AI-agent documentation axis, mapped to the real v1 page paths.
engine v1.0.234since v1Copy for LLM

This page defines how Gessa documentation is organized. It applies the Diataxis framework to human product docs and adds a separate axis for AI-agent documentation. Every page mapped here is a Tier-3 hand-authored page that links down to Tier-2 generated reference; see the Documentation Contract Architecture for the three-tier model.

The folder structure, the Diataxis mapping, and the page paths below are real and present in the v1 tree today; the depth of individual pages varies, and a subsystem with no page yet is marked (planned). Every listed page links down to its Tier-2 generated reference rather than restating it.

Two audiences, two surfaces, one ground truth:

  • Product docs teach humans. They live under docs/product/v1/ and follow Diataxis: a reader knows whether they want to learn, do a task, look something up, or understand a concept, and the IA routes them accordingly.
  • AI-context docs orient agents. They live under docs/ai-context/v1/ and are concise and operational: what to call, what not to call, and what proof is required before claiming a world is playable.
  • Both link down to Tier-2 generated reference. Neither surface restates a generated table. When a page needs the canonical ECS component list, Action Catalog verbs, or MCP tool inventory, it links to the relevant file under docs/spec/generated/ or docs/creator/mcp/.

The load-bearing product verbs (Spawn, Build, Play, Generate) anchor task-oriented pages. A "world" is a persistent stateful environment, not merely a renderable scene, and the frontend is a non-authoritative projection over backend authority; the IA keeps these framings consistent across every mode.

Diataxis: Product Documentation

The product landing page is docs/product/v1/index.md (H1: "Gessa Product Documentation (v1)"), and the shortest path from zero to a running world is docs/product/v1/start/quickstart.md. The four Diataxis modes map to subfolders of docs/product/v1/.

Tutorials (learning-oriented)

Guided, end-to-end lessons for a newcomer.

How-to (task-oriented)

Recipes for a reader who already knows the basics and has a specific goal.

Reference (information-oriented)

Thin orientation pages that point at Tier-2 generated reference. These never duplicate generated tables.

Dedicated reference pages for capabilities, the SDK surface, the World Build Contract, the renderer, and the Platform Catalog are (planned); until they exist, link directly to the Tier-2 generated files for those subsystems.

Explanation (understanding-oriented)

Conceptual pages that explain why the contracts are shaped the way they are.

AI-Agent Documentation

A separate axis serves agents, not human learners. It lives under docs/ai-context/v1/ and is concise and operational. The index is docs/ai-context/v1/README.md (H1: "Gessa AI Context (v1)"), and the machine discovery entry point is docs/ai-context/v1/llms.txt (first line: "# Gessa").

The shared, client-agnostic context files:

Per-client orientation. The five intended agent audiences map onto the current files as follows:

Codex

  • docs/ai-context/v1/codex.md: how OpenAI Codex-style agents should discover ECS components, author scripts semantically, and avoid raw Project Graph mutations.

Claude Code

MCP clients

SDK users

Internal Gessa agents

Directory Trees

Current docs/product/v1/:

Text
docs/product/v1/
  index.md                      # H1: Gessa Product Documentation (v1)
  start/
    quickstart.md
  tutorials/
    create-a-world.md
    create-a-playable-game.md
  how-to/
    use-mcp-tools.md
    edit-components.md
    write-gessascript.md
    publish-and-play.md
  reference/
    ecs-components.md
    mcp-tools.md
    action-catalog.md
    script-nodes.md
    runtime-playability.md
  explanation/
    backend-authority.md
    project-graph.md
    script-ir-and-gessascript.md
    playability-proofs.md

Current docs/ai-context/v1/:

Text
docs/ai-context/v1/
  README.md                     # H1: Gessa AI Context (v1)
  llms.txt                      # first line: # Gessa
  llms-full.md
  codex.md
  claude-code.md
  mcp-tool-use.md
  common-failures-and-repairs.md
  ai-context-manifest.json

Versioned Folders

The IA is versioned by engine version. Today only v1 exists, aligned to packages/engine-version (see the versioning model). Both axes follow folder-per-version: docs/product/v1/ and docs/ai-context/v1/. A future engine major opens docs/product/v2/ and docs/ai-context/v2/; do not pre-create them. Per-version URLs stay stable so a citation never breaks when the next major opens.

Status

The folder structure, the Diataxis mapping, the AI-agent axis, and the page paths are real and consistent with the Documentation Contract Architecture Subsystem Mapping. Individual page depth varies and grows through systematic authoring; each page links down to its Tier-2 generated reference rather than restating it. Rows and pages marked (planned) do not exist yet and are candidates for the next authoring pass.

Was this helpful?Report an issueContact support

On this page