Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
[
{
"tool_name": "Read",
"tool_use_id": "toolu_014LSeErwKf4nsu1ArL7rfXo",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\ingestion\\parser.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_5e95632d76bf49e7886230b8a7aa3e2a",
"tool_input": {
"targets": [
"packages/core/src/repowise/core/ingestion/parser.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01P77H3c1LrnnZBi8MTE2LvR",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\ingestion\\parser.py",
"old_string": "\"\"\"Unified AST parser \u2014 one class for all languages.\n",
"new_string": "\"\"\"Unified AST parser \u2014 one class for all languages.\n# lens replay\n",
"replace_all": false
},
"result": {
"additionalContext": [
"[repowise] packages/core/src/repowise/core/ingestion/parser.py has a decision recorded in it, mined but not reviewed: Configure languages declaratively in queries and language configs because Adding a language requires only one ``.scm`` file and one ``LanguageConfig`` entry, rather than a new Python class or module..\n[repowise] packages/core/src/repowise/core/ingestion/parser.py has been bug-fixed 42x in the last 6 months, last today (bug magnet); mostly in parse_file."
]
}
},
{
"tool_name": "Grep",
"tool_use_id": "toolu_01WohgYiv8LCTJGJjm9aGzEA",
"tool_input": {
"pattern": "def parse_file",
"path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\ingestion"
},
"result": {}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_01SQrvMx7WTmTXRWKcmWzEW8",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\analysis\\health\\engine.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_fdca0f2233a84f929a005acc16948dbe",
"tool_input": {
"targets": [
"packages/core/src/repowise/core/analysis/health/engine.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01RQU8ACcXBE7y2MqQFUiYXW",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\analysis\\health\\engine.py",
"old_string": "\"\"\"HealthAnalyzer \u2014 thin orchestrator over walker \u2192 biomarkers \u2192 scorer.\n",
"new_string": "\"\"\"HealthAnalyzer \u2014 thin orchestrator over walker \u2192 biomarkers \u2192 scorer.\n# lens replay\n",
"replace_all": false
},
"result": {
"additionalContext": [
"[repowise] packages/core/src/repowise/core/analysis/health/engine.py has a decision recorded in it, mined but not reviewed: Propagate maximum complexity to symbols because This lets downstream consumers benefit from the computed complexity..\n[repowise] packages/core/src/repowise/core/analysis/health/engine.py has been bug-fixed 39x in the last 6 months, last today (bug magnet); mostly in analyze."
]
}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_018enhLPN24xDA5otC3ULC4B",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\analysis\\dead_code\\analyzer.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_0356eca91d6442a19f72c5a03d58f26f",
"tool_input": {
"targets": [
"packages/core/src/repowise/core/analysis/dead_code/analyzer.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_018jYGKirRfgW3qFpfn18zGJ",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\analysis\\dead_code\\analyzer.py",
"old_string": "\"\"\"DeadCodeAnalyzer \u00e2\u20ac\u201d pure graph + git-metadata dead-code detection.\n",
"new_string": "\"\"\"DeadCodeAnalyzer \u00e2\u20ac\u201d pure graph + git-metadata dead-code detection.\n# lens replay\n",
"replace_all": false
},
"result": {
"additionalContext": [
"[repowise] packages/core/src/repowise/core/analysis/dead_code/analyzer.py has a decision recorded in it, mined but not reviewed: Share one identifier shape for absence scans.\n[repowise] packages/core/src/repowise/core/analysis/dead_code/analyzer.py has been bug-fixed 53x in the last 6 months, last today (bug magnet); mostly in _member_is_used."
]
}
},
{
"tool_name": "Glob",
"tool_use_id": "toolu_01XErLAprHk19bXLHLpFRe9o",
"tool_input": {
"pattern": "packages/core/src/repowise/core/persistence/*.py"
},
"result": {}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_014P2jjzhiE2JJ5CmJC5TSy8",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\persistence\\database.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_b9f0e77f4e924b4bb8cb758c095528e0",
"tool_input": {
"targets": [
"packages/core/src/repowise/core/persistence/database.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01UbCz8kNz6XGe1DGjsHkQcJ",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\persistence\\database.py",
"old_string": "\"\"\"Async database engine and session factory for repowise.\n",
"new_string": "\"\"\"Async database engine and session factory for repowise.\n# lens replay\n",
"replace_all": false
},
"result": {}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_01Sw91kGAFQevCFd6VjaCedp",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\pipeline\\persist.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_ac0d74f12f54410e857680767f8fdc30",
"tool_input": {
"targets": [
"packages/core/src/repowise/core/pipeline/persist.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01Ji132q7tGduw4sNJcNHejh",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\core\\src\\repowise\\core\\pipeline\\persist.py",
"old_string": "\"\"\"Shared persistence logic for pipeline results.\n",
"new_string": "\"\"\"Shared persistence logic for pipeline results.\n# lens replay\n",
"replace_all": false
},
"result": {}
},
{
"tool_name": "Bash",
"tool_use_id": "toolu_01B6BEUFkdNnSBHWYQT9tKf7",
"tool_input": {
"command": "repowise distill git log -n 200",
"description": "Run repowise distill over recent git log"
},
"result": {}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_01A6bt3WudnErhxY8Ru5HXmX",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\types\\src\\health.ts",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_609be1095ace4b77b2181c765de36c31",
"tool_input": {
"targets": [
"packages/types/src/health.ts"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01KKaWAvH2qnoRUWj4eBhkUq",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\types\\src\\health.ts",
"old_string": "/**\n * Canonical code-health wire contract",
"new_string": "/**\n// lens replay\n * Canonical code-health wire contract",
"replace_all": false
},
"result": {}
},
{
"tool_name": "Grep",
"tool_use_id": "toolu_01MvhxzUMbfWPGcgAJwZ7hk7",
"tool_input": {
"pattern": "_persist_full_update_async",
"path": "C:\\work\\repo\\packages\\cli\\src\\repowise\\cli\\commands\\update_cmd"
},
"result": {}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_01S6C1u9GmwTEpDfGLXNxFhm",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\cli\\src\\repowise\\cli\\commands\\update_cmd\\persistence.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_951e839681434442b5b7d1c0677bc447",
"tool_input": {
"targets": [
"packages/cli/src/repowise/cli/commands/update_cmd/persistence.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01CH2YPi9ddZv5R41aXaesyY",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\cli\\src\\repowise\\cli\\commands\\update_cmd\\persistence.py",
"old_string": "\"\"\"Persistence + health-rescore helpers for ``repowise update``.\n",
"new_string": "\"\"\"Persistence + health-rescore helpers for ``repowise update``.\n# lens replay\n",
"replace_all": false
},
"result": {}
},
{
"tool_name": "Read",
"tool_use_id": "toolu_015hW12uHNqdtNeiW3emAzoX",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\cli\\src\\repowise\\cli\\__init__.py",
"limit": 15
},
"result": {}
},
{
"tool_name": "mcp__plugin_repowise_repowise__get_context",
"tool_use_id": "toolu_plugin_d4cca228061144de8690de9d159013f3",
"tool_input": {
"targets": [
"packages/cli/src/repowise/cli/__init__.py"
],
"include": [
"callers",
"ownership"
]
},
"result": {}
},
{
"tool_name": "Edit",
"tool_use_id": "toolu_01715f5pFwN9aafddu46MNJs",
"tool_input": {
"file_path": "C:\\work\\repo\\packages\\cli\\src\\repowise\\cli\\__init__.py",
"old_string": "\"\"\"repowise CLI package.\n",
"new_string": "\"\"\"repowise CLI package.\n# lens replay\n",
"replace_all": false
},
"result": {}
}
]