v0.2.0
v0.2.0 — Second Brain Kit + Gemini & Cursor Kits
What's new
Second Brain kit (vibe-engineering kits second-brain install)
A full Obsidian + qmd wiki vault installer for AI agents. One command scaffolds a personal knowledge base wired to every supported agent.
Vault scaffold
- Creates structured vault:
wiki/,docs/,agent-snippets/ - Seeds starter pages:
hot.md,index.md,log.md - Writes per-agent setup guides for Claude Code, Cursor, and Codex
Agent integration
- Injects
AGENTS.mdwith qmd MCP config for Claude Code - Drops
second-brain.mdcrule into Cursor's.cursor/rules/ - Writes
qmd-mcp.tomlconfig for Codex - Registers vault as a qmd collection (
qmd collection add)
Safety contract
- Detects foreign vaults via manifest sentinel — warns before touching any vault it didn't create
--no-setup-depsflag skips optional npm/qmd setup prompts--yessuppresses all interactive prompts (CI-safe)--dry-runprints every action without writing files
Operations
doctor— checks qmd, npm, git, vault health; prints actionable exit matrixdiff— shows which kit files differ from vaultuninstall— removes only files the kit owns; leaves user content intact
Gemini kit (vibe-engineering kits gemini install)
Installs GEMINI.md persona + engineering rules for Gemini CLI. Mirrors the existing Claude Code kit structure.
Cursor kit (vibe-engineering kits cursor install)
Installs .cursor/rules/ with seven MDC rule files: persona, operating model, Go backend, testing, security, database, and uncertainty handling.
Internals
kit_registry.py— central registry; all kits register here, CLI dispatch iterates one placemerge_strategies.py— TOML deep-merge for agent config files; preserves user keyssecret_policies.py— redaction helpers to keep secrets out of diff output**kwargscontract — all kitinstall()signatures accept**kwargsso CLI can add flags without breaking existing kits- CI: Python 3.10 compatibility fix (
tomllibstdlib backport)
Tests
252 tests, 55 subtests — all green.
New test files:
tests/test_second_brain_installer.py— 1165 lines, covers scaffold, doctor, diff, uninstall, safety contract, config merge, agent snippetstests/test_gemini_installer.pytests/test_cursor_installer.pytests/test_merge_strategies.pytests/test_kit_registry.pytests/test_manifest_contracts.py
Docs
docs/second-brain-setup.md— full setup guide (455 lines): prerequisites, install walkthrough, agent integration, qmd search tutorial, vault structure referenceREADME.md— updated kit table, second-brain section, corrected "never runs network commands" claim
Breaking changes
None. Existing claude-code and opencode kit installs unchanged.