imbue-ai / mngr
Code health
This codebase scores 6.6 out of 10 for code health, which we rate fair. It also scores maintainability 8.0 and static performance 9.6 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 389 of 2,766 files are git hotspots, and they average 5.0 — which is where the fixes pay off most.
Do next
1 suggested
3 things worth doing this quarter, 2 of them now.
Worth planning
Delete 129 unused symbols and files (2,882 lines)
Nothing in the graph reaches them, across 69 files; every reader and agent pays to skip them.
- symbols
- 129
- lines
- 2,882
- safe to delete
- Yes(inferred)
Medium effort
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effortReview the 16 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 16
- accepted
- 0
Medium effort
- Lines of code
- 487.8K
Recent activity
All commitsCommits
- c3adcc38Merge pull request mngr-internal#397 from imbue-ai/danver/mind-171-claude-bang-command-desync2mo ago
- 15e8fc9cBump minds to 0.3.16; pin FALLBACK_BRANCH to minds-v0.3.162mo ago
- 34919d53Fix ruff formatting in share_materials_injection.py2mo ago
- 0f426feeMerge pull request mngr-internal#425 from imbue-ai/mngr/deploy-0-3-152mo ago
- 5dd5ca4aMerge pull request mngr-internal#430 from imbue-ai/mngr/better-owner-exec2mo ago
- 759a7a73Merge pull request mngr-internal#428 from imbue-ai/mngr/backcompat-event-schema2mo ago
Decisions
- mngr_modal: keep test-only TestingModalInterface out of production import graphproposed · 2mo ago
- Fix mngr forward --use-http2 TLS teardown noise and 30s hangproposed · 2mo ago
- WIP: shlex-quote agent args in HeadlessClaude.assemble_commandproposed · 2mo ago
- Fix headless_claude parsing for stream-json default envelope and add dedup guardproposed · 2mo ago
- Remove mngr list --watch; use mngr observe --discovery-only insteadproposed · 2mo ago
- Warn about malformed JSONL lines unless they are at end-of-file truncationproposed · 2mo ago
Everything we found
6,288 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is critical severity. Code health3,862Untested hotspot · apps/minds/scripts/launch_to_msg_e2e.py53 findings · 10.0 deducted
- worst item is medium severity. Refactoring482_pytest_configure+1.5 health, M effort · libs/imbue_common/imbue/imbue_common/conftest_hooks.py
- worst item is medium severity. Decisions405apps/minds/imbue/minds/desktop_client/app.py16 awaiting review · 389 hotspots ungoverned
- worst item is medium severity. Ownership1,413libs/mngr_kanpan/imbue/mngr_kanpan/tui.py98% single-owner concentration, 53 commits in 90d
- worst item is low severity. Dead code126REDACTED_PLACEHOLDERUnreachable constant (0 lines)
Composition
Open the graph- python88%
- typescript7%
- shell2%
- javascript2%
- dockerfile<1%
Explore this codebase
- Docs4,387 pages across 4 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files2,766 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 68 entry points
- Code healthPer-file scores, 5,341 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.