analyze_knowledge_repo
Scans a knowledge repository for structural issues, duplicate files, and misplaced content, then provides a structured report with actionable cleanup steps.
Instructions
Analyse the knowledge repo for structure issues, duplicates, and misplaced files.
Read-only — no files are modified. Scans files already inside the
knowledge repo (inside the Docker volume), not the project source repo.
Caches the report in memory so execute_cleanup() can act on it in the
same session.
To classify and migrate files from the project source repo use
classify_documents() instead. For a simpler quality check without
cleanup proposals use check_knowledge_quality().
Args:
project: Target project name (optional)
Returns:
Structured report with file counts by category, duplicate pairs,
misplaced files, and numbered proposed cleanup actions (a1, a2, …)
ready for execute_cleanup().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |