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>
Captured screenshots/PDFs can carry credentials that flow into notes. Token-only, dir-scoped, skipped on clean checkout. Positive-tested with planted AWS key.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
CRITICAL: untrusted extracted text fenced (inert-data delimiter + sentinel neutralize) before codex calls that run with headless bypass. HIGH: codexJson + listRecords JSON.parse guarded; fingerprint/atomFingerprint scoped by cluster id (no silent skip on shared/empty source refs); headOk uses a fresh timeout per request; synthesize reports degraded when --deep falls back. Codex scratch in one private 0700 mkdtemp. verifyDeep now covered by a stub-codex selftest.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
KGB adversarial proved two same-basename notes in different sections clobbered on move. Now keyed by full vault-relative path (slashes->__). State dir defaults to ~/Desktop/Mnemazine/.mnemazine/state (README:224). ENOENT->missing, no crash. Selftest covers collision + collision-content survival.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
C2 status:draft/verified:false. U2/U3 content-fingerprint naming + skip-existing. G4: --deep atomizes one cluster into focused atoms via shared codex bridge (default off -> local template). G5: verification_status verified/assumed/unknown — local structural gate by default, --deep adds HEAD+codex web cross-check.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>