Skip to content

v0.1.7 - MCP Agent Fallback Prevention & Lockfile Fixes

Latest

Choose a tag to compare

@HakashiKatake HakashiKatake released this 07 Sep 17:08

Changes in v0.1.7

🛡️ MCP Tool Hardening & Agent Fallback Prevention

  • Resilient Parameter Aliasing: All 15 MCP tools now accept common model variations (query/q/search/symbol/topic, endpoint/path, id for page & chunk, snippet/codeSnippet, from/to, goal/task/workflow, projectDir/dir) preventing runtime schema mismatch errors.
  • Removed CLI Leaks: Eliminated references to CLI commands (docorbit add <url>) inside MCP tool output text, preventing coding agents from prematurely aborting tool calls and switching to bash.
  • Graceful Multi-Source & Empty States: Output friendly markdown instructions with tool call recommendations (ingest_doc, search_docs, get_implementation_context) when resources are empty.
  • Global / Local DB Fallback: MCP automatically detects existing ~/.docorbit/docorbit.db if local project database has not been initialized.
  • Workspace Version Summary: get_version without parameters now returns a complete table of all detected workspace dependencies.

🔒 Lockfile Resolution Fix

  • Fixed docs.lock generation where candidate sources without snapshots shadowed active documentation snapshots.
  • Added automatic lockfile synchronization on docorbit add <url>.

🧪 Testing

  • Added comprehensive unit tests covering all MCP parameter aliases and workspace lockfile resolution (133 passing tests).