topos.mcp.resources.docs

Documentation resources served over MCP.

Content lives in ./content/*.md and is returned verbatim — no runtime string-building. Agents fetch these on first encounter to understand the lattice, metrics, priority profiles, and the canonical refactor loop.

Line-length is waived because the docstrings (which become resource descriptions shown to clients) read better as single sentences.

topos.mcp.resources.docs.agent_contract()[source]

Compact outcome-first contract for agent loops: targets, gates, risks, and next-tool fields.

topos.mcp.resources.docs.lattice_reference()[source]

The 8-element 3-cube H(G_qual) over {SIMPLE, COMPOSABLE, SECURE}; bottom = SLOP, top = IDEAL.

topos.mcp.resources.docs.metrics_reference()[source]

Every metric key, good ranges, and how they roll up into dimension scores.

topos.mcp.resources.docs.priority_reference()[source]

Priority profiles (simple / composable / secure) and when to use each.

topos.mcp.resources.docs.preferences_reference()[source]

User preferences over G_qual: induced total order on Ω and the targeted relaxation walk toward the ideal intersection.

topos.mcp.resources.docs.workflow_guide()[source]

The canonical agent refactor loop: review → plan → refactor → re-measure. Read first.