Docs that describe a file
docguard_docs_for_pathFind which documentation describes a project file, returning canonical doc lines, agent instruction lines, @implements/@req IDs, @doc annotations, and covering sections with review state.
Instructions
Exact answer to "which documentation describes this file?": canonical doc lines that name it (with heading, anchor and section), AGENTS.md/CLAUDE.md/GEMINI.md lines, the @implements/@req IDs it declares, its @doc annotations, and doc sections whose covers= includes it with their review state. Deterministic, bounded, no model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project-relative file path, e.g. src/api/users.ts | |
| projectDir | No | Project to inspect: a directory inside the directories this server serves (absolute, or relative to the served directory). Defaults to the served directory. |