v0.5.5
Changelog
[0.5.5] - 2026-05-01
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[0.5.4] - 2026-05-01
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[0.5.3] - 2026-05-01
Added
docuflow sync --ai— One-shot wiki sync (AI-powered locally)- Auto-detects best AI bridge (Copilot → Claude Code → Codex)
--copilot,--claude,--codexflags to force bridge--since-commit REFfor incremental sync--fail-on-score Nto fail if health < threshold--quietmode for scripting/CI integration
- Local-first development — Git post-commit hook auto-syncs on every commit
- No GitHub Actions workflow overhead
- No API key management needed
- Instant local feedback on wiki health
- Comprehensive setup guide —
LOCAL_SYNC_SETUP.mdwith workflows and troubleshooting
Changed
- CLI now prioritizes local AI bridges for faster, more reliable sync
- Copilot CLI (MCP direct calling) preferred
- Claude Code and Codex supported
- ANTHROPIC_API_KEY fallback for API-based sync
Fixed
- Watch daemon graceful recovery on AI bridge timeouts
- Proper handling of no-code-changes commits
[0.5.2] - 2026-05-01
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[0.5.1] - 2026-05-01
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[0.5.0] - 2026-05-01
Added
docuflow watch — Auto-sync daemon
- Background daemon that watches for changes and syncs the wiki automatically
- Source file watcher: drop a
.mdinto.docuflow/sources/and it's ingested in <1 second - Code file watcher: detects changes to
.ts,.py,.go,.rb,.java,.csetc. and triggers AI-powered documentation - Scheduled lint: runs
lint_wikievery N hours (default: 24h) and reports health score --lint-interval N,--code-ext ts,pyflags--aiflag enables the AI bridge (auto-detects best available)--copilot,--claude,--codexflags to force a specific AI bridge
docuflow watch stop/status/restart — Daemon lifecycle
watch stop— gracefully stop the running daemon (SIGTERM → 5s wait → SIGKILL if needed)watch status— see if daemon is running: shows● running, PID, uptime, bridge, started timewatch restart— stop + restart with identical options automatically- Auto-cleans stale PID files if the process died unexpectedly
docuflow sync — One-shot sync for CI/CD and git hooks
- Re-ingest all sources, rebuild index, run health check — in one command
--source <file>— sync a single file--no-lint— skip health check (faster)--fail-on-score N— exit 1 if health score < N (CI quality gate, default: 70)--quiet— suppress output for clean CI logs--since-commit <REF>— only process code that changed since a git ref--ai— AI-powered sync: detects changed code and auto-documents it
AI bridge — 4 supported AI engines
| Priority | Bridge | How it syncs |
|---|---|---|
| 1 | @github/copilot CLI |
Directly calls DocuFlow MCP tools (ingest, index, lint) ⚡ |
| 2 | claude CLI (Claude Code) |
Directly calls DocuFlow MCP tools ⚡ |
| 3 | codex CLI (OpenAI Codex) |
Generates doc text → saves to sources/ → ingests |
| 4 | ANTHROPIC_API_KEY |
Same as codex via direct HTTPS API |
Key insight: When @github/copilot or claude is used, the AI agent directly calls DocuFlow MCP tools (ingest_source, update_index, lint_wiki) and returns a full wiki maintenance report — no intermediate step needed.
Git hook auto-installation
docuflow initnow installs.git/hooks/post-commitautomatically- After every
git commit, the wiki syncs in the background (never delays your git workflow) - Uses the best available AI bridge automatically
Fixed
- Double-fire on macOS
fs.watch— debounce prevents duplicate ingestion setInterval32-bit overflow for large lint intervals- Claude CLI bridge now passes
--dangerously-skip-permissionsfor non-interactive MCP tool use
Added
docuflow initnow registers DocuFlow in OpenAI Codex CLI (~/.codex/config.toml) — MCP tools available in every Codex session automaticallydocuflow initnow generates AGENTS.md in the project root — Codex reads DocuFlow tool instructions automatically (mirrors CLAUDE.md for Claude Code)docuflow initoutput now lists all 5 targets: Claude Desktop, VS Code Copilot (user), Copilot CLI, Codex CLI, Workspace
Added
docuflow initnow registers DocuFlow in GitHub Copilot CLI (~/.copilot/mcp-config.json) — tools available ingh copilotagent sessions automaticallydocuflow initnow writes a project-level.vscode/mcp.json— commit it to share DocuFlow with your whole team without each member needing to run initdocuflow initoutput now shows all 4 registration targets: Claude Desktop ✓, VS Code Copilot (user) ✓, Copilot CLI ✓, Workspace ✓
[0.4.4] - 2026-04-23
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[0.4.3] - 2026-04-23
Added
docuflow initnow registers DocuFlow in GitHub Copilot (VS Code user MCP config) in addition to Claude Desktop — one command sets up both AI toolsdocuflow --version/-vflag to print installed version
[0.4.2] - 2026-04-23
Added
docuflow --versionanddocuflow -v— print the installed version- Improved bare
docuflowhelp output with version header and structured sections
[0.4.1] - 2026-04-23
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[0.4.0] - 2026-04-23
Added
generate_dependency_graph— 15th MCP tool. Scans a project and builds an import/shared-table/shared-endpoint graph. Returnsnodes,edges,shared_tables,shared_endpoints, andmost_connected(top 10 highest-risk files). Supportsfocus(neighbourhood filter) andextensionsfilter.docuflow suggest— New CLI command. Domain-aware first-steps guidance — auto-detects your domain (Code/Research/Business/Personal) from.docuflow/schema.md, prints 5 prioritised wiki page suggestions with reasons and ready-to-paste Claude prompts.- CLAUDE.md generation —
docuflow initanddocuflow init --interactivenow writeCLAUDE.mdat the project root. Contains all 15 tool descriptions, common workflows, and storage layout. Idempotent: safe to run multiple times. - Staleness detection —
list_wikireturnsstale: booleanper page andstale_pagestotal count.read_specsreturnsstale: booleanper spec. Threshold: 30 days since last update. - Go extraction — Struct/interface types, func declarations, import blocks,
os.Getenv, gorilla/mux/gin/chi/echo HTTP routes, GORM table references. - Ruby/Rails extraction — Class/module/def declarations, require,
ENV[], Rails route helpers (get,post,resources), ActiveRecord associations and explicit table names. - Enhanced
docuflow status— Now shows package version, CLAUDE.md presence, wiki page counts by category, source file count, last ingest date, and smart hints. - Richer ingest_source pages — Entity and concept pages now include the surrounding paragraph from the source document instead of an empty "Introduced in" stub.
- Dynamic preview_generation — Previews now read actual wiki page count and source file size before producing estimates instead of using hardcoded strings.
Fixed
- lint_wiki path bug — All health check functions were looking for pages at
wiki/pageId.md(flat) instead ofwiki/entities/pageId.md(subdirectory). Result: every lint check silently returned 0 issues. Now correctly resolves full file paths. - Category pluralization bug —
"entities".replace("s","")→"entitie"(not"entity"). Fixed inlist_wiki,wiki_search,update_index, andsave_answer_as_pageusing a lookup map. - save_answer_as_page links — Related Pages linked to
../CATEGORY/pageId.mdwith the literal string"CATEGORY". Now resolves the actual directory name. - list_wiki filter bug — Filtering by category
entitywas building pathwiki/entitys/. Fixed withSINGULAR_TO_PLURALmap. - init-interactive.ts tip — Misleading "open
.claude/instructions.md" tip now correctly referencesCLAUDE.md.
Changed
- Tool count: 14 → 15
- CLI commands: 2 → 3 (
suggestadded)
[0.2.0] - 2026-04-16
Added
LLM Wiki Pattern Implementation (Phases 1-5)
- Complete LLM Wiki architecture: persistent, incrementally-maintained knowledge bases
- 12 MCP tools for wiki management:
- Ingest & Index:
ingest_source,update_index,list_wiki - Query & Synthesis:
wiki_search,query_wiki,answer_synthesis,save_answer_as_page - Maintenance:
lint_wikiwith health scoring, contradiction detection, orphan page detection
- Ingest & Index:
- Domain-specific wiki schemas (4 templates: Code, Research, Business, Personal)
- Real-world example: Docuflow's own 188-page wiki at 100% health score
User Experience Enhancement (Phase 6)
-
Copilot Auto-Discovery:
.claude/instructions.md(35 KB) teaches Claude about Docuflow- Claude reads at session start and auto-discovers when to use Docuflow
- No longer requires explicit instruction to call Docuflow tools
-
Tool Transparency: Two new guidance tools
preview_generation— Shows what tools will do before running (predicted actions, impact level, files affected)get_schema_guidance— Recommends what documents should exist based on domain and wiki state
-
Comprehensive Documentation (110+ KB)
TROUBLESHOOTING.md— Problem-solving guide (command not found, MCP issues, wiki quality, performance, data safety)WHEN_TO_USE.md— Decision framework with matrix, cost-benefit analysis, domain-specific guidanceCOPILOT_INTEGRATION.md— LLM agent integration referenceUSAGE_EXAMPLES.md— 6 real-world workflowsBEST_PRACTICES.md— Maintenance guidelinesEXAMPLE_SCHEMAS.md— 4 domain-specific templatesLLM_WIKI_PATTERN.md— Deep dive on pattern philosophy
-
Interactive Initialization
docuflow init --interactive— Domain-aware setup (Code/Research/Business/Personal)- Guided prompts for project info
- Auto-generated domain-specific schema
- Planning template with first sources and questions
- Next steps guidance
Changed
- Updated all 12 MCP tools to support domain-specific schemas
- Enhanced README with Phase 6 info, 14 tools, and getting started guide
- Updated monorepo documentation with new tool locations
Fixed
Resolved All Pre-LLM-Wiki Testing Concerns:
- ✅ Claude doesn't auto-discover Docuflow →
.claude/instructions.md - ✅ Tool execution feels like a "black box" →
preview_generationtool - ✅ No guidance on document planning →
get_schema_guidance+ decision frameworks - ✅ Poor onboarding → Interactive init with domain templates
- ✅ No troubleshooting →
TROUBLESHOOTING.mdguide - ✅ Unclear decision-making →
WHEN_TO_USE.mdmatrix - ✅ No transparency in tool behavior → Preview tool + clear predictions
Quality Metrics
- ✅ 127+ tests passing (100% pass rate across all 6 phases)
- ✅ 0 breaking changes (100% backward compatible)
- ✅ 14 MCP tools (4 legacy + 10 new LLM Wiki tools)
- ✅ Build clean (0 errors, 0 warnings)
- ✅ Real-world validation (Docuflow's own 188-page wiki)
Migration & Breaking Changes
None. This release is fully backward compatible with 0.1.x.
All legacy tools (read_module, list_modules, write_spec, read_specs) continue to work unchanged.
Documentation
- New User Guide: Start with
docs/WHEN_TO_USE.mdto decide if Docuflow is right for you - Getting Started: Run
docuflow init --interactivefor domain-aware setup - For Claude Users: LLM agents auto-discover Docuflow via
.claude/instructions.md - Troubleshooting: See
docs/TROUBLESHOOTING.mdfor common issues and solutions - Examples: See
docs/USAGE_EXAMPLES.mdfor real-world workflows
All notable changes to Docuflow are documented here.
Format follows Keep a Changelog
Versioning follows Semantic Versioning
[0.1.1] — 2026-04-09
Added
- Package README files on npmjs.com for both
@doquflow/serverand@doquflow/cli
[0.1.0] — 2026-04-09
First public release
Core MCP Tools
read_module— Read one source file, extract classes, functions, dependencies,
DB tables, endpoints, config refs, raw content (truncated 8 000 chars)list_modules— Walk a project directory, bulk-extract all non-binary files,
return structured facts per file (no raw content for performance)write_spec— Write a markdown spec to.docuflow/specs/<name>.md,
update the per-project index. Serialised per project to prevent race conditions.read_specs— Read saved specs back; optionally filter by module name
Language Support
TypeScript, JavaScript, Python, Go, Rust, Java, C#, PHP, Ruby, Kotlin, Swift,
Angular, Vue, HTML, SQL, Shell, PowerShell, YAML, JSON, and more.
Extraction Engine
Regex-based extraction for classes, interfaces, functions, dependencies,
database tables (SQL + Entity Framework), REST endpoints (.NET, Express, NestJS),
and config/environment references.
Developer Experience
npx @doquflow/cli init— registers Docuflow MCP in Claude Desktop confignpx @doquflow/cli status— shows spec count and registration state- Zero AI calls inside the server — all intelligence stays in the agent
- No API keys, no network calls, no AI dependencies