lee-to / ai-factory
Code health
This codebase scores 6.2 out of 10 for code health, which we rate fair. It also scores maintainability 7.1 and static performance 9.2 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 10 of 297 files are git hotspots, and they average 4.8 — which is where the fixes pay off most.
Do next
1 suggested
1 thing worth doing this quarter.
Worth planning
Fix 1 broken reference in
skills/aif/SKILL.mdThe document points readers and agents at a path this repository no longer has.
- broken references
- 1
- first
- skills/aif/SKILL.md#architecture-generation
Small 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 12 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 12
- accepted
- 0
Medium effort
- Lines of code
- 20.1K
Recent activity
All commitsCommits
- fd48ffb8fix(installer): ignore absent sources for newly selected runtimes3w ago
- d122abd2fix: retain configured workflow modes across research fallback3w ago
- bf5f0c3ffix(installer): preserve shared skills during rollback and profile changes3w ago
- 2a4ce92bfeat: support configurable workflow command defaults4w ago
- 06a84d36ci: configure VPS AI review workflow4w ago
- ac7f0235chore: ignore ai-tester run results4w ago
Decisions
- Reuse scanned path for --installed-pathproposed · 2w ago
- Prefer Learn Mode when reference material is availableproposed · 2w ago
- Always search skills.sh before generating and always scan before trustingproposed · 2w ago
- Verify generated artifacts against all skill-context rulesproposed · 2w ago
- Give skill-context rules priority over general behaviorproposed · 2w ago
- Perform two-level checks for every external skillproposed · 2w ago
Everything we found
923 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 health548Untested hotspot · src/core/installer.ts92 findings · 9.6 deducted
- worst item is low severity. Refactoring49test callback+0.9 health, S effort · scripts/test-codex-skill-targets.mjs
- worst item is medium severity. Doc drift271skills/aif/SKILL.mdLink points at #architecture-generation, which skills/aif/SKILL.md no longer declares.
- worst item is medium severity. Decisions22scripts/test-skills.sh12 awaiting review · 10 hotspots ungoverned
- worst item is medium severity. Ownership33scripts/test-codex-skill-targets.mjs88% single-owner concentration, 8 commits in 90d
Composition
Open the graph- typescript39%
- shell34%
- javascript18%
- python6%
- go3%
Explore this codebase
- Docs124 pages across 5 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files297 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 2 entry points
- Code healthPer-file scores, 548 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.