AIDE/DOCS/TOOLS/aide_discover

aide_discover

Updated
Source commit
249106a
Cite as
https://aidemd.dev/docs/tools/aide_discover?v=249106a

The map of the cascading intent tree. Agents use it instead of searching the file system for .aide files.

When to call it

  • Without a path, once at boot, to see where specs live.
  • With a module's path, before working on that module or delegating work on it.

Parameters

NameRequiredMeaning
pathNoA folder to drill into. Omit it for the project-wide map.

What it returns

  • Without path: a light map of the whole project: every spec file's location, its type tag (intent, research, plan, todo; a plan or todo tag carries its status, e.g. [plan: approved]) and each spec's one-line description. Only the head of each file is read.
  • With path: first the ancestor chain, every spec from the project root down to that folder with its description and alignment (aligned or misaligned when set), then the folder's subtree with summaries and warnings, such as an orchestrator with several helpers and no spec.

File types it recognizes

FileMeaning
.aideIntent spec (the default name).
intent.aideIntent spec, used when a research.aide sits in the same folder.
research.aideResearch gathered for the module.
plan.aideThe architect's implementation plan.
todo.aideQA's list of where the code drifted from intent.

A folder never holds both .aide and intent.aide.

Guarantees

  • Read-only.
← prev
aide_cleanup
next →
aide_frontmatter