v0.22.0 — Consolidated project setup
Overview
fw-context project-init has been merged into fw-context init. A single command now handles everything: MCP registration, instruction injection, config file creation, .gitignore management, and diagnostic output (build system, compile_commands.json status, index health).
Changes
Features
- Unified project setup —
fw-context initnow creates config files, manages .gitignore, validates config keys, and prints diagnostics in one step - Diagnostic output — build system detection, compile_commands.json status, and index health are shown after setup, even when no AI tools are detected
- Auto-fix mode — missing config keys and .gitignore entries are fixed automatically during init
Fixes
- DB connection properly closed — connection cleanup moved to finally block
- Consistent project_root resolution — uses resolve_project_root() like other commands
- No duplicate build system scan — detect_build_system() called once
| File | Change |
|---|---|
src/fw_context_mcp/cli.py |
Merged project-init into init, removed cmd_project_init |
docs/tools.md |
Removed project-init section |
docs/configuration.md |
Updated reference from project-init to init |
tests/test_system_indexing.py |
Fallback to manual config in CI without AI tools |
Breaking changes
fw-context project-initremoved — usefw-context initinstead- No read-only verify mode —
initalways applies fixes (config, .gitignore)