Skip to content

Generated Source Map

This page is generated by npm run docs:generate. It lists the public manual pages and the repo inventories used for coverage checks.

Accounting
/docs/accounting
Torq accounting model, state ownership, reconciliation, invariants, value flows, and failure handling.
Torq AI context pack
/ai/context
Understand the compact, generated contract that tells an AI what Torq exposes and which boundaries it must preserve.
Build an earn agent
/ai/earn-agent
Compose discovery, suitability, explanation, portfolio, and redemption experiences from Torq investor resources.
Evaluate your Torq AI
/ai/evaluation
Prove grounding, state freshness, tenant isolation, workflow integrity, and refusal behavior before customer use.
Build securely with Torq and AI
/ai
Ground an AI system in Torq, create institutional earn copilots, and prepare non-custodial workflows without giving a model signing authority.
AI quickstart
/ai/quickstart
Feed Torq to an AI, answer a grounded earn question, and prepare a safely bounded workflow in a few steps.
Machine-readable AI reference
/ai/reference
Stable public URLs for AI context, documentation discovery, API schemas, capabilities, and code-level integration.
Retrieval and grounding
/ai/retrieval
Build a small, version-aware retrieval layer that cites Torq sources and refreshes live state for every decision.
Secure AI workflow execution
/ai/secure-workflows
Keep transaction targets, calldata, user approval, signing, and canonical completion outside the model's trust boundary.
Architecture
/docs/architecture
The architecture layers that make Torq a governed credit facility operating system.

Evidence inventories

Product routes
apps/web/src/app/router.tsx, apps/web/src/app/routerCompatibilityRoutes.tsx
User-visible surfaces
apps/web/config/pageSurfaceRegistry.json
Actions and permissions
apps/web/config/functionRegistry.json, apps/web/config/roleFunctionCatalog.json, apps/web/config/roleFieldCatalog.json
APIs
services/indexer/api/**, services/indexer/data/platform/graphql-schema*.mjs
Database schema
services/indexer/data/migrations/**
Current contract sources
protocol/contracts/security/manifests/torq-v2-active-contract-inventory.json
Accounting
docs/accounting/accounting-inventory.md, docs/accounting/accounting-invariants.md
Governance and security
config/boundary-governance-contract.json, docs/governance/**, ops/security/**