VectorForce Architecture & MCP Wiki
Concise engineering reference for how VectorForce preserves AI context across coding agents, machines, and teams. For full CLI & REST API docs, visit docs.vectorforce.in.
01 // Claims vs. Verifiable Evidence
VectorForce prevents context hallucination by storing agent-authored inputs separately from cryptographically verified workspace facts inside .vectorforce/vectorforce.db (SQLite WAL):
| Layer | Contents | Trust Model |
|---|---|---|
claims | Goals, invariant constraints, architectural decisions (ADRs), next steps, summary | Model-authored (unverifiable) |
evidence | Git commit SHA, branch, dirty file state, SHA-256 hashes of allowlisted .md/.txt docs (≤8 KiB/file) | Cryptographically verifiable |
02 // 11 Native MCP Tools
Run npx -y vectorforce mcp (auto-configured by vf init) to expose all 11 Model Context Protocol tools over JSON-RPC stdio:
| MCP Tool | Purpose |
|---|---|
create_task / update_task | Create tasks or hierarchical subtasks (parent_task_id) and update lifecycle status |
list_tasks | Discover active, paused, or completed tasks in the workspace |
save_checkpoint | Commit an immutable checkpoint combining claims + Git/document evidence |
get_resume_briefing | Generate a deterministic, harness-authorized resume briefing |
check_workspace_drift | Detect uncommitted or silent changes between live workspace and last checkpoint |
reason_about_task | AI architectural reasoning over memory + codebase (Muse, Fireworks, OpenRouter, Ollama, OpenAI, Anthropic, BYOK) |
set_document_policy | Manage strict workspace allowlist for evidence capture |
export_handoff / import_handoff | Export and verify HMAC-SHA256 signed .vfhandoff.json bundles |
get_timeline | Inspect chronological audit trail of checkpoints and handoffs |
03 // Supported AI Coding Agents
vf init --harness all generates native MCP configurations for every major agentic IDE:
Google Antigravity -> .agents/mcp_config.json
Claude / Command -> .mcp.json, commandcode.json
Cursor IDE -> .cursor/mcp.json, .cursorrules
Windsurf Cascade -> .windsurf/mcp_config.json, .windsurfrules
OpenAI Codex CLI -> .codex/config.toml, codex.json
GitHub Copilot -> .vscode/mcp.json ("servers")
Meta Muse -> .muse/mcp_config.json, musecode.json
Kiro IDE -> .kiro/settings/mcp.json, kiro.json
04 // Zero-Knowledge E2EE Cloud Sync & RBAC
VectorForce Cloud (cloud.vectorforce.in) runs on Cloudflare Workers + Durable Objects + D1 SQLite:
At Rest: AES-256-GCM envelope encryption (DEK wrapped by KEK + AAD) In Transit: X25519 ECDH + AES-256-GCM + Ed25519 signature verification Auth: Supabase Auth (ES256 JWKS) + Browser SSO + scoped API tokens RBAC: Plan entitlements + custom permission-scoped tokens (vf_token_...)
05 // Frequently Asked Questions
Is VectorForce free and open source?
Yes. The VectorForce CLI, local SQLite WAL engine, 11-tool MCP server, and local Studio UI are MIT-licensed and free forever. VectorForce Cloud adds managed multi-machine E2EE sync, RBAC, and audit logs with a Free tier.
Does VectorForce send my source code to an LLM by default?
No. Checkpoints, drift checks, and resume briefings are 100% deterministic and local. AI reasoning (vf reason) is opt-in and supports local Ollama as well as BYOK providers.
How can I contribute to VectorForce?
Fork getvectorforce/VectorForce, run npm test, and open a PR for new harness integrations, sample multi-agent workflows in samples/, or Studio UI improvements.