Merge pull request #190 from Omar-Basel-ALkhasawneh/patch-1

Enhance multi-agent pipeline documentation
This commit is contained in:
Yuxiang Lin
2026-08-26 02:38:15 -04:00
committed by GitHub
+14 -11
View File
@@ -330,19 +330,22 @@ This split is why the graph is reproducible on the structural side (the same cod
### Multi-Agent Pipeline
The `/understand` command orchestrates 5 specialized agents, and `/understand-domain` adds a 6th:
The `/understand` command orchestrates 5 specialized agents, `/understand-domain` adds a 6th, and `/understand-knowledge` adds a 7th:
| Agent | Role |
|-------|------|
| `project-scanner` | Discover files, detect languages and frameworks |
| `file-analyzer` | Extract functions, classes, imports; produce graph nodes and edges |
| `architecture-analyzer` | Identify architectural layers |
| `tour-builder` | Generate guided learning tours |
| `graph-reviewer` | Validate graph completeness and referential integrity (runs inline by default; use `--review` for full LLM review) |
| `domain-analyzer` | Extract business domains, flows, and process steps (used by `/understand-domain`) |
| `article-analyzer` | Extract entities, claims, and implicit relationships from wiki articles (used by `/understand-knowledge`) |
| Agent | Role | Used By |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------- |
| `project-scanner` | Discovers files, detects languages and frameworks | `/understand` |
| `file-analyzer` | Extracts functions, classes, imports; produces graph nodes and edges | `/understand` |
| `architecture-analyzer` | Identifies architectural layers | `/understand` |
| `tour-builder` | Generates guided learning tours | `/understand` |
| `graph-reviewer` | Validates graph completeness and referential integrity. Runs inline by default; use `--review` for full LLM review | `/understand` |
| `domain-analyzer` | Extracts business domains, flows, and process steps | `/understand-domain` |
| `article-analyzer` | Extracts entities, claims, and implicit relationships from wiki articles | `/understand-knowledge` |
File analyzers run in parallel, up to 5 concurrent workers and 2030 files per batch.
The pipeline also supports incremental updates: only files changed since the last run are re-analyzed.
File analyzers run in parallel (up to 5 concurrent, 20-30 files per batch). Supports incremental updates — only re-analyzes files that changed since the last run.
---