This release adds 1 notable feature for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Summary
AI summaryNew analyze_codebase(path) tool performs zero-token cold-start analysis of legacy codebases.
Full changelog
What's New
🆕 analyze_codebase(path) — 28th MCP Tool
Zero-token cold-start analysis of legacy source code directories.
The problem it solves: bootstrapping a large undocumented codebase currently requires the LLM agent to read hundreds of files, costing $5–50 in tokens and 30–60 minutes. analyze_codebase() eliminates that.
How it works:
- Runs entirely server-side inside the Docker container
- Python files: parsed with Python's built-in
astmodule — extracts classes, functions, docstrings, imports - TypeScript/JavaScript: regex extraction of exports, classes, functions, JSDoc
- Classification: existing MiniLM model + nearest-centroid against Flaiwheel's 9 knowledge categories (zero new models)
- Deduplication: existing cosine similarity pipeline (threshold 0.92)
- Prioritization: documentability score = docstrings(+3) + import density(+2) + public API surface(+0.6/fn) + entry-point name patterns(+2)
Output: single bootstrap_report.md with:
- Language distribution
- Inferred category distribution
- Top 20 files to document first (ranked table)
- Near-duplicate file pairs
- Directories with no parsed code
Cost: ~90% token reduction vs. agent-driven file reading. ~5–30 seconds for a typical repo.
Zero new dependencies — Docker image stays ~1GB.
Other Changes
- 20 new tests — total suite now 259
- Total MCP tools: 27 → 28
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About dl4rce/flaiwheel
Self-hosted memory and governance layer for AI coding agents. 28 MCP tools with structured knowledge capture, hybrid search (semantic + BM25 + cross-encoder reranking), behavioral documentation nudges, cold-start codebase analyzer, and git-native storage. Single Docker container, zero cloud dependencies.
Related context
Beta — feedback welcome: [email protected]