mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
5975171fe5
#533 — database-free mode now propagates AQE_MEMORY_BACKEND=memory to ALL generated MCP-server configs, not just opencode.json. Previously `aqe init --no-database` left .mcp.json (Claude Code) and every editor config pointed at .agentic-qe/memory.db, so launching the server via any non-OpenCode client recreated the db at runtime and defeated the db-free install. - platform-config-generator.ts: generateMcpConfig(platformId, { memoryBackend }) emits AQE_MEMORY_BACKEND=memory and drops AQE_MEMORY_PATH for JSON/TOML/YAML; covers the 8 shared-generator installers (cursor/cline/continuedev/kilocode/ roocode/windsurf/codex/copilot). - 08-mcp.ts (.mcp.json) and kiro-installer.ts: same db-free env; learning/workers not forced on in db-free mode (they persist to SQLite). - 09-assets.ts threads memoryBackend into every platform installer. Default (persistent) output is byte-for-byte unchanged. #532 — new opt-in `--no-claude` suppresses the default Claude Code surface (.claude/ skills+agents, .mcp.json, CLAUDE.md, governance, hooks) so `--with-<platform>` flags become the only install targets — e.g. a clean OpenCode-only install. Gated via shouldRun/run on phases 07-hooks, 08-mcp, 09-assets (core assets), 11-claude-md, 13-governance. Default install (no flag) is unchanged; warns if --no-claude is passed with no platform. Verified by real `aqe init` runs in temp dirs: - `--no-database --with-codex --with-cursor`: .mcp.json/.cursor/.codex all emit AQE_MEMORY_BACKEND=memory; no memory.db created. - `--no-claude --with-opencode --no-database`: .opencode present; .claude/, .mcp.json, CLAUDE.md all absent. - default `--with-cursor`: full surface + persistent env intact (no regression). Adds db-free + no-claude cases to platform-config-generator and mcp-phase tests; all 406 init unit tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>