Commit Graph
5 Commits
Author SHA1 Message Date
Зарубин Филипп dd6b69b893 Harden Mnemazine production gates 2026-06-24 12:12:36 +03:00
Зарубин ФилиппandClaude Opus 4.8 73cbc0d30c feat(swarm): async LLM bridge + bounded-concurrency research swarm in deep synthesize
E3: llm bridge now uses async spawn (non-blocking) instead of spawnSync, so agent calls run concurrently. Deep synthesize processes clusters through a bounded pool (MNEMAZINE_CONCURRENCY, default 4) — cheap and fast. Each task is isolated (inner + outer try/catch): one cluster failing never blocks the swarm. Docs cover recognition fallback, swarm, concurrency.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 17:33:11 +03:00
Зарубин ФилиппandClaude Opus 4.8 b92328837e feat(run): per-file recognition isolation + LLM extraction fallback (deep)
E1: each file's extraction is isolated — a recognition failure logs extract_error, leaves the file in inbox, and never breaks the rest of the batch (failed count surfaced). E2: local-first recognition stays 0 tokens (Apple Vision OCR / markitdown / whisper); only when local yields nothing usable AND --deep is on does a vision-capable LLM (llmText, Read tool) transcribe the file. New llmText() in the provider bridge (Claude primary, Codex parity).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 17:29:34 +03:00
Зарубин ФилиппandClaude Opus 4.8 fb0831bb92 feat(llm): robust Claude binary discovery (npm/Homebrew/standalone/Desktop/VSCode)
Resolve claude independently of install method: explicit env -> login-shell PATH (respects however the user installed it: Desktop, npm global, standalone) -> common absolute locations -> newest VSCode extension binary. No longer tied to the VSCode path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 17:22:35 +03:00
Зарубин ФилиппandClaude Opus 4.8 bc60800660 feat(llm): provider abstraction — Claude primary, Codex parity
New mnemazine-llm.mjs: llmJson(prompt,schema,{provider,tools}). MNEMAZINE_LLM=claude(default)|codex. Claude via headless 'claude -p --output-format json' (JSON instructed in-prompt, no --dangerously-skip-permissions; tools opt-in). Codex backend unchanged at parity. codex.mjs is now a back-compat shim. synthesize/verify route through llm; verify selftest exercises codex stub via the shared contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 17:12:53 +03:00