trovex Compare Answers Glossary Setup star on GitHub

Updated

What is a canonical doc?

Definition

A canonical doc is the single current, authoritative document for a topic, the one a coding agent should treat as the source of truth when several files cover the same ground.

In a real repo, many .md files touch the same subject: a runbook, an older wiki copy, a postmortem. Only one is current. The canonical doc is that one. trovex marks it canonical and serves it for a query, so an agent reads the authoritative copy instead of guessing from a pile.

The opposite of canonical is stale (superseded) or duplicate (a redundant copy). Those are the two failure modes a canonical doc rules out.

Give your agents one source of truth.

One current answer per query, with a freshness marker, in about a minute.

Open source. No cloud, no API keys. Your docs never leave your machine.