v2.0.2
Changelog
[Unreleased]
[2.0.1] - 2026-06-10
Changed
- feat:
docuflow initnow runssuggestat the end — new users see domain-aware next steps and copy-paste Claude prompts immediately after setup, without needing to discoverdocuflow suggestseparately
[2.0.0] - 2026-05-20
Package split. Third milestone of the philosophy reset. @doquflow/server becomes a thin back-compat alias; the value pipe lives in new packages @doquflow/core (4 MCP tools, minimal) and @doquflow/studio (11 advanced tools + UI + REST API). @doquflow/cli is now a meta-package depending on both. See v2.0.0.md for the full narrative.
Added
- feat:
@doquflow/corepackage (#28) — irreducible MCP server with the 4 core tools (query_wiki,ingest_source,wiki_search,read_module), the extractor, types, filesystem helpers, and 49 unit tests - feat:
@doquflow/studiopackage (#29) — 11 advanced MCP tools, React web UI, Express REST API; depends on@doquflow/core; shipsdocuflow-studiobinary registering all 15 tools - feat:
docuflow doctordiagnostic command (#32) — reports installed packages, MCP registrations, workflow detection, recommendations, and wiki health; supports--jsonand--quiet
Changed
- refactor:
@doquflow/serveris now a 7-line shim re-exporting@doquflow/studio(#30) — existing.mcp.jsonregistrations keep working, 15 tools still served, package size dropped from ~188 KB → < 5 KB - refactor:
@doquflow/climeta-package (#31) — drops@doquflow/serverdependency, depends directly on@doquflow/core+@doquflow/studio - docs:
MIGRATION.mdextended with the v2.0 package layout, install matrix, decision tree, and deprecation timeline
Bright line
Zero breakage for existing users. npm i -g @doquflow/cli still gives the full surface. Every existing .mcp.json registration of @doquflow/server continues to work without modification.
[1.7.0] - 2026-05-20
Soft deprecation / core-vs-advanced surface split. Second milestone of the philosophy reset. Zero command removal — every existing top-level path keeps working. See v1.7.0.md for the full narrative.
Added
- feat:
docuflow query "<question>"core CLI command (#12) — direct value-out pipe, wrapsquery_wikiMCP tool; supports--max-sources,--json,--no-cite,--save-as,--quiet - feat:
docuflow ingest <file>core CLI command (#13) — direct value-in pipe, wrapsingest_sourceMCP tool; supports--all,--dry-run,--quiet - feat:
MIGRATION.md(#16) — philosophy-reset narrative + command mapping table; quotes the Tracker's Paradox LinkedIn post
Changed
- refactor: CLI help core/advanced split (#14) —
docuflow --helpshows 5 core commands (init/ingest/query/status/rewiki);docuflow advanced --helpshows 9 advanced commands (watch/sync/ui/start/review/recent/suggest/update); every old top-level path still works, theadvancedprefix is optional - docs: CLAUDE.md auto-generation now features 4 core MCP tools (
query_wiki,ingest_source,wiki_search,read_module) with the 11 advanced tools demoted to a second section (#15); BEGIN/END markers added for idempotent re-runs
Bright line
Zero command removal through v2.x. Every existing docuflow watch, docuflow sync --ai, docuflow ui, etc. keeps working exactly as before. The new advanced prefix is optional everywhere.
[1.6.0] - 2026-05-20
Philosophy Reset. DocuFlow is returning to its core: intent in, value out, nothing in between. See v1.6.0.md for the full narrative.
Added
- feat:
docuflow rewikimigration command (#4) — re-ingests all sources with current extractor rules, backs up wiki, migrates synthesiss/ typo, produces audit report - feat: 5-rule entity extractor + Rule 6 for structural noise (#3) — stop-list, no emoji/punct-only slugs, structural anchor, min token signal, context requirement, plus rejection of numbered list items, file references, question-form headings, preposition-led phrases, layer/phase markers, sentence-form captures, emoji-led decoration, "the X" descriptives, and date metadata
- feat:
.docuflow/schema.mdphilosophy-reset schema (#5) — canonical wiki structure for the Code & Architecture domain; CI guard fails the build if the placeholder template remains
Fixed
- fix:
synthesiss/typo bug (#2) — centralisedcategoryDir()helper replaces ad-hoccategory + "s"pluralisation iningest-source.tsandsave-answer-as-page.ts - fix: npm-chart commit noise (#6) — weekly cron (Mon 09:00 UTC) instead of every 6h,
stats:prefix instead ofchore:, SVG relocated todocs/stats/
Proof run on this repo
- Entity pages: 256 → 96 (62.5% reduction)
- Total wiki pages: 283 → 123 (57% reduction)
- Unit tests: 76 passing (extractor rules + categoryDir + rewiki)
[1.5.2] - 2026-05-13
[1.5.1] - 2026-05-09
[1.5.0] - 2026-05-09
[1.4.0] - 2026-05-09
[1.3.1] - 2026-05-09
Fixed
- Web UI navigation — Removed duplicate nav items (Health/Sync appearing twice) caused by two separate
<nav>blocks in Rail component; replaced with unifiedRAIL_GROUPSstructure - Web UI CSS tokens — Added missing
--df-text-5and--df-bg-hoverCSS variables that caused invisible hover/active states - Web UI active state — Added
.df-action,.df-action--active, and related component CSS classes; navigation items now show correct indigo left-bar indicator - Web UI Onboard icon — Added
onboardkey toICON_MAP(was missing, showing●fallback instead of help icon) - Web UI Settings version — Fixed
v__APP_VERSION__literal displaying instead of real version by adding Vitedefineinjection invite.config.ts - Web UI Settings port — Replaced hardcoded
48821with dynamicwindow.location.portso Settings shows actual server port - CLI dep pinning — Changed
@doquflow/serverdependency in CLIpackage.jsonfrom^1.3.0to exact1.3.0
[1.3.0] - 2026-05-09
Added
docuflow review— Review current git changes with deterministic findings and optional Copilot analysis- Analyzes staged, working tree, or commit range changes
- Detects: hardcoded secrets, SQL destructive ops, debug statements, TODO markers, type weakening
--aiaugments review with Copilot analysis when available--fail-on-criticalexits with code 1 when critical findings exist- Scopes:
--staged(staged only),--since-commit <ref>(commit range), default (all changes)
Fixed
- DevLoop reviewer agent contract now enforces canonical first-line verdict format (
Verdict: APPROVED / NEEDS_WORK / REJECTED)
[1.2.1] - 2026-05-07
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[1.2.0] - 2026-05-07
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[1.1.2] - 2026-05-07
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[1.1.1] - 2026-05-07
Added
- (Add your changes here)
Changed
- (Add your changes here)
Fixed
- (Add your changes here)
[1.1.0] - 2026-05-07
Added
docuflow ui— New CLI command: starts an all-in-one Express server (port 48821) with React web interface + HTTP API- Auto-discovers DocuFlow projects in common dev directories
- Opens browser automatically;
--no-openand--portflags supported
docuflow start— Alias fordocuflow ui- Web UI bundled in npm package —
ui-dist/shipped inside@doquflow/cli; no separate install needed
Changed
- Root build order updated:
server → ui → cli → api
Fixed
.gitignorenow correctly tracks.claude/commands/skill files
[1.0.0] - 2026-05-07
Added
- Web UI package (
packages/ui/): Vite + React 18 interface with 6 views (Ask, Wiki, Graph, Health, Sync, Onboard) - API bridge package (
packages/api/): Express HTTP bridge for local development
[0.5.6] - 2026-05-07
Changed
- Added
docuflow design/to.gitignore— keeps AI design scratch files out of version control
[0.5.5] - 2026-05-07
Changed
- Removed
.github/workflows/docuflow-sync.yml— GitHub Actions wiki sync retired; localdocuflow sync --ai+ post-commit hook is the canonical workflow
[0.5.4] - 2026-05-01
Changed
- Documentation update: expanded README and setup guide for the v0.5.3 local-sync feature
[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
- Enhanced secrets detection in pre-release check — scans git history for leaked API keys and npm tokens
[0.5.1] - 2026-05-01
Added
allowDangerousPermissionsflag for Claude CLI bridge — enables non-interactive MCP tool calling in Claude Code sessions
[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 |
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
[0.4.4] - 2026-04-23
Added
docuflow initnow registers DocuFlow in OpenAI Codex CLI (~/.codex/config.toml)docuflow initnow generates AGENTS.md at the project root (Codex equivalent of CLAUDE.md)
[0.4.3] - 2026-04-23
Added
docuflow initnow registers DocuFlow in GitHub Copilot CLI (~/.copilot/mcp-config.json)docuflow initnow writes.vscode/mcp.jsonfor whole-team Copilot setup without individualinitrunsdocuflow initnow registers in VS Code user MCP config (~/Library/Application Support/Code/User/mcp.json)
[0.4.2] - 2026-04-23
Added
docuflow --version/-vflag to print the installed version- Improved bare
docuflowhelp output with version header and structured sections
[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.
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.
Changed
- Tool count: 14 → 15
- CLI commands: 2 → 3 (
suggestadded)
[0.2.0] - 2026-04-16
Added
LLM Wiki Pattern — persistent, incrementally-maintained knowledge bases
- 12 MCP tools:
ingest_source,update_index,list_wiki,wiki_search,query_wiki,answer_synthesis,save_answer_as_page,lint_wiki,get_schema_guidance,preview_generation - Domain-specific wiki schemas (Code / Research / Business / Personal)
docuflow init --interactive— guided domain-aware setup
Fixed
- All 7 pre-LLM-wiki testing concerns resolved (auto-discovery, transparency, onboarding, troubleshooting, decision guidance)
[0.1.0] - 2026-04-09
First public release
read_module,list_modules,write_spec,read_specs— 4 core MCP toolsdocuflow init,docuflow status— 2 CLI commands- Universal regex extraction engine (TypeScript, JavaScript, Python, Go, Rust, Java, C#, PHP, Ruby, Kotlin, Swift, and more)
npx @doquflow/cli init— registers Docuflow in Claude Desktop, VS Code Copilot, Copilot CLI
All notable changes to Docuflow are documented here.
Format follows Keep a Changelog.
Versioning follows Semantic Versioning.