@remnic/plugin-openclaw 10.0.186 → 10.0.187

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"id":"openclaw-remnic","name":"Remnic OpenClaw Plugin","version":"10.0.186","kind":"memory","description":"Local semantic memory for OpenClaw with bundled Remnic core. Needs plugins.slots.memory = this plugin id for hooks to fire.","setup":{"requiresRuntime":false,"providers":[{"id":"openai","authMethods":["api-key"],"envVars":["OPENAI_API_KEY"]}]},"providerAuthChoices":[{"provider":"openai","method":"api-key","choiceId":"remnic-openai-api-key","choiceLabel":"Optional OpenAI API key for Remnic plugin-mode extraction","choiceHint":"Not needed when Remnic uses the OpenClaw gateway model source. Set only if you intentionally use plugin mode with OpenAI or an OpenAI-compatible endpoint.","groupId":"remnic-memory","groupLabel":"Remnic memory","optionKey":"openaiApiKey","cliFlag":"--openai-api-key","cliOption":"--openai-api-key <key>","cliDescription":"Optional OpenAI API key used by Remnic plugin-mode extraction, consolidation, and embedding flows.","onboardingScopes":["text-inference"]}],"providerAuthEnvVars":{"openai":["OPENAI_API_KEY"]},"supports":{"memorySlot":true,"dreamingSlot":true,"activeMemory":true,"heartbeat":true,"commandsList":true,"beforeReset":true},"contracts":{"tools":["compounding_promote_candidate","compounding_weekly_synthesize","compression_guidelines_activate","compression_guidelines_optimize","context_checkpoint","continuity_audit_generate","continuity_incident_close","continuity_incident_list","continuity_incident_open","continuity_loop_add_or_update","continuity_loop_review","conversation_index_update","engram_context_describe","engram_context_expand","engram_context_search","engram_profiling_report","identity_anchor_get","identity_anchor_update","memory_action_apply","memory_capture","memory_entities","memory_feedback","memory_feedback_last_recall","memory_get","memory_governance_run","memory_graph_explain_last_recall","memory_identity","memory_intent_debug","memory_last_recall","memory_profile","memory_promote","memory_qmd_debug","memory_questions","memory_search","memory_store","memory_summarize_hourly","remnic_context_describe","remnic_context_expand","remnic_context_search","remnic_profiling_report","shared_context_cross_signals_run","shared_context_curate_daily","shared_context_write_output","shared_feedback_record","shared_priorities_append","work_board","work_project","work_task"]},"configSchema":{"type":"object","additionalProperties":false,"properties":{"abstractionAnchorsEnabled":{"type":"boolean","default":false,"description":"Enable typed cue-anchor indexing for abstraction nodes and expose it through cue-anchor status tooling."},"abstractionNodeStoreDir":{"type":"string","description":"Override the abstraction-node store directory (defaults to {memoryDir}/state/abstraction-nodes)."},"accessTrackingBufferMaxSize":{"type":"number","default":100,"description":"Max entries in access tracking buffer before flush"},"accessTrackingEnabled":{"type":"boolean","default":true,"description":"Track memory access counts and recency"},"actionGraphRecallEnabled":{"type":"boolean","default":false,"description":"Write action-conditioned causal-stage edges from typed trajectory records into the causal graph."},"activeContextMaxMessages":{"type":"integer","minimum":1,"maximum":1000,"default":200,"description":"Max messages accepted in one active-context snapshot."},"activeContextMaxSnapshotChars":{"type":"integer","minimum":1,"maximum":1000000,"default":200000,"description":"Max total content chars accepted in one active-context snapshot."},"activeContextMinRetainedMessages":{"type":"integer","minimum":1,"maximum":50,"default":3,"description":"Floor on messages retained after an active-context plan applies."},"activeContextPlanTtlMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"TTL in minutes for active-context plans and retained snapshots."},"activeContextRetentionMaxBytes":{"type":"integer","minimum":1,"maximum":10000000,"default":1000000,"description":"Max bytes for the adapter-local retained source snapshot."},"activeContextSummaryMaxTokens":{"type":"integer","minimum":1,"maximum":4096,"default":512,"description":"Max output tokens for one SUMMARY replacement."},"activeContextTransformLlmEnabled":{"type":"boolean","default":false,"description":"Permit method=llm active-context SUMMARY plans; auto degrades to deterministic when off."},"activeRecallAgents":{"type":"array","items":{"type":"string"},"description":"allowlist of OpenClaw agent ids that may use active recall."},"activeRecallAllowChainedActiveMemory":{"type":"boolean","default":false,"description":"Compat-only: chain the active-recall block into the bundled active-memory surface. Redundant in memory-slot mode; true only for layering both."},"activeRecallAllowedChatTypes":{"type":"array","items":{"type":"string","enum":["direct","group","channel"]},"default":["direct","group","channel"],"description":"OpenClaw chat types eligible for active recall."},"activeRecallAttachRecallExplain":{"type":"boolean","default":false,"description":"Attach recall explain output to active-recall diagnostics."},"activeRecallCacheTtlMs":{"type":"integer","minimum":0,"maximum":120000,"default":15000,"description":"Cache TTL for active-recall summaries; 0 disables the cache."},"activeRecallCustomInstruction":{"type":"string","description":"custom guidance for the active-recall builder."},"activeRecallEnabled":{"type":"boolean","default":false,"description":"Enable the optional Remnic-native pre-reply recall block. Memory-slot prompt injection does not require it."},"activeRecallEntityGraphDepth":{"type":"integer","minimum":0,"maximum":3,"default":1,"description":"Entity-graph traversal depth used by active recall."},"activeRecallIncludeCausalTrajectories":{"type":"boolean","default":false,"description":"Include causal trajectory recall evidence in active-recall summaries."},"activeRecallIncludeDaySummary":{"type":"boolean","default":false,"description":"Include the latest day summary in active-recall context."},"activeRecallMaxSummaryChars":{"type":"integer","minimum":40,"maximum":1000,"default":220,"description":"Maximum summary size produced by the active-recall surface."},"activeRecallModel":{"type":"string","description":"model selection for active recall."},"activeRecallModelFallbackPolicy":{"type":"string","enum":["default-remote","resolved-only"],"default":"default-remote","description":"How active recall falls back when an explicit model cannot be resolved."},"activeRecallPersistTranscripts":{"type":"boolean","default":false,"description":"Persist full active-recall request and response transcripts."},"activeRecallPromptAppend":{"type":"string","description":"additional guidance for the active-recall builder."},"activeRecallPromptOverride":{"type":"string","description":"Legacy optional custom instruction for the active-recall builder."},"activeRecallPromptReplacement":{"type":"string","description":"complete replacement prompt for the active-recall builder."},"activeRecallPromptStyle":{"type":"string","enum":["balanced","strict","contextual","recall-heavy","precision-heavy","preference-only"],"default":"balanced","description":"Context assembly style for the active-recall surface."},"activeRecallQueryMode":{"type":"string","enum":["recent","message","full"],"default":"recent","description":"How much recent OpenClaw conversation context is fed into the active-recall query builder."},"activeRecallRecentAssistantChars":{"type":"integer","minimum":40,"maximum":1000,"default":400,"description":"Per-assistant-turn character cap for active-recall context assembly."},"activeRecallRecentAssistantTurns":{"type":"integer","minimum":0,"maximum":3,"default":1,"description":"How many recent assistant turns to include in the active-recall query context."},"activeRecallRecentUserChars":{"type":"integer","minimum":40,"maximum":1000,"default":600,"description":"Per-user-turn character cap for active-recall context assembly."},"activeRecallRecentUserTurns":{"type":"integer","minimum":0,"maximum":4,"default":2,"description":"How many recent user turns to include in the active-recall query context."},"activeRecallThinking":{"type":"string","enum":["off","minimal","low","medium","high","xhigh","adaptive"],"default":"low","description":"Reasoning effort used by the active-recall engine."},"activeRecallTimeoutMs":{"type":"integer","minimum":250,"default":15000,"description":"Timeout for an active-recall run."},"activeRecallTranscriptDir":{"type":"string","default":"active-recall","description":"Memory-relative directory for active-recall transcripts."},"agentAccessHttp":{"type":"object","additionalProperties":false,"description":"Optional: run a local authenticated HTTP API so non-OpenClaw clients can query Engram directly.","properties":{"enabled":{"type":"boolean","default":false,"description":"Start the local Engram HTTP access server during plugin startup."},"host":{"type":"string","default":"127.0.0.1","description":"Loopback host to bind for the Engram HTTP access server."},"port":{"type":"number","default":4318,"description":"Bind port for the Engram HTTP access server. Use 0 for an ephemeral port."},"writeRateLimitMaxRequests":{"type":"number","minimum":1,"default":30,"description":"Max write requests (stores, observes) per rolling window before the HTTP API returns 429 write_rate_limited."},"writeRateLimitWindowMs":{"type":"number","minimum":1,"default":60000,"description":"Rolling window for the write rate limit, (ms). Positive integer."},"authToken":{"description":"Bearer token for the local Remnic HTTP API: literal (${ENV_VAR} ok) or SecretRef. Else the OPENCLAW_REMNIC/ENGRAM_ACCESS_TOKEN env vars.","anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1},"provider":{"type":"string"},"id":{"type":"string"},"command":{}}}]},"principal":{"type":"string","description":"Trusted principal bound to the local Engram access bridge; overrides client sessionKey for namespace writes. Else OPENCLAW_ENGRAM_ACCESS_PRINCIPAL."},"maxBodyBytes":{"type":"number","default":131072,"description":"Maximum accepted JSON request body size for the local Remnic HTTP API."},"trustPrincipalHeader":{"type":"boolean","default":false,"description":"Trust the x-engram-principal request header for per-request principal resolution; only behind a trusted proxy or trusted auth token."}},"required":["enabled"]},"autoPromoteMinConfidenceTier":{"type":"string","enum":["explicit","implied"],"default":"explicit","description":"Minimum confidence tier for auto-promotion."},"autoPromoteToSharedCategories":{"type":"array","items":{"type":"string","enum":["fact","correction","decision","preference"]},"default":["fact","correction","decision","preference"],"description":"Categories eligible for auto-promotion to shared."},"autoPromoteToSharedEnabled":{"type":"boolean","default":false,"description":"If enabled, Engram may auto-promote selected categories to shared (reserved; conservative)."},"backgroundGeneration":{"type":"object","additionalProperties":false,"description":"Chat-only Hermes loopback bridge. Consumed only by hourly background generation. Never assigned to openaiBaseUrl.","properties":{"endpoint":{"type":"string","description":"Full chat-completions URL for the Hermes loopback bridge."},"token":{"type":"string","description":"Loopback bearer from the generated client file."},"timeoutSeconds":{"type":"number","exclusiveMinimum":0,"default":120,"description":"Absolute deadline in seconds for one background-generation request."},"timeout_seconds":{"type":"number","exclusiveMinimum":0,"description":"Snake-case alias of timeoutSeconds used by the generated Hermes client file."}},"required":["endpoint","token"]},"beforeResetTimeoutMs":{"type":"integer","minimum":100,"maximum":30000,"default":2000,"description":"Maximum time to wait for a reset-triggered flush before returning control to OpenClaw."},"behaviorLoopAutoTuneEnabled":{"type":"boolean","default":false,"description":"Enable runtime behavior-loop policy auto-tuning (v8.15, default off)."},"behaviorLoopLearningWindowDays":{"type":"number","default":14,"description":"Rolling signal window used for behavior-loop policy learning (days; 0 allowed)."},"behaviorLoopMaxDeltaPerCycle":{"type":"number","default":0.1,"description":"Maximum absolute parameter delta allowed per learning cycle (0-1)."},"behaviorLoopMinSignalCount":{"type":"number","default":10,"description":"Minimum signal volume required before behavior-loop adjustments are emitted (0 allowed)."},"behaviorLoopProtectedParams":{"type":"array","items":{"type":"string"},"default":["maxMemoryTokens","qmdMaxResults","qmdColdMaxResults","recallPlannerMaxQmdResultsMinimal","verbatimArtifactsMaxRecall"],"description":"Runtime parameters that auto-tuning must never modify."},"benchmarkBaselineSnapshotsEnabled":{"type":"boolean","default":false,"description":"Enable versioned benchmark baseline snapshot artifacts under the eval store for later PR delta reporting."},"benchmarkDeltaReporterEnabled":{"type":"boolean","default":false,"description":"Enable named-baseline delta reports so PR candidates can be compared against stored benchmark baselines."},"benchmarkStoredBaselineEnabled":{"type":"boolean","default":false,"description":"Enable stored baseline comparisons for benchmark delta reporting."},"binaryLifecycleBackendPath":{"type":"string","default":"","description":"Base path for the filesystem storage backend."},"binaryLifecycleBackendType":{"type":"string","enum":["none","filesystem","s3"],"default":"none","description":"Storage backend for binary lifecycle mirror stage."},"binaryLifecycleEnabled":{"type":"boolean","default":false,"description":"Binary file lifecycle management: binary files in the memory directory are mirrored, redirected, and cleaned."},"binaryLifecycleGracePeriodDays":{"type":"number","default":7,"minimum":0,"description":"Days to wait before cleaning local copies of mirrored binary files."},"boostAccessCount":{"type":"boolean","default":true,"description":"Boost frequently accessed memories in search results"},"boxMaxMemories":{"type":"number","default":50,"description":"Maximum memories per box before forced seal."},"boxRecallDays":{"type":"number","default":3,"description":"Number of recent days of boxes to add during recall."},"boxTimeGapMs":{"type":"number","default":1800000,"description":"Time gap (ms) before an open box is sealed (default 30 min)."},"boxTopicShiftThreshold":{"type":"number","default":0.35,"description":"Jaccard overlap threshold below which a topic shift seals the current box (0–1)."},"briefing":{"type":"object","additionalProperties":false,"default":{"enabled":true,"defaultWindow":"yesterday","defaultFormat":"markdown","maxFollowups":5,"calendarSource":null,"saveByDefault":false,"saveDir":null,"llmFollowups":true},"properties":{"enabled":{"type":"boolean","default":true},"defaultWindow":{"type":"string","default":"yesterday"},"defaultFormat":{"type":"string","enum":["markdown","json"],"default":"markdown"},"maxFollowups":{"type":"integer","minimum":0,"maximum":10,"default":5},"calendarSource":{"type":["string","null"],"default":null},"saveByDefault":{"type":"boolean","default":false},"saveDir":{"type":["string","null"],"default":null},"llmFollowups":{"type":"boolean","default":true}},"description":"Daily Context Briefing knobs; child keys carry defaults."},"bufferMaxMinutes":{"type":"number","default":15,"description":"Max minutes before forced extraction"},"bufferMaxTurns":{"type":"number","default":5,"description":"Max turns before forced extraction"},"bufferMaxSessions":{"type":"number","default":1000,"description":"Distinct sessions the extraction buffer admits before backpressure (#3303); raised from 200"},"bufferMaxTurnsPerSession":{"type":"number","default":2000,"description":"Retained turns admitted per session before live backpressure (#3415 bound)"},"extractionQueueConcurrency":{"type":"integer","default":2,"minimum":1,"description":"Concurrent background extraction tasks on the daemon queue (tasks sharing a buffer/session key never run concurrently)."},"bufferSaveDebounceMs":{"type":"integer","default":3000,"minimum":0,"maximum":2147483647,"description":"Debounce (ms) for persisting the smart buffer to state/buffer.json (trailing-edge); trigger/clear and shutdown flush at once. 0 = every turn."},"bufferSurpriseK":{"type":"number","default":5,"minimum":1,"description":"Nearest-neighbor memories averaged for the surprise score. Clamped to the recent-memory window size."},"bufferSurpriseProbeTimeoutMs":{"type":"number","default":2000,"minimum":1,"description":"Hard timeout (ms) for the surprise probe; unresolved probe counts as failed, falling to existing triggers (a hung embedder can't stall turn-append)."},"bufferSurpriseRecentMemoryCount":{"type":"number","default":20,"minimum":0,"description":"Max recent memories sampled for surprise scoring (bounds per-turn embedding cost). 0 effectively disables the trigger."},"bufferSurpriseThreshold":{"type":"number","default":0.35,"minimum":0,"maximum":1,"description":"Surprise-score threshold in [0,1] that flushes the buffer; higher = more novelty required. Ignored when bufferSurpriseTriggerEnabled is off."},"bufferSurpriseTriggerEnabled":{"type":"boolean","default":false,"description":"(D-MEM). Smart buffer also flushes on turns whose surprise score exceeds bufferSurpriseThreshold; additive, never suppresses other triggers"},"calibrationEnabled":{"type":"boolean","default":false,"description":"Enable recall calibration rules (v9.0, default off)."},"calibrationMaxChars":{"type":"number","default":1200,"description":"Maximum characters of calibration content to include per recall pass."},"calibrationMaxRulesPerRecall":{"type":"number","default":10,"description":"Maximum number of calibration rules to include per recall pass."},"captureMode":{"type":"string","enum":["implicit","explicit","hybrid"],"default":"implicit","description":"Memory capture policy: implicit = normal extraction, explicit = structured capture only, hybrid = both."},"causalGraphEnabled":{"type":"boolean","default":true,"description":"Build causal inference graph from heuristic phrases (requires multiGraphMemoryEnabled)"},"causalRuleExtractionEnabled":{"type":"boolean","default":false,"description":"PlugMem-inspired causal rule extraction: mine IF-THEN rules from conversations during consolidation"},"causalTrajectoryMemoryEnabled":{"type":"boolean","default":false,"description":"Enable Engram's causal-trajectory memory foundation for typed goal-action-observation-outcome chains."},"causalTrajectoryRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant causal trajectories to recall context."},"causalTrajectoryStoreDir":{"type":"string","description":"Override the causal-trajectory memory directory (defaults to {memoryDir}/state/causal-trajectories)."},"chat":{"type":"object","additionalProperties":false,"description":"Conversational memory inspection and correction: bounded tool-loop agent over read-only + confirmation-gated mutating tools. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Off = no chat tools/endpoints/CLI registered (byte-identical surfaces, rule 39)."},"model":{"type":"string","default":"","description":"Routing override for the chat LLM. Empty = use the default routing chain (local Ollama/vLLM fully supported)."},"maxToolCallsPerTurn":{"type":"integer","minimum":1,"maximum":64,"default":8,"description":"Max tool calls per user turn before partial-reply fallback."},"sessionTtlHours":{"type":"integer","minimum":1,"default":72,"description":"Hours after which idle chat session state is cleaned up."}}},"checkpointEnabled":{"type":"boolean","default":true,"description":"Enable conversation checkpoints"},"checkpointTurns":{"type":"number","default":15,"description":"Number of turns per checkpoint"},"chunkingEnabled":{"type":"boolean","default":false,"description":"Enable automatic chunking of long memories"},"chunkingMinTokens":{"type":"number","default":150,"description":"Minimum tokens to trigger chunking"},"chunkingOverlapSentences":{"type":"number","default":2,"description":"Number of sentences to overlap between chunks"},"chunkingTargetTokens":{"type":"number","default":200,"description":"Target tokens per chunk"},"citationsAutoDetect":{"type":"boolean","default":true,"description":"Auto-enable citations when the Codex adapter is detected."},"citationsEnabled":{"type":"boolean","default":false,"description":"Enable oai-mem-citation blocks in recall responses for Codex citation parity."},"cmcBehaviorConfidenceThreshold":{"type":"number","default":0.6,"description":"Minimum confidence threshold for CMC behavior patterns (0-1)."},"cmcBehaviorLearningEnabled":{"type":"boolean","default":false,"description":"Enable CMC behavior pattern learning (default off)."},"cmcBehaviorMinFrequency":{"type":"number","default":3,"description":"Minimum frequency for a behavior pattern to be learned by CMC."},"cmcBehaviorMinSessions":{"type":"number","default":2,"description":"Minimum sessions a behavior must appear in before CMC learns it."},"cmcConsolidationEnabled":{"type":"boolean","default":false,"description":"Enable CMC consolidation pass (default off)."},"cmcConsolidationMinRecurrence":{"type":"number","default":3,"description":"Minimum recurrence count before a CMC pattern is consolidated."},"cmcConsolidationMinSessions":{"type":"number","default":2,"description":"Minimum sessions a CMC pattern must appear in before consolidation."},"cmcConsolidationSuccessThreshold":{"type":"number","default":0.7,"description":"Minimum success ratio required to consolidate a CMC pattern (0-1)."},"cmcEnabled":{"type":"boolean","default":false,"description":"Enable Causal Memory Consolidation (CMC) subsystem (default off)."},"cmcLifecycleCausalImpactWeight":{"type":"number","default":0.05,"description":"Deprecated: no effect (#3667). Kept so configs load."},"cmcRetrievalCounterfactualBoost":{"type":"number","default":0.4,"description":"Score boost applied to counterfactual nodes during CMC retrieval (0-1)."},"cmcRetrievalEnabled":{"type":"boolean","default":false,"description":"Enable CMC retrieval at recall time (default off)."},"cmcRetrievalMaxChars":{"type":"number","default":800,"description":"Maximum characters of CMC content included per recall pass."},"cmcRetrievalMaxDepth":{"type":"number","default":3,"description":"Maximum graph depth traversed during CMC retrieval."},"cmcStitchLookbackDays":{"type":"number","default":7,"description":"Number of days to look back when stitching causal trajectories."},"cmcStitchMaxEdgesPerTrajectory":{"type":"number","default":3,"description":"Maximum edges per trajectory during CMC stitching."},"cmcStitchMinScore":{"type":"number","default":2.5,"description":"Minimum score for a causal edge to be stitched into a trajectory."},"codex":{"type":"object","additionalProperties":false,"default":{},"properties":{"installExtension":{"type":"boolean","default":true,"description":"Install the Remnic Codex memory extension during Codex connector setup."},"codexHome":{"type":["string","null"],"default":null,"description":"Codex home directory override used for connector install and materialization."}}},"codexCompat":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false},"threadIdBufferKeying":{"type":"boolean","default":true},"compactionFlushMode":{"type":"string","enum":["signal","heuristic","auto"],"default":"auto"},"fingerprintDedup":{"type":"boolean","default":true}}},"codexMarketplaceEnabled":{"type":"boolean","default":true,"description":"Enable Codex marketplace integration for plugin discovery and installation."},"codexMaterializeMaxSummaryTokens":{"type":"number","minimum":0,"default":4500,"description":"Script-aware estimated-token cap for Codex memory summary materialization."},"codexMaterializeMemories":{"type":"boolean","default":true,"description":"Enable Codex native memory materialization into the Codex memories directory."},"codexMaterializeNamespace":{"type":"string","default":"auto","description":"Namespace to materialize for Codex. \"auto\" derives the namespace from the active connector context."},"codexMaterializeOnConsolidation":{"type":"boolean","default":true,"description":"Run Codex memory materialization after semantic or causal consolidation completes."},"codexMaterializeOnSessionEnd":{"type":"boolean","default":true,"description":"Run Codex memory materialization from the Codex session-end hook."},"codexMaterializeRolloutRetentionDays":{"type":"number","minimum":0,"default":30,"description":"Retention window in days for Codex rollout materialization artifacts."},"actionGate":{"type":"object","additionalProperties":false,"default":{},"description":"Action-site failure gate: advisory delivery of failure memories when an action is proposed. Advisory only; never blocks or delays.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. When false there are no gate lookups, no matching, and no suppression bookkeeping on any path."},"timeoutMs":{"type":"integer","minimum":1,"maximum":5000,"default":50,"description":"Hard latency cap for one gate evaluation. Overrun fails open with an ERROR_FAIL_OPEN record and the action proceeds."},"maxAdvisoriesPerTurn":{"type":"integer","minimum":0,"maximum":20,"default":3,"description":"Advisories injected per turn, deduplicated per memory per turn (0 disables injection and all gate lookups)."}}},"codingKnowledge":{"type":"object","additionalProperties":false,"default":{},"description":"Durable coding-knowledge surface (Track A): master gate + switches for decision records, architecture card, session delta, structural provider. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Off (default) = no Track A surface, no new tools / briefing lines / state directories. On enables the switches below."},"decisionRecords":{"type":"boolean","default":true,"description":"Decision-record surfaces (list/record/supersede) + briefing titles of standing decisions. Effective only under the master gate."},"architectureCard":{"type":"boolean","default":true,"description":"Architecture-card build/refresh + briefing injection. Effective only under the master gate."},"sessionDelta":{"type":"boolean","default":true,"description":"Last-seen-head persistence + delta briefing line. Effective only under the master gate."},"architectureCardLlmSummary":{"type":"boolean","default":false,"description":"Opt-in LLM summary pass on the architecture card (costs tokens). Default off; effective only under master + card gates."},"structuralProvider":{"type":"string","enum":["none","subprocess","native"],"default":"none","description":"Structural-context provider: \"none\" (default) = file-path-only; \"subprocess\" = structuralProviderCommand argv; \"native\" = engine (@remnic/coding-graph)."},"structuralProviderCommand":{"type":"string","default":"","description":"Absolute path to the subprocess binary when structuralProvider = \"subprocess\". Empty = unconfigured; validated at boot."},"codegraphTools":{"type":"boolean","default":false,"description":"Gate for the 14 codegraph parity tools. Default off = byte-identical tools/routes/help. Also needs @remnic/coding-graph."},"codegraphDbDir":{"type":"string","default":"","description":"Root dir for per-project graph SQLite DBs. Empty = <memoryDir>/codegraph/<principal>/<projectId>.sqlite; explicit values must be absolute."},"lsp":{"type":"object","additionalProperties":false,"description":"Phase B type resolution via LSP: codegraph_index runs LSP after the heuristic reindex to upgrade unresolved call-site edges. Needs language servers.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for LSP resolution. Off = heuristic edges only."},"servers":{"type":"object","description":"Per-language server launch-spec overrides: language ids (typescript, python, go, rust,..) map to replacement launch commands.","additionalProperties":{"type":"object","additionalProperties":false,"required":["command"],"properties":{"command":{"type":"string","description":"Server executable (resolved on PATH or absolute)."},"args":{"type":"array","items":{"type":"string"},"description":"Arguments (e.g. --stdio)."}}}},"timeoutMs":{"type":"number","default":3000,"description":"Handshake + per-request timeout in ms."},"maxRequestsPerRun":{"type":"number","default":500,"description":"Max LSP definition requests per index run."}}}}},"codingMode":{"type":"object","additionalProperties":false,"default":{},"description":"Coding-agent project/branch scoping.","properties":{"projectScope":{"type":"boolean","default":true,"description":"With a resolved git context, memory routes to a project-scoped namespace (project:<id>). false = pre-#569 behavior."},"branchScope":{"type":"boolean","default":false,"description":"Memory also overlays the current branch (project:<id>/branch:<name>). Opt-in (#569); most dev wants cross-branch recall."},"globalFallback":{"type":"boolean","default":true,"description":"When true (default), project-scoped sessions include the root namespace in read fallbacks. false = strict project isolation."}}},"collectJudgeTrainingPairs":{"type":"boolean","default":false,"description":"Opt-in collector for (candidate_text, verdict_kind, reason) tuples for a future GRPO pipeline. Rows land in ~/.remnic/judge-training/<date>.jsonl."},"commandsListEnabled":{"type":"boolean","default":true,"description":"Advertise Remnic slash-command descriptors through the registerCommand runtime surface."},"commitmentDecayDays":{"type":"integer","minimum":1,"default":90,"description":"Days before fulfilled/expired commitments are removed"},"commitmentLedgerDir":{"type":"string","description":"Override the commitment ledger directory (defaults to {memoryDir}/state/commitment-ledger)."},"commitmentLedgerEnabled":{"type":"boolean","default":false,"description":"Enable the explicit commitment ledger for promises, follow-ups, deadlines, and unfinished obligations."},"commitmentLifecycleEnabled":{"type":"boolean","default":false,"description":"Enable commitment lifecycle transitions, stale tracking, and resolved-entry cleanup for the commitment ledger."},"commitmentStaleDays":{"type":"number","default":14,"description":"Days before an open commitment without a due date is considered stale in lifecycle status."},"compactionResetEnabled":{"type":"boolean","default":false,"description":"Trigger session reset after compaction with BOOT.md recovery context (requires OC fork with api.resetSession)"},"compoundingEnabled":{"type":"boolean","default":false,"description":"Enable compounding engine (v5.0)"},"compoundingInjectEnabled":{"type":"boolean","default":true,"description":"Inject compounded mistakes/patterns into recall when compounding is enabled."},"compoundingSemanticEnabled":{"type":"boolean","default":false,"description":"Enable semantic compounding synthesis (reserved/experimental)."},"compoundingSynthesisTimeoutMs":{"type":"number","default":15000,"description":"Timeout for compounding synthesis (ms)."},"compoundingWeeklyCronEnabled":{"type":"boolean","default":false,"description":"With compoundingEnabled, the daemon runs synthesizeWeekly once per completed ISO week (incl. calibration). Default off; skips done weeks, catches up one."},"compressionGuidelineLearningEnabled":{"type":"boolean","default":false,"description":"Enable adaptive compression guideline learning from memory-action outcomes (v8.3, default off)."},"compressionGuidelineSemanticRefinementEnabled":{"type":"boolean","default":false,"description":"Enable optional semantic refinement pass after deterministic guideline candidate generation (v8.11, default off)."},"compressionGuidelineSemanticTimeoutMs":{"type":"number","default":2500,"description":"Hard timeout (ms) for semantic refinement; timeout fail-opens to deterministic output."},"connectors":{"type":"object","additionalProperties":false,"default":{},"description":"Live-connector configuration: each child object maps to one concrete LiveConnector. All off by default.","properties":{"googleDrive":{"type":"object","additionalProperties":false,"default":{},"description":"Google Drive live connector (N). Imports text content from a user's Drive into Remnic on a poll schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires clientId, clientSecret, and refreshToken populated before the connector runs."},"clientId":{"anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1}}}],"default":"","description":"OAuth2 client id. A string or a SecretRef resolved at poll time."},"clientSecret":{"anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1}}}],"default":"","description":"OAuth2 client secret. A string or a SecretRef resolved at poll time."},"refreshToken":{"anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1}}}],"default":"","description":"OAuth2 refresh token. A string or a SecretRef resolved at poll time."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."},"folderIds":{"type":"array","items":{"type":"string"},"default":[],"description":"Google Drive folder ids to scope the import. Empty = all accessible files; nested folders are NOT auto-included."}}},"notion":{"type":"object","additionalProperties":false,"default":{},"description":"Notion live connector (N). Imports text content from Notion database pages into Remnic on a poll schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires token and at least one databaseId populated before the connector runs."},"token":{"type":"string","default":"","description":"Notion integration token (starts with secret_). Populate from your secret store (e.g. ${NOTION_TOKEN}). Never commit a real value."},"databaseIds":{"type":"array","items":{"type":"string"},"default":[],"description":"Notion database ids to import pages from (32-hex or UUID). Empty = connector is a no-op."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."}}},"gmail":{"type":"object","additionalProperties":false,"default":{},"description":"Gmail live connector. Imports new inbox messages from Gmail into Remnic on a poll schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires clientId, clientSecret, and refreshToken populated before the connector runs."},"clientId":{"type":"string","default":"","description":"OAuth2 client id. Populate from your secret store (e.g. ${GMAIL_CLIENT_ID}). Never commit a real value."},"clientSecret":{"type":"string","default":"","description":"OAuth2 client secret. Populate from your secret store (e.g. ${GMAIL_CLIENT_SECRET}). Never commit a real value."},"refreshToken":{"type":"string","default":"","description":"OAuth2 refresh token for the Gmail scope. Populate from your secret store (e.g. ${GMAIL_REFRESH_TOKEN}). Never commit a real value."},"userId":{"type":"string","default":"me","description":"Gmail userId. Default 'me' (the authenticated user). Override only in delegated-access scenarios."},"query":{"type":"string","default":"in:inbox","description":"Gmail search query applied on top of the watermark after: filter. Default 'in:inbox'; '' imports all mail."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."}}},"github":{"type":"object","additionalProperties":false,"default":{},"description":"GitHub connector: imports issue comments, PR review comments, and optionally the user's discussion posts from watched repos on a schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires token, userLogin, and at least one repo populated before the connector runs."},"token":{"type":"string","default":"","description":"GitHub personal access token. Populate from your secret store (e.g. ${GITHUB_TOKEN}). Never commit a real value."},"userLogin":{"type":"string","default":"","description":"GitHub login whose comments are imported; only comments by this login are ingested. Required when enabled."},"repos":{"type":"array","items":{"type":"string"},"default":[],"description":"Array of repos to poll in \"owner/repo\" format. Empty = connector is a no-op."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."},"includeDiscussions":{"type":"boolean","default":false,"description":"Whether to import GitHub Discussion comments in addition to issue and PR review comments"}}}}},"consolidateEveryN":{"type":"number","default":3,"description":"Run consolidation every N extractions"},"consolidationMinIntervalMs":{"type":"number","default":600000,"description":"Minimum interval between consolidation runs (ms)."},"consolidationRequireNonZeroExtraction":{"type":"boolean","default":true,"description":"Only schedule consolidation when the last extraction produced durable outputs."},"contextCompressionActionsEnabled":{"type":"boolean","default":false,"description":"Enable context compression action tooling and telemetry paths (v8.3, default off)."},"continuityAuditEnabled":{"type":"boolean","default":false,"description":"Enable continuity audit artifact generation workflows"},"continuityIncidentLoggingEnabled":{"type":"boolean","description":"When unset, defaults to identityContinuityEnabled. Controls continuity incident logging artifacts."},"contradictionAutoResolve":{"type":"boolean","default":true,"description":"Automatically supersede contradicted memories"},"contradictionDetectionEnabled":{"type":"boolean","default":false,"description":"Enable automatic contradiction detection with LLM verification"},"contradictionMinConfidence":{"type":"number","default":0.9,"description":"Minimum LLM confidence to auto-resolve contradictions"},"contradictionScan":{"type":"object","description":"Configuration for the nightly contradiction-scan cron","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable the nightly contradiction scan cron (disabled by default per rule 48)"},"similarityFloor":{"type":"number","default":0.82,"minimum":0,"maximum":1,"description":"Embedding cosine similarity floor for candidate pair generation"},"topicOverlapFloor":{"type":"number","default":0.4,"minimum":0,"maximum":1,"description":"Minimum topic-token Jaccard overlap for unstructured pairs"},"maxPairsPerRun":{"type":"integer","default":500,"minimum":1,"description":"Cap on candidate pairs evaluated per cron run"},"cooldownDays":{"type":"integer","default":14,"minimum":0,"description":"Cooldown in days. 0 = always re-evaluate."},"autoMergeDuplicates":{"type":"boolean","default":false,"description":"Auto-flag pairs judged duplicates for dedup (still requires user approval)"}}},"contradictionLocalization":{"type":"object","additionalProperties":false,"default":{"anchorEnabled":true,"anchorCandidates":5,"searchCandidates":5,"maxCandidates":8},"description":"Anchor-first contradiction candidate localization before QMD search.","properties":{"anchorEnabled":{"type":"boolean","default":true,"description":"Enable entityRef and category anchor candidates."},"anchorCandidates":{"type":"integer","minimum":0,"default":5,"description":"Maximum anchor candidates. 0 disables the anchor pass."},"searchCandidates":{"type":"integer","minimum":0,"default":5,"description":"Maximum QMD search candidates. 0 disables text search."},"maxCandidates":{"type":"integer","minimum":0,"default":8,"description":"Maximum merged candidates sent to the verifier."}}},"dependencyPropagation":{"type":"object","additionalProperties":false,"default":{"enabled":false,"linkTypes":["supports","follows"],"maxDependents":10,"timeoutMs":20000,"dryRun":false},"description":"Bounded one-hop dependency revalidation after supersession. Default off.","properties":{"enabled":{"type":"boolean","default":false},"linkTypes":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["supports","follows","references"]},"default":["supports","follows"]},"maxDependents":{"type":"integer","minimum":0,"default":10,"description":"Maximum active dependents to revalidate. 0 disables propagation."},"timeoutMs":{"type":"integer","minimum":1,"default":20000,"description":"Maximum duration of the batched revalidation call (ms)."},"dryRun":{"type":"boolean","default":false,"description":"Discover and revalidate dependents without writing supersession changes."}}},"contradictionSimilarityThreshold":{"type":"number","default":0.7,"description":"QMD similarity threshold to trigger contradiction check"},"converge":{"type":"object","additionalProperties":false,"default":{"conflictPolicy":"newest-wins"},"properties":{"conflictPolicy":{"type":"string","enum":["newest-wins","manual"],"default":"newest-wins","description":"Convergence conflict policy: newest-wins picks the newer revision on comparable timestamps; manual stops before mutation when conflicts remain."},"peerRequestTimeoutMs":{"type":"integer","minimum":1,"default":30000,"description":"Per-request peer HTTP timeout (ms) for converge plan/apply/watch. Boot-scale namespaces (~100k files) can exceed 30s. Clamped to 3600000."},"captureWriteLockInitialDelayMs":{"type":"integer","minimum":1,"default":50,"description":"First backoff window (ms; jittered, first wait ~half). Default 50. Clamped to 3600000; must be <= captureWriteLockMaxDelayMs."},"captureWriteLockMaxDelayMs":{"type":"integer","minimum":1,"default":2000,"description":"Cap on one backoff wait (ms). Default 2000, clamped to 3600000; must be <= captureWriteLockDeadlineMs."},"captureWriteLockDeadlineMs":{"type":"integer","minimum":1,"default":60000,"description":"Overall acquire deadline (ms). Default 60000; on expiry the transfer fails and the cycle continues. Below 2000ms, set captureWriteLockMaxDelayMs."}}},"conversationIndexBackend":{"type":"string","enum":["qmd","faiss"],"default":"qmd","description":"Conversation indexing backend: qmd = chunk docs in a QMD collection; faiss = Python sidecar, artifacts under state/conversation-index/faiss."},"conversationIndexEmbedOnUpdate":{"type":"boolean","default":false,"description":"If true, conversation_index_update also runs QMD embed by default. Keep false for lower load."},"conversationIndexEnabled":{"type":"boolean","default":false,"description":"Enable conversation chunk indexing + semantic recall hook (default off)."},"conversationIndexFaissHealthTimeoutMs":{"type":"number","default":2000,"description":"FAISS health-check timeout (ms). Fail-open; reports degraded when dependencies or local artifacts are missing."},"conversationIndexFaissIndexDir":{"type":"string","default":"state/conversation-index/faiss","description":"Directory under memoryDir for FAISS sidecar artifacts (index.faiss, metadata.jsonl, manifest.json)."},"conversationIndexFaissMaxBatchSize":{"type":"number","default":512,"description":"Maximum transcript chunk batch size per FAISS upsert call."},"conversationIndexFaissMaxSearchK":{"type":"number","default":50,"description":"Maximum top-K allowed for FAISS search requests."},"conversationIndexFaissModelId":{"type":"string","default":"text-embedding-3-small","description":"FAISS sidecar embedding model id. Without it: sentence-transformers when REMNIC_FAISS_ENABLE_ST=1 (legacy ENGRAM_ variant), else hash embeddings."},"conversationIndexFaissPythonBin":{"type":"string","default":"","description":"Python executable used to run the FAISS sidecar (for example python3.11)."},"conversationIndexFaissScriptPath":{"type":"string","default":"","description":"absolute path to FAISS sidecar script. else uses built-in default script location."},"conversationIndexFaissSearchTimeoutMs":{"type":"number","default":5000,"description":"Timeout (ms) for FAISS search operations."},"conversationIndexFaissUpsertTimeoutMs":{"type":"number","default":30000,"description":"Timeout (ms) for FAISS upsert operations."},"conversationIndexMinUpdateIntervalMs":{"type":"number","default":900000,"description":"Minimum interval between conversation_index_update runs per session (ms). Prevents redundant reindex churn."},"conversationIndexQmdCollection":{"type":"string","default":"openclaw-engram-conversations","description":"QMD collection to use for conversation chunk search (must be configured in ~/.config/qmd/index.yml)."},"conversationIndexRetentionDays":{"type":"number","default":30,"description":"Days to retain conversation chunk docs."},"conversationRecallMaxChars":{"type":"number","default":2500,"description":"Max characters of semantic conversation recall to include."},"conversationRecallTimeoutMs":{"type":"number","default":800,"description":"Timeout for semantic conversation recall search (ms). Fail-open on timeout."},"conversationRecallTopK":{"type":"number","default":3,"description":"Top-K conversation chunks to include."},"correctionApplyRequiresConfirm":{"type":"boolean","default":true,"description":"When true (default), memory_correct_apply requires confirm: true before mutating memory. Off allows one-shot apply."},"correctionCaptureAutoApplyMaxAffected":{"type":"integer","minimum":1,"default":2,"description":"Max memories a passive correction may affect in \"auto\" mode; larger plans queue anyway (blast-radius cap)"},"correctionCaptureConfidenceFloor":{"type":"number","minimum":0,"maximum":1,"default":0.85,"description":"Minimum planner confidence to auto-apply a passive correction in \"auto\" mode; lower plans queue anyway"},"correctionCaptureMode":{"type":"string","enum":["off","queue","auto"],"default":"off","description":"Passive correction capture: off, queue, or guarded auto-apply. Invalid values reject."},"correction":{"type":"object","description":"Memory-correction contract - nested form; nested keys win over the flat legacy correction* keys.","properties":{"enabled":{"type":"boolean","description":"Enable the correction contract (plan/apply). Default true."},"applyRequiresConfirm":{"type":"boolean","description":"Require confirm: true on memory_correct_apply. Default true."},"maxAffected":{"type":"integer","minimum":1,"description":"Maximum memories one correction plan may touch. Default 10."},"planTtlHours":{"type":"number","minimum":1,"description":"Hours a planned correction stays applicable. Default 24."},"classifyTimeoutMs":{"type":"integer","minimum":1,"maximum":300000,"default":45000,"description":"Per-attempt correction classification timeout (ms); local and gateway-fallback each get this budget. Caller abort cancels in-flight"}}},"correctionCapture":{"type":"object","description":"Implicit correction capture (nested form; nested keys win over the flat legacy correctionCapture* keys).","properties":{"mode":{"type":"string","enum":["off","queue","auto"],"description":"Implicit capture mode. Default off."},"confidenceFloor":{"type":"number","minimum":0,"maximum":1,"description":"Minimum detector confidence to act on. Default 0.85."},"autoApplyMaxAffected":{"type":"integer","minimum":1,"description":"Auto-apply ceiling on affected memories. Default 2."}}},"openclawHostEmbeddingProviderEnabled":{"type":"boolean","description":"Legacy alias for hostEmbeddingProviderEnabled (OpenClaw host embedding provider). Default true."},"openclawHostEmbeddingProviderId":{"type":"string","description":"Legacy alias for hostEmbeddingProviderId."},"openclawHostEmbeddingProviderModel":{"type":"string","description":"Legacy alias for hostEmbeddingProviderModel."},"correctionEnabled":{"type":"boolean","default":true,"description":"Correction Contract master gate: unified plan/apply pipeline for corrections (supersede/edit/retract/rescope/never-store). false disables all surfaces."},"correctionMaxAffected":{"type":"integer","minimum":1,"default":10,"description":"Max memories a single correction plan may affect; larger plans are refused, not truncated. Invalid values (0/negative/non-numeric) rejected."},"correctionPlanTtlHours":{"type":"number","minimum":1,"default":24,"description":"Hours a pending correction plan stays valid before expiring. Invalid values (0/negative/non-numeric) rejected."},"correctionClassifyTimeoutMs":{"type":"integer","minimum":1,"maximum":300000,"default":45000,"description":"Legacy key for correction.classifyTimeoutMs: per-attempt classification timeout (ms; local, then gateway). Integer 1..300000"},"creationMemoryEnabled":{"type":"boolean","default":false,"description":"Enable creation-memory foundations, including the work-product ledger for explicit outputs agents create."},"cronConversationRecallMode":{"type":"string","enum":["auto","always","never"],"default":"auto","description":"Controls conversation semantic recall in cron sessions. auto skips it for instruction-heavy prompts."},"cronRecallAllowlist":{"type":"array","items":{"type":"string"},"default":[],"description":"Session-key wildcard patterns (supports *) allowed for recall when cronRecallMode=allowlist."},"cronRecallInstructionHeavyTokenCap":{"type":"number","default":36,"description":"Maximum token count used to build compact retrieval queries for instruction-heavy cron prompts."},"cronRecallMode":{"type":"string","enum":["all","none","allowlist"],"default":"all","description":"Recall behavior for cron sessions. Use allowlist to opt specific cron sessionKeys in."},"cronRecallNormalizedQueryMaxChars":{"type":"number","default":480,"description":"Maximum query length (characters) used for cron recall retrieval after normalization."},"cronRecallPolicyEnabled":{"type":"boolean","default":true,"description":"Enable prompt-shape-aware recall query normalization for cron sessions."},"crossSignalsSemanticEnabled":{"type":"boolean","default":false,"description":"Enable semantic cross-signal grouping (reserved/experimental)."},"crossSignalsSemanticTimeoutMs":{"type":"number","default":4000,"description":"Timeout for semantic cross-signal grouping (ms)."},"daySummaryEnabled":{"type":"boolean","default":true,"description":"Enable end-of-day summary generation via engram.day_summary MCP tool"},"daySummaryTimezone":{"type":"string","default":"","description":"Timezone for the day summary cron (e.g. 'America/Lima'). When empty, uses the server timezone."},"debug":{"type":"boolean","default":false,"description":"Enable debug logging"},"defaultNamespace":{"type":"string","default":"default","description":"Default namespace name."},"defaultRecallNamespaces":{"type":"array","description":"Which namespaces to include by default in recall.","items":{"type":"string","enum":["self","shared"]},"default":["self","shared"]},"defaultScopeProfile":{"type":"string","description":"key in scopeProfiles to use as the default hosted memory scope profile."},"delinearizeEnabled":{"type":"boolean","default":true,"description":"SimpleMem-inspired de-linearization: resolve pronouns and anchor relative dates in extracted memories"},"dreaming":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false},"journalPath":{"type":"string","default":"DREAMS.md"},"maxEntries":{"anyOf":[{"type":"integer","const":0},{"type":"integer","minimum":10,"maximum":10000}],"default":500},"injectRecentCount":{"type":"integer","minimum":0,"maximum":20,"default":3},"minIntervalMinutes":{"type":"integer","minimum":1,"default":120},"narrativeModel":{"type":"string","default":"","description":"Dream-journal narrative model. plugin: OpenAI model id; gateway: provider-qualified id (e.g. zai/glm-4.7-flash). Empty = taskModelChain / default."},"narrativePromptStyle":{"type":"string","enum":["reflective","diary","analytical"],"default":"reflective"},"watchFile":{"type":"boolean","default":true}}},"dreams":{"type":"object","additionalProperties":false,"default":{},"description":"Consolidation pipeline phases: lifecycle/REM/deep-sleep gates under one namespace; values here WIN over legacy keys. Distinct from `dreaming` diary config.","properties":{"phases":{"type":"object","additionalProperties":false,"default":{},"properties":{"lightSleep":{"type":"object","additionalProperties":false,"default":{},"description":"Light-sleep phase: recent activity scoring and clustering. Mirrors lifecyclePolicyEnabled + related thresholds when unset.","properties":{"enabled":{"type":"boolean","description":"Master switch for the light-sleep phase. Mirrors lifecyclePolicyEnabled when unset."},"cadenceMs":{"type":"integer","minimum":0,"default":0,"description":"Minimum interval between light-sleep passes (ms). 0 = no override; orchestrator uses its internal cadence."},"promoteHeatThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.55,"description":"Value score above which a memory is treated as hot. Mirrors lifecyclePromoteHeatThreshold when unset."},"staleDecayThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.65,"description":"Value score below which a memory starts to decay. Mirrors lifecycleStaleDecayThreshold when unset."},"archiveDecayThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.85,"description":"Value score below which a memory is eligible for archive. Mirrors lifecycleArchiveDecayThreshold when unset."},"filterStaleEnabled":{"type":"boolean","default":false,"description":"Whether stale memories are filtered from recall. Mirrors lifecycleFilterStaleEnabled when unset."}}},"rem":{"type":"object","additionalProperties":false,"default":{},"description":"REM phase: cross-session synthesis, supersession resolution, semantic consolidation. Mirrors semanticConsolidation* keys when unset.","properties":{"enabled":{"type":"boolean","description":"Master switch for the REM phase. Mirrors semanticConsolidationEnabled when unset."},"cadenceMs":{"type":"integer","minimum":0,"description":"How often the REM pass runs (ms). Derived from semanticConsolidationIntervalHours when unset."},"similarityThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Cosine-similarity threshold for cluster membership. Mirrors semanticConsolidationThreshold when unset."},"minClusterSize":{"type":"integer","minimum":2,"default":3,"description":"Minimum cluster size before consolidation runs. Mirrors semanticConsolidationMinClusterSize when unset."},"maxPerRun":{"type":"integer","minimum":0,"default":100,"description":"Max cluster operations per run. Mirrors semanticConsolidationMaxPerRun when unset."},"minIntervalMs":{"type":"integer","minimum":0,"description":"Minimum gap between consolidation passes (ms). Mirrors consolidationMinIntervalMs when unset."}}},"deepSleep":{"type":"object","additionalProperties":false,"default":{},"description":"Deep-sleep phase: promotion to durable memory, hot-to-cold tier migration, page-version snapshots, archive. Mirrors versioningEnabled when unset.","properties":{"enabled":{"type":"boolean","default":false,"description":"Deep-sleep master switch. Default off unless legacy deep-sleep surfaces are enabled; true allows nightly governance, tier migration, versioning."},"cadenceMs":{"type":"integer","minimum":0,"default":86400000,"description":"Minimum interval between deep-sleep passes (ms). Default 86400000 (24h); wires into the cron scheduler."},"versioningEnabled":{"type":"boolean","description":"Enable page-version snapshots on every overwrite. Mirrors versioningEnabled when unset."},"versioningMaxPerPage":{"type":"integer","minimum":0,"description":"Max snapshots per memory page. Mirrors versioningMaxPerPage when unset."}}}}}}},"embeddingFallbackEnabled":{"type":"boolean","default":true,"description":"Enable embedding-based semantic recall fallback when QMD is unavailable or returns no matches"},"embeddingFallbackModel":{"type":"string","description":"model identifier for embedding fallback requests. Default localLlmModel for legacy installs."},"embeddingFallbackProvider":{"type":"string","enum":["auto","openai","local"],"default":"auto","description":"Embedding provider selection for semantic fallback"},"emitLegacyTools":{"type":"boolean","default":false,"description":"Advertise legacy engram tool aliases. Existing legacy connector entries keep compatibility by default."},"enrichmentAutoOnCreate":{"type":"boolean","default":false,"description":"Automatically enrich newly created entities when the enrichment pipeline is enabled."},"enrichmentEnabled":{"type":"boolean","default":false,"description":"Enable the external enrichment pipeline. entities can be enriched via registered providers."},"enrichmentMaxCandidatesPerEntity":{"type":"integer","default":20,"minimum":0,"description":"Maximum enrichment candidates accepted per entity per run. 0 to accept none."},"entityActivityLogEnabled":{"type":"boolean","default":true,"description":"Log timestamped activity per entity"},"entityActivityLogMaxEntries":{"type":"number","default":20,"description":"Max activity entries per entity before oldest are pruned"},"entityAliasesEnabled":{"type":"boolean","default":true,"description":"Store aliases per entity file"},"entityGraphEnabled":{"type":"boolean","default":true,"description":"Build entity co-reference graph (requires multiGraphMemoryEnabled)"},"entityRelationshipsEnabled":{"type":"boolean","default":true,"description":"Track entity-to-entity relationships during extraction"},"entityRetrievalEnabled":{"type":"boolean","default":true,"description":"Enable entity-oriented recall hints for direct entity questions and short follow-up queries."},"entityRetrievalMaxChars":{"type":"number","default":2400,"description":"Hard character cap for the entity retrieval section."},"entityRetrievalMaxHints":{"type":"number","default":2,"description":"Maximum entity targets summarized in one recall pass."},"entityRetrievalMaxRelatedEntities":{"type":"number","default":3,"description":"Maximum related entities listed per target when confidence is high."},"entityRetrievalMaxSupportingFacts":{"type":"number","default":6,"description":"Maximum supporting fact/timeline snippets considered per entity target."},"entityRetrievalRecentTurns":{"type":"number","default":6,"description":"Recent transcript turns scanned for pronoun carry-forward and short follow-up resolution."},"entitySchemas":{"type":"object","description":"per-entity-type structured section schema customizations.","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"aliases":{"type":"array","items":{"type":"string"}}},"anyOf":[{"required":["key"]},{"required":["title"]}]}}},"required":["sections"]}},"entitySummaryEnabled":{"type":"boolean","default":true,"description":"Generate LLM summaries for entities during consolidation"},"entitySynthesisMaxTokens":{"anyOf":[{"type":"integer","const":0},{"type":"integer","minimum":10}],"default":500,"description":"Max tokens used when refreshing an entity synthesis from its timeline."},"episodeNoteModeEnabled":{"type":"boolean","default":false,"description":"HiMem episode/note classification (v8.0 Phase 2B): tags each extracted memory 'episode' (time-specific) or 'note' (stable belief/preference)"},"episodicContextEnabled":{"type":"boolean","default":false,"description":"Inject episode-grouped source turns for top recalled facts via `sources` provenance + LCM ranges in a `Source Episodes` section; provenance-free facts skipped."},"evalHarnessEnabled":{"type":"boolean","default":false,"description":"Enable Engram's benchmark/evaluation harness foundation for tracking benchmark packs and run summaries."},"evalShadowModeEnabled":{"type":"boolean","default":false,"description":"Shadow-mode evaluation workflows so bench instrumentation can measure memory changes without changing live recall output."},"evalStoreDir":{"type":"string","description":"Override the evaluation harness state directory (defaults to {memoryDir}/state/evals)."},"eventOrderRecallEnabled":{"type":"boolean","default":false,"description":"Enable event-order evidence recall for chronology questions."},"eventOrderRecallMaxChars":{"type":"integer","default":2400,"minimum":0,"description":"Character budget for the event-order evidence recall section."},"eventOrderRecallMaxResults":{"type":"integer","default":24,"minimum":0,"description":"Maximum recalled items for event-order evidence."},"eventOrderRecallScanWindowTokens":{"type":"integer","default":24000,"minimum":1,"description":"Recent-token scan window for event-order evidence."},"eventOrderRecallScanWindowTurns":{"type":"integer","default":12,"minimum":1,"description":"Recent-turn scan window for event-order evidence."},"explicitCueRecallEnabled":{"type":"boolean","default":false,"description":"Front-load exact LCM evidence for query-visible cues such as turns, dates, ids, files, and tools."},"explicitCueRecallMaxChars":{"type":"number","default":2400,"minimum":0,"description":"Character budget for the explicit cue evidence recall section."},"explicitCueRecallMaxReferences":{"type":"number","default":24,"minimum":0,"description":"Maximum query-visible cues expanded by explicit cue recall."},"extractionDedupeEnabled":{"type":"boolean","default":true,"description":"Enable deduplication of near-identical extraction batches within a time window."},"extractionSourceGroundingEnabled":{"type":"boolean","default":true,"description":"Keep extracted facts, profile updates, and questions only when supported by observed source turns. Disable = legacy extraction."},"extractionDedupeWindowMs":{"type":"number","default":300000,"description":"Window for extraction dedupe fingerprints (ms)."},"extractionFaithfulnessContextChars":{"type":"number","default":400,"description":"Context window (chars) around the verified quote sent to the faithfulness verifier."},"extractionFaithfulnessGate":{"type":"string","enum":["off","shadow","enforce"],"default":"off","description":"Extraction faithfulness gate: entailment-verify facts against verified spans. 'off' (default) = pre-feature; 'shadow' = verdicts only; 'enforce' = unsupported to review."},"extractionFaithfulnessModel":{"type":"string","default":"","description":"Override model/endpoint for the faithfulness verifier. Empty = default routing chain (local then fallback)."},"extractionFaithfulnessTimeoutMs":{"type":"number","default":8000,"description":"Per-batch faithfulness-check timeout (ms). Timeout produces a tagged error and never blocks memory writes."},"extractionFaithfulnessLocalParseFallback":{"type":"boolean","default":false,"description":"Local model-lab faithfulness fallback. Default false = non-verdict JSON is malformed_output; true falls back on parse failure."},"extractionFaithfulnessBaseUrl":{"type":"string","default":"","description":"Base URL of a local openai-compatible faithfulness endpoint; with extractionFaithfulnessModel the gate routes there first. Empty = existing routing."},"correctionIntentModel":{"type":"string","default":"","description":"Local fine-tuned correction-intent classifier model (#1585); used only when correctionIntentBaseUrl is also set. Empty = rule-based detector only."},"correctionIntentBaseUrl":{"type":"string","default":"","description":"Base URL of a local openai-compatible endpoint serving a fine-tuned correction-intent classifier. Empty = rule-based detector."},"extractionJudgeBatchSize":{"type":"number","default":20,"minimum":1,"description":"Maximum number of candidate facts sent to the judge LLM in a single batch call."},"extractionJudgeEnabled":{"type":"boolean","default":false,"description":"LLM-as-judge fact-worthiness gate: extracted facts are evaluated for durability before persisting"},"extractionJudgeMaxDeferrals":{"type":"number","default":2,"minimum":1,"description":"Max deferrals of the same candidate text by the extraction judge before the verdict forcibly becomes 'reject'. Prevents pathological loops."},"extractionJudgeModel":{"type":"string","default":"","description":"Model override for the extraction judge LLM. Empty uses the configured local model."},"extractionJudgeShadow":{"type":"boolean","default":false,"description":"Extraction judge shadow mode: verdicts are logged but all facts still persist regardless."},"extractionJudgeTelemetryEnabled":{"type":"boolean","default":false,"description":"Emit telemetry rows to state/observation-ledger/extraction-judge-verdicts.jsonl per judge verdict (defer-rate + latency)"},"extractionJudgeTimeoutMs":{"type":"number","default":90000,"minimum":1},"extractionMaxEntitiesPerRun":{"type":"number","default":6,"description":"Maximum entities persisted from a single extraction run."},"extractionMaxFactsPerRun":{"type":"number","default":12,"description":"Maximum facts persisted from a single extraction run."},"extractionMaxOutputTokens":{"type":"number","default":16384,"description":"Maximum output tokens (max_completion_tokens) for the direct-client extraction call."},"extractionMaxProfileUpdatesPerRun":{"type":"number","default":4,"description":"Maximum profile updates persisted from a single extraction run."},"extractionMaxQuestionsPerRun":{"type":"number","default":3,"description":"Maximum questions persisted from a single extraction run."},"extractionMaxTurnChars":{"type":"number","default":4000,"description":"Maximum characters per turn fed to extraction (long turns are truncated)."},"extractionPromptMaxChars":{"type":"number","default":5000,"description":"Per-call extraction prompt budget in turn-content characters. A claim whose turns exceed this splits across sequential extraction calls; every turn is kept. 0 disables chunking."},"extractionMinChars":{"type":"number","default":40,"description":"Minimum combined user/assistant characters required before extraction runs."},"extractionMinImportanceLevel":{"type":"string","enum":["trivial","low","normal","high","critical"],"default":"low","description":"Minimum locally-scored importance to persist an extracted fact; lower facts drop and count as importance_gated. \"low\" drops only trivial chatter."},"extractionMinUserTurns":{"type":"number","default":1,"description":"Minimum number of user turns required before extraction runs."},"extractionScopeClassificationEnabled":{"type":"boolean","default":true,"description":"Extractor classifies facts 'project' or 'global'; global goes to the shared namespace. Disable = all facts stay in the session namespace."},"extractionTelemetryPrefilterEnabled":{"type":"boolean","default":true,"description":"Skip semantic extraction for mechanical telemetry transcripts without durable-memory cues. Storage/recall still run; disable to extract from logs."},"factArchivalAgeDays":{"type":"number","default":90,"description":"Minimum age in days before a fact is eligible for archival."},"factArchivalEnabled":{"type":"boolean","default":false,"description":"Enable automatic archival of old, low-importance, rarely-accessed facts during consolidation."},"factArchivalMaxAccessCount":{"type":"number","default":2,"description":"Maximum access count for archival eligibility. Only rarely-accessed facts are archived."},"factArchivalMaxImportance":{"type":"number","default":0.3,"description":"Maximum importance score for archival eligibility (0-1). Only facts below this threshold are archived."},"factArchivalProtectedCategories":{"type":"array","items":{"type":"string"},"default":["commitment","preference","decision","principle","procedure"],"description":"Categories that protect a fact from archival regardless of other criteria."},"factDeduplicationEnabled":{"type":"boolean","default":true,"description":"Enable content-hash deduplication to prevent storing semantically identical facts."},"fastGatewayAgentId":{"type":"string","default":"","description":"Agent persona ID for fast-tier ops (rerank, entity summaries, compression guidelines). Empty under 'gateway' = gatewayAgentId's chain."},"feedbackEnabled":{"type":"boolean","default":false,"description":"Enable feedback capture tool for memory relevance (thumbs up/down)."},"fileHygiene":{"type":"object","additionalProperties":false,"description":"Optional: keep OpenClaw bootstrap workspace files small and warn before silent truncation risk.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for file hygiene (default off)."},"lintEnabled":{"type":"boolean","default":true,"description":"If true, warn when bootstrap files approach budget."},"lintBudgetBytes":{"type":"number","default":20000,"description":"Budget in bytes used for lint warnings (approx)."},"lintWarnRatio":{"type":"number","default":0.8,"description":"Warn when file size >= budget * warnRatio."},"lintPaths":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md","MEMORY.md"],"description":"Workspace-relative paths to lint (or absolute paths)."},"rotateEnabled":{"type":"boolean","default":false,"description":"If true, rotate oversized markdown files into an archive and replace with a lean index."},"rotateMaxBytes":{"type":"number","default":18000,"description":"Rotate when a target file exceeds this size (bytes)."},"rotateKeepTailChars":{"type":"number","default":2000,"description":"How many characters of the old file to keep inline (tail) for continuity."},"rotatePaths":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md"],"description":"Workspace-relative paths to rotate (or absolute paths)."},"archiveDir":{"type":"string","default":".engram-archive","description":"Workspace-relative archive directory where rotated files are stored."},"runMinIntervalMs":{"type":"number","default":300000,"description":"Minimum interval between hygiene runs (ms)."},"warningsLogEnabled":{"type":"boolean","default":false,"description":"If true, append warnings to a log file under memoryDir."},"warningsLogPath":{"type":"string","default":"hygiene/warnings.md","description":"memoryDir-relative path to write warnings to."},"indexEnabled":{"type":"boolean","default":false,"description":"Reserved: write an Engram index file in workspace (not required for rotation)."},"indexPath":{"type":"string","default":"ENGRAM_INDEX.md","description":"Workspace-relative index path (if indexEnabled)."}},"required":["enabled"]},"flushOnResetEnabled":{"type":"boolean","default":true,"description":"Flush buffered turns through extraction when OpenClaw resets a session."},"focusedListRecallEnabled":{"type":"boolean","default":false,"description":"Enable focused list evidence recall for count, relation, and recommendation questions."},"focusedListRecallMaxChars":{"type":"integer","default":2600,"minimum":0,"description":"Character budget for the focused list evidence recall section."},"focusedListRecallMaxResults":{"type":"integer","default":40,"minimum":0,"description":"Maximum recalled items for focused list evidence."},"focusedListRecallScanWindowTokens":{"type":"integer","default":14000,"minimum":1,"description":"Recent-token scan window for focused list evidence."},"focusedListRecallScanWindowTurns":{"type":"integer","default":64,"minimum":1,"description":"Recent-turn scan window for focused list evidence."},"gatewayAgentId":{"type":"string","default":"","description":"Agent persona ID (agents.list[]) whose model chain runs extraction, consolidation, summarization. Required under 'gateway'; else agents.defaults.model."},"graphActivationDecay":{"type":"number","default":0.7,"description":"Per-hop activation decay factor (0-1)"},"graphAssistInFullModeEnabled":{"type":"boolean","default":true,"description":"Run bounded graph expansion during full recall mode when seed results exist."},"graphAssistMinSeedResults":{"type":"number","default":3,"description":"Minimum seed recall results required before full-mode graph assist runs."},"graphAssistShadowEvalEnabled":{"type":"boolean","default":false,"description":"In full mode, compute graph assist for comparison telemetry and snapshots but keep recall output baseline-identical."},"graphEdgeCacheIncrementalEnabled":{"type":"boolean","default":true,"description":"Push single-writer graph-edge appends into the warm edge cache (size-revalidated), not null+re-read per write. false = pre-#1904 null-on-every-write."},"graphEdgeDecayCadenceMs":{"type":"number","default":604800000,"minimum":60000,"description":"Cadence (ms) for the graph-edge decay cron. Default 7 days. Sub-day cadences map to a daily cron expression."},"graphEdgeDecayEnabled":{"type":"boolean","default":false,"description":"Enable the periodic graph-edge confidence decay maintenance job. Opt-in."},"graphEdgeDecayFloor":{"type":"number","default":0.1,"minimum":0,"maximum":1,"description":"Floor confidence will not decay below"},"graphEdgeDecayPerWindow":{"type":"number","default":0.1,"minimum":0,"maximum":1,"description":"Per-window confidence drop applied during decay"},"graphEdgeDecayVisibilityThreshold":{"type":"number","default":0.2,"minimum":0,"maximum":1,"description":"Confidence threshold used by the decay telemetry counter for low-visibility edges"},"graphEdgeDecayWindowMs":{"type":"number","default":7776000000,"minimum":60000,"description":"Decay window (ms) passed to decayEdgeConfidence. Default 90 days."},"graphExpandedIntentEnabled":{"type":"boolean","default":true,"description":"Escalate broader causal/timeline phrasing into graph_mode planning."},"graphPathScoring":{"type":"object","properties":{"enabled":{"type":"boolean","default":false,"description":"Penalize graph-expanded results that rely on invalid intermediate memories."},"invalidNodePenalty":{"type":"number","exclusiveMinimum":0,"maximum":1,"default":0.2,"description":"Multiplicative penalty applied once per invalid intermediate memory."},"includePathInProvenance":{"type":"boolean","default":true,"description":"Include graph path node ids in recall provenance when path scoring is enabled."}},"additionalProperties":false},"graphExpansionActivationWeight":{"type":"number","default":0.65,"description":"Graph-activation blend weight when scoring expanded results (0-1); higher favors graph activation over seed QMD score."},"graphExpansionBlendMax":{"type":"number","default":0.95,"description":"Upper clamp bound for blended graph-expanded recall scores (0-1)."},"graphExpansionBlendMin":{"type":"number","default":0.05,"description":"Lower clamp bound for blended graph-expanded recall scores (0-1)."},"graphLateralInhibitionBeta":{"type":"number","default":0.15,"description":"Inhibition strength (0-1). Higher values suppress weaker nodes more aggressively"},"graphLateralInhibitionEnabled":{"type":"boolean","default":true,"description":"Synapse-inspired lateral inhibition to suppress hub-node dominance in graph retrieval"},"graphLateralInhibitionTopM":{"type":"number","default":7,"description":"Number of top competing nodes considered for lateral inhibition"},"graphRecallColdMirrorCollection":{"type":"string","description":"QMD collection name for cold-mirror graph recall results."},"graphRecallColdMirrorMinAgeDays":{"type":"number","default":7,"description":"Minimum age in days for a memory to qualify for cold-mirror storage."},"graphRecallDampingFactor":{"type":"number","default":0.85,"description":"PageRank-style damping factor for graph activation propagation."},"graphRecallEnableDebug":{"type":"boolean","default":false,"description":"Enable verbose debug output for graph recall operations."},"graphRecallEnableTrace":{"type":"boolean","default":false,"description":"Enable detailed graph recall trace logging for debugging."},"graphRecallEnabled":{"type":"boolean","default":false,"description":"Enable graph recall planner mode (`graph_mode`). Requires multiGraphMemoryEnabled"},"graphRecallEntityHintMax":{"type":"number","default":3,"description":"Maximum number of entity hints added per graph recall result."},"graphRecallEntityHintMaxChars":{"type":"number","default":200,"description":"Maximum characters per entity hint added during graph recall."},"graphRecallEntityHintsEnabled":{"type":"boolean","default":false,"description":"Inject entity hint summaries alongside graph-recalled memories."},"graphRecallEntityPriorBoost":{"type":"number","default":0.2,"description":"Score boost applied to nodes with strong entity priors."},"graphRecallExpansionScoreThreshold":{"type":"number","default":0.2,"description":"Minimum blended score required to include a graph-expanded node in results."},"graphRecallExplainEdgeLimit":{"type":"number","default":5,"description":"Maximum edges described per node in a graph recall explanation."},"graphRecallExplainEnabled":{"type":"boolean","default":false,"description":"Append natural-language graph reasoning explanations to recall output."},"graphRecallExplainMaxChars":{"type":"number","default":500,"description":"Maximum characters per graph recall explanation."},"graphRecallExplainMaxPaths":{"type":"number","default":3,"description":"Maximum reasoning paths included in a graph recall explanation."},"graphRecallExplainToolEnabled":{"type":"boolean","default":false,"description":"Expose a graph explain tool to agents during graph recall."},"graphRecallHubBias":{"type":"number","default":0.3,"description":"Bias weight toward hub-seed selection (0-1)."},"graphRecallMaxExpandedNodes":{"type":"number","default":30,"description":"Maximum total nodes visited during graph recall expansion."},"graphRecallMaxExpansions":{"type":"number","default":3,"description":"Maximum number of expansion hops per graph recall query."},"graphRecallMaxPerSeed":{"type":"number","default":5,"description":"Maximum graph-expanded results per seed node."},"graphRecallMaxSeedNodes":{"type":"number","default":10,"description":"Maximum number of seed nodes selected for graph recall expansion."},"graphRecallMaxTrailPerNode":{"type":"number","default":5,"description":"Maximum trail length followed per node during graph traversal."},"graphRecallMinEdgeWeight":{"type":"number","default":0.1,"description":"Minimum edge weight to follow during graph recall traversal."},"graphRecallMinSeedScore":{"type":"number","default":0.3,"description":"Minimum QMD score for a memory to qualify as a graph recall seed."},"graphRecallPreferHubSeeds":{"type":"boolean","default":false,"description":"Prefer high-degree hub nodes as graph recall seeds."},"graphRecallRecencyHalfLifeDays":{"type":"number","default":30,"description":"Half-life in days for recency decay applied to graph-expanded nodes."},"graphRecallShadowEnabled":{"type":"boolean","default":false,"description":"Run graph recall in shadow mode - evaluate but do not add results."},"graphRecallShadowSampleRate":{"type":"number","default":0.1,"description":"Fraction of turns evaluated in shadow mode (0-1)."},"graphRecallSnapshotDir":{"type":"string","description":"Directory for graph recall snapshot files (defaults to {memoryDir}/state/graph)."},"graphRecallSnapshotEnabled":{"type":"boolean","default":false,"description":"Write graph recall snapshots for offline analysis."},"graphRecallStoreColdMirror":{"type":"boolean","default":false,"description":"Store cold-path graph recall results in a secondary QMD collection."},"graphRecallUseEntityPriors":{"type":"boolean","default":false,"description":"Boost seed nodes using entity prior scores during graph recall."},"graphTraversalConfidenceFloor":{"type":"number","default":0.2,"minimum":0,"maximum":1,"description":"Minimum edge confidence for spreading activation; lower edges are pruned. Edges without confidence count as 1.0. Range 0-1"},"graphTraversalPageRankIterations":{"type":"number","default":8,"minimum":0,"description":"PageRank-style refinement iterations on BFS scores; each pass redistributes confidence-weighted activation along edges. 0 = raw BFS"},"graphWriteSessionAdjacencyEnabled":{"type":"boolean","default":true,"description":"Write fallback temporal adjacency edges for consecutive extracted memories in the same session."},"harmonicRetrievalEnabled":{"type":"boolean","default":false,"description":"Harmonic retrieval blending over abstraction nodes and cue anchors, incl. recall-section assembly and harmonic diagnostics."},"heartbeat":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false},"journalPath":{"type":"string","default":"HEARTBEAT.md"},"maxPreviousRuns":{"type":"integer","minimum":0,"maximum":20,"default":5},"watchFile":{"type":"boolean","default":true},"detectionMode":{"type":"string","enum":["runtime-signal","heuristic","auto"],"default":"auto"},"gateExtractionDuringHeartbeat":{"type":"boolean","default":true}}},"highSignalPatterns":{"type":"array","items":{"type":"string"},"description":"Custom regex patterns for immediate extraction"},"hostEmbeddingProviderEnabled":{"type":"boolean","default":true,"description":"Prefer host-registered embedding providers for semantic fallback + embedded vector backends when the SDK exposes them; else the existing path."},"hostEmbeddingProviderId":{"type":"string","description":"OpenClaw embedding provider adapter id. Unset = automatic selection from the memory/generic provider registry."},"hostEmbeddingProviderModel":{"type":"string","description":"embedding model id passed to the selected OpenClaw host embedding provider."},"hourlySummariesEnabled":{"type":"boolean","default":true,"description":"Enable hourly conversation summaries"},"hourlySummariesExtendedEnabled":{"type":"boolean","default":false,"description":"Enable structured hourly summaries (topics/decisions/action items/rejections)"},"hourlySummariesIncludeSystemMessages":{"type":"boolean","default":false,"description":"Include system messages in extended hourly summaries (use with care)."},"hourlySummariesIncludeToolStats":{"type":"boolean","default":false,"description":"Include tool usage counts in extended hourly summaries (requires tool usage capture)."},"hourlySummariesMaxTurnsPerRun":{"type":"number","default":200,"description":"Maximum transcript turns to consider per session per hourly summarizer run."},"hourlySummaryCronAutoRegister":{"type":"boolean","default":false,"description":"If true, Engram may attempt to auto-register an hourly summary cron job (default off)."},"identityContinuityEnabled":{"type":"boolean","default":false,"description":"Enable identity continuity workflows (anchor, incidents, audits)"},"identityEnabled":{"type":"boolean","default":true,"description":"Enable agent identity reflections (appends to workspace IDENTITY.md)"},"identityInjectionMode":{"type":"string","enum":["recovery_only","minimal","full"],"default":"recovery_only","description":"Controls when identity continuity context is added to recall assembly"},"identityMaxInjectChars":{"type":"number","default":1200,"description":"Maximum characters allowed for identity continuity context"},"initGateTimeoutMs":{"type":"integer","minimum":1000,"maximum":120000,"default":30000,"description":"Cold-start init wait during recall; also the before_prompt_build hook timeout on SDKs with per-hook options."},"injectQuestions":{"type":"boolean","default":false,"description":"Include the most relevant open question in generated memory context"},"inlineSourceAttributionEnabled":{"type":"boolean","default":false,"description":"Enable inline source attribution markers on persisted facts for downstream provenance tracking."},"inlineSourceAttributionFormat":{"type":"string","default":"[Source: agent={agent}, session={sessionId}, ts={ts}]","description":"Template used when inline source attribution is enabled."},"inlineSourceAttributionFormatHistory":{"type":"array","items":{"type":"string"},"description":"Prior inline citation templates still recognized during merge after a format change."},"intentRoutingBoost":{"type":"number","default":0.12,"description":"Maximum score boost applied for intent-compatible memory matches."},"intentRoutingEnabled":{"type":"boolean","default":false,"description":"Attach intent metadata to memories and boost compatible memories at recall."},"ircEnabled":{"type":"boolean","default":true,"description":"Enable Inductive Rule Consolidation (IRC) subsystem (default on)."},"ircIncludeCorrections":{"type":"boolean","default":true,"description":"Include corrections when building IRC rules (default on)."},"ircMaxPreferences":{"type":"number","default":20,"description":"Maximum number of preferences to include in IRC rules."},"ircMinConfidence":{"type":"number","default":0.3,"description":"Minimum confidence threshold for an IRC rule to be included (0-1)."},"judgeTrainingDir":{"type":"string","default":"","description":"Override directory for judge training-pair collection. Empty = ~/.remnic/judge-training. Only under collectJudgeTrainingPairs."},"knowledgeIndexEnabled":{"type":"boolean","default":true,"description":"Inject a compact Knowledge Index of top entities into every recall"},"knowledgeIndexMaxChars":{"type":"number","default":4000,"description":"Hard character cap for the Knowledge Index section"},"knowledgeIndexMaxEntities":{"type":"number","default":40,"description":"Max entities included in the Knowledge Index"},"lanceDbPath":{"type":"string","description":"Directory path for LanceDB storage (when searchBackend=lancedb)"},"lanceEmbeddingDimension":{"type":"number","default":1536,"description":"Embedding vector dimension for LanceDB (when searchBackend=lancedb)"},"lancedbEnabled":{"type":"boolean","default":false,"description":"Enable LanceDB as a supplemental search backend."},"lcmArchiveRetentionDays":{"type":"number","default":90,"description":"Days to retain archived LCM summaries"},"lcmDeterministicMaxTokens":{"type":"number","default":512,"description":"Max tokens for deterministic (non-LLM) summaries"},"lcmEnabled":{"type":"boolean","default":false,"description":"Enable Lossless Context Management (LCM) subsystem"},"lcmFreshTailTurns":{"type":"number","default":16,"description":"Number of recent turns kept verbatim (not summarized)"},"lcmLeafBatchSize":{"type":"number","default":8,"description":"Number of turns per leaf node in the LCM DAG"},"lcmMaxDepth":{"type":"number","default":5,"description":"Maximum depth of the LCM summary DAG"},"lcmObserveConcurrency":{"type":"number","default":1,"description":"Maximum independent LCM observe jobs to process concurrently."},"lcmRecallBudgetShare":{"type":"number","default":0.15,"description":"Fraction of recall budget allocated to LCM compressed history (0-1)"},"lcmRollupFanIn":{"type":"number","default":4,"description":"Number of children per rollup node in the LCM DAG"},"lcmTelemetryPrefilterEnabled":{"type":"boolean","default":true,"description":"Use deterministic LCM compression for mechanical action/state telemetry without durable-memory cues."},"lifecycleArchiveDecayThreshold":{"type":"number","default":0.85,"description":"Decay threshold for lifecycle demotion to archived state semantics."},"lifecycleFilterStaleEnabled":{"type":"boolean","default":false,"description":"If enabled, stale lifecycle memories can be filtered from retrieval (wired in PR20D)."},"lifecycleMetricsEnabled":{"type":"boolean","default":true,"description":"Emit lifecycle metrics snapshots to state/lifecycle-metrics.json when policy is enabled."},"lifecyclePolicyEnabled":{"type":"boolean","default":true,"description":"Lifecycle policy engine (hot↔cold tier migration, value scoring, decay). Default true since #686; false opts out."},"lifecyclePromoteHeatThreshold":{"type":"number","default":0.55,"description":"Heat threshold for lifecycle promotion to validated/active states."},"lifecycleProtectedCategories":{"type":"array","items":{"type":"string"},"default":["decision","principle","commitment","preference","procedure"],"description":"Categories that lifecycle policy will not auto-archive."},"lifecycleStaleDecayThreshold":{"type":"number","default":0.65,"description":"Decay threshold for lifecycle demotion to stale."},"llmBridgeClientConfigPath":{"type":"string","description":"Path to the Hermes loopback-bridge client JSON. Parsed into backgroundGeneration only. Never copied onto openaiBaseUrl."},"localLlm400CooldownMs":{"type":"number","default":120000,"description":"Cooldown duration after tripping local LLM 400 threshold (ms)."},"localLlm400TripThreshold":{"type":"number","default":5,"description":"Consecutive 400 responses before local LLM enters temporary cooldown."},"localLlmApiKey":{"type":"string","description":"API key for authenticated OpenAI-compatible local endpoints"},"localLlmApiKeyEnv":{"type":"string","description":"env var name for a local LLM API key; a missing variable leaves local auth unset."},"localLlmAuthHeader":{"type":"boolean","default":true,"description":"If false, do not send Authorization header even when localLlmApiKey is set"},"localLlmDisableThinking":{"type":"boolean","default":true,"description":"Suppress thinking on supported local backends for terse structured ops (default true); consolidation and fast tier unaffected."},"localLlmThinkingThresholdChars":{"type":"integer","minimum":0,"default":3000,"description":"Enable thinking for local extraction when the transcript is shorter than this. 0 keeps it suppressed."},"localLlmEnabled":{"type":"boolean","default":false,"description":"Enable local LLM for extraction and summarization (e.g., LM Studio, Ollama)"},"localLlmFallback":{"type":"boolean","default":true,"description":"Legacy alias for taskLlmFallback."},"localLlmFastEnabled":{"type":"boolean","default":false,"description":"Enable a smaller/faster local LLM for quick ops (rerank, entity_summary, tmt_summary, compression_guideline)."},"localLlmFastModel":{"type":"string","default":"","description":"Model ID for fast-tier local LLM operations. Empty uses the primary localLlmModel."},"localLlmFastTimeoutMs":{"type":"number","default":15000,"description":"Timeout for fast-tier local LLM requests (ms)."},"localLlmFastUrl":{"type":"string","description":"Fast-tier local LLM endpoint. Default localLlmUrl."},"localLlmHeaders":{"type":"object","description":"additional headers for local/compatible endpoint requests","additionalProperties":{"type":"string"}},"localLlmHomeDir":{"type":"string","description":"home directory override for local LLM helpers (LM Studio settings, CLI PATH)."},"localLlmMaxContext":{"type":"number","description":"Override the detected local LLM context window (e.g. 32768 when the server defaults to 32K)."},"localLlmModel":{"type":"string","default":"local-model","description":"Model name for local LLM requests"},"localLlmReasoningEffort":{"type":"string","enum":["","none","low","medium","high","max"],"default":"none","description":"Ollama think-off: reasoning_effort sent for thinking-suppressed ops. Empty disables."},"localLlmRetry5xxCount":{"type":"number","default":1,"description":"Number of retry attempts for local LLM 5xx responses."},"localLlmRetryBackoffMs":{"type":"number","default":400,"description":"Base backoff delay between local LLM retries (ms)."},"localLlmRateLimitRetryCount":{"type":"integer","minimum":0,"default":3,"description":"Retries on 429/503/408 or proxy cooldown (jittered backoff, honors Retry-After)."},"localLlmRateLimitBackoffBaseMs":{"type":"integer","minimum":1,"default":1000,"description":"Base rate-limit backoff (ms)."},"localLlmRateLimitBackoffMaxMs":{"type":"integer","minimum":1,"default":60000,"description":"Max rate-limit backoff (ms); a longer Retry-After skips the retry."},"localLlmMaxConcurrency":{"type":"integer","minimum":0,"default":4,"description":"Process-wide cap on concurrent local LLM requests (0 = unlimited); caps above 1 reserve one permit for recall-critical work."},"localLlmTimeoutMs":{"type":"number","default":180000,"description":"Hard timeout for local LLM requests (ms). Legacy alias for taskLlmTimeoutMs when that key is absent."},"taskLlmTimeoutMs":{"type":"number","default":180000,"description":"Timeout (ms) for the gateway/task LLM chain; primary extraction timeout in gateway mode. localLlmTimeoutMs is a legacy alias when absent."},"taskLlmFallback":{"type":"boolean","default":true,"description":"Use the gateway/task LLM chain when the local LLM path fails. localLlmFallback is a legacy alias when absent."},"localLlmUrl":{"type":"string","default":"http://localhost:1234/v1","description":"URL for local LLM OpenAI-compatible endpoint"},"localLmsBinDir":{"type":"string","description":"bin directory prepended to PATH for LMS CLI execution."},"localLmsCliPath":{"type":"string","description":"absolute path to LMS CLI binary. Preferred over auto-detected locations."},"maintenanceIncludeBranchNamespaces":{"type":"boolean","default":false,"description":"Include dynamic branch namespaces from the catalog in maintenance fanout. Default off to avoid high-cardinality churn."},"maintenanceIncludeProjectNamespaces":{"type":"boolean","default":true,"description":"Include dynamic project namespaces from the namespace catalog in background maintenance fanout."},"maintenanceIncludeTeamProjectNamespaces":{"type":"boolean","default":true,"description":"Include dynamic team-project namespaces from the namespace catalog in background maintenance fanout."},"maintenanceMaxNamespacesPerCycle":{"type":"number","default":20,"minimum":1,"description":"Max namespaces a single maintenance cycle processes; default/shared namespaces keep priority within the budget."},"maintenanceNamespaceFanoutEnabled":{"type":"boolean","default":true,"description":"Let background maintenance enumerate live catalog namespaces in addition to configured default/shared/policy namespaces."},"maintenanceNamespaceLockStaleMs":{"type":"number","default":600000,"minimum":1,"description":"Stale threshold for per-job/per-namespace maintenance locks under state/maintenance-locks/."},"maxCompressionTokensPerHour":{"type":"number","default":1500,"description":"Hourly token budget for compression actions/guideline generation (0 disables budgeted compression work)."},"maxEntityGraphEdgesPerMemory":{"type":"number","default":10,"description":"Maximum entity graph edges written per memory write"},"maxGraphTraversalSteps":{"type":"number","default":3,"description":"Maximum BFS hops during spreading activation"},"maxMemoryTokens":{"type":"number","default":2000,"description":"Max memory-context tokens per turn"},"maxProactiveQuestionsPerExtraction":{"type":"number","default":2,"description":"Maximum proactive self-questions generated per extraction pass (0 disables question generation)."},"maxSummaryCount":{"type":"number","default":6,"description":"Maximum number of summaries to include"},"maxTranscriptTokens":{"type":"number","default":1000,"description":"Maximum tokens for transcript context"},"maxTranscriptTurns":{"type":"number","default":50,"description":"Maximum transcript turns to include"},"meilisearchApiKey":{"type":"string","description":"API key for Meilisearch (when searchBackend=meilisearch)"},"meilisearchAutoIndex":{"type":"boolean","default":false,"description":"Automatically push local memory docs to Meilisearch on update (when searchBackend=meilisearch)"},"meilisearchEnabled":{"type":"boolean","default":false,"description":"Enable Meilisearch as a supplemental search backend."},"meilisearchHost":{"type":"string","default":"http://localhost:7700","description":"Meilisearch server host URL (when searchBackend=meilisearch)"},"meilisearchTimeoutMs":{"type":"number","default":30000,"description":"Timeout in ms for Meilisearch requests (when searchBackend=meilisearch)"},"memoryBoxesEnabled":{"type":"boolean","default":false,"description":"Enable Memory Boxes (v8.0 Phase 2A). Groups memories into topic-bounded windows"},"memoryDir":{"type":"string","description":"Override memory storage directory"},"memoryExtensionsEnabled":{"type":"boolean","default":true,"description":"Whether third-party memory extensions are discovered and included in consolidation instructions."},"memoryExtensionsRoot":{"type":"string","default":"","description":"Root directory for memory extensions. Empty = derived from memoryDir (Remnic home + memory_extensions)."},"memoryLifecycleLedgerCompactBytes":{"type":"integer","default":67108864,"minimum":0,"description":"Auto-compact state/memory-lifecycle-ledger.jsonl past this byte count via debounced maintenance. 0 disables. Default 64MB."},"memoryLifecycleLedgerCompactMinIntervalMs":{"type":"integer","default":21600000,"minimum":60000,"description":"Minimum interval between auto-compactions of the lifecycle ledger. Default 6 hours."},"memoryLinkingEnabled":{"type":"boolean","default":false,"description":"Enable automatic memory linking to build knowledge graph"},"offlineSyncExcludes":{"type":"array","items":{"type":"string","minLength":1},"default":[],"description":"Extra offline-sync push-side exclude globs (relative to memoryDir), additive to built-in excludes (state/*.sqlite*, index_tags.json, entity-mention-index.json, governance/runs)."},"memoryOsPreset":{"type":"string","enum":["conservative","balanced","research","research-max","local-llm-heavy"],"description":"Named preset seeding the advanced config surface before explicit settings apply. `research` is an alias for `research-max`."},"memoryPoisoningDefenseEnabled":{"type":"boolean","default":false,"description":"Enable deterministic provenance trust scoring for trust-zone records as the first poisoning-defense surface."},"memoryInjectionDefenseMode":{"type":"string","enum":["custom","off","fencing","quarantine","layered"],"default":"custom","description":"Packaged memory-injection defense; custom keeps originAuthorityEnabled and injectionScreenEnabled as set."},"originAuthorityEnabled":{"type":"boolean","default":false,"description":"Fence recall-rendered content from untrusted origins as data-only. Origin metadata is always recorded; this gates the recall-time fence."},"injectionScreenEnabled":{"type":"boolean","default":true,"description":"Screen candidate facts with deterministic injection rules and queue findings for review."},"untrustedOrigins":{"type":"array","items":{"type":"string","minLength":1},"default":["tool_output","import:*","unknown"],"description":"Origin classes that receive the recall authority fence."},"memoryReconstructionEnabled":{"type":"boolean","default":false,"description":"E-Mem-inspired memory reconstruction: targeted secondary retrieval for entity references lacking context in recall"},"memoryReconstructionMaxExpansions":{"type":"number","default":3,"description":"Maximum number of entity expansions per recall cycle"},"memoryRedTeamBenchEnabled":{"type":"boolean","default":false,"description":"Enable operator-facing memory red-team benchmark packs and status accounting for poisoning-defense regression suites."},"memoryUtilityLearningEnabled":{"type":"boolean","default":false,"description":"Utility-learning telemetry storage so later slices can learn promotion/ranking weights from downstream outcomes."},"messagePartsEnabled":{"type":"boolean","default":false,"description":"Opt in to structured LCM message-part capture for tool calls, file references, patches, and reasoning markers."},"messagePartsRecallMaxResults":{"type":"number","default":6,"description":"Maximum structured message-part matches to include in recall when messagePartsEnabled is true."},"model":{"type":"string","default":"gpt-5.5","description":"OpenAI model for extraction/consolidation"},"modelSource":{"type":"string","enum":["plugin","gateway"],"default":"gateway","description":"LLM source: 'gateway' = a gateway agent's model chain (agents.list[]); 'plugin' = Engram's own openai/localLlm config."},"multiGraphMemoryEnabled":{"type":"boolean","default":false,"description":"Enable multi-graph memory (entity, time, causal edges)"},"namespaceCatalogEnabled":{"type":"boolean","default":true,"description":"Enable the rebuildable namespace catalog when namespaces are enabled"},"namespacePolicies":{"type":"array","description":"Namespace access policies.","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"readPrincipals":{"type":"array","items":{"type":"string"}},"writePrincipals":{"type":"array","items":{"type":"string"}},"includeInRecallByDefault":{"type":"boolean"}},"required":["name","readPrincipals","writePrincipals"]}},"namespacesCatalogCompactBytes":{"type":"number","default":16777216,"minimum":0,"description":"Byte size at which a namespace-catalog touch compacts state/namespaces.jsonl (last-record-wins, atomic). Default 16777216; 0 disables."},"namespacesCatalogReadTouchCoalesceMs":{"type":"number","default":60000,"minimum":0,"description":"Coalescing window (ms) for repeated timestamp-only read touches; observable touches flush at once. Default 60000; 0 disables."},"namespacesCatalogTouchStateWrites":{"type":"boolean","default":false,"description":"Whether pure state-file writes (state/buffer.json, ledgers, indexes) touch the namespace catalog. Default false; true = pre-#1903."},"namespacesCatalogWriteTouchCoalesceMs":{"type":"number","default":1000,"minimum":0,"description":"Coalescing window (ms) for repeated timestamp-only write touches on a known namespace; mirrors the read coalesce. Default 1000; 0 disables."},"namespacesEnabled":{"type":"boolean","default":false,"description":"Enable multi-agent namespaces (v3.0)"},"nativeKnowledge":{"type":"object","additionalProperties":false,"description":"Search curated workspace markdown files directly during recall without converting them into durable memory files.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for curated workspace file recall."},"includeFiles":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md","MEMORY.md"],"description":"Workspace-relative curated markdown files to scan for native knowledge recall."},"maxChunkChars":{"type":"number","default":900,"description":"Maximum chunk size per native knowledge section before it is split."},"maxResults":{"type":"number","default":4,"description":"Maximum native knowledge chunks to add to recall."},"maxChars":{"type":"number","default":2400,"description":"Maximum total characters to add from native knowledge recall."},"stateDir":{"type":"string","default":"state/native-knowledge","description":"Memory-relative directory used for backend-agnostic native knowledge sync state."},"openclawWorkspace":{"type":"object","additionalProperties":false,"description":"Adapter for OpenClaw workspace artifacts (bootstrap docs, handoffs, daily summaries, automation notes).","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable the OpenClaw workspace native-knowledge adapter."},"bootstrapFiles":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md","MEMORY.md","USER.md"],"description":"Workspace-relative bootstrap docs treated as high-confidence native knowledge."},"handoffGlobs":{"type":"array","items":{"type":"string"},"default":["**/*handoff*.md","handoffs/**/*.md"],"description":"Glob patterns (relative to workspaceDir) used to discover handoff notes."},"dailySummaryGlobs":{"type":"array","items":{"type":"string"},"default":["**/*daily*summary*.md","summaries/**/*.md"],"description":"Glob patterns (relative to workspaceDir) used to discover daily summary notes."},"automationNoteGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"glob patterns for automation-written status or operating notes."},"workspaceDocGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"glob patterns for other explicitly allowlisted workspace docs."},"excludeGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"Additional glob patterns appended to the built-in workspace safety excludes."},"sharedSafeGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"glob patterns that should be tagged as shared-safe when no explicit privacy class is present."}},"required":["enabled"]},"obsidianVaults":{"type":"array","default":[],"description":"Obsidian vault adapters to sync into backend-agnostic native knowledge records.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Stable vault identifier used in synced note metadata."},"rootDir":{"type":"string","description":"Absolute path to the Obsidian vault root."},"includeGlobs":{"type":"array","items":{"type":"string"},"default":["**/*.md"],"description":"Glob patterns (relative to the vault root) that eligible for sync."},"excludeGlobs":{"type":"array","items":{"type":"string"},"default":[".obsidian/**","**/*.canvas","**/*.png","**/*.jpg","**/*.jpeg","**/*.gif","**/*.pdf"],"description":"Glob patterns excluded from sync."},"namespace":{"type":"string","description":"Default namespace assigned to records from this vault."},"privacyClass":{"type":"string","description":"Operator-defined privacy class preserved on synced records."},"folderRules":{"type":"array","default":[],"description":"per-folder overrides for namespace or privacy classification.","items":{"type":"object","additionalProperties":false,"properties":{"pathPrefix":{"type":"string","description":"Vault-relative folder prefix that activates the override."},"namespace":{"type":"string","description":"Namespace override for matching notes."},"privacyClass":{"type":"string","description":"Privacy-class override for matching notes."}},"required":["pathPrefix"]}},"dailyNotePatterns":{"type":"array","items":{"type":"string"},"default":["YYYY-MM-DD"],"description":"Filename patterns used to derive daily-note dates (for example `YYYY-MM-DD` or `YYYY/MM/DD`)."},"materializeBacklinks":{"type":"boolean","default":false,"description":"If true, compute backlinks from wikilink targets for recall hints and explainability."}},"required":["rootDir"]}}},"required":["enabled"]},"negativeExamplesEnabled":{"type":"boolean","default":false,"description":"Enable negative examples (track retrieved-but-not-useful memories) and apply a small ranking penalty."},"negativeExamplesPenaltyCap":{"type":"number","default":0.25,"description":"Maximum ranking penalty applied from negative examples."},"negativeExamplesPenaltyPerHit":{"type":"number","default":0.05,"description":"Ranking penalty per negative example hit (keep small; QMD scores are ~0-1)."},"nightlyGovernanceCronAutoRegister":{"type":"boolean","default":false,"description":"If true, Engram may attempt to auto-register the nightly governance cron job (default off)."},"noveltyAddThreshold":{"type":"number","default":0.55,"minimum":0,"maximum":1,"description":"Novelty score at/above = ADD (skip semantic/LLM dedup). Keep well above noveltyNoopThreshold so UNCERTAIN stays wide."},"noveltyGateEnabled":{"type":"boolean","default":false,"description":"enable the write-path embedding-density novelty gate. Default off. When off the persist path is unchanged."},"noveltyNoopThreshold":{"type":"number","default":0.15,"minimum":0,"maximum":1,"description":"novelty score at or below this is NOOP (drop before semantic dedup; does not touch contentHashIndex)."},"objectiveStateMemoryEnabled":{"type":"boolean","default":false,"description":"Enable Engram's objective-state memory foundation for normalized world/tool state snapshots."},"objectiveStateRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant objective-state snapshots to recall context."},"objectiveStateSnapshotWritesEnabled":{"type":"boolean","default":false,"description":"Allow writing typed objective-state snapshots to the objective-state store."},"objectiveStateStoreDir":{"type":"string","description":"Override the objective-state memory directory (defaults to {memoryDir}/state/objective-state)."},"openaiApiKey":{"anyOf":[{"type":"string"},{"const":false}],"description":"Optional OpenAI API key for plugin mode (or OPENAI_API_KEY). Ignored by default in gateway mode (only the implicit env read is skipped); in plugin mode Remnic may send conversation and memory content to the endpoint."},"openaiBaseUrl":{"type":"string","description":"Set the OpenAI API base URL for OpenAI-compatible providers (Scryr, Together, OpenRouter, etc.)"},"openclawChannelEnvelopeCleaningEnabled":{"type":"boolean","default":true,"description":"Use canonical chat-channel envelope prefixes when the SDK exposes plugin-sdk/chat-channel-ids; legacy cleaner stays on older hosts."},"openclawFlushPlanProcessingEnabled":{"type":"boolean","default":true,"description":"Process OpenClaw's append-only flush-plan file through extraction and clear processed content. Disable when OpenClaw owns it natively."},"openclawMessageReceivedCaptureEnabled":{"type":"boolean","default":true,"description":"Capture OpenClaw message_received hook content into transcripts when the host emits it; older hosts use agent_end capture."},"openclawReplyMetadataCaptureEnabled":{"type":"boolean","default":true,"description":"Persist bounded OpenClaw messageId, threadId, replyToId, replyToBody, replyToSender fields in transcript metadata when available."},"openclawReplyMetadataExtractionHintsEnabled":{"type":"boolean","default":false,"description":"Prepend bounded quoted-reply context to user turns before extraction. false stores reply metadata without changing extraction."},"openclawToolSnippetMaxChars":{"type":"integer","minimum":80,"maximum":4000,"default":600,"description":"Maximum snippet size returned by the OpenClaw memory tool adapters."},"openclawToolsEnabled":{"type":"boolean","default":true,"description":"Register the OpenClaw memory.search and memory.get tool adapters."},"operatorAwareConsolidationEnabled":{"type":"boolean","default":false,"description":"Operator-aware consolidation: LLM returns {operator, output} JSON, SPLIT/MERGE/UPDATE on derived_via. Off (default) = cluster-shape heuristic populates it."},"oramaDbPath":{"type":"string","description":"Directory path for Orama persistence files (when searchBackend=orama)"},"oramaEmbeddingDimension":{"type":"number","default":1536,"description":"Embedding vector dimension for Orama (when searchBackend=orama)"},"oramaCjkSegmentation":{"type":"boolean","default":true,"description":"Segment space-free scripts (CJK/Thai) into character n-grams in the Orama lexical index. Default true; false = English-only tokenizer."},"oramaEnabled":{"type":"boolean","default":false,"description":"Enable Orama as a supplemental search backend."},"outcomeBoostEnabled":{"type":"boolean","default":false,"description":"H1 outcome-prior recall blend (#1958). Default false; ranking unchanged unless true and outcomeBoostWeight > 0."},"outcomeBoostWeight":{"type":"number","minimum":0,"maximum":1,"default":0,"description":"Outcome-prior blend weight in [0,1]; 0 keeps the raw text score. Unobserved facts stay on the neutral prior. Invalid values rejected."},"parallelAgentWeights":{"type":"object","default":{"direct":1,"contextual":0.7,"temporal":0.85},"description":"Score weights per retrieval agent source applied during result merge."},"parallelMaxResultsPerAgent":{"type":"number","default":20,"description":"Maximum results fetched per agent before merge."},"parallelRetrievalEnabled":{"type":"boolean","default":false,"description":"Enable three-agent parallel retrieval (DirectFact + Contextual + Temporal). Zero additional LLM cost"},"patternReinforcementCadenceMs":{"type":"integer","minimum":0,"default":604800000,"description":"Minimum interval (ms) between pattern-reinforcement runs. Default 7 days; 0 disables cadence gating."},"patternReinforcementCategories":{"type":"array","items":{"type":"string"},"default":["preference","fact","decision"],"description":"Memory categories the pattern-reinforcement job considers (procedural excluded). Default preference, fact, decision."},"patternReinforcementEnabled":{"type":"boolean","default":false,"description":"Pattern-reinforcement job: cluster duplicate non-procedural memories by normalized content, promote most-recent to canonical, supersede older duplicates"},"patternReinforcementMinCount":{"type":"integer","minimum":2,"maximum":1000,"default":3,"description":"Minimum cluster size before pattern reinforcement promotes a canonical and supersedes duplicates"},"peerProfileReasonerEnabled":{"type":"boolean","default":false,"description":"Async peer profile reasoner: after REM consolidation, updates per-peer profile.md with provenance-tagged fields from the peer's interaction log"},"peerProfileReasonerMaxFieldsPerRun":{"type":"number","default":8,"minimum":0,"description":"Hard cap on total profile fields the reasoner applies across all peers per run. 0 disables applying fields."},"peerProfileReasonerMinInteractions":{"type":"number","default":5,"minimum":0,"description":"Minimum new interaction-log entries a peer needs since the previous run before re-processing. 0 = every peer every run."},"peerProfileReasonerModel":{"type":"string","default":"auto","description":"Peer profile reasoner model. 'auto' = gateway's primary chain; telemetry only, dispatch via consolidation's FallbackLlmClient."},"peerProfileRecallEnabled":{"type":"boolean","default":false,"description":"Add the active peer's profile fields to recall context as a '## Peer Profile' section; needs the session's peer ID registered before recall"},"peerProfileRecallMaxFields":{"type":"number","default":5,"minimum":0,"description":"Max peer profile fields added per recall call (most-recently-updated N). 0 disables inclusion even when peerProfileRecallEnabled is true."},"principalFromSessionKeyMode":{"type":"string","enum":["map","prefix","regex"],"default":"map","description":"How to derive principal identity from sessionKey."},"principalFromSessionKeyRules":{"type":"array","description":"Rules for resolving principal from sessionKey (ordered).","items":{"type":"object","additionalProperties":false,"properties":{"match":{"type":"string"},"principal":{"type":"string"}},"required":["match","principal"]}},"proactiveExtractionCategoryAllowlist":{"type":"array","items":{"type":"string"},"description":"Memory categories allowed from proactive second-pass writes. Omitted = any standard memory category."},"proactiveExtractionEnabled":{"type":"boolean","default":false,"description":"Enable proactive self-questioning extraction second-pass (v8.3, default off)."},"proactiveExtractionMaxTokens":{"type":"number","default":900,"description":"Token budget for each proactive extraction sub-call (0 disables the proactive second pass)."},"proactiveExtractionSkipWhenLocalLlmBusy":{"type":"boolean","default":true,"description":"Skip the proactive extraction second pass when the local LLM lane is busy, not queue behind and lose its deadline. false = always attempt."},"proactiveExtractionTimeoutMs":{"type":"number","default":2500,"description":"Hard timeout (ms) for proactive self-question generation and answer synthesis (0 disables the second pass)."},"procedural":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":true,"description":"Master gate for procedural memory: extraction, recall boost, and mining. Default-on; set to `false` to opt out."},"minOccurrences":{"type":"integer","minimum":0,"maximum":1000,"default":3,"description":"Minimum clustered trajectory occurrences before emitting a candidate procedure (0 disables mining)."},"successFloor":{"type":"number","minimum":0,"maximum":1,"default":0.75,"description":"Minimum success-rate floor (from trajectory outcomes) for miner promotion."},"autoPromoteOccurrences":{"type":"integer","minimum":0,"maximum":10000,"default":8,"description":"Minimum occurrence count to auto-promote pending_review procedures to active (0 disables count-based promotion)."},"autoPromoteEnabled":{"type":"boolean","default":false,"description":"miner may auto-promote trusted procedures to active after autoPromoteOccurrences."},"lookbackDays":{"type":"integer","minimum":1,"maximum":3650,"default":14,"description":"Trajectory lookback window for procedural mining."},"recallMaxProcedures":{"type":"integer","minimum":1,"maximum":10,"default":2,"description":"Maximum procedure memories to add on task-initiation recall."},"proceduralMiningCronAutoRegister":{"type":"boolean","default":false,"description":"installer may register the nightly procedural mining cron job."},"skillProjection":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false,"description":"Project active procedure memories into `skills/<slug>/SKILL.md` bundles during materialization. Default off; CLI export/import work regardless."},"maxSkills":{"type":"integer","minimum":0,"maximum":500,"default":20,"description":"Maximum projected skill bundles. 0 disables projection entirely."}}},"maintenance":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false,"description":"Procedure library-health maintenance: merge near-duplicates, flag stale-tool, retire failure-dominant/idle. Shadow-first: no-apply writes nothing."},"retireIdleDays":{"type":"integer","minimum":0,"maximum":36500,"default":90,"description":"Days without an access signal or outcomes before an active procedure is retired as idle. 0 disables idle retirement."},"retireMinOutcomes":{"type":"integer","minimum":1,"maximum":100000,"default":5,"description":"Minimum mw_fail count before failure-dominant retirement is considered."},"retireFailRatio":{"type":"number","exclusiveMinimum":0,"default":2,"description":"mw_fail must exceed mw_success times this ratio for failure-dominant retirement."},"mergeEnabled":{"type":"boolean","default":true,"description":"Whether duplicate-cluster merging runs within the maintenance gate."}}}}},"driftDetection":{"type":"object","additionalProperties":false,"default":{},"description":"Preference drift detection: classify aging `preference` memories corroborated / stale / drifted, review-gate drifted, optionally damp stale at recall.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for drift classification and its apply mode"},"minAgeDays":{"type":"integer","minimum":0,"maximum":36500,"default":60,"description":"A preference younger than this many days is never a scan candidate."},"lookbackDays":{"type":"integer","minimum":0,"maximum":36500,"default":45,"description":"Evidence-gathering window, in days back from the run instant, using [start, end) bounds."},"maxCandidatesPerRun":{"type":"integer","minimum":0,"default":25,"description":"Cap on preferences classified per run. 0 to disable the scan."},"recallDamping":{"type":"boolean","default":false,"description":"Recall multiplies rank score of `driftState: stale` preference memories by stalePenalty. Default off = byte-identical ordering."},"stalePenalty":{"type":"number","exclusiveMinimum":0,"maximum":1,"default":0.8,"description":"Multiplier applied to stale preferences in (0, 1]. 1 to disable the effect without flipping recallDamping."},"annotateAfterDays":{"type":"integer","minimum":0,"maximum":36500,"default":0,"description":"Annotate an injected preference whose last corroboration is older than this many days. 0 disables annotation."}}},"deepRecall":{"type":"object","additionalProperties":false,"default":{},"description":"Budgeted deep-recall: REFINE/EXPAND/STOP over the cue-anchor graph; deep surfaces only (MCP deep_recall, /recall/deep, CLI). Never on the hot path.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for the deep-recall surface"},"maxSteps":{"type":"integer","minimum":0,"default":4,"description":"Policy iterations; 0 disables the loop (seed-only retrieval)."},"maxExpandPerStep":{"type":"integer","minimum":0,"default":3,"description":"Per-step cap on frontier nodes pulled into the working set. 0 honors EXPAND but selects nothing."},"maxResults":{"type":"integer","minimum":0,"default":12,"description":"Final working-set cap returned to the caller. 0 returns an empty entry list."},"stepTimeoutMs":{"type":"integer","minimum":0,"default":10000,"description":"Per policy-call timeout in ms; 0 = none."},"totalTimeoutMs":{"type":"integer","minimum":0,"default":45000,"description":"Whole-invocation wall-clock timeout in ms; 0 = none."}}},"recallNavigation":{"type":"object","additionalProperties":false,"default":{},"description":"Expand or traverse a served memory without a new search.","properties":{"enabled":{"type":"boolean","default":true,"description":"Master switch"},"windowSnapshots":{"type":"integer","minimum":1,"maximum":50,"default":3,"description":"Recent recall snapshots that authorize an id."},"maxNeighbors":{"type":"integer","minimum":1,"maximum":50,"default":10,"description":"Traverse neighbor ceiling."}}},"sessionExperience":{"type":"object","additionalProperties":false,"default":{},"description":"Session-end agent-experience episode extraction (issue #2979).","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch. Default off; conservative pins off."}}},"seedGraduation":{"type":"object","additionalProperties":false,"default":{},"description":"Graduate pending_review seeds (#2974). Default off.","properties":{"enabled":{"type":"boolean","default":false},"minCorroborations":{"type":"integer","minimum":1,"maximum":50,"default":2}}},"extractionLiveness":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":true,"description":"Master gate for extraction-pipeline liveness reporting; false = /health, doctor, stats never report degraded"},"staleWindowMs":{"type":"integer","minimum":1,"default":86400000,"description":"How stale the last-successful-extraction watermark may get (ms) before a non-empty buffer flags degraded. Default 86400000 (24h)."}}},"replicaPeers":{"type":"object","additionalProperties":false,"default":{},"description":"Replica divergence detection: poll each peer's authenticated /health watermark, flag per-namespace drift (count, age, digest). Detection only.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. When false (default) no peers are polled and the daemon behaves exactly as before."},"peers":{"type":"array","default":[],"description":"Peer Remnic agent-access HTTP endpoints to poll for corpus watermarks.","items":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","minLength":1,"pattern":"\\S","description":"Base URL of the peer's agent-access HTTP server (http or https). Supports ${ENV_VAR} expansion."},"token":{"description":"Bearer token for the peer's authenticated /health: literal (${ENV_VAR} ok) or SecretRef resolved at poll time. Never logged.","anyOf":[{"type":"string","minLength":1,"pattern":"\\S"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1},"provider":{"type":"string"},"id":{"type":"string"},"command":{}}}]}}}},"pollIntervalMs":{"type":"integer","minimum":1,"default":300000,"description":"Peer re-poll interval (stale-while-revalidate TTL, ms). Integer >= 1; coerced strings, non-positive rejected. Default 300000 (5 min)."},"requestTimeoutMs":{"type":"integer","minimum":1,"maximum":2147483647,"default":10000,"description":"Per-peer HTTP request timeout, in ms. Finite integer >= 1. Default 10000 (10s)."},"maxFileCountDelta":{"type":"integer","minimum":0,"default":100,"description":"Per-namespace memory-file-count difference beyond which a peer is flagged diverged. 0 flags any difference"},"maxWatermarkAgeDeltaMs":{"type":"integer","minimum":0,"default":900000,"description":"Per-namespace newest-write timestamp gap (ms) beyond which a peer is flagged diverged. 0 flags any gap. Default 900000 (15 min)."}}},"profilingEnabled":{"type":"boolean","default":false,"description":"Enable performance profiling for recall and extraction pipelines; data stored locally in the profiling storage directory."},"profilingMaxTraces":{"type":"number","default":100,"description":"Maximum number of profiling trace files to retain. Oldest traces are pruned when this limit is exceeded."},"profilingStorageDir":{"type":"string","default":"","description":"Directory path for storing profiling trace files. Default <memoryDir>/profiling if empty."},"projectionRebuildEnabled":{"type":"boolean","default":true,"description":"Schedule rebuilds of the memory projection. Default true; manual rebuild remains available."},"projectionRebuildHeapUsageLimit":{"type":"number","exclusiveMinimum":0,"maximum":1,"default":0.6,"description":"Postpone the scheduled projection rebuild when heap use / V8 limit exceeds this ratio. (0,1]; default 0.6; 1 disables. Postponed rebuilds use backoff."},"projectionRebuildIntervalMs":{"type":"integer","minimum":60000,"default":21600000,"description":"Cadence (ms) for the scheduled memory-projection rebuild. Integer, min 60000; coerced strings, invalid/sub-minimum rejected."},"promotionByOutcomeEnabled":{"type":"boolean","default":false,"description":"Enable outcome-aware promotion controls that consume learned utility signals when later rollout slices activate them."},"promotionCandidates":{"type":"object","additionalProperties":false,"properties":{"minAccessCount":{"type":"integer","minimum":0,"default":3,"description":"Minimum accessCount before an agent-subject memory qualifies as reuse-signaled for promotion-candidates."}}},"provenance":{"type":"object","description":"Claim-level provenance spans: facts carry verbatim source excerpts + strength tag (verified/unverified/none) for the faithfulness gate, corrections, tombstones, TrustScore.","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Emit provenance spans on new extractions. Default true (code-applied, so env override fires when omitted); off = pre-feature prompt/output."},"maxQuoteChars":{"type":"integer","default":300,"minimum":1,"description":"Max characters stored per quote; longer quotes truncate at a word boundary with an ellipsis. Never stores the whole turn."},"requireSpans":{"type":"boolean","default":false,"description":"Facts whose quote cannot be located route to pending_review instead of active. Stays false until #1576 lands + bench shows it safe."}}},"qmdAutoEmbedEnabled":{"type":"boolean","default":false,"description":"If true, background QMD maintenance also runs embed on a throttled cadence."},"qmdAutoUpgradeCheckIntervalMs":{"type":"number","minimum":60000,"default":86400000,"description":"Minimum interval between QMD auto-upgrade checks"},"qmdAutoUpgradeEnabled":{"type":"boolean","default":false,"description":"Opt-in auto-upgrade for PATH/fallback QMD installs"},"qmdCandidateLimit":{"type":"number","minimum":1,"description":"candidate limit forwarded to supported QMD query paths"},"qmdChunkStrategy":{"type":"string","enum":["auto","regex"],"default":"auto","description":"QMD chunk strategy forwarded when the installed QMD supports it"},"qmdColdCollection":{"type":"string","default":"openclaw-engram-cold","description":"Secondary QMD collection name used for cold-tier fallback recall"},"qmdColdMaxResults":{"type":"number","default":8,"description":"Max cold-tier QMD results considered before final recall cap"},"qmdColdTierEnabled":{"type":"boolean","default":false,"description":"Enable cold-tier QMD recall from a secondary collection when hot recall misses"},"qmdCollection":{"type":"string","default":"openclaw-engram","description":"QMD collection name"},"wikiMergeIntoRecall":{"type":"boolean","enum":[false],"default":false,"description":"Reserved safety gate. External wiki collections remain on-demand only; true is not supported."},"qmdDaemonEnabled":{"type":"boolean","default":true,"description":"Prefer the shared QMD MCP session for faster searches when available."},"qmdDaemonRecheckIntervalMs":{"type":"number","default":60000,"description":"Re-probe interval when daemon is down (ms)"},"qmdDaemonTimeoutMs":{"type":"number","minimum":1000,"maximum":120000,"default":60000,"description":"Per-call timeout (ms) for QMD daemon searches. Default 60000; raise to 120000 for very large cold indexes."},"qmdDaemonUrl":{"type":"string","default":"http://localhost:8181/mcp","description":"Legacy compatibility setting retained for QMD daemon configuration."},"qmdEmbedMinIntervalMs":{"type":"number","default":3600000,"description":"Minimum interval between background QMD embed runs (ms)."},"qmdEmbedModel":{"type":"string","description":"QMD_EMBED_MODEL override"},"qmdEmbedParallelism":{"type":"number","minimum":1,"maximum":8,"description":"QMD_EMBED_PARALLELISM override, clamped to 1-8"},"qmdEnabled":{"type":"boolean","default":true,"description":"Use QMD for search"},"qmdExplainEnabled":{"type":"boolean","default":false,"description":"Request QMD explain traces for recall debugging when supported."},"qmdForceCpu":{"type":"boolean","default":false,"description":"Set QMD_FORCE_CPU=1 for QMD child processes to bypass GPU probing and run predictably on CPU"},"qmdGenerateModel":{"type":"string","description":"QMD_GENERATE_MODEL override"},"qmdGpuBackend":{"type":["string","boolean"],"enum":["auto","metal","cuda","vulkan","false",false],"description":"QMD_LLAMA_GPU override for QMD child processes"},"qmdIndexName":{"type":"string","description":"QMD named index forwarded as qmd --index <name> when supported. Leave unset unless QMD data already lives in that index."},"qmdIntentHintsEnabled":{"type":"boolean","default":false,"description":"Pass Engram's inferred recall intent into QMD unified search when supported."},"qmdMaintenanceDebounceMs":{"type":"number","default":30000,"description":"Debounce window for background QMD maintenance updates (ms)."},"qmdMaintenanceEnabled":{"type":"boolean","default":true,"description":"Enable debounced background QMD maintenance instead of immediate updates on extraction."},"qmdEmbeddingBacklogThreshold":{"type":"integer","minimum":0,"default":1000,"description":"Pending-embedding count above which QMD health reports degraded. 0 to disable backlog degradation."},"qmdMaxResults":{"type":"number","default":8,"description":"Max QMD results per search"},"qmdPath":{"type":"string","description":"absolute path to qmd binary (bypasses PATH/fallback discovery)"},"qmdQueryRerankEnabled":{"type":"boolean","default":true,"description":"false = ask supported QMD versions to skip the built-in rerank step"},"qmdRecallCacheMaxEntries":{"type":"number","default":128,"description":"Maximum in-memory rendered QMD recall cache entries before oldest eviction."},"qmdRecallCacheStaleTtlMs":{"type":"number","default":600000,"description":"Maximum stale TTL in ms for rendered QMD recall cache fallbacks."},"qmdRecallCacheTtlMs":{"type":"number","default":60000,"description":"Fresh TTL in ms for rendered QMD recall enrichment cache entries."},"qmdRerankModel":{"type":"string","description":"QMD_RERANK_MODEL override"},"qmdSearchStrategy":{"type":"string","enum":["hybrid","lex-vec","lex"],"default":"hybrid","description":"Daemon search plan: 'hybrid' (default) = lex+vec+hyde; 'lex-vec' drops HyDE; 'lex' = BM25-only (fastest). Lower tiers trade recall for latency."},"qmdSubprocessStrategy":{"type":"string","enum":["query","search"],"default":"query","description":"QMD CLI fallback command (daemon down only). 'query' (default) = LLM expansion + rerank; 'search' = BM25-only, faster on large collections."},"qmdSupportedVersion":{"type":"string","default":"2.8.3","description":"QMD version this build expects. Auto-upgrade installs only versions below 2.8.3; 2.8.3+ needs the manual install in docs/qmd-2.8.3.md."},"qmdTierAutoBackfillEnabled":{"type":"boolean","default":false,"description":"Allow automated cold-tier backfill jobs to repair parity gaps"},"qmdTierDemotionMinAgeDays":{"type":"number","default":14,"description":"Minimum hot-memory age in days before tier demotion is eligible"},"qmdTierDemotionValueThreshold":{"type":"number","default":0.35,"description":"Value-score threshold at or below which hot memories are eligible for cold demotion"},"qmdTierMigrationEnabled":{"type":"boolean","default":false,"description":"Enable value-aware migration between hot and cold QMD tiers"},"qmdTierParityGraphEnabled":{"type":"boolean","default":true,"description":"Apply graph-assist parity checks across hot and cold retrieval tiers"},"qmdTierParityHiMemEnabled":{"type":"boolean","default":true,"description":"Apply HiMem episode/note parity checks across hot and cold retrieval tiers"},"qmdTierPromotionValueThreshold":{"type":"number","default":0.7,"description":"Value-score threshold at or above which cold memories are eligible for hot promotion"},"qmdUpdateMinIntervalMs":{"type":"number","default":900000,"description":"Minimum interval between QMD update executions (ms); the update runs globally across collections."},"qmdUpdateTimeoutMs":{"type":"number","default":90000,"description":"Timeout for QMD update command (ms). Increase if your index grows and updates exceed 30s."},"quarantinePromotionEnabled":{"type":"boolean","default":false,"description":"Reserve future promotion flows from quarantine into higher-trust zones."},"queryAwareIndexingEnabled":{"type":"boolean","default":false,"description":"Temporal and tag indexes (v8.1): state/index_time.json + index_tags.json for prefiltering; temporal + #tag queries get a small recall boost"},"queryAwareIndexingMaxCandidates":{"type":"number","default":200,"description":"Max candidate paths returned from index prefilter before scoring (0 = no cap)."},"queryExpansionEnabled":{"type":"boolean","default":false,"description":"Enable heuristic query expansion for retrieval (no LLM calls)."},"queryExpansionMaxQueries":{"type":"number","default":4,"description":"Max expanded queries to run (including the original prompt)."},"queryExpansionMinTokenLen":{"type":"number","default":3,"description":"Minimum token length to include in heuristic query expansion."},"reasoningEffort":{"type":"string","enum":["none","low","medium","high"],"default":"low","description":"Reasoning effort for extraction"},"recallAuditAnomalyDetectionEnabled":{"type":"boolean","default":false,"description":"Access surfaces run the anomaly detector over the audit trail tail after each recall, surfacing flags via logs/metrics"},"recallAuditAnomalyHighCardinalityLimit":{"type":"number","minimum":1,"default":50,"description":"High-cardinality-return anomaly threshold: distinct results returned within the window before flagging."},"recallAuditAnomalyNamespaceWalkLimit":{"type":"number","minimum":1,"default":3,"description":"Threshold for the namespace-walk anomaly flag: number of distinct namespaces queried within the window before flagging."},"recallAuditAnomalyRapidFireLimit":{"type":"number","minimum":1,"default":30,"description":"Threshold for the rapid-fire anomaly flag: number of recall requests within the window before flagging."},"recallAuditAnomalyRepeatQueryLimit":{"type":"number","minimum":1,"default":5,"description":"Threshold for the repeat-query anomaly flag: number of identical queries within the window before flagging."},"recallAuditAnomalyWindowMs":{"type":"number","minimum":1,"default":300000,"description":"Rolling window (ms) over which audit entries are analyzed by the anomaly detector. Default 5 minutes."},"recallBudgetChars":{"type":"number","description":"Hard character headroom for total recall context. Default = maxMemoryTokens * 4; assembly also enforces maxMemoryTokens (script-aware estimator)."},"recallProfileMaxRatio":{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Maximum fraction of the total recall budget available to the behavioral profile. 1 to disable the share cap."},"recallStateViews":{"type":"boolean","default":false,"description":"State-aware recall views: change-intent queries surface superseded memories as labeled history when the successor is recalled"},"recallStandingBlock":{"type":"boolean","default":false,"description":"Prefix-cache-stable standing memory block (#2971): byte-stable index of pinned/high-value memories before per-turn recall"},"standingBlockFreshDays":{"type":"number","minimum":0,"default":14,"description":"Days a memory stays in the standing block's full-text fresh band before it compresses to a recognition hook."},"standingBlockMaxChars":{"type":"integer","minimum":1,"default":2048,"description":"Hard character budget for the standing memory block; pinned lines that cannot fit refuse the build rather than truncate."},"directorySidecarsEnabled":{"type":"boolean","default":false,"description":"Per-directory overview sidecars on memory writes + neighborhood abstracts during recall (#3088)"},"recallRecognitionTier":{"type":"boolean","default":false,"description":"Full-index recognition tier (#2975): small namespaces recall against the whole compact index, not vector search; oversized indexes fall back"},"recognitionIndexMaxEntries":{"type":"integer","minimum":1,"default":500,"description":"Inclusive entry threshold for the full-index recognition tier; larger indexes route to vector search."},"recallConfidenceGateEnabled":{"type":"boolean","default":false,"description":"Synapse-inspired confidence gate: skip memory context when top recall score is below threshold"},"recallConfidenceGateThreshold":{"type":"number","default":0.12,"description":"Minimum top recall score to include memories (0-1). Below this, memories are rejected as too uncertain"},"recallCoreDeadlineMs":{"type":"number","default":75000,"description":"Default deadline in ms recorded for core recall sections."},"recallCrossNamespaceBudgetEnabled":{"type":"boolean","default":false,"description":"Cross-namespace query-budget limiter: principals bursting recalls on foreign namespaces are throttled past the per-window hard limit. Ships off."},"recallCrossNamespaceBudgetHardLimit":{"type":"number","minimum":1,"default":30,"description":"Hard threshold for the cross-namespace budget: calls past this count are denied until the window advances."},"recallCrossNamespaceBudgetSoftLimit":{"type":"number","minimum":0,"default":10,"description":"Soft threshold for the cross-namespace budget: calls past this count are flagged but still allowed."},"recallCrossNamespaceBudgetWindowMs":{"type":"number","minimum":1,"default":60000,"description":"Rolling window in ms over which cross-namespace reads are counted for the per-principal budget."},"recallDirectAnswerAmbiguityMargin":{"type":"number","minimum":0,"maximum":1,"default":0.15,"description":"If the second-best candidate scores within this ratio of the top, direct-answer defers to hybrid."},"recallDirectAnswerEligibleTaxonomyBuckets":{"type":"array","items":{"type":"string"},"default":["decisions","principles","conventions","runbooks","entities"],"description":"Taxonomy category IDs eligible for direct-answer routing."},"recallDirectAnswerEnabled":{"type":"boolean","default":false,"description":"Direct-answer tier observation mode: annotates LastRecallSnapshot.tierExplain with the would-have-served tier. Does not short-circuit QMD."},"recallDirectAnswerImportanceFloor":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Minimum calibrated importance score for direct-answer eligibility. 0 to disable the gate."},"recallDirectAnswerTokenOverlapFloor":{"type":"number","minimum":0,"maximum":1,"default":0.55,"description":"Minimum query↔memory token-overlap ratio for direct-answer eligibility. 0 to disable the gate."},"recallDisclosureEscalation":{"type":"string","enum":["manual","auto"],"default":"manual","description":"Disclosure auto-escalation: 'auto' escalates chunk to section below recallDisclosureEscalationThreshold when none supplied; 'raw' never auto-selected."},"recallDisclosureEscalationThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.5,"description":"Top-K confidence (0-1) below which auto-escalation promotes chunk to section; only under recallDisclosureEscalation 'auto'"},"recallEnrichmentDeadlineMs":{"type":"number","default":60000,"description":"Default deadline in ms recorded for enrichment recall sections."},"recallGraphDamping":{"type":"number","minimum":0,"maximum":0.999999999,"default":0.85,"description":"PPR damping factor used by the graph retrieval tier."},"recallGraphEnabled":{"type":"boolean","default":false,"description":"Recall builds a retrieval graph from frontmatter, runs Personalized PageRank merged with QMD via MMR. Default off pending the bench."},"recallGraphIterations":{"type":"integer","minimum":0,"maximum":500,"default":20,"description":"Maximum power-iteration rounds for PPR. Higher values trade latency for convergence."},"recallGraphTopK":{"type":"integer","minimum":0,"maximum":10000,"default":50,"description":"Maximum memories returned by the graph retrieval tier before the MMR diversifier runs."},"recallHandleSnapshotDepth":{"type":"number","minimum":1,"maximum":50,"default":5,"description":"Recent per-session recall snapshots searched when resolving a `[m:xxxx]` handle; a miss is tagged rather than widening the window."},"recallImpressionsRotateBytes":{"type":"integer","default":33554432,"minimum":0,"description":"Rotate state/recall_impressions.jsonl to.1.N when it exceeds this many bytes. Set 0 to disable. Default 32MB."},"recallImpressionsRotateKeep":{"type":"integer","default":5,"minimum":1,"maximum":1000,"description":"Rotated recall-impression archives to keep (.1..N). Default 5, max 1000; each slot costs one rename under the lock per rotation."},"recallMaxConcurrentPerPrincipal":{"type":"integer","minimum":0,"default":4,"description":"Max concurrent recalls per principal; extras queue FIFO, aborted waiters leave immediately. 0 = unlimited; 1 = exact serialization."},"recallMemoryHandles":{"type":"boolean","default":false,"description":"Append stable short handles (`[m:4f2a]`) to injected memory lines at recall render. Default off = byte-identical; ~9 chars/memory; flip only with bench evidence."},"recallMemoryWorthFilterEnabled":{"type":"boolean","default":true,"description":"Recall multiplies candidate scores by the Memory Worth factor (mw_success / mw_fail); failed-session memories sink, neutral untouched. false opts out."},"recallTrustStageCorpusFallbackEnabled":{"type":"boolean","default":true,"description":"Use cached corpus trust signals for cold recall candidates. Disable to keep only preloaded and direct-read signals."},"hotMemoriesCacheEnabled":{"type":"boolean","default":true,"description":"Cache parsed memories by corpus version. Disable to force disk scans."},"hotMemoriesCacheTtlMs":{"type":"number","minimum":0,"default":60000,"description":"Maximum cache age (ms); 0 uses version invalidation only"},"recallMemoryWorthHalfLifeMs":{"type":"number","minimum":0,"default":0,"description":"Memory Worth decay half-life (ms); older outcomes decay toward the neutral prior. 0 disables decay."},"recallMmrEnabled":{"type":"boolean","default":true,"description":"Apply Maximal Marginal Relevance to the final per-section recall selection so one redundant cluster cannot dominate."},"recallMmrLambda":{"type":"number","default":0.7,"minimum":0,"maximum":1,"description":"MMR lambda: 1.0 = pure relevance, 0.0 = pure diversity"},"recallMmrTopN":{"type":"number","default":40,"minimum":0,"description":"Number of top candidates per section to run MMR over. Candidates past this remain in original order."},"recallOuterTimeoutMs":{"type":"number","default":75000,"description":"Outer timeout in ms for the full recall pipeline."},"recallPipeline":{"type":"array","description":"Ordered recall sections with per-section budgets and feature knobs.","items":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean","default":true},"maxChars":{"type":["number","null"]},"consolidateTriggerLines":{"type":"number"},"consolidateTargetLines":{"type":"number"},"maxEntities":{"type":"number"},"maxResults":{"type":"number"},"maxTurns":{"type":"number"},"maxTokens":{"type":"number"},"lookbackHours":{"type":"number"},"maxCount":{"type":"number"},"topK":{"type":"number"},"timeoutMs":{"type":"number"},"maxPatterns":{"type":"number"},"forceGeneric":{"type":"boolean"},"maxHints":{"type":"number","description":"Per-section cap on injected hint lines."},"maxSupportingFacts":{"type":"number","description":"Per-section cap on supporting facts."},"maxRelatedEntities":{"type":"number","description":"Per-section cap on related entities."},"recentTurns":{"type":"number","description":"Per-section recent-turn scan window."},"maxRubrics":{"type":"number","description":"Per-section cap on injected rubrics."}},"required":["id"]}},"recallPlannerEnabled":{"type":"boolean","default":true,"description":"Use lightweight retrieve-vs-think planning to avoid unnecessary recall work."},"recallPlannerLlmEnabled":{"type":"boolean","default":false,"description":"LLM-based recall planning: false = regex heuristic; true = recallPlannerModel classifies via the gateway/fallback chain, heuristic on timeout/error. Needs recallPlannerEnabled."},"recallPlannerMaxMemoryHints":{"type":"number","default":24,"description":"Reserved. Caps caller-supplied recent-memory hints in the recall planner prompt; the default path does not populate hints."},"recallPlannerMaxPromptChars":{"type":"number","default":4000,"description":"Maximum characters of prompt context to send to the recall planner."},"recallPlannerMaxQmdResultsFull":{"type":"number","default":8,"description":"QMD cap used when recall planner selects full mode."},"recallPlannerMaxQmdResultsMinimal":{"type":"number","default":4,"description":"QMD cap used when recall planner selects minimal mode."},"recallPlannerModel":{"type":"string","default":"gpt-5.5","description":"'provider/model' for LLM recall planning (recallPlannerLlmEnabled); taskModelChain / gateway defaults as fallback."},"recallPlannerShadowMode":{"type":"boolean","default":false,"description":"Run recall planner in shadow mode - evaluate but do not apply results."},"recallPlannerTelemetryEnabled":{"type":"boolean","default":true,"description":"Emit telemetry events for recall planner decisions."},"recallPlannerTimeoutMs":{"type":"number","default":1500,"description":"Timeout in ms for recall planner inference."},"recallPlannerUseResponsesApi":{"type":"boolean","default":true,"description":"Reserved. Chat-vs-Responses dialect is chosen per-provider from each provider's api field; this does not override routing."},"recallReasoningTraceBoostEnabled":{"type":"boolean","default":false,"description":"Boost reasoning_trace memories on problem-solving queries ('how do I..', 'step by step'). Default off; opt in after benchmarking."},"recallSingleFlightEnabled":{"type":"boolean","default":true,"description":"Identical concurrent recalls per principal share one in-flight execution; callers get a clone + own budget event. Default true; false = per-request."},"recallTranscriptRetentionDays":{"type":"integer","minimum":1,"maximum":365,"default":30,"description":"Days of runtime recall audit transcripts to retain before pruning."},"recallTranscriptsEnabled":{"type":"boolean","default":false,"description":"Write JSONL recall audit transcripts for runtime recall-context assembly."},"recencyWeight":{"type":"number","default":0.2,"description":"Weight for recency boosting in search (0-1)"},"recordEmptyRecallImpressions":{"type":"boolean","default":false,"description":"Record recall impressions with empty memoryIds when no memory context is added."},"reinforcementRecallBoostEnabled":{"type":"boolean","default":false,"description":"Memories with reinforcement_count frontmatter get an additive recall score boost"},"reinforcementRecallBoostMax":{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Maximum additive reinforcement boost per result. Range [0, 1]"},"reinforcementRecallBoostWeight":{"type":"number","minimum":0,"maximum":1,"default":0.05,"description":"Score bonus per unit of reinforcement_count (weight * count, capped at max). Range [0, 1]"},"remoteSearchApiKey":{"type":"string","description":"API key for remote search backend (when searchBackend=remote)"},"remoteSearchBaseUrl":{"type":"string","description":"Base URL for remote search backend (when searchBackend=remote)"},"remoteSearchTimeoutMs":{"type":"number","default":30000,"description":"Timeout in ms for remote search backend requests"},"rerankCacheEnabled":{"type":"boolean","default":true,"description":"Cache re-ranking results in-memory for repeated queries."},"rerankCacheTtlMs":{"type":"number","default":3600000,"description":"TTL for in-memory re-ranking cache (ms)."},"rerankEnabled":{"type":"boolean","default":false,"description":"Enable LLM re-ranking of retrieved memories"},"rerankMaxCandidates":{"type":"number","default":20,"description":"Max candidates to send to the re-ranker."},"rerankProvider":{"type":"string","default":"local","description":"Re-ranking provider: 'local' uses local LLM only. 'cloud' is reserved/experimental (currently treated as no-op).","enum":["local","cloud"]},"rerankTimeoutMs":{"type":"number","default":8000,"description":"Timeout for re-ranking requests (ms). Fail-open on timeout."},"respectBundledActiveMemoryToggle":{"type":"boolean","default":true,"description":"Compat-only: honor the bundled active-memory session toggle when resolving recall toggles. Only matters when chaining; memory-slot is primary."},"responseGuidanceRecallEnabled":{"type":"boolean","default":false,"description":"Enable response guidance recall for user answer-shape preferences."},"responseGuidanceRecallMaxChars":{"type":"integer","default":2400,"minimum":0,"description":"Character budget for the response guidance recall section."},"responseGuidanceRecallMaxResults":{"type":"integer","default":48,"minimum":0,"description":"Maximum recalled items for response guidance."},"responseGuidanceRecallScanWindowTokens":{"type":"integer","default":16000,"minimum":1,"description":"Recent-token scan window for response guidance."},"responseGuidanceRecallScanWindowTurns":{"type":"integer","default":64,"minimum":1,"description":"Recent-turn scan window for response guidance."},"resumeBundleDir":{"type":"string","description":"Override the resume-bundle directory (defaults to {memoryDir}/state/resume-bundles)."},"resumeBundlesEnabled":{"type":"boolean","default":false,"description":"Enable deterministic resume-bundle storage and operator-facing handoff bundle commands."},"routingRulesEnabled":{"type":"boolean","default":false,"description":"Enable custom memory routing rules (v8.7)"},"routingRulesStateFile":{"type":"string","default":"state/routing-rules.json","description":"Relative path under memoryDir for persisted routing rules."},"scopedCacheInvalidationEnabled":{"type":"boolean","default":true,"description":"Evict only the cache layers a write can affect; a fact create no longer clears QMD or entity caches. false = pre-#1904 full-clear."},"scopeProfiles":{"type":"object","default":{},"description":"Hosted-team memory scope profiles: ordered read layers, default write layer, authorized promotion targets. No behavior change when absent.","additionalProperties":{"type":"object","properties":{"readOrder":{"type":"array","items":{"type":"string","enum":["userProject","teamProject","userGlobal","serverShared"]}},"writeDefault":{"type":"string","enum":["userProject","teamProject","userGlobal","serverShared"]},"promotionTargets":{"type":"array","items":{"type":"string","enum":["userProject","teamProject","userGlobal","serverShared"]}},"teamProject":{"type":"object","properties":{"namespaceTemplate":{"type":"string"},"teamId":{"type":"string"}}},"autoPromote":{"type":"object","properties":{"enabled":{"type":"boolean"},"targets":{"type":"array","items":{"type":"string","enum":["teamProject","serverShared","userGlobal","userProject"]}},"categories":{"type":"array","items":{"type":"string"}},"minConfidenceTier":{"type":"string","enum":["explicit","implied","inferred","speculative"]}}}}}},"searchBackend":{"type":"string","enum":["qmd","remote","noop","lancedb","meilisearch","orama"],"default":"qmd","description":"Search backend: qmd, remote, noop, lancedb, meilisearch, or orama"},"secureStoreEnabled":{"type":"boolean","default":false,"description":"At-rest AES-256-GCM encryption for memory files via secure-fs. Requires `remnic secure-store unlock` after each daemon start"},"secureStoreEncryptOnWrite":{"type":"boolean","default":true,"description":"With secureStoreEnabled, encrypt new memory writes. false pauses new encryption while still decrypting existing"},"semanticChunkingConfig":{"type":"object","default":{},"description":"overrides for the semantic chunking algorithm","properties":{"targetTokens":{"type":"number","default":200,"description":"Target tokens per chunk"},"minTokens":{"type":"number","default":100,"description":"Minimum tokens for a segment before merging with neighbor"},"maxTokens":{"type":"number","default":400,"description":"Maximum tokens for a segment before recursive splitting"},"smoothingWindowSize":{"type":"number","default":3,"description":"Window size for the moving-average smoothing filter (auto-rounded to odd)"},"boundaryThresholdStdDevs":{"type":"number","default":1,"description":"Standard deviations below mean for boundary detection"},"embeddingBatchSize":{"type":"number","default":32,"description":"Batch size for embedding requests"},"fallbackToRecursive":{"type":"boolean","default":true,"description":"Fall back to recursive chunking when embeddings are unavailable"}}},"semanticChunkingEnabled":{"type":"boolean","default":false,"description":"Enable semantic chunking with embedding-based topic boundary detection (requires embedding provider)"},"semanticConsolidationEnabled":{"type":"boolean","default":false,"description":"Enable periodic semantic consolidation of similar memories."},"semanticConsolidationExcludeCategories":{"type":"array","items":{"type":"string"},"default":["correction","commitment","procedure"],"description":"Memory categories excluded from semantic consolidation."},"semanticConsolidationIntervalHours":{"type":"number","default":168,"description":"Hours between automatic consolidation runs (168 = weekly)."},"semanticConsolidationMaxPerRun":{"type":"number","default":100,"description":"Max memories to consolidate per run to limit LLM cost."},"semanticConsolidationMinClusterSize":{"type":"number","default":3,"description":"Minimum cluster size before consolidation triggers."},"semanticConsolidationModel":{"type":"string","default":"auto","description":"LLM for consolidation synthesis: 'auto' (primary model), 'fast' (fast local model), or a specific model name."},"semanticConsolidationThreshold":{"type":"number","default":0.8,"description":"Token overlap threshold (0-1) for grouping similar memories. 0.8=conservative, 0.6=aggressive."},"semanticDedupCandidates":{"type":"number","default":5,"minimum":0,"description":"Nearest-neighbor candidates inspected for write-time semantic dedup. 0 disables the lookup (= semanticDedupEnabled=false)."},"semanticDedupEnabled":{"type":"boolean","default":true,"description":"Write-time semantic similarity guard: skips near-duplicate facts via embedding comparison. Fails open when the embedder is unavailable."},"semanticDedupThreshold":{"type":"number","default":0.92,"minimum":0,"maximum":1,"description":"Cosine similarity threshold in [0, 1]; candidate facts at or above are treated as duplicates and skipped."},"semanticMerge":{"type":"object","additionalProperties":false,"default":{},"description":"Judge-mediated merge-on-write: facts whose nearest neighbor scores in [minSimilarity, semanticDedupThreshold) go to a merge judge; merge updates existing; failures create.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off - with it off no lookup and no judge call happen."},"minSimilarity":{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Lower bound of the merge band; must be strictly below semanticDedupThreshold (which owns the skip path above it) or rejected at parse."},"maxCandidates":{"type":"integer","minimum":0,"default":3,"description":"Max in-band neighbors offered to the merge judge. 0 disables merging entirely (before any embedding lookup)."},"categories":{"type":"array","items":{"type":"string"},"default":["fact","preference","decision","relationship","skill"],"description":"Categories eligible for merging; procedure, reasoning_trace, moment, correction never merge regardless."},"shadowMode":{"type":"boolean","default":false,"description":"Decision-only rollout mode: run lookup + judge, log the would-merge verdict, always create. Never mutates an existing memory."}}},"semanticRulePromotionEnabled":{"type":"boolean","default":false,"description":"Enable deterministic promotion of explicit IF/THEN rules from verified episodic memories."},"semanticRuleVerificationEnabled":{"type":"boolean","default":false,"description":"Verify promoted semantic rules against their cited source episodes at recall time before surfacing them in recall."},"sessionObserverBands":{"type":"array","description":"Session size bands and growth thresholds for heartbeat observer triggers.","items":{"type":"object","additionalProperties":false,"properties":{"maxBytes":{"type":"number"},"triggerDeltaBytes":{"type":"number"},"triggerDeltaTokens":{"type":"number"}},"required":["maxBytes","triggerDeltaBytes","triggerDeltaTokens"]},"default":[{"maxBytes":50000,"triggerDeltaBytes":4800,"triggerDeltaTokens":1200},{"maxBytes":200000,"triggerDeltaBytes":9600,"triggerDeltaTokens":2400},{"maxBytes":1000000000,"triggerDeltaBytes":19200,"triggerDeltaTokens":4800}]},"sessionObserverDebounceMs":{"type":"number","default":120000,"description":"Minimum interval between heartbeat observer triggers per session (ms)."},"sessionObserverEnabled":{"type":"boolean","default":false,"description":"Enable heartbeat-driven active session observer checks for proactive extraction triggers."},"sessionTogglesEnabled":{"type":"boolean","default":true,"description":"Enable per-session recall toggle state for OpenClaw runtime surfaces."},"sharedContextAllowBindingAuthority":{"type":"boolean","default":false,"description":"Allow shared-context items to carry binding authority (writers must request it); else binding writes are rejected and stored binding reads advisory"},"sharedContextDir":{"type":"string","description":"Override shared-context directory (default ~/.openclaw/workspace/shared-context); unset = memoryDir/shared-context."},"sharedContextEnabled":{"type":"boolean","default":false,"description":"Enable shared-context assembly and tools (v4.0)"},"sharedContextMaxInjectChars":{"type":"number","default":4000,"description":"Max characters of shared-context to include in each recall context."},"sharedCrossSignalSemanticEnabled":{"type":"boolean","default":false,"description":"Enable semantic cross-signal enhancer during shared-context daily curation."},"sharedCrossSignalSemanticMaxCandidates":{"type":"number","default":120,"description":"Maximum candidate topic tokens considered by semantic cross-signal enhancer."},"sharedCrossSignalSemanticTimeoutMs":{"type":"number","default":4000,"description":"Timeout budget for shared-context semantic cross-signal enhancer (ms)."},"sharedNamespace":{"type":"string","default":"shared","description":"Shared namespace name."},"slotBehavior":{"type":"object","additionalProperties":false,"default":{},"properties":{"requireExclusiveMemorySlot":{"type":"boolean","default":true},"onSlotMismatch":{"type":"string","enum":["error","warn","silent"],"default":"error"}}},"slowLogEnabled":{"type":"boolean","default":false,"description":"If enabled, log slow operations (durations + metadata; never logs content)"},"slowLogThresholdMs":{"type":"number","default":30000,"description":"Threshold for slow operation logging (ms)"},"subjectClassification":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","default":false,"description":"Stamp `subject` (user|agent) on extracted memories from category defaults, with optional extractor override"}}},"subjectGuard":{"type":"string","enum":["off","warn","enforce"],"default":"warn","description":"Guard user-subject promotion to shared layers: off, warn, or enforce"},"summarizationEnabled":{"type":"boolean","default":false,"description":"Enable automatic memory summarization/compression"},"summarizationImportanceThreshold":{"type":"number","default":0.3,"description":"Only compress memories with importance below this threshold"},"summarizationProtectedTags":{"type":"array","items":{"type":"string"},"default":["commitment","preference","decision","principle"],"description":"Tags that protect memories from compression"},"summarizationRecentToKeep":{"type":"number","default":300,"description":"Number of recent memories to keep uncompressed"},"summarizationTriggerCount":{"type":"number","default":1000,"description":"Memory count threshold to trigger summarization"},"summaryModel":{"type":"string","description":"Model for hourly summaries (defaults to main model)"},"summaryRecallHours":{"type":"number","default":24,"description":"Hours of summary history to recall"},"supportPassport":{"type":"object","additionalProperties":false,"default":{},"description":"Owner-controlled support passport cards and timed helper share links. Manual cards/sharing need no model provider.","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable support passport owner routes, MCP tools, browser assets, and public share links."},"trustedProxyAddresses":{"type":"array","items":{"type":"string"},"maxItems":32,"default":[],"description":"Exact reverse-proxy IP addresses allowed to supply X-Forwarded-For for public helper limits."}}},"tagIndexMaxEntries":{"type":"number","default":10000,"description":"Maximum number of entries in the tag index."},"tagMaxPerMemory":{"type":"number","default":5,"description":"Maximum number of tags assigned per memory."},"tagMemoryEnabled":{"type":"boolean","default":false,"description":"Enable tag-based memory indexing and recall boosting."},"tagRecallBoost":{"type":"number","default":0.15,"description":"Score boost applied to memories whose tags match the query."},"tagRecallMaxMatches":{"type":"number","default":10,"description":"Maximum number of tag-matched memories added per recall."},"targetedFactRecallEnabled":{"type":"boolean","default":false,"description":"Enable targeted fact evidence recall for direct answer questions."},"targetedFactRecallMaxChars":{"type":"integer","default":2400,"minimum":0,"description":"Character budget for the targeted fact evidence recall section."},"targetedFactRecallMaxResults":{"type":"integer","default":48,"minimum":0,"description":"Maximum recalled items for targeted fact evidence."},"targetedFactRecallScanWindowTokens":{"type":"integer","default":12000,"minimum":1,"description":"Recent-token scan window for targeted fact evidence."},"targetedFactRecallScanWindowTurns":{"type":"integer","default":8,"minimum":1,"description":"Recent-turn scan window for targeted fact evidence."},"taskModelChain":{"type":"object","description":"Gateway model chain for background LLM work (extraction, consolidation, summarization); overrides gatewayAgentId/agents.defaults.model under 'gateway'.","required":["primary"],"additionalProperties":false,"properties":{"primary":{"type":"string","minLength":1,"description":"Primary gateway model, e.g. zai/glm-4.7-flash"},"fallbacks":{"type":"array","items":{"type":"string","minLength":1},"default":[],"description":"Fallback gateway models tried after primary"}}},"taxonomyAutoGenResolver":{"type":"boolean","default":true,"description":"Auto-regenerate RESOLVER.md when the taxonomy changes."},"taxonomyEnabled":{"type":"boolean","default":false,"description":"Enable the MECE taxonomy knowledge directory for categorizing memories."},"teams":{"type":"object","default":{},"description":"Trusted team membership and team-project namespace templates used by scopeProfiles.","additionalProperties":{"type":"object","properties":{"principals":{"type":"array","items":{"type":"string"}},"projectNamespaceTemplate":{"type":"string"},"read":{"type":"array","items":{"type":"string"}},"write":{"type":"array","items":{"type":"string"}},"promote":{"type":"array","items":{"type":"string"}}}}},"temporalBiTemporal":{"type":"boolean","default":false,"description":"Enable bi-temporal validity filtering for default recall injection"},"temporalBoostRecentDays":{"type":"number","default":7,"description":"Memories from the last N days receive a recency boost during recall."},"temporalBoostScore":{"type":"number","default":0.15,"description":"Score boost applied to recent memories during recall."},"temporalDecayEnabled":{"type":"boolean","default":true,"description":"Apply temporal decay to older memories during recall scoring."},"temporalExpiredInInjection":{"type":"boolean","default":false,"description":"Bi-temporal filter escape hatch: true keeps expired [valid_at, invalid_at) facts in injection candidates even with temporalBiTemporal on."},"temporalIndexMaxEntries":{"type":"number","default":5000,"description":"Maximum number of entries in the temporal index."},"temporalIndexWindowDays":{"type":"number","default":30,"description":"Number of days to include in the temporal index window."},"temporalMemoryTreeEnabled":{"type":"boolean","default":false,"description":"Build a hierarchical memory summary tree (hour/day/week/persona nodes)"},"temporalSupersessionEnabled":{"type":"boolean","default":true,"description":"Mark older facts superseded when a new fact writes a conflicting value for the same entityRef + structuredAttribute key"},"temporalSupersessionIncludeInRecall":{"type":"boolean","default":false,"description":"If true, include temporally-superseded facts in recall results (for audit/history). Default exclude."},"threadingEnabled":{"type":"boolean","default":false,"description":"Enable conversation threading"},"threadingGapMinutes":{"type":"number","default":30,"description":"Minutes of gap to start a new thread"},"timeGraphEnabled":{"type":"boolean","default":true,"description":"Build temporal sequence graph within threads (requires multiGraphMemoryEnabled)"},"tmtHourlyMinMemories":{"type":"number","default":3,"description":"Minimum new memories in an hour to trigger an hour-level TMT node"},"tmtSummaryMaxTokens":{"type":"number","default":300,"description":"Max tokens for each TMT summary node"},"tombstonesEnabled":{"type":"boolean","default":true,"description":"Tombstone non-resurrection: facts matching an active tombstone persist as pending_review + blockedBy, never dropped. Off = pre-feature."},"tombstonesSemanticMatch":{"type":"boolean","default":false,"description":"Tier-4 semantic tombstone matching: checks embedding cosine similarity against tombstoned text. Default off pending MemCorrect validation."},"tombstonesSemanticThreshold":{"type":"number","default":0.9,"description":"Cosine threshold for tier-4 semantic tombstone matching. Only consulted when tombstonesSemanticMatch is true."},"topicExtractionEnabled":{"type":"boolean","default":true,"description":"Enable topic extraction during consolidation"},"topicExtractionTopN":{"type":"number","default":50,"description":"Number of top topics to extract"},"traceRecallContent":{"type":"boolean","default":false,"description":"Include full recalled memory text in RecallTraceEvent.recalledContent for __openclawEngramTrace subscribers (e.g. Langfuse)"},"traceWeaverEnabled":{"type":"boolean","default":false,"description":"Enable Trace Weaving (v8.0 Phase 2A). Links recurring topic boxes with a shared traceId."},"traceWeaverLookbackDays":{"type":"number","default":7,"description":"Days back to search for trace links."},"traceWeaverOverlapThreshold":{"type":"number","default":0.4,"description":"Minimum Jaccard topic overlap to assign the same traceId (0–1)."},"transcriptEnabled":{"type":"boolean","default":true,"description":"Enable transcript archiving"},"transcriptRecallHours":{"type":"number","default":12,"description":"Hours of transcript history to recall"},"transcriptRetentionDays":{"type":"number","default":7,"description":"Days to retain transcript entries"},"transcriptSkipChannelTypes":{"type":"array","items":{"type":"string"},"default":["cron"],"description":"Channel types to skip from transcript logging (e.g., cron)"},"triggerMode":{"type":"string","enum":["smart","every_n","time_based"],"default":"smart","description":"Buffer trigger mode"},"trustScoreEnabled":{"type":"boolean","default":false,"description":"Master gate for the unified TrustScore recall stage; off = stage absent, ranking byte-identical. Flip via #1574 ablation evidence only."},"trustScoreEpistemicRendering":{"type":"boolean","default":false,"description":"Append deterministic trust hedges to injected memory lines so the model knows each memory's epistemic status. Separate from scoring."},"trustScoreMaxMultiplier":{"type":"number","default":1.25,"description":"Upper bound of the trust multiplier mapping [0,1] → [minMultiplier, maxMultiplier]."},"trustScoreMinMultiplier":{"type":"number","default":0.5,"description":"Lower bound of the trust multiplier mapping [0,1] → [minMultiplier, maxMultiplier]."},"trustScoreQuarantine":{"type":"boolean","default":true,"description":"Exclude hard-negative (quarantine-band) memories from injection; they stay visible in X-ray with the reason. Under trustScoreEnabled only."},"trustScoreWeights":{"type":"object","description":"Per-component trust weights, each in [0,1], normalized.","default":{},"properties":{"memoryWorth":{"type":"number"},"provenance":{"type":"number"},"faithfulness":{"type":"number"},"corroboration":{"type":"number"},"contradiction":{"type":"number"},"domainCalibration":{"type":"number"},"feedback":{"type":"number"},"recency":{"type":"number"}}},"trustZoneRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant working and trusted trust-zone records to recall context."},"trustZoneStoreDir":{"type":"string","description":"Override the trust-zone store directory (defaults to {memoryDir}/state/trust-zones)."},"trustZonesEnabled":{"type":"boolean","default":false,"description":"Enable Engram's trust-zone memory foundation for quarantine, working, and trusted records."},"verbatimArtifactCategories":{"type":"array","items":{"type":"string","enum":["fact","preference","correction","entity","decision","relationship","principle","commitment","moment","skill","procedure"]},"default":["decision","correction","principle","commitment"],"description":"Memory categories eligible for artifact extraction."},"verbatimArtifactsEnabled":{"type":"boolean","default":false,"description":"Write quote-first artifact anchors during extraction and include them in recall."},"verbatimArtifactsMaxRecall":{"type":"number","default":5,"description":"Maximum artifact anchors added per recall."},"verbatimArtifactsMinConfidence":{"type":"number","default":0.8,"description":"Minimum extraction confidence required before writing an artifact."},"verboseRecallVisibility":{"type":"boolean","default":true,"description":"Allow verbose recall headers to surface runtime recall diagnostics in prompts."},"verifiedRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant memory boxes only when their cited source memories verify as non-archived episodes."},"versioningEnabled":{"type":"boolean","default":false,"description":"Enable page-level versioning with sidecar snapshots."},"versioningMaxPerPage":{"type":"integer","default":50,"minimum":0,"description":"Maximum number of version snapshots per page. 0 to disable pruning."},"versioningSidecarDir":{"type":"string","default":".versions","description":"Name of the sidecar directory inside memoryDir for version snapshots."},"activity":{"type":"object","additionalProperties":false,"default":{},"description":"Screen-activity ingestion from trusted local capture daemons, plus trust-gated smart extraction of first-person memories.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the activity subsystem."},"timezone":{"type":"string","default":"UTC","description":"IANA timezone used to group captured snapshots into days."},"syncDays":{"type":"integer","minimum":1,"maximum":90,"default":1,"description":"Number of local days to synchronize per run."},"autoSyncIntervalMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"Periodic auto-sync cadence in minutes (default 15)."},"sources":{"type":"array","default":[],"description":"Trusted local capture daemons to synchronize.","items":{"type":"object","additionalProperties":false,"required":["machineLabel","baseUrl"],"properties":{"machineLabel":{"type":"string","description":"Stable label for the capture machine."},"baseUrl":{"type":"string","description":"HTTP or HTTPS URL of the capture daemon."},"token":{"type":"string","description":"Literal bearer token for a trusted local capture daemon over loopback; secret references are not resolved - omit when the daemon needs no auth."}}}},"extractionMode":{"type":"string","enum":["off","smart"],"default":"off","description":"Set smart to extract trust-gated personal activity memories. off keeps digests searchable only."},"sourceTrust":{"type":"number","minimum":0,"maximum":1,"default":0.6},"autoApproveTrust":{"type":"number","minimum":0,"maximum":1,"default":0.8},"reviewTrust":{"type":"number","minimum":0,"maximum":1,"default":0.5},"minConfidence":{"type":"number","minimum":0,"maximum":1,"default":0.7},"minImportance":{"type":"string","enum":["critical","high","normal","low","trivial"],"default":"normal"},"maxMemoriesPerDay":{"type":"integer","minimum":0,"default":0,"description":"Maximum activity memories written per day. 0 for no count cap."},"timeline":{"type":"object","additionalProperties":false,"default":{},"description":"Timeline-card derivation over the activity store: deterministic grouping, categories, idle/pause semantics.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for timeline-card derivation"},"analysis":{"type":"object","additionalProperties":false,"default":{},"description":"evidence-bound AI analysis over timeline cards. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable evidence-bound card analysis"},"provider":{"type":"string","maxLength":120,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","description":"Provider id. Use 'local' for local LLM; otherwise selects one configured remote provider. Required when enabled."},"model":{"type":"string","maxLength":120,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:/-]*$","description":"Model id; may include '/'. Required when enabled."},"timeoutMs":{"type":"integer","minimum":1000,"maximum":120000,"default":15000,"description":"Request timeout (ms)."},"preferences":{"type":"array","default":[],"maxItems":16,"description":"Up to 16 prompt preferences, 200 characters each.","items":{"type":"string","maxLength":200,"pattern":"\\S"}}}},"journal":{"type":"object","additionalProperties":false,"default":{},"description":"User-owned daily journal files under journal/.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for remnic journal seed/show"},"source":{"type":"string","enum":["memoryDir","vault","file"],"default":"memoryDir","description":"Where a day's journal body is read: 'memoryDir' (journal/<date>.md) or 'vault' (needs vault.enabled, dailyNotePath, journalSection). 'file' aliases + warns."},"heading":{"type":"string","description":"Deprecated alias of activity.timeline.vault.readback.journalSection; the new key wins when both are set. Emits a warning."},"extractionMode":{"type":"string","enum":["off","review"],"default":"off","description":"Review-only journal extraction: 'review' produces pending_review candidates from changed journal text only (no auto-approve)."}}},"qa":{"type":"object","additionalProperties":false,"default":{},"description":"Timeline range/search tools.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate remnic timeline range|search"},"maxRangeDays":{"type":"integer","minimum":1,"maximum":366,"default":31,"description":"Maximum timeline_range span in days. Integer 1.366."}}},"vault":{"type":"object","additionalProperties":false,"default":{},"description":"Markdown-vault publisher: timeline artifacts into daily/weekly notes through strictly-bounded managed regions. Default off = no vault I/O.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for vault publishing"},"vaultPath":{"type":"string","default":"","description":"Vault root, absolute or ~ path. Required and non-empty when enabled. A symlinked root is rejected."},"dailyNotePath":{"type":"string","default":"{yyyy}-{MM}-{dd}.md","description":"Vault-relative daily-note path template. Tokens: {yyyy} {yy} {M} {MM} {d} {dd} {ww} {MMM} {MMMM} {ddd} {dddd}; unknown tokens rejected."},"weeklyNotePath":{"type":"string","default":"","description":"Vault-relative weekly-note path template. Empty means weekly-note publishing is disabled."},"createMissingNotes":{"type":"boolean","default":false,"description":"Create a missing note from noteTemplate before publishing. Default false (update-existing only)."},"noteTemplate":{"type":"string","default":"","description":"Vault-relative template file for notes createMissingNotes makes; same date-token expansion. Required with createMissingNotes."},"sectionStrategy":{"type":"string","enum":["markers","heading"],"default":"markers","description":"How Remnic owns a section: HTML-comment marker pairs, or a uniquely-named heading's body."},"publish":{"type":"object","additionalProperties":false,"default":{},"description":"Per-artifact publish targets. Section names must be non-empty, trimmed, and unique per target file.","properties":{"timeline":{"type":"object","additionalProperties":false,"default":{},"description":"Day timeline artifact. Live target: publishes the persisted day recap.","properties":{"enabled":{"type":"boolean","default":true,"description":"Gate for publishing the timeline artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"daily","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Timeline","description":"Managed-region (or heading) name for this artifact."}}},"standup":{"type":"object","additionalProperties":false,"default":{},"description":"Standup artifact; lights up when timeline phase 3 lands.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate for publishing the standup artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"daily","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Standup","description":"Managed-region (or heading) name for this artifact."}}},"weekly":{"type":"object","additionalProperties":false,"default":{},"description":"Weekly review artifact; lights up when timeline phase 4 lands. Requires weeklyNotePath.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate for publishing the weekly artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"weekly","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Weekly Review","description":"Managed-region (or heading) name for this artifact."}}},"locations":{"type":"object","additionalProperties":false,"default":{},"description":"Location day line; lights up with the location day renderer.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate for publishing the locations artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"daily","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Locations","description":"Managed-region (or heading) name for this artifact."}}}}},"insertUnderHeading":{"type":"string","default":"","description":"Markers strategy: heading under which missing marker pairs are inserted. Empty = never insert; unmarked notes skipped ('no marker')."},"wikilinks":{"type":"object","additionalProperties":false,"default":{},"description":"Obsidian wikilink decoration. Applies when the locations target lights up.","properties":{"places":{"type":"boolean","default":false,"description":"Render place names as wikilinks."},"placesFolder":{"type":"string","default":"Places","description":"Vault folder used for place wikilink targets."}}},"properties":{"type":"object","additionalProperties":false,"default":{},"description":"Where artifact stats are written: 'off' none; 'frontmatter' updates prefix-owned keys via targeted edits; 'dataview-inline' appends inline fields.","properties":{"mode":{"type":"string","enum":["off","frontmatter","dataview-inline"],"default":"off","description":"Property output mode."},"prefix":{"type":"string","default":"remnic_","description":"Frontmatter/inline property key prefix."}}},"autoPublish":{"type":"boolean","default":true,"description":"Publish after each successful artifact generation, once those hooks land. The CLI is always available."},"readback":{"type":"object","additionalProperties":false,"default":{},"description":"Vault daily-note read-back settings.","properties":{"journalSection":{"type":"string","default":"","description":"Heading whose daily-note section is the user's journal; arbitrary text matched exactly. Required when timeline.journal.source is 'vault'."}}}}}}}}},"wearables":{"type":"object","additionalProperties":false,"default":{},"description":"Wearable transcript ingestion (Limitless / Bee / Omi). Connectors install a la carte: @remnic/connector-limitless, -bee, -omi.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the wearables subsystem."},"timezone":{"type":"string","description":"IANA timezone used to bucket transcripts into days. Default the host timezone."},"redactionEnabled":{"type":"boolean","default":true,"description":"Redact SSN / payment-card patterns from transcripts before storage and extraction."},"redactionPatterns":{"type":"array","items":{"type":"string"},"default":[],"description":"Additional user-supplied redaction regexes, validated at config load."},"offTheRecordEnabled":{"type":"boolean","default":true,"description":"Honor a spoken 'off the record' marker by eliding segments until 'back on the record'."},"offTheRecordMarkers":{"type":"object","additionalProperties":false,"default":{},"description":"Off-the-record marker phrases. Built-in phrases cover a documented language set; these fields add more.","properties":{"start":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"default":[],"description":"Additional phrases that begin an off-the-record span."},"end":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"default":[],"description":"Additional phrases that end an off-the-record span."},"useBuiltIns":{"type":"boolean","default":true,"description":"Include the built-in off-the-record phrases. Set false to honor only the configured phrases."}}},"fillerTokens":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"default":[],"description":"Additional filler tokens removed when a source enables cleanup.stripFillers. Built-in tokens are selected per script."},"digestEnabled":{"type":"boolean","default":true,"description":"Write one compact daily-digest memory per synced source/day."},"autoSyncEnabled":{"type":"boolean","default":true,"description":"Periodically refresh transcripts in-process on long-lived hosts; each tick re-syncs a rolling window ending today."},"autoSyncIntervalMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"Minutes between auto-sync ticks."},"autoSyncDays":{"type":"integer","minimum":1,"maximum":90,"default":2,"description":"Rolling window (days ending today) refreshed on each auto-sync tick."},"autoSyncDeepDays":{"type":"integer","minimum":0,"maximum":90,"default":7,"description":"Once-per-local-day deep refresh window (days) for late uploads and provider re-processing. 0 disables; else must be >= autoSyncDays."},"corrections":{"type":"array","default":[],"description":"User-specific transcript correction rules applied on every sync (merged with CLI-managed rules).","items":{"type":"object","additionalProperties":false,"required":["match","replace"],"properties":{"match":{"type":"string","description":"Text (or regex when regex=true) to match."},"replace":{"type":"string","description":"Replacement text."},"regex":{"type":"boolean","default":false,"description":"Treat match as a regular expression."},"caseInsensitive":{"type":"boolean","default":true,"description":"Case-insensitive matching."},"sources":{"type":"array","items":{"type":"string"},"description":"Restrict the rule to specific source ids."}}}},"sources":{"type":"object","default":{},"description":"Per-source settings keyed by connector id (limitless, bee, omi, or a custom connector id).","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","default":false,"description":"Enable syncing from this wearable source."},"apiKey":{"type":"string","description":"Provider API credential. Prefer the per-connector env var (e.g. ${LIMITLESS_API_KEY}); config value wins when both are set."},"baseUrl":{"type":"string","description":"Override the provider base URL (self-hosted / local-proxy setups, e.g. the Bee local proxy)."},"appId":{"type":"string","description":"Omi only: integration app id (the {app_id} path component of the Omi Integrations API)."},"userId":{"type":"string","description":"Omi only: target user id supplied as the uid query parameter."},"memoryMode":{"type":"string","enum":["off","review","auto","smart"],"default":"smart","description":"Memory creation trust gate: smart (default) = LLM judge + trust prior + corroboration pick active/review/drop; off = transcripts only; review = pending_review; auto = deterministic."},"sourceTrust":{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Trust prior for this source's transcription quality. Multiplies extraction confidence in smart mode; lower for a mis-transcribing device."},"autoApproveTrust":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Smart mode: trust score at/above which facts are written active."},"reviewTrust":{"type":"number","minimum":0,"maximum":1,"default":0.45,"description":"Smart mode: trust score at/above which borderline facts queue for review instead of dropping. Must be below autoApproveTrust."},"minConfidence":{"type":"number","minimum":0,"maximum":1,"default":0.6,"description":"Drop extracted facts below this confidence."},"minImportance":{"type":"string","enum":["trivial","low","normal","high","critical"],"default":"low","description":"Drop extracted facts scored below this importance level."},"maxMemoriesPerDay":{"type":"integer","minimum":0,"default":0,"description":"Cap on memories created per source per day. 0 (the default) disables the cap."},"importNativeMemories":{"type":"string","enum":["off","review","smart"],"default":"smart","description":"Import provider-extracted memories (Bee / Omi): smart (default) = judge + trust pipeline at reduced prior; review always queues; off skips."},"cleanup":{"type":"object","additionalProperties":false,"default":{},"properties":{"mergeSameSpeaker":{"type":"boolean","default":true,"description":"Merge consecutive same-speaker segments."},"stripFillers":{"type":"boolean","default":true,"description":"Strip standalone filler tokens (um, uh,..)."},"collapseRepeats":{"type":"boolean","default":true,"description":"Collapse immediately repeated phrases (ASR stutter)."},"dropLowQuality":{"type":"boolean","default":true,"description":"Drop segments that look like ASR garbage."},"preserveUtteranceBoundaries":{"type":"boolean","default":false,"description":"Keep utterance-level boundaries (one segment per utterance) instead of merging same-speaker segments. Default off; Bee enables it."}}}}}},"fusion":{"type":"object","additionalProperties":false,"default":{},"description":"Cross-source fusion of multi-source wearable transcripts into one reconciled artifact per conversation. Deterministic; default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for cross-source fusion. false = no fusion artifacts are written and no behavior changes."},"proximityGapMs":{"type":"integer","minimum":1,"default":300000,"description":"Max gap (ms) between two conversations to merge into one fused cluster."},"windowToleranceMs":{"type":"integer","minimum":1,"default":30000,"description":"Max drift (ms) for two segments to align across sources."}}}}},"meetings":{"type":"object","additionalProperties":false,"default":{},"description":"Retrospective meeting intelligence: detect + fuse meetings from ingested audio + screen activity. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the meetings subsystem."},"appPatterns":{"type":"array","items":{"type":"string"},"default":[],"description":"Additional meeting-app match patterns, additive over the shipped defaults (Zoom, Teams, Meet, Webex, Slack huddles, FaceTime)."},"minOverlapMinutes":{"type":"integer","minimum":0,"maximum":1440,"default":2,"description":"Minimum app-span/audio-window overlap (minutes) to pair them into a meeting."},"audioOnlyMinMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"Audio-only fallback: minimum conversation length (minutes) with >= 2 non-wearer speakers to detect a meeting without an app span."},"mergeGapMinutes":{"type":"integer","minimum":0,"maximum":1440,"default":2,"description":"Merge adjacent same-app candidates within this gap (minutes) - rejoin-after-drop."},"contextDwellSeconds":{"type":"integer","minimum":0,"maximum":86400,"default":20,"description":"Minimum other-app foreground dwell (seconds) to include a span in the meeting's screen-context timeline."},"maxContextChars":{"type":"integer","minimum":0,"maximum":1000000,"default":4000,"description":"Cap on total deduped screen-context excerpt characters."},"summaryMode":{"type":"string","enum":["off","review","smart"],"default":"smart","description":"LLM meeting-summary mode: off (episode only), review (queue all candidates), smart (trust-gated)."},"sourceTrust":{"type":"number","minimum":0,"maximum":1,"default":0.85,"description":"Provenance trust prior for meeting-derived facts (0.1)."},"autoApproveTrust":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Trust at/above which a smart-mode meeting fact is auto-approved to active."},"reviewTrust":{"type":"number","minimum":0,"maximum":1,"default":0.45,"description":"Trust at/above which a smart-mode meeting fact is queued for review."}}},"location":{"type":"object","additionalProperties":false,"default":{},"description":"Location context foundation: day-bucketed place observations from host-adapter-registered providers. No provider client in core.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the location subsystem."},"timezone":{"type":"string","default":"UTC","description":"IANA timezone used to bucket observations into local days."},"syncDays":{"type":"integer","minimum":1,"maximum":90,"default":1,"description":"Number of local days to synchronize per run."},"retainCoordinates":{"type":"boolean","default":false,"description":"When false (default), place coordinates are dropped before any persistence or rendering; only place labels are kept."},"minimumOverlapSeconds":{"type":"integer","minimum":0,"default":300,"description":"Minimum overlap in seconds for a location tag match. 0 disables the floor."},"minimumConfidence":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Minimum provider-reported place confidence in [0,1] for a tagging match."},"tagging":{"type":"object","additionalProperties":false,"default":{},"description":"Provider-owned location tagging gates.","properties":{"enabled":{"type":"boolean","default":false,"description":"false = no memory is tagged with location context."},"backfillEnabled":{"type":"boolean","default":false,"description":"Extra gate for the historical backfill command."}}},"sources":{"type":"array","default":[],"description":"Location sources: registered provider ids plus their per-source toggle.","items":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Registered location provider id (lowercase kebab)."},"enabled":{"type":"boolean","default":true,"description":"Set false to short-circuit this source only."}}}}}},"okf":{"type":"object","additionalProperties":false,"default":{},"description":"OKF v0.1 conformance.","properties":{"conformanceEnabled":{"type":"boolean","default":true,"description":"Emit inert type on writes."},"sweepEnabled":{"type":"boolean","default":false,"description":"Opt-in type backfill. false disables."},"indexFilesEnabled":{"type":"boolean","default":false,"description":"Generate index.md files in the live store. false removes generated indexes."}}},"workIndexAutoRebuildDebounceMs":{"type":"number","default":1000,"description":"Debounce delay in ms before triggering auto-rebuild of the work index."},"workIndexAutoRebuildEnabled":{"type":"boolean","default":false,"description":"Automatically rebuild the work index when tasks or projects change."},"workIndexDir":{"type":"string","description":"Override the work index directory (defaults to {memoryDir}/work/index)."},"workIndexEnabled":{"type":"boolean","default":false,"description":"Enable search index for work tasks and projects."},"workProductLedgerDir":{"type":"string","description":"Override the work-product ledger directory (defaults to {memoryDir}/state/work-product-ledger)."},"workProductRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant work-product ledger entries to recall context and expose artifact-recovery search tooling."},"workProjectIndexEnabled":{"type":"boolean","default":false,"description":"Include projects in the work search index."},"workProjectsDir":{"type":"string","description":"Override the work projects directory (defaults to {memoryDir}/work/projects)."},"workProjectsEnabled":{"type":"boolean","default":false,"description":"Enable project tracking within the work product system."},"workTaskIndexEnabled":{"type":"boolean","default":false,"description":"Include tasks in the work search index."},"workTasksDir":{"type":"string","description":"Override the work tasks directory (defaults to {memoryDir}/work/tasks)."},"workTasksEnabled":{"type":"boolean","default":false,"description":"Enable task tracking within the work product system."},"workspaceDir":{"type":"string","description":"Override workspace directory path"},"externalWikis":{"type":"array","default":[],"description":"External compiled-wiki roots available only to dedicated on-demand search.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,63}$","description":"Stable wiki identifier."},"rootDir":{"type":"string","description":"Absolute path or ~/ path to the external wiki root."},"enabled":{"type":"boolean","default":true},"label":{"type":"string"},"pagesDir":{"type":"string","default":"wiki","description":"Wiki-root-relative concept-page directory."},"indexFile":{"type":"string","default":"INDEX.md","description":"Wiki-root-relative catalog path."},"indexInQmd":{"type":"boolean","default":false,"description":"Index the corpus in its dedicated external-wiki collection."},"includeInDefaultRecall":{"type":"boolean","default":false,"description":"Reserved safety guard. Remnic rejects true."}},"required":["id","rootDir"]}},"extractionBreakerAuthCooldownMs":{"type":"number","default":1800000,"description":"Extraction circuit-breaker open cooldown (ms) for auth/config failures (401/403 or no models configured)."},"extractionBreakerCooldownMs":{"type":"number","default":300000,"description":"Extraction circuit-breaker open cooldown (ms) for transient provider failures (429/5xx/network)."},"extractionBreakerFailureThreshold":{"type":"number","default":5,"description":"Consecutive provider failures before the extraction circuit breaker opens and short-circuits extraction."},"extractionChunkDropAfterFailures":{"type":"integer","minimum":1,"default":5,"description":"Consecutive failed extraction attempts after which a stuck buffer chunk is dropped (copy saved under state/dropped/)."},"extractionCallMaxChars":{"type":"integer","minimum":1,"default":12000,"description":"Max rendered characters per extraction call; oversized turns split into verbatim extractionPartOf parts."},"extractionParseEmptyMaxAttempts":{"type":"number","default":3,"description":"Attempts for a parse_empty extraction fingerprint before it is long-parked (still never marked processed)."},"extractionRetryEnabled":{"type":"boolean","default":true,"description":"Master gate for extraction retry backoff + circuit breaker. false = pre-change behavior (extractor on every triggered observe)."},"extractionRetryJitterRatio":{"type":"number","default":0.2,"description":"Multiplicative jitter ratio (+/-) applied to each extraction backoff interval."},"extractionRetryMaxBackoffMs":{"type":"number","default":21600000,"description":"Upper bound (ms) on each extraction backoff interval and the long-park interval for exhausted parse_empty fingerprints."},"extractionRetryScheduleMs":{"type":"array","items":{"type":"number"},"default":[60000,300000,1800000,7200000],"description":"Per-fingerprint exponential extraction backoff schedule (ms), indexed by attempt."},"bridgeMode":{"type":"string","enum":["embedded","delegate","auto"],"default":"embedded","description":"Bridge mode: embedded, delegate, or same-memory auto delegation. Environment override supported."},"bridgeHealthTimeoutMs":{"type":"integer","minimum":1,"maximum":120000,"default":10000,"description":"Total timeout (ms) for delegate liveness and older-daemon detailed-health fallback probes."},"extraction":{"type":"object","additionalProperties":false,"default":{},"description":"Span-mode extraction (Phase B, bench-gated). Default off; shadow requests spans alongside content and persists content unchanged.","properties":{"spanMode":{"type":"string","enum":["off","shadow","on"],"default":"off","description":"\"off\" (default) = previous behavior; \"shadow\" requests spans+content for telemetry, persists content; \"on\" persists frame+span, per-fact fallback. Unknown rejected."}}}}},"uiHints":{"openaiApiKey":{"label":"OpenAI API Key","sensitive":true,"placeholder":"sk-...","help":"API key for plugin mode only. Not needed when Model Source is gateway."},"openaiBaseUrl":{"label":"OpenAI Base URL","advanced":true,"placeholder":"https://api.openai.com/v1","help":"Override for OpenAI-compatible providers (Scryr, Together, OpenRouter, etc.)"},"model":{"label":"Extraction Model","advanced":true,"placeholder":"gpt-5.5"},"reasoningEffort":{"label":"Reasoning Effort","advanced":true},"triggerMode":{"label":"Trigger Mode","advanced":true},"bufferMaxTurns":{"label":"Buffer Max Turns","advanced":true,"placeholder":"5"},"bufferMaxMinutes":{"label":"Buffer Max Minutes","advanced":true,"placeholder":"15"},"consolidateEveryN":{"label":"Consolidation Frequency","advanced":true,"placeholder":"3"},"maxMemoryTokens":{"label":"Max Memory Tokens","advanced":true,"placeholder":"2000"},"memoryOsPreset":{"label":"Memory OS Preset","advanced":true,"help":"Preset: conservative, balanced, research-max, or local-llm-heavy. `research` is a backward-compatible alias. Explicit settings win."},"qmdEnabled":{"label":"Enable QMD","help":"Enable QMD for memory search/indexing"},"hostEmbeddingProviderEnabled":{"label":"Use Host Embeddings","advanced":true,"help":"Prefer OpenClaw's registered embedding providers; falls back automatically."},"hostEmbeddingProviderId":{"label":"Host Embedding Provider","advanced":true,"placeholder":"openai-compatible"},"hostEmbeddingProviderModel":{"label":"Host Embedding Model","advanced":true,"placeholder":"text-embedding-3-small"},"openclawMessageReceivedCaptureEnabled":{"label":"Capture Inbound Messages","advanced":true,"help":"Use OpenClaw message_received transcript capture when the host emits it."},"openclawReplyMetadataCaptureEnabled":{"label":"Capture Reply Metadata","advanced":true,"help":"Store bounded message/thread/reply fields in transcript metadata."},"openclawReplyMetadataExtractionHintsEnabled":{"label":"Use Reply Extraction Hints","advanced":true,"help":"Include bounded quoted-reply context in extraction prompts. Off by default."},"openclawChannelEnvelopeCleaningEnabled":{"label":"Clean Channel Envelopes","advanced":true,"help":"Use OpenClaw's canonical channel envelope prefixes."},"openclawFlushPlanProcessingEnabled":{"label":"Process Flush Plans","advanced":true,"help":"Ingest and clear OpenClaw's append-only flush-plan file. Disable when OpenClaw owns this lifecycle natively."},"qmdCollection":{"label":"QMD Collection","advanced":true,"placeholder":"openclaw-engram"},"wikiMergeIntoRecall":{"label":"Merge External Wikis Into Recall","advanced":true},"qmdMaxResults":{"label":"QMD Max Results","advanced":true,"placeholder":"8"},"qmdColdTierEnabled":{"label":"Enable Cold QMD Tier","advanced":true,"help":"When hot recall misses, query a secondary cold QMD collection before the query-aware fallback."},"qmdColdCollection":{"label":"Cold QMD Collection","advanced":true,"placeholder":"openclaw-engram-cold"},"qmdColdMaxResults":{"label":"Cold QMD Max Results","advanced":true,"placeholder":"8"},"qmdTierMigrationEnabled":{"label":"Enable Tier Migration","advanced":true,"help":"Enable value-aware hot/cold migration controls"},"qmdTierDemotionMinAgeDays":{"label":"Tier Demotion Min Age Days","advanced":true,"placeholder":"14"},"qmdTierDemotionValueThreshold":{"label":"Tier Demotion Value Threshold","advanced":true,"placeholder":"0.35"},"qmdTierPromotionValueThreshold":{"label":"Tier Promotion Value Threshold","advanced":true,"placeholder":"0.7"},"qmdTierParityGraphEnabled":{"label":"Tier Parity Graph Checks","advanced":true},"qmdTierParityHiMemEnabled":{"label":"Tier Parity HiMem Checks","advanced":true},"qmdTierAutoBackfillEnabled":{"label":"Tier Auto Backfill","advanced":true,"help":"Enable automated cold-tier backfill runs for parity repair"},"qmdSupportedVersion":{"label":"QMD Supported Version","advanced":true,"placeholder":"2.8.3"},"qmdAutoUpgradeEnabled":{"label":"QMD Auto Upgrade","advanced":true,"help":"Upgrade PATH/fallback QMD installs below 2.8.3; 2.8.3+ needs the manual pinned-build install; explicit qmdPath installs are skipped."},"qmdAutoUpgradeCheckIntervalMs":{"label":"QMD Auto Upgrade Interval","advanced":true,"placeholder":"86400000"},"qmdChunkStrategy":{"label":"QMD Chunk Strategy","advanced":true,"placeholder":"auto"},"qmdCandidateLimit":{"label":"QMD Candidate Limit","advanced":true},"qmdQueryRerankEnabled":{"label":"QMD Query Rerank","advanced":true},"qmdSearchStrategy":{"label":"QMD Search Strategy","advanced":true,"placeholder":"hybrid","help":"hybrid = lex+vec+hyde (default, best recall). lex-vec drops HyDE. lex = BM25-only (fastest). Lower tiers trade recall for CPU latency."},"qmdSubprocessStrategy":{"label":"QMD Subprocess Strategy","advanced":true,"placeholder":"query","help":"query = qmd query with LLM expansion + rerank (default). search = BM25-only, faster on huge collections."},"qmdDaemonTimeoutMs":{"label":"QMD Daemon Timeout (ms)","advanced":true,"placeholder":"60000"},"qmdIndexName":{"label":"QMD Index Name","advanced":true,"help":"Named QMD index (--index, QMD 2.5+). Changing selects a different SQLite DB; keep unset for existing default-index installs."},"qmdForceCpu":{"label":"QMD Force CPU","advanced":true,"help":"Set QMD_FORCE_CPU=1 for QMD child processes"},"qmdGpuBackend":{"label":"QMD GPU Backend","advanced":true,"placeholder":"metal"},"qmdEmbedParallelism":{"label":"QMD Embed Parallelism","advanced":true,"placeholder":"4"},"qmdEmbedModel":{"label":"QMD Embed Model","advanced":true},"qmdRerankModel":{"label":"QMD Rerank Model","advanced":true},"qmdGenerateModel":{"label":"QMD Generate Model","advanced":true},"embeddingFallbackEnabled":{"label":"Embedding Fallback","help":"Use semantic embeddings when QMD is unavailable or no results are found"},"embeddingFallbackProvider":{"label":"Embedding Provider","advanced":true,"placeholder":"auto"},"embeddingFallbackModel":{"label":"Embedding Model","advanced":true,"placeholder":"(defaults to local LLM model)","help":"Embedding model for semantic fallback when the local chat and embedding models differ."},"qmdPath":{"label":"QMD Path","advanced":true,"placeholder":"/opt/homebrew/bin/qmd","help":"absolute path to qmd binary for environments with unstable PATH/bun shims"},"memoryDir":{"label":"Memory Directory","advanced":true,"placeholder":"~/.openclaw/workspace/memory/local"},"debug":{"label":"Debug Mode","advanced":true},"identityEnabled":{"label":"Identity Reflections","help":"Append self-reflections to workspace IDENTITY.md after each extraction"},"identityContinuityEnabled":{"label":"Identity Continuity"},"identityInjectionMode":{"label":"Identity Context Mode","advanced":true,"placeholder":"recovery_only","help":"When to add identity continuity context: recovery_only, minimal, or full"},"identityMaxInjectChars":{"label":"Identity Max Context Chars","advanced":true,"placeholder":"1200"},"continuityIncidentLoggingEnabled":{"label":"Continuity Incident Logging","advanced":true,"help":"When omitted, follows Identity Continuity enabled state"},"continuityAuditEnabled":{"label":"Continuity Audits","advanced":true,"help":"Generate continuity audit artifacts"},"sessionObserverEnabled":{"label":"Session Observer","advanced":true,"help":"Observe heartbeat growth and proactively trigger extraction when thresholds are crossed."},"sessionObserverDebounceMs":{"label":"Observer Debounce (ms)","advanced":true,"placeholder":"120000"},"sessionObserverBands":{"label":"Observer Size Bands","advanced":true,"help":"Array of {maxBytes, triggerDeltaBytes, triggerDeltaTokens} threshold objects"},"injectQuestions":{"label":"Inject Questions"},"commitmentDecayDays":{"label":"Commitment Decay (days)","advanced":true,"placeholder":"90","help":"Positive integer days before fulfilled/expired commitments are removed."},"workspaceDir":{"label":"Workspace Directory","advanced":true,"placeholder":"~/.openclaw/workspace"},"accessTrackingEnabled":{"label":"Access Tracking","help":"Track which memories are accessed most frequently"},"accessTrackingBufferMaxSize":{"label":"Access Buffer Size","advanced":true,"placeholder":"100"},"recencyWeight":{"label":"Recency Weight","advanced":true,"help":"How much to boost recent memories in search (0-1)","placeholder":"0.2"},"boostAccessCount":{"label":"Boost Frequent Access","help":"Rank frequently accessed memories higher in search"},"captureMode":{"label":"Capture Mode","help":"Choose whether Engram stores only explicit notes, normal extraction, or both."},"agentAccessHttp":{"label":"Local HTTP Access","help":"Enable a local authenticated HTTP API for external Engram clients"},"negativeExamplesEnabled":{"label":"Negative Examples","help":"Track retrieved-but-not-useful memories and apply a small ranking penalty (optional)"},"negativeExamplesPenaltyPerHit":{"label":"Negative Penalty / Hit","advanced":true,"placeholder":"0.05"},"negativeExamplesPenaltyCap":{"label":"Negative Penalty Cap","advanced":true,"placeholder":"0.25"},"chunkingEnabled":{"label":"Enable Chunking","help":"Automatically split long memories into overlapping chunks for better retrieval"},"chunkingTargetTokens":{"label":"Chunk Target Tokens","advanced":true,"placeholder":"200"},"chunkingMinTokens":{"label":"Chunk Min Tokens","advanced":true,"placeholder":"150"},"chunkingOverlapSentences":{"label":"Chunk Overlap Sentences","advanced":true,"placeholder":"2"},"semanticChunkingEnabled":{"label":"Semantic Chunking","help":"Use embedding-based topic detection for more coherent chunks (requires chunking enabled)"},"semanticChunkingConfig":{"label":"Semantic Chunking Config","advanced":true,"help":"Override defaults for semantic chunking algorithm parameters"},"contradictionDetectionEnabled":{"label":"Contradiction Detection","help":"Detect and resolve conflicting memories using LLM verification"},"contradictionSimilarityThreshold":{"label":"Contradiction Similarity Threshold","advanced":true,"placeholder":"0.7"},"contradictionMinConfidence":{"label":"Contradiction Min Confidence","advanced":true,"placeholder":"0.9"},"contradictionAutoResolve":{"label":"Auto-Resolve Contradictions","help":"Automatically supersede old memories when contradiction is confirmed"},"contradictionScan":{"label":"Contradiction Scan","help":"Nightly cron that pairs similar memories and flags contradictions for review"},"contradictionLocalization":{"label":"Contradiction Localization","advanced":true,"help":"Find entityRef and category anchors before QMD search."},"dependencyPropagation":{"label":"Dependency Propagation","help":"Revalidate active dependent memories after supersession. Disabled by default."},"converge.conflictPolicy":{"label":"Converge Conflict Policy","advanced":true,"help":"newest-wins picks the newer revision on comparable timestamps; manual stops before mutation when conflicts remain. --conflict-policy overrides."},"temporalSupersessionEnabled":{"label":"Temporal Supersession","help":"Mark older facts superseded when a newer fact writes a conflicting value for the same entityRef + attribute."},"temporalSupersessionIncludeInRecall":{"label":"Include Superseded Facts In Recall","advanced":true,"help":"superseded facts still surface in recall (audit/history mode)."},"temporalBiTemporal":{"label":"Bi-temporal Validity","advanced":true,"help":"Master gate: resolve per-fact event-time at write and exclude expired facts from injection. Off = byte-identical to pre-#1578."},"temporalExpiredInInjection":{"label":"Keep Expired-Validity Facts In Injection","advanced":true,"help":"Escape hatch: keep event-time-expired facts in injection candidates even with bi-temporal on."},"recallDirectAnswerEnabled":{"label":"Direct-Answer Retrieval Tier","help":"Opt in to the direct-answer retrieval tier for validated high-trust queries before QMD."},"recallDisclosureEscalation":{"label":"Disclosure Auto-Escalation","help":"Auto-promote default chunk recalls to section when top-K confidence is low. 'auto' enables; 'manual' (default) = pre-#677."},"recallDisclosureEscalationThreshold":{"label":"Disclosure Escalation Threshold","advanced":true,"placeholder":"0.5","help":"Top-K confidence (0-1) below which auto-escalation triggers; only under Disclosure Auto-Escalation 'auto'."},"recallGraphEnabled":{"label":"Graph Retrieval (PPR)","help":"Run Personalized PageRank on the retrieval graph and merge with QMD via MMR."},"graphPathScoring":{"label":"Graph Path Scoring","advanced":true,"help":"Penalize expanded results that rely on invalid intermediate memories. Disabled by default."},"recallGraphDamping":{"label":"Graph Recall Damping","advanced":true,"placeholder":"0.85"},"recallGraphIterations":{"label":"Graph Recall Iterations","advanced":true,"placeholder":"20"},"recallGraphTopK":{"label":"Graph Recall Top-K","advanced":true,"placeholder":"50"},"recallDirectAnswerTokenOverlapFloor":{"label":"Direct-Answer Token Overlap Floor","advanced":true,"placeholder":"0.55"},"recallDirectAnswerImportanceFloor":{"label":"Direct-Answer Importance Floor","advanced":true,"placeholder":"0.7"},"recallDirectAnswerAmbiguityMargin":{"label":"Direct-Answer Ambiguity Margin","advanced":true,"placeholder":"0.15"},"recallDirectAnswerEligibleTaxonomyBuckets":{"label":"Direct-Answer Eligible Taxonomy Buckets","advanced":true},"memoryLinkingEnabled":{"label":"Memory Linking","help":"Build knowledge graph by linking related memories"},"threadingEnabled":{"label":"Conversation Threading","help":"Group memories into conversation threads with auto-titles"},"threadingGapMinutes":{"label":"Thread Gap (minutes)","advanced":true,"placeholder":"30"},"summarizationEnabled":{"label":"Memory Summarization","help":"Compress old, low-importance memories into summaries"},"summarizationTriggerCount":{"label":"Summarization Trigger","advanced":true,"placeholder":"1000"},"summarizationRecentToKeep":{"label":"Recent to Keep","advanced":true,"placeholder":"300"},"summarizationImportanceThreshold":{"label":"Importance Threshold","advanced":true,"placeholder":"0.3"},"topicExtractionEnabled":{"label":"Topic Extraction","help":"Extract key topics from memory corpus"},"topicExtractionTopN":{"label":"Top N Topics","advanced":true,"placeholder":"50"},"transcriptEnabled":{"label":"Enable Transcript Archive","help":"Archive conversation transcripts for context preservation"},"transcriptRetentionDays":{"label":"Transcript Retention (days)","advanced":true,"placeholder":"7"},"transcriptSkipChannelTypes":{"label":"Skip Channel Types","advanced":true,"help":"Channel types to exclude from transcript logging (default: cron)"},"transcriptRecallHours":{"label":"Transcript Recall (hours)","advanced":true,"placeholder":"12"},"maxTranscriptTurns":{"label":"Max Transcript Turns","advanced":true,"placeholder":"50"},"maxTranscriptTokens":{"label":"Max Transcript Tokens","advanced":true,"placeholder":"1000"},"checkpointEnabled":{"label":"Enable Checkpoints","help":"Capture conversation checkpoints for resuming context"},"checkpointTurns":{"label":"Checkpoint Turn Interval","advanced":true,"placeholder":"15"},"compactionResetEnabled":{"label":"Compaction Reset","help":"Reset session after compaction and add BOOT.md recovery context","advanced":true},"hourlySummariesEnabled":{"label":"Enable Hourly Summaries","help":"Generate hourly summaries of conversation activity"},"summaryRecallHours":{"label":"Summary Recall (hours)","advanced":true,"placeholder":"24"},"maxSummaryCount":{"label":"Max Summary Count","advanced":true,"placeholder":"6"},"summaryModel":{"label":"Summary Model","advanced":true,"placeholder":"(same as extraction model)"},"supportPassport":{"label":"Support Passport","help":"Owner-controlled support cards and timed helper share links. Model calls use Remnic's configured provider routes."},"modelSource":{"label":"Model Source","help":"Route LLM calls through the gateway's agent model chain, not Engram's own config. 'gateway' ignores localLlm and openai settings."},"gatewayAgentId":{"label":"Gateway Agent ID","advanced":true,"placeholder":"engram-llm","help":"Agent persona ID from openclaw.json agents.list[] whose model chain to use. Empty = global defaults."},"fastGatewayAgentId":{"label":"Fast Gateway Agent ID","advanced":true,"placeholder":"engram-llm-fast","help":"Agent persona ID for fast-tier ops. Leave empty to use the primary gatewayAgentId."},"taskModelChain":{"label":"Task Model Chain","advanced":true,"help":"Primary/fallback gateway model chain for Remnic background tasks (extraction, consolidation, summarization); overrides gatewayAgentId for these tasks. Requires modelSource 'gateway'."},"localLlmEnabled":{"label":"Enable Local LLM","help":"Use a local LLM (LM Studio, Ollama, etc.) for extraction and summaries; falls back to OpenAI if unavailable."},"localLlmUrl":{"label":"Local LLM URL","advanced":true,"placeholder":"http://localhost:1234/v1","help":"OpenAI-compatible endpoint URL for local LLM"},"localLlmModel":{"label":"Local LLM Model","advanced":true,"placeholder":"local-model","help":"Model identifier for local LLM requests"},"localLlmApiKey":{"label":"Local LLM API Key","advanced":true,"sensitive":true,"placeholder":"sk-...","help":"API key for authenticated OpenAI-compatible endpoints"},"localLlmHeaders":{"label":"Local LLM Headers","advanced":true,"help":"extra headers for provider-specific routing/auth"},"localLlmAuthHeader":{"label":"Send Auth Header","advanced":true,"help":"When false, do not send Authorization header even if localLlmApiKey is set"},"localLlmFallback":{"label":"Local LLM Fallback","advanced":true,"help":"Legacy alias for taskLlmFallback: use the gateway/task chain when the local LLM fails."},"taskLlmFallback":{"label":"Task LLM Fallback","advanced":true,"help":"Use the gateway/task LLM chain when the local LLM path fails or is unavailable."},"taskLlmTimeoutMs":{"label":"Task LLM Timeout (ms)","advanced":true,"help":"Timeout for the gateway/task LLM chain; primary extraction timeout in gateway mode."},"localLlmHomeDir":{"label":"Local LLM Home Dir","advanced":true,"placeholder":"(auto: HOME / os.homedir)","help":"home directory override for LM Studio settings and local helper paths."},"localLmsCliPath":{"label":"LMS CLI Path","advanced":true,"placeholder":"/path/to/lms","help":"absolute path to LMS CLI. Overrides auto-detection."},"localLmsBinDir":{"label":"LMS Bin Dir","advanced":true,"placeholder":"/path/to/bin"},"localLlmMaxContext":{"label":"Local LLM Max Context","advanced":true,"placeholder":"(auto-detected from model)","help":"Override context window when the LLM server's default is smaller (e.g. 32768 for LM Studio)."},"localLlmFastEnabled":{"label":"Fast LLM Tier","help":"Separate smaller model for quick ops (rerank, entity summaries, compression guidelines)."},"localLlmFastModel":{"label":"Fast LLM Model","placeholder":"qwen3.5-4b-mlx","help":"Model ID for fast-tier ops; must be loaded in LM Studio alongside the primary model."},"localLlmFastUrl":{"label":"Fast LLM URL","advanced":true,"placeholder":"(defaults to localLlmUrl)","help":"Endpoint for fast-tier model. When not set, inherits the primary localLlmUrl."},"localLlmFastTimeoutMs":{"label":"Fast LLM Timeout (ms)","advanced":true,"help":"Timeout for fast-tier requests. Lower than primary since fast ops should complete quickly."},"localLlmDisableThinking":{"label":"Disable Local LLM Thinking Mode","advanced":true,"help":"Suppress thinking for supported local extraction ops; short extractions can opt back in via the Thinking Threshold. Consolidation and fast tier unaffected."},"localLlmThinkingThresholdChars":{"label":"Local LLM Thinking Threshold (chars)","advanced":true,"help":"Enable thinking only for local extraction transcripts shorter than this; 0 suppresses thinking for every extraction. Consolidation unaffected."},"evalHarnessEnabled":{"label":"Evaluation Harness","help":"Enable Engram's benchmark/evaluation harness foundation and benchmark-status diagnostics."},"evalShadowModeEnabled":{"label":"Evaluation Shadow Mode","advanced":true,"help":"Reserve shadow-mode measurement paths so bench instrumentation can compare memory behavior without affecting live recall."},"benchmarkBaselineSnapshotsEnabled":{"label":"Benchmark Baseline Snapshots","advanced":true,"help":"Enable versioned benchmark baseline snapshot artifacts for later PR delta reporting."},"benchmarkDeltaReporterEnabled":{"label":"Benchmark Delta Reporter","advanced":true,"help":"Named-baseline delta reports comparing the current eval store against a stored benchmark baseline snapshot."},"evalStoreDir":{"label":"Evaluation Store Directory","advanced":true,"placeholder":"{memoryDir}/state/evals","help":"Override where benchmark packs and run summaries are stored."},"objectiveStateMemoryEnabled":{"label":"Objective-State Memory","help":"Objective-state memory foundation for normalized world and tool state snapshots."},"objectiveStateSnapshotWritesEnabled":{"label":"Objective-State Snapshot Writes","advanced":true,"help":"Allow snapshot writers to persist objective-state records into the objective-state store."},"objectiveStateRecallEnabled":{"label":"Objective-State Recall","advanced":true},"objectiveStateStoreDir":{"label":"Objective-State Store Directory","advanced":true,"placeholder":"{memoryDir}/state/objective-state","help":"Override where objective-state snapshots are stored."},"causalTrajectoryMemoryEnabled":{"label":"Causal Trajectory Memory","help":"Causal-trajectory memory foundation for typed goal-action-observation-outcome chains."},"causalTrajectoryStoreDir":{"label":"Causal Trajectory Store Directory","advanced":true,"placeholder":"{memoryDir}/state/causal-trajectories","help":"Override where causal-trajectory records are stored."},"causalTrajectoryRecallEnabled":{"label":"Causal Trajectory Recall","advanced":true},"trustZonesEnabled":{"label":"Trust Zones","help":"Enable trust-zone memory foundation for quarantine, working, and trusted records."},"quarantinePromotionEnabled":{"label":"Quarantine Promotion","advanced":true},"trustZoneStoreDir":{"label":"Trust-Zone Store Directory","advanced":true,"placeholder":"{memoryDir}/state/trust-zones","help":"Override where trust-zone records are stored."},"trustZoneRecallEnabled":{"label":"Trust-Zone Recall","advanced":true},"memoryPoisoningDefenseEnabled":{"label":"Memory Poisoning Defense","advanced":true,"help":"Provenance trust scoring in trust-zone status output, the first poisoning-defense signal."},"memoryInjectionDefenseMode":{"label":"Memory Injection Defense","advanced":true,"help":"off, fencing, quarantine, or layered; custom keeps the separate flags."},"originAuthorityEnabled":{"label":"Origin Authority","advanced":true},"injectionScreenEnabled":{"label":"Injection Screen","advanced":true,"help":"Screen candidate facts with deterministic rules and queue findings for review."},"untrustedOrigins":{"label":"Untrusted Origins","advanced":true},"memoryRedTeamBenchEnabled":{"label":"Memory Red-Team Benchmarks","advanced":true,"help":"Operator-facing red-team benchmark pack support and status accounting for poisoning-defense suites."},"harmonicRetrievalEnabled":{"label":"Harmonic Retrieval"},"abstractionAnchorsEnabled":{"label":"Abstraction Anchors","advanced":true},"abstractionNodeStoreDir":{"label":"Abstraction-Node Store Directory","advanced":true,"placeholder":"{memoryDir}/state/abstraction-nodes","help":"Override where abstraction nodes are stored."},"verifiedRecallEnabled":{"label":"Verified Recall"},"semanticRulePromotionEnabled":{"label":"Semantic Rule Promotion","advanced":true,"help":"Promote explicit IF/THEN rules from verified episodic memories into durable rule memories."},"semanticRuleVerificationEnabled":{"label":"Semantic Rule Verification","advanced":true},"semanticConsolidationEnabled":{"label":"Semantic Consolidation","advanced":true},"semanticConsolidationModel":{"label":"Semantic Consolidation Model","advanced":true},"semanticConsolidationThreshold":{"label":"Semantic Consolidation Threshold","advanced":true},"semanticConsolidationMinClusterSize":{"label":"Semantic Consolidation Min Cluster Size","advanced":true},"semanticConsolidationExcludeCategories":{"label":"Semantic Consolidation Exclude Categories","advanced":true},"semanticConsolidationIntervalHours":{"label":"Semantic Consolidation Interval (Hours)","advanced":true},"semanticConsolidationMaxPerRun":{"label":"Semantic Consolidation Max Per Run","advanced":true},"operatorAwareConsolidationEnabled":{"label":"Operator-Aware Consolidation","advanced":true,"help":"Opt in to operator-aware consolidation: the LLM returns {operator, output} JSON and SPLIT/MERGE/UPDATE is recorded on derived_via. Off (default) still populates via the cluster-shape heuristic."},"peerProfileReasonerEnabled":{"label":"Peer Profile Reasoner","advanced":true,"help":"Async peer profile reasoner: runs in the REM phase after semantic consolidation, updates per-peer profile.md with provenance-tagged fields from the peer's interaction log. Default off."},"peerProfileReasonerModel":{"label":"Peer Profile Reasoner Model","advanced":true,"help":"Model id the peer profile reasoner records on telemetry; dispatch routes through consolidation's FallbackLlmClient."},"peerProfileReasonerMinInteractions":{"label":"Peer Profile Reasoner Min Interactions","advanced":true},"peerProfileReasonerMaxFieldsPerRun":{"label":"Peer Profile Reasoner Max Fields Per Run","advanced":true},"peerProfileRecallEnabled":{"label":"Peer Profile Recall","advanced":true,"help":"Add the active peer's profile fields to recall context as a '## Peer Profile' section; needs the session peer ID registered. Default off."},"peerProfileRecallMaxFields":{"label":"Peer Profile Recall Max Fields","advanced":true,"help":"Max peer profile fields added per recall (most-recently-updated N). 0 disables."},"creationMemoryEnabled":{"label":"Creation Memory","advanced":true},"memoryUtilityLearningEnabled":{"label":"Utility Learning","advanced":true},"promotionByOutcomeEnabled":{"label":"Promotion By Outcome","advanced":true,"help":"Outcome-aware promotion controls that consume learned utility signals in later rollout slices."},"commitmentLedgerEnabled":{"label":"Commitment Ledger","advanced":true},"commitmentLifecycleEnabled":{"label":"Commitment Lifecycle","advanced":true,"help":"Fulfillment transitions, stale tracking, and resolved-entry cleanup for the commitment ledger."},"commitmentStaleDays":{"label":"Commitment Stale Days","advanced":true,"help":"Days before an open commitment without a due date counts as stale."},"commitmentLedgerDir":{"label":"Commitment Ledger Directory","advanced":true,"placeholder":"{memoryDir}/state/commitment-ledger","help":"Override where commitment ledger entries are stored."},"resumeBundlesEnabled":{"label":"Resume Bundles","advanced":true,"help":"Enable deterministic resume-bundle storage and explicit handoff bundle commands."},"resumeBundleDir":{"label":"Resume Bundle Directory","advanced":true,"placeholder":"{memoryDir}/state/resume-bundles","help":"Override where resume bundles are stored."},"workProductRecallEnabled":{"label":"Work-Product Recall","advanced":true},"workProductLedgerDir":{"label":"Work-Product Ledger Directory","advanced":true,"placeholder":"{memoryDir}/state/work-product-ledger","help":"Override where work-product ledger entries are stored."},"actionGraphRecallEnabled":{"label":"Action Graph Recall"},"factDeduplicationEnabled":{"label":"Fact Deduplication","help":"Prevent storing semantically identical facts using content hashing"},"semanticDedupEnabled":{"label":"Semantic Dedup (write-time)","help":"Skip near-duplicate facts at write time by comparing embeddings to existing memories."},"semanticDedupThreshold":{"label":"Semantic Dedup Threshold","advanced":true,"placeholder":"0.92"},"semanticDedupCandidates":{"label":"Semantic Dedup Candidates","advanced":true,"placeholder":"5"},"factArchivalEnabled":{"label":"Fact Archival","help":"Automatically archive old, low-importance, rarely-accessed facts during consolidation"},"factArchivalAgeDays":{"label":"Archival Age (days)","advanced":true,"placeholder":"90"},"factArchivalMaxImportance":{"label":"Archival Max Importance","advanced":true,"placeholder":"0.3"},"factArchivalMaxAccessCount":{"label":"Archival Max Access Count","advanced":true,"placeholder":"2"},"factArchivalProtectedCategories":{"label":"Archival Protected Categories","advanced":true,"help":"Categories that are never archived regardless of age or importance"},"lifecyclePolicyEnabled":{"label":"Lifecycle Policy Engine","help":"Enable lifecycle scoring/promotions during consolidation (v8.3)"},"lifecycleFilterStaleEnabled":{"label":"Filter Stale Lifecycle Memories","advanced":true,"help":"retrieval may filter stale lifecycle memories (activated in PR20D)"},"lifecyclePromoteHeatThreshold":{"label":"Lifecycle Promote Heat Threshold","advanced":true,"placeholder":"0.55"},"lifecycleStaleDecayThreshold":{"label":"Lifecycle Stale Decay Threshold","advanced":true,"placeholder":"0.65"},"lifecycleArchiveDecayThreshold":{"label":"Lifecycle Archive Decay Threshold","advanced":true,"placeholder":"0.85"},"lifecycleProtectedCategories":{"label":"Lifecycle Protected Categories","advanced":true,"help":"Categories lifecycle policy should not auto-archive"},"lifecycleMetricsEnabled":{"label":"Lifecycle Metrics","advanced":true,"help":"Write lifecycle metrics snapshots to state/lifecycle-metrics.json"},"proactiveExtractionEnabled":{"label":"Proactive Extraction"},"contextCompressionActionsEnabled":{"label":"Context Compression Actions","help":"Enable context compression action tools and action telemetry (v8.3, default off)"},"compressionGuidelineLearningEnabled":{"label":"Compression Guideline Learning","help":"Enable adaptive compression guideline learning from action outcomes (v8.3, default off)"},"compressionGuidelineSemanticRefinementEnabled":{"label":"Compression Semantic Refinement","advanced":true,"help":"semantic refinement after deterministic guideline generation (v8.11, default off)."},"compressionGuidelineSemanticTimeoutMs":{"label":"Compression Semantic Timeout (ms)","advanced":true,"placeholder":"2500"},"maxProactiveQuestionsPerExtraction":{"label":"Max Proactive Questions / Extraction","advanced":true,"placeholder":"2"},"proactiveExtractionTimeoutMs":{"label":"Proactive Extraction Timeout (ms)","advanced":true,"placeholder":"2500"},"proactiveExtractionSkipWhenLocalLlmBusy":{"label":"Skip Proactive When Local LLM Busy","advanced":true,"help":"Skip the proactive extraction pass when the local LLM lane is saturated instead of queueing behind an in-flight extraction."},"proactiveExtractionMaxTokens":{"label":"Proactive Extraction Max Tokens","advanced":true,"placeholder":"900"},"extractionMaxOutputTokens":{"label":"Extraction Max Output Tokens","advanced":true,"placeholder":"16384"},"proactiveExtractionCategoryAllowlist":{"label":"Proactive Category Allowlist","advanced":true,"help":"list of memory categories that proactive second-pass writes may emit"},"maxCompressionTokensPerHour":{"label":"Max Compression Tokens / Hour","advanced":true,"placeholder":"1500"},"behaviorLoopAutoTuneEnabled":{"label":"Behavior Loop Auto-Tune","help":"Bounded runtime policy auto-tuning from correction/preference signals (v8.15, default off)."},"behaviorLoopLearningWindowDays":{"label":"Behavior Learning Window (days)","advanced":true,"placeholder":"14"},"behaviorLoopMinSignalCount":{"label":"Behavior Min Signal Count","advanced":true,"placeholder":"10"},"behaviorLoopMaxDeltaPerCycle":{"label":"Behavior Max Delta / Cycle","advanced":true,"placeholder":"0.1"},"behaviorLoopProtectedParams":{"label":"Behavior Protected Params","advanced":true,"help":"Parameter keys that auto-tuning must never change"},"knowledgeIndexEnabled":{"label":"Knowledge Index","help":"Inject a compact table of top entities into every recall"},"knowledgeIndexMaxEntities":{"label":"Knowledge Index Max Entities","advanced":true,"placeholder":"40"},"knowledgeIndexMaxChars":{"label":"Knowledge Index Max Chars","advanced":true,"placeholder":"4000"},"entityRetrievalEnabled":{"label":"Entity Retrieval","help":"Inject direct-answer entity hints for entity questions and short follow-up queries"},"entityRetrievalMaxChars":{"label":"Entity Retrieval Max Chars","advanced":true,"placeholder":"2400"},"entityRetrievalMaxHints":{"label":"Entity Retrieval Max Hints","advanced":true,"placeholder":"2"},"entityRetrievalMaxSupportingFacts":{"label":"Entity Retrieval Max Supporting Facts","advanced":true,"placeholder":"6"},"entityRetrievalMaxRelatedEntities":{"label":"Entity Retrieval Max Related Entities","advanced":true,"placeholder":"3"},"entityRetrievalRecentTurns":{"label":"Entity Retrieval Recent Turns","advanced":true,"placeholder":"6"},"entityRelationshipsEnabled":{"label":"Entity Relationships"},"entityActivityLogEnabled":{"label":"Entity Activity Log"},"entityActivityLogMaxEntries":{"label":"Activity Log Max Entries","advanced":true,"placeholder":"20"},"entityAliasesEnabled":{"label":"Entity Aliases"},"entitySummaryEnabled":{"label":"Entity Summaries"},"entitySynthesisMaxTokens":{"label":"Entity Synthesis Max Tokens","advanced":true,"placeholder":"500"},"recallBudgetChars":{"label":"Recall Budget (Chars)","advanced":true,"placeholder":"8000"},"recallProfileMaxRatio":{"label":"Recall Profile Budget Share","advanced":true,"placeholder":"0.3"},"recallStateViews":{"label":"State-Aware Recall Views","advanced":true,"help":"Labeled supersession history on change-intent queries (when did / used to / switched)."},"recallStandingBlock":{"label":"Standing Memory Block","advanced":true,"help":"Byte-stable pinned-memory index before per-turn recall to keep the LLM prefix cache warm (#2971)."},"directorySidecarsEnabled":{"label":"Directory Sidecars","advanced":true,"help":"Write per-directory overview.md sidecars and use them in recall drill-down (issue #3088)."},"standingBlockFreshDays":{"label":"Standing Block Fresh Window","advanced":true,"placeholder":"14","help":"Days a memory stays in full text before compressing to a recognition hook."},"standingBlockMaxChars":{"label":"Standing Block Budget","advanced":true,"placeholder":"2048","help":"Hard character budget for the standing memory block."},"recallRecognitionTier":{"label":"Full-Index Recognition Tier","advanced":true,"help":"Small namespaces recognize against the whole compact index instead of vector search (#2975)."},"recognitionIndexMaxEntries":{"label":"Recognition Index Threshold","advanced":true,"placeholder":"500","help":"Max index entries for the full-index recognition tier to engage."},"recallPipeline":{"label":"Recall Pipeline","advanced":true,"help":"Ordered section configuration for recall assembly and per-section limits"},"recallMmrEnabled":{"label":"Recall MMR (Diversity)","advanced":true,"help":"Apply Maximal Marginal Relevance per-section so duplicate clusters cannot dominate the recall budget."},"recallMmrLambda":{"label":"MMR Lambda","advanced":true,"placeholder":"0.7","help":"1.0 = pure relevance, 0.0 = pure diversity. Default 0.7."},"recallMmrTopN":{"label":"MMR Top-N","advanced":true,"placeholder":"40","help":"Number of top candidates per section over which MMR is applied"},"recallReasoningTraceBoostEnabled":{"label":"Boost Reasoning Traces on Problem-Solving Queries","advanced":true,"help":"Promote reasoning_trace memories in recall when the query reads like a problem-solving ask. Default off; enable after benchmarking."}},"commandAliases":[{"name":"remnic","kind":"runtime-slash","cliCommand":"remnic"}],"activation":{"onStartup":false,"onCommands":["remnic"],"onCapabilities":["tool","hook"]}}
1
+ {"id":"openclaw-remnic","name":"Remnic OpenClaw Plugin","version":"10.0.187","kind":"memory","description":"Local semantic memory for OpenClaw with bundled Remnic core. Needs plugins.slots.memory = this plugin id for hooks to fire.","setup":{"requiresRuntime":false,"providers":[{"id":"openai","authMethods":["api-key"],"envVars":["OPENAI_API_KEY"]}]},"providerAuthChoices":[{"provider":"openai","method":"api-key","choiceId":"remnic-openai-api-key","choiceLabel":"Optional OpenAI API key for Remnic plugin-mode extraction","choiceHint":"Not needed when Remnic uses the OpenClaw gateway model source. Set only if you intentionally use plugin mode with OpenAI or an OpenAI-compatible endpoint.","groupId":"remnic-memory","groupLabel":"Remnic memory","optionKey":"openaiApiKey","cliFlag":"--openai-api-key","cliOption":"--openai-api-key <key>","cliDescription":"Optional OpenAI API key used by Remnic plugin-mode extraction, consolidation, and embedding flows.","onboardingScopes":["text-inference"]}],"providerAuthEnvVars":{"openai":["OPENAI_API_KEY"]},"supports":{"memorySlot":true,"dreamingSlot":true,"activeMemory":true,"heartbeat":true,"commandsList":true,"beforeReset":true},"contracts":{"tools":["compounding_promote_candidate","compounding_weekly_synthesize","compression_guidelines_activate","compression_guidelines_optimize","context_checkpoint","continuity_audit_generate","continuity_incident_close","continuity_incident_list","continuity_incident_open","continuity_loop_add_or_update","continuity_loop_review","conversation_index_update","engram_context_describe","engram_context_expand","engram_context_search","engram_profiling_report","identity_anchor_get","identity_anchor_update","memory_action_apply","memory_capture","memory_entities","memory_feedback","memory_feedback_last_recall","memory_get","memory_governance_run","memory_graph_explain_last_recall","memory_identity","memory_intent_debug","memory_last_recall","memory_profile","memory_promote","memory_qmd_debug","memory_questions","memory_search","memory_store","memory_summarize_hourly","remnic_context_describe","remnic_context_expand","remnic_context_search","remnic_profiling_report","shared_context_cross_signals_run","shared_context_curate_daily","shared_context_write_output","shared_feedback_record","shared_priorities_append","work_board","work_project","work_task"]},"configSchema":{"type":"object","additionalProperties":false,"properties":{"abstractionAnchorsEnabled":{"type":"boolean","default":false,"description":"Enable typed cue-anchor indexing for abstraction nodes and expose it through cue-anchor status tooling."},"abstractionNodeStoreDir":{"type":"string","description":"Override the abstraction-node store directory (defaults to {memoryDir}/state/abstraction-nodes)."},"accessTrackingBufferMaxSize":{"type":"number","default":100,"description":"Max entries in access tracking buffer before flush"},"accessTrackingEnabled":{"type":"boolean","default":true,"description":"Track memory access counts and recency"},"actionGraphRecallEnabled":{"type":"boolean","default":false,"description":"Write action-conditioned causal-stage edges from typed trajectory records into the causal graph."},"activeContextMaxMessages":{"type":"integer","minimum":1,"maximum":1000,"default":200,"description":"Max messages accepted in one active-context snapshot."},"activeContextMaxSnapshotChars":{"type":"integer","minimum":1,"maximum":1000000,"default":200000,"description":"Max total content chars accepted in one active-context snapshot."},"activeContextMinRetainedMessages":{"type":"integer","minimum":1,"maximum":50,"default":3,"description":"Floor on messages retained after an active-context plan applies."},"activeContextPlanTtlMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"TTL in minutes for active-context plans and retained snapshots."},"activeContextRetentionMaxBytes":{"type":"integer","minimum":1,"maximum":10000000,"default":1000000,"description":"Max bytes for the adapter-local retained source snapshot."},"activeContextSummaryMaxTokens":{"type":"integer","minimum":1,"maximum":4096,"default":512,"description":"Max output tokens for one SUMMARY replacement."},"activeContextTransformLlmEnabled":{"type":"boolean","default":false,"description":"Permit method=llm active-context SUMMARY plans; auto degrades to deterministic when off."},"activeRecallAgents":{"type":"array","items":{"type":"string"},"description":"allowlist of OpenClaw agent ids that may use active recall."},"activeRecallAllowChainedActiveMemory":{"type":"boolean","default":false,"description":"Compat-only: chain the active-recall block into the bundled active-memory surface. Redundant in memory-slot mode; true only for layering both."},"activeRecallAllowedChatTypes":{"type":"array","items":{"type":"string","enum":["direct","group","channel"]},"default":["direct","group","channel"],"description":"OpenClaw chat types eligible for active recall."},"activeRecallAttachRecallExplain":{"type":"boolean","default":false,"description":"Attach recall explain output to active-recall diagnostics."},"activeRecallCacheTtlMs":{"type":"integer","minimum":0,"maximum":120000,"default":15000,"description":"Cache TTL for active-recall summaries; 0 disables the cache."},"activeRecallCustomInstruction":{"type":"string","description":"custom guidance for the active-recall builder."},"activeRecallEnabled":{"type":"boolean","default":false,"description":"Enable the optional Remnic-native pre-reply recall block. Memory-slot prompt injection does not require it."},"activeRecallEntityGraphDepth":{"type":"integer","minimum":0,"maximum":3,"default":1,"description":"Entity-graph traversal depth used by active recall."},"activeRecallIncludeCausalTrajectories":{"type":"boolean","default":false,"description":"Include causal trajectory recall evidence in active-recall summaries."},"activeRecallIncludeDaySummary":{"type":"boolean","default":false,"description":"Include the latest day summary in active-recall context."},"activeRecallMaxSummaryChars":{"type":"integer","minimum":40,"maximum":1000,"default":220,"description":"Maximum summary size produced by the active-recall surface."},"activeRecallModel":{"type":"string","description":"model selection for active recall."},"activeRecallModelFallbackPolicy":{"type":"string","enum":["default-remote","resolved-only"],"default":"default-remote","description":"How active recall falls back when an explicit model cannot be resolved."},"activeRecallPersistTranscripts":{"type":"boolean","default":false,"description":"Persist full active-recall request and response transcripts."},"activeRecallPromptAppend":{"type":"string","description":"additional guidance for the active-recall builder."},"activeRecallPromptOverride":{"type":"string","description":"Legacy optional custom instruction for the active-recall builder."},"activeRecallPromptReplacement":{"type":"string","description":"complete replacement prompt for the active-recall builder."},"activeRecallPromptStyle":{"type":"string","enum":["balanced","strict","contextual","recall-heavy","precision-heavy","preference-only"],"default":"balanced","description":"Context assembly style for the active-recall surface."},"activeRecallQueryMode":{"type":"string","enum":["recent","message","full"],"default":"recent","description":"How much recent OpenClaw conversation context is fed into the active-recall query builder."},"activeRecallRecentAssistantChars":{"type":"integer","minimum":40,"maximum":1000,"default":400,"description":"Per-assistant-turn character cap for active-recall context assembly."},"activeRecallRecentAssistantTurns":{"type":"integer","minimum":0,"maximum":3,"default":1,"description":"How many recent assistant turns to include in the active-recall query context."},"activeRecallRecentUserChars":{"type":"integer","minimum":40,"maximum":1000,"default":600,"description":"Per-user-turn character cap for active-recall context assembly."},"activeRecallRecentUserTurns":{"type":"integer","minimum":0,"maximum":4,"default":2,"description":"How many recent user turns to include in the active-recall query context."},"activeRecallThinking":{"type":"string","enum":["off","minimal","low","medium","high","xhigh","adaptive"],"default":"low","description":"Reasoning effort used by the active-recall engine."},"activeRecallTimeoutMs":{"type":"integer","minimum":250,"default":15000,"description":"Timeout for an active-recall run."},"activeRecallTranscriptDir":{"type":"string","default":"active-recall","description":"Memory-relative directory for active-recall transcripts."},"agentAccessHttp":{"type":"object","additionalProperties":false,"description":"Optional: run a local authenticated HTTP API so non-OpenClaw clients can query Engram directly.","properties":{"enabled":{"type":"boolean","default":false,"description":"Start the local Engram HTTP access server during plugin startup."},"host":{"type":"string","default":"127.0.0.1","description":"Loopback host to bind for the Engram HTTP access server."},"port":{"type":"number","default":4318,"description":"Bind port for the Engram HTTP access server. Use 0 for an ephemeral port."},"writeRateLimitMaxRequests":{"type":"number","minimum":1,"default":30,"description":"Max write requests (stores, observes) per rolling window before the HTTP API returns 429 write_rate_limited."},"writeRateLimitWindowMs":{"type":"number","minimum":1,"default":60000,"description":"Rolling window for the write rate limit, (ms). Positive integer."},"authToken":{"description":"Bearer token for the local Remnic HTTP API: literal (${ENV_VAR} ok) or SecretRef. Else the OPENCLAW_REMNIC/ENGRAM_ACCESS_TOKEN env vars.","anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1},"provider":{"type":"string"},"id":{"type":"string"},"command":{}}}]},"principal":{"type":"string","description":"Trusted principal bound to the local Engram access bridge; overrides client sessionKey for namespace writes. Else OPENCLAW_ENGRAM_ACCESS_PRINCIPAL."},"maxBodyBytes":{"type":"number","default":131072,"description":"Maximum accepted JSON request body size for the local Remnic HTTP API."},"trustPrincipalHeader":{"type":"boolean","default":false,"description":"Trust the x-engram-principal request header for per-request principal resolution; only behind a trusted proxy or trusted auth token."}},"required":["enabled"]},"autoPromoteMinConfidenceTier":{"type":"string","enum":["explicit","implied"],"default":"explicit","description":"Minimum confidence tier for auto-promotion."},"autoPromoteToSharedCategories":{"type":"array","items":{"type":"string","enum":["fact","correction","decision","preference"]},"default":["fact","correction","decision","preference"],"description":"Categories eligible for auto-promotion to shared."},"autoPromoteToSharedEnabled":{"type":"boolean","default":false,"description":"If enabled, Engram may auto-promote selected categories to shared (reserved; conservative)."},"backgroundGeneration":{"type":"object","additionalProperties":false,"description":"Chat-only Hermes loopback bridge. Consumed only by hourly background generation. Never assigned to openaiBaseUrl.","properties":{"endpoint":{"type":"string","description":"Full chat-completions URL for the Hermes loopback bridge."},"token":{"type":"string","description":"Loopback bearer from the generated client file."},"timeoutSeconds":{"type":"number","exclusiveMinimum":0,"default":120,"description":"Absolute deadline in seconds for one background-generation request."},"timeout_seconds":{"type":"number","exclusiveMinimum":0,"description":"Snake-case alias of timeoutSeconds used by the generated Hermes client file."}},"required":["endpoint","token"]},"beforeResetTimeoutMs":{"type":"integer","minimum":100,"maximum":30000,"default":2000,"description":"Maximum time to wait for a reset-triggered flush before returning control to OpenClaw."},"behaviorLoopAutoTuneEnabled":{"type":"boolean","default":false,"description":"Enable runtime behavior-loop policy auto-tuning (v8.15, default off)."},"behaviorLoopLearningWindowDays":{"type":"number","default":14,"description":"Rolling signal window used for behavior-loop policy learning (days; 0 allowed)."},"behaviorLoopMaxDeltaPerCycle":{"type":"number","default":0.1,"description":"Maximum absolute parameter delta allowed per learning cycle (0-1)."},"behaviorLoopMinSignalCount":{"type":"number","default":10,"description":"Minimum signal volume required before behavior-loop adjustments are emitted (0 allowed)."},"behaviorLoopProtectedParams":{"type":"array","items":{"type":"string"},"default":["maxMemoryTokens","qmdMaxResults","qmdColdMaxResults","recallPlannerMaxQmdResultsMinimal","verbatimArtifactsMaxRecall"],"description":"Runtime parameters that auto-tuning must never modify."},"benchmarkBaselineSnapshotsEnabled":{"type":"boolean","default":false,"description":"Enable versioned benchmark baseline snapshot artifacts under the eval store for later PR delta reporting."},"benchmarkDeltaReporterEnabled":{"type":"boolean","default":false,"description":"Enable named-baseline delta reports so PR candidates can be compared against stored benchmark baselines."},"benchmarkStoredBaselineEnabled":{"type":"boolean","default":false,"description":"Enable stored baseline comparisons for benchmark delta reporting."},"binaryLifecycleBackendPath":{"type":"string","default":"","description":"Base path for the filesystem storage backend."},"binaryLifecycleBackendType":{"type":"string","enum":["none","filesystem","s3"],"default":"none","description":"Storage backend for binary lifecycle mirror stage."},"binaryLifecycleEnabled":{"type":"boolean","default":false,"description":"Binary file lifecycle management: binary files in the memory directory are mirrored, redirected, and cleaned."},"binaryLifecycleGracePeriodDays":{"type":"number","default":7,"minimum":0,"description":"Days to wait before cleaning local copies of mirrored binary files."},"boostAccessCount":{"type":"boolean","default":true,"description":"Boost frequently accessed memories in search results"},"boxMaxMemories":{"type":"number","default":50,"description":"Maximum memories per box before forced seal."},"boxRecallDays":{"type":"number","default":3,"description":"Number of recent days of boxes to add during recall."},"boxTimeGapMs":{"type":"number","default":1800000,"description":"Time gap (ms) before an open box is sealed (default 30 min)."},"boxTopicShiftThreshold":{"type":"number","default":0.35,"description":"Jaccard overlap threshold below which a topic shift seals the current box (0–1)."},"briefing":{"type":"object","additionalProperties":false,"default":{"enabled":true,"defaultWindow":"yesterday","defaultFormat":"markdown","maxFollowups":5,"calendarSource":null,"saveByDefault":false,"saveDir":null,"llmFollowups":true},"properties":{"enabled":{"type":"boolean","default":true},"defaultWindow":{"type":"string","default":"yesterday"},"defaultFormat":{"type":"string","enum":["markdown","json"],"default":"markdown"},"maxFollowups":{"type":"integer","minimum":0,"maximum":10,"default":5},"calendarSource":{"type":["string","null"],"default":null},"saveByDefault":{"type":"boolean","default":false},"saveDir":{"type":["string","null"],"default":null},"llmFollowups":{"type":"boolean","default":true}},"description":"Daily Context Briefing knobs; child keys carry defaults."},"bufferMaxMinutes":{"type":"number","default":15,"description":"Max minutes before forced extraction"},"bufferMaxTurns":{"type":"number","default":5,"description":"Max turns before forced extraction"},"bufferMaxSessions":{"type":"number","default":1000,"description":"Distinct sessions the extraction buffer admits before backpressure (#3303); raised from 200"},"bufferMaxTurnsPerSession":{"type":"number","default":2000,"description":"Retained turns admitted per session before live backpressure (#3415 bound)"},"extractionQueueConcurrency":{"type":"integer","default":2,"minimum":1,"description":"Concurrent background extraction tasks on the daemon queue (tasks sharing a buffer/session key never run concurrently)."},"bufferSaveDebounceMs":{"type":"integer","default":3000,"minimum":0,"maximum":2147483647,"description":"Debounce (ms) for persisting the smart buffer to state/buffer.json (trailing-edge); trigger/clear and shutdown flush at once. 0 = every turn."},"bufferSurpriseK":{"type":"number","default":5,"minimum":1,"description":"Nearest-neighbor memories averaged for the surprise score. Clamped to the recent-memory window size."},"bufferSurpriseProbeTimeoutMs":{"type":"number","default":2000,"minimum":1,"description":"Hard timeout (ms) for the surprise probe; unresolved probe counts as failed, falling to existing triggers (a hung embedder can't stall turn-append)."},"bufferSurpriseRecentMemoryCount":{"type":"number","default":20,"minimum":0,"description":"Max recent memories sampled for surprise scoring (bounds per-turn embedding cost). 0 effectively disables the trigger."},"bufferSurpriseThreshold":{"type":"number","default":0.35,"minimum":0,"maximum":1,"description":"Surprise-score threshold in [0,1] that flushes the buffer; higher = more novelty required. Ignored when bufferSurpriseTriggerEnabled is off."},"bufferSurpriseTriggerEnabled":{"type":"boolean","default":false,"description":"(D-MEM). Smart buffer also flushes on turns whose surprise score exceeds bufferSurpriseThreshold; additive, never suppresses other triggers"},"calibrationEnabled":{"type":"boolean","default":false,"description":"Enable recall calibration rules (v9.0, default off)."},"calibrationMaxChars":{"type":"number","default":1200,"description":"Maximum characters of calibration content to include per recall pass."},"calibrationMaxRulesPerRecall":{"type":"number","default":10,"description":"Maximum number of calibration rules to include per recall pass."},"captureMode":{"type":"string","enum":["implicit","explicit","hybrid"],"default":"implicit","description":"Memory capture policy: implicit = normal extraction, explicit = structured capture only, hybrid = both."},"causalGraphEnabled":{"type":"boolean","default":true,"description":"Build causal inference graph from heuristic phrases (requires multiGraphMemoryEnabled)"},"causalRuleExtractionEnabled":{"type":"boolean","default":false,"description":"PlugMem-inspired causal rule extraction: mine IF-THEN rules from conversations during consolidation"},"causalTrajectoryMemoryEnabled":{"type":"boolean","default":false,"description":"Enable Engram's causal-trajectory memory foundation for typed goal-action-observation-outcome chains."},"causalTrajectoryRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant causal trajectories to recall context."},"causalTrajectoryStoreDir":{"type":"string","description":"Override the causal-trajectory memory directory (defaults to {memoryDir}/state/causal-trajectories)."},"chat":{"type":"object","additionalProperties":false,"description":"Conversational memory inspection and correction: bounded tool-loop agent over read-only + confirmation-gated mutating tools. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Off = no chat tools/endpoints/CLI registered (byte-identical surfaces, rule 39)."},"model":{"type":"string","default":"","description":"Routing override for the chat LLM. Empty = use the default routing chain (local Ollama/vLLM fully supported)."},"maxToolCallsPerTurn":{"type":"integer","minimum":1,"maximum":64,"default":8,"description":"Max tool calls per user turn before partial-reply fallback."},"sessionTtlHours":{"type":"integer","minimum":1,"default":72,"description":"Hours after which idle chat session state is cleaned up."}}},"checkpointEnabled":{"type":"boolean","default":true,"description":"Enable conversation checkpoints"},"checkpointTurns":{"type":"number","default":15,"description":"Number of turns per checkpoint"},"chunkingEnabled":{"type":"boolean","default":false,"description":"Enable automatic chunking of long memories"},"chunkingMinTokens":{"type":"number","default":150,"description":"Minimum tokens to trigger chunking"},"chunkingOverlapSentences":{"type":"number","default":2,"description":"Number of sentences to overlap between chunks"},"chunkingTargetTokens":{"type":"number","default":200,"description":"Target tokens per chunk"},"citationsAutoDetect":{"type":"boolean","default":true,"description":"Auto-enable citations when the Codex adapter is detected."},"citationsEnabled":{"type":"boolean","default":false,"description":"Enable oai-mem-citation blocks in recall responses for Codex citation parity."},"cmcBehaviorConfidenceThreshold":{"type":"number","default":0.6,"description":"Minimum confidence threshold for CMC behavior patterns (0-1)."},"cmcBehaviorLearningEnabled":{"type":"boolean","default":false,"description":"Enable CMC behavior pattern learning (default off)."},"cmcBehaviorMinFrequency":{"type":"number","default":3,"description":"Minimum frequency for a behavior pattern to be learned by CMC."},"cmcBehaviorMinSessions":{"type":"number","default":2,"description":"Minimum sessions a behavior must appear in before CMC learns it."},"cmcConsolidationEnabled":{"type":"boolean","default":false,"description":"Enable CMC consolidation pass (default off)."},"cmcConsolidationMinRecurrence":{"type":"number","default":3,"description":"Minimum recurrence count before a CMC pattern is consolidated."},"cmcConsolidationMinSessions":{"type":"number","default":2,"description":"Minimum sessions a CMC pattern must appear in before consolidation."},"cmcConsolidationSuccessThreshold":{"type":"number","default":0.7,"description":"Minimum success ratio required to consolidate a CMC pattern (0-1)."},"cmcEnabled":{"type":"boolean","default":false,"description":"Enable Causal Memory Consolidation (CMC) subsystem (default off)."},"cmcLifecycleCausalImpactWeight":{"type":"number","default":0.05,"description":"Deprecated: no effect (#3667). Kept so configs load."},"cmcRetrievalCounterfactualBoost":{"type":"number","default":0.4,"description":"Score boost applied to counterfactual nodes during CMC retrieval (0-1)."},"cmcRetrievalEnabled":{"type":"boolean","default":false,"description":"Enable CMC retrieval at recall time (default off)."},"cmcRetrievalMaxChars":{"type":"number","default":800,"description":"Maximum characters of CMC content included per recall pass."},"cmcRetrievalMaxDepth":{"type":"number","default":3,"description":"Maximum graph depth traversed during CMC retrieval."},"cmcStitchLookbackDays":{"type":"number","default":7,"description":"Number of days to look back when stitching causal trajectories."},"cmcStitchMaxEdgesPerTrajectory":{"type":"number","default":3,"description":"Maximum edges per trajectory during CMC stitching."},"cmcStitchMinScore":{"type":"number","default":2.5,"description":"Minimum score for a causal edge to be stitched into a trajectory."},"codex":{"type":"object","additionalProperties":false,"default":{},"properties":{"installExtension":{"type":"boolean","default":true,"description":"Install the Remnic Codex memory extension during Codex connector setup."},"codexHome":{"type":["string","null"],"default":null,"description":"Codex home directory override used for connector install and materialization."}}},"codexCompat":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false},"threadIdBufferKeying":{"type":"boolean","default":true},"compactionFlushMode":{"type":"string","enum":["signal","heuristic","auto"],"default":"auto"},"fingerprintDedup":{"type":"boolean","default":true}}},"codexMarketplaceEnabled":{"type":"boolean","default":true,"description":"Enable Codex marketplace integration for plugin discovery and installation."},"codexMaterializeMaxSummaryTokens":{"type":"number","minimum":0,"default":4500,"description":"Script-aware estimated-token cap for Codex memory summary materialization."},"codexMaterializeMemories":{"type":"boolean","default":true,"description":"Enable Codex native memory materialization into the Codex memories directory."},"codexMaterializeNamespace":{"type":"string","default":"auto","description":"Namespace to materialize for Codex. \"auto\" derives the namespace from the active connector context."},"codexMaterializeOnConsolidation":{"type":"boolean","default":true,"description":"Run Codex memory materialization after semantic or causal consolidation completes."},"codexMaterializeOnSessionEnd":{"type":"boolean","default":true,"description":"Run Codex memory materialization from the Codex session-end hook."},"codexMaterializeRolloutRetentionDays":{"type":"number","minimum":0,"default":30,"description":"Retention window in days for Codex rollout materialization artifacts."},"actionGate":{"type":"object","additionalProperties":false,"default":{},"description":"Action-site failure gate: advisory delivery of failure memories when an action is proposed. Advisory only; never blocks or delays.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. When false there are no gate lookups, no matching, and no suppression bookkeeping on any path."},"timeoutMs":{"type":"integer","minimum":1,"maximum":5000,"default":50,"description":"Hard latency cap for one gate evaluation. Overrun fails open with an ERROR_FAIL_OPEN record and the action proceeds."},"maxAdvisoriesPerTurn":{"type":"integer","minimum":0,"maximum":20,"default":3,"description":"Advisories injected per turn, deduplicated per memory per turn (0 disables injection and all gate lookups)."}}},"codingKnowledge":{"type":"object","additionalProperties":false,"default":{},"description":"Durable coding-knowledge surface (Track A): master gate + switches for decision records, architecture card, session delta, structural provider. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Off (default) = no Track A surface, no new tools / briefing lines / state directories. On enables the switches below."},"decisionRecords":{"type":"boolean","default":true,"description":"Decision-record surfaces (list/record/supersede) + briefing titles of standing decisions. Effective only under the master gate."},"architectureCard":{"type":"boolean","default":true,"description":"Architecture-card build/refresh + briefing injection. Effective only under the master gate."},"sessionDelta":{"type":"boolean","default":true,"description":"Last-seen-head persistence + delta briefing line. Effective only under the master gate."},"architectureCardLlmSummary":{"type":"boolean","default":false,"description":"Opt-in LLM summary pass on the architecture card (costs tokens). Default off; effective only under master + card gates."},"structuralProvider":{"type":"string","enum":["none","subprocess","native"],"default":"none","description":"Structural-context provider: \"none\" (default) = file-path-only; \"subprocess\" = structuralProviderCommand argv; \"native\" = engine (@remnic/coding-graph)."},"structuralProviderCommand":{"type":"string","default":"","description":"Absolute path to the subprocess binary when structuralProvider = \"subprocess\". Empty = unconfigured; validated at boot."},"codegraphTools":{"type":"boolean","default":false,"description":"Gate for the 14 codegraph parity tools. Default off = byte-identical tools/routes/help. Also needs @remnic/coding-graph."},"codegraphDbDir":{"type":"string","default":"","description":"Root dir for per-project graph SQLite DBs. Empty = <memoryDir>/codegraph/<principal>/<projectId>.sqlite; explicit values must be absolute."},"lsp":{"type":"object","additionalProperties":false,"description":"Phase B type resolution via LSP: codegraph_index runs LSP after the heuristic reindex to upgrade unresolved call-site edges. Needs language servers.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for LSP resolution. Off = heuristic edges only."},"servers":{"type":"object","description":"Per-language server launch-spec overrides: language ids (typescript, python, go, rust,..) map to replacement launch commands.","additionalProperties":{"type":"object","additionalProperties":false,"required":["command"],"properties":{"command":{"type":"string","description":"Server executable (resolved on PATH or absolute)."},"args":{"type":"array","items":{"type":"string"},"description":"Arguments (e.g. --stdio)."}}}},"timeoutMs":{"type":"number","default":3000,"description":"Handshake + per-request timeout in ms."},"maxRequestsPerRun":{"type":"number","default":500,"description":"Max LSP definition requests per index run."}}}}},"codingMode":{"type":"object","additionalProperties":false,"default":{},"description":"Coding-agent project/branch scoping.","properties":{"projectScope":{"type":"boolean","default":true,"description":"With a resolved git context, memory routes to a project-scoped namespace (project:<id>). false = pre-#569 behavior."},"branchScope":{"type":"boolean","default":false,"description":"Memory also overlays the current branch (project:<id>/branch:<name>). Opt-in (#569); most dev wants cross-branch recall."},"globalFallback":{"type":"boolean","default":true,"description":"When true (default), project-scoped sessions include the root namespace in read fallbacks. false = strict project isolation."}}},"collectJudgeTrainingPairs":{"type":"boolean","default":false,"description":"Opt-in collector for (candidate_text, verdict_kind, reason) tuples for a future GRPO pipeline. Rows land in ~/.remnic/judge-training/<date>.jsonl."},"commandsListEnabled":{"type":"boolean","default":true,"description":"Advertise Remnic slash-command descriptors through the registerCommand runtime surface."},"commitmentDecayDays":{"type":"integer","minimum":1,"default":90,"description":"Days before fulfilled/expired commitments are removed"},"commitmentLedgerDir":{"type":"string","description":"Override the commitment ledger directory (defaults to {memoryDir}/state/commitment-ledger)."},"commitmentLedgerEnabled":{"type":"boolean","default":false,"description":"Enable the explicit commitment ledger for promises, follow-ups, deadlines, and unfinished obligations."},"commitmentLifecycleEnabled":{"type":"boolean","default":false,"description":"Enable commitment lifecycle transitions, stale tracking, and resolved-entry cleanup for the commitment ledger."},"commitmentStaleDays":{"type":"number","default":14,"description":"Days before an open commitment without a due date is considered stale in lifecycle status."},"compactionResetEnabled":{"type":"boolean","default":false,"description":"Trigger session reset after compaction with BOOT.md recovery context (requires OC fork with api.resetSession)"},"compoundingEnabled":{"type":"boolean","default":false,"description":"Enable compounding engine (v5.0)"},"compoundingInjectEnabled":{"type":"boolean","default":true,"description":"Inject compounded mistakes/patterns into recall when compounding is enabled."},"compoundingSemanticEnabled":{"type":"boolean","default":false,"description":"Enable semantic compounding synthesis (reserved/experimental)."},"compoundingSynthesisTimeoutMs":{"type":"number","default":15000,"description":"Timeout for compounding synthesis (ms)."},"compoundingWeeklyCronEnabled":{"type":"boolean","default":false,"description":"With compoundingEnabled, the daemon runs synthesizeWeekly once per completed ISO week (incl. calibration). Default off; skips done weeks, catches up one."},"compressionGuidelineLearningEnabled":{"type":"boolean","default":false,"description":"Enable adaptive compression guideline learning from memory-action outcomes (v8.3, default off)."},"compressionGuidelineSemanticRefinementEnabled":{"type":"boolean","default":false,"description":"Enable optional semantic refinement pass after deterministic guideline candidate generation (v8.11, default off)."},"compressionGuidelineSemanticTimeoutMs":{"type":"number","default":2500,"description":"Hard timeout (ms) for semantic refinement; timeout fail-opens to deterministic output."},"connectors":{"type":"object","additionalProperties":false,"default":{},"description":"Live-connector configuration: each child object maps to one concrete LiveConnector. All off by default.","properties":{"googleDrive":{"type":"object","additionalProperties":false,"default":{},"description":"Google Drive live connector (N). Imports text content from a user's Drive into Remnic on a poll schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires clientId, clientSecret, and refreshToken populated before the connector runs."},"clientId":{"anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1}}}],"default":"","description":"OAuth2 client id. A string or a SecretRef resolved at poll time."},"clientSecret":{"anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1}}}],"default":"","description":"OAuth2 client secret. A string or a SecretRef resolved at poll time."},"refreshToken":{"anyOf":[{"type":"string"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1}}}],"default":"","description":"OAuth2 refresh token. A string or a SecretRef resolved at poll time."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."},"folderIds":{"type":"array","items":{"type":"string"},"default":[],"description":"Google Drive folder ids to scope the import. Empty = all accessible files; nested folders are NOT auto-included."}}},"notion":{"type":"object","additionalProperties":false,"default":{},"description":"Notion live connector (N). Imports text content from Notion database pages into Remnic on a poll schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires token and at least one databaseId populated before the connector runs."},"token":{"type":"string","default":"","description":"Notion integration token (starts with secret_). Populate from your secret store (e.g. ${NOTION_TOKEN}). Never commit a real value."},"databaseIds":{"type":"array","items":{"type":"string"},"default":[],"description":"Notion database ids to import pages from (32-hex or UUID). Empty = connector is a no-op."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."}}},"gmail":{"type":"object","additionalProperties":false,"default":{},"description":"Gmail live connector. Imports new inbox messages from Gmail into Remnic on a poll schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires clientId, clientSecret, and refreshToken populated before the connector runs."},"clientId":{"type":"string","default":"","description":"OAuth2 client id. Populate from your secret store (e.g. ${GMAIL_CLIENT_ID}). Never commit a real value."},"clientSecret":{"type":"string","default":"","description":"OAuth2 client secret. Populate from your secret store (e.g. ${GMAIL_CLIENT_SECRET}). Never commit a real value."},"refreshToken":{"type":"string","default":"","description":"OAuth2 refresh token for the Gmail scope. Populate from your secret store (e.g. ${GMAIL_REFRESH_TOKEN}). Never commit a real value."},"userId":{"type":"string","default":"me","description":"Gmail userId. Default 'me' (the authenticated user). Override only in delegated-access scenarios."},"query":{"type":"string","default":"in:inbox","description":"Gmail search query applied on top of the watermark after: filter. Default 'in:inbox'; '' imports all mail."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."}}},"github":{"type":"object","additionalProperties":false,"default":{},"description":"GitHub connector: imports issue comments, PR review comments, and optionally the user's discussion posts from watched repos on a schedule.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off; also requires token, userLogin, and at least one repo populated before the connector runs."},"token":{"type":"string","default":"","description":"GitHub personal access token. Populate from your secret store (e.g. ${GITHUB_TOKEN}). Never commit a real value."},"userLogin":{"type":"string","default":"","description":"GitHub login whose comments are imported; only comments by this login are ingested. Required when enabled."},"repos":{"type":"array","items":{"type":"string"},"default":[],"description":"Array of repos to poll in \"owner/repo\" format. Empty = connector is a no-op."},"pollIntervalMs":{"type":"integer","minimum":1000,"maximum":86400000,"default":300000,"description":"How often the scheduler calls the connector's syncIncremental (ms). Default 5 min; max 24h."},"includeDiscussions":{"type":"boolean","default":false,"description":"Whether to import GitHub Discussion comments in addition to issue and PR review comments"}}}}},"consolidateEveryN":{"type":"number","default":3,"description":"Run consolidation every N extractions"},"consolidationMinIntervalMs":{"type":"number","default":600000,"description":"Minimum interval between consolidation runs (ms)."},"consolidationRequireNonZeroExtraction":{"type":"boolean","default":true,"description":"Only schedule consolidation when the last extraction produced durable outputs."},"contextCompressionActionsEnabled":{"type":"boolean","default":false,"description":"Enable context compression action tooling and telemetry paths (v8.3, default off)."},"continuityAuditEnabled":{"type":"boolean","default":false,"description":"Enable continuity audit artifact generation workflows"},"continuityIncidentLoggingEnabled":{"type":"boolean","description":"When unset, defaults to identityContinuityEnabled. Controls continuity incident logging artifacts."},"contradictionAutoResolve":{"type":"boolean","default":true,"description":"Automatically supersede contradicted memories"},"contradictionDetectionEnabled":{"type":"boolean","default":false,"description":"Enable automatic contradiction detection with LLM verification"},"contradictionMinConfidence":{"type":"number","default":0.9,"description":"Minimum LLM confidence to auto-resolve contradictions"},"contradictionScan":{"type":"object","description":"Configuration for the nightly contradiction-scan cron","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable the nightly contradiction scan cron (disabled by default per rule 48)"},"similarityFloor":{"type":"number","default":0.82,"minimum":0,"maximum":1,"description":"Embedding cosine similarity floor for candidate pair generation"},"topicOverlapFloor":{"type":"number","default":0.4,"minimum":0,"maximum":1,"description":"Minimum topic-token Jaccard overlap for unstructured pairs"},"maxPairsPerRun":{"type":"integer","default":500,"minimum":1,"description":"Cap on candidate pairs evaluated per cron run"},"cooldownDays":{"type":"integer","default":14,"minimum":0,"description":"Cooldown in days. 0 = always re-evaluate."},"autoMergeDuplicates":{"type":"boolean","default":false,"description":"Auto-flag pairs judged duplicates for dedup (still requires user approval)"}}},"contradictionLocalization":{"type":"object","additionalProperties":false,"default":{"anchorEnabled":true,"anchorCandidates":5,"searchCandidates":5,"maxCandidates":8},"description":"Anchor-first contradiction candidate localization before QMD search.","properties":{"anchorEnabled":{"type":"boolean","default":true,"description":"Enable entityRef and category anchor candidates."},"anchorCandidates":{"type":"integer","minimum":0,"default":5,"description":"Maximum anchor candidates. 0 disables the anchor pass."},"searchCandidates":{"type":"integer","minimum":0,"default":5,"description":"Maximum QMD search candidates. 0 disables text search."},"maxCandidates":{"type":"integer","minimum":0,"default":8,"description":"Maximum merged candidates sent to the verifier."}}},"dependencyPropagation":{"type":"object","additionalProperties":false,"default":{"enabled":false,"linkTypes":["supports","follows"],"maxDependents":10,"timeoutMs":20000,"dryRun":false},"description":"Bounded one-hop dependency revalidation after supersession. Default off.","properties":{"enabled":{"type":"boolean","default":false},"linkTypes":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["supports","follows","references"]},"default":["supports","follows"]},"maxDependents":{"type":"integer","minimum":0,"default":10,"description":"Maximum active dependents to revalidate. 0 disables propagation."},"timeoutMs":{"type":"integer","minimum":1,"default":20000,"description":"Maximum duration of the batched revalidation call (ms)."},"dryRun":{"type":"boolean","default":false,"description":"Discover and revalidate dependents without writing supersession changes."}}},"contradictionSimilarityThreshold":{"type":"number","default":0.7,"description":"QMD similarity threshold to trigger contradiction check"},"converge":{"type":"object","additionalProperties":false,"default":{"conflictPolicy":"newest-wins"},"properties":{"conflictPolicy":{"type":"string","enum":["newest-wins","manual"],"default":"newest-wins","description":"Convergence conflict policy: newest-wins picks the newer revision on comparable timestamps; manual stops before mutation when conflicts remain."},"peerRequestTimeoutMs":{"type":"integer","minimum":1,"default":30000,"description":"Per-request peer HTTP timeout (ms) for converge plan/apply/watch. Boot-scale namespaces (~100k files) can exceed 30s. Clamped to 3600000."},"captureWriteLockInitialDelayMs":{"type":"integer","minimum":1,"default":50,"description":"First backoff window (ms; jittered, first wait ~half). Default 50. Clamped to 3600000; must be <= captureWriteLockMaxDelayMs."},"captureWriteLockMaxDelayMs":{"type":"integer","minimum":1,"default":2000,"description":"Cap on one backoff wait (ms). Default 2000, clamped to 3600000; must be <= captureWriteLockDeadlineMs."},"captureWriteLockDeadlineMs":{"type":"integer","minimum":1,"default":60000,"description":"Overall acquire deadline (ms). Default 60000; on expiry the transfer fails and the cycle continues. Below 2000ms, set captureWriteLockMaxDelayMs."}}},"conversationIndexBackend":{"type":"string","enum":["qmd","faiss"],"default":"qmd","description":"Conversation indexing backend: qmd = chunk docs in a QMD collection; faiss = Python sidecar, artifacts under state/conversation-index/faiss."},"conversationIndexEmbedOnUpdate":{"type":"boolean","default":false,"description":"If true, conversation_index_update also runs QMD embed by default. Keep false for lower load."},"conversationIndexEnabled":{"type":"boolean","default":false,"description":"Enable conversation chunk indexing + semantic recall hook (default off)."},"conversationIndexFaissHealthTimeoutMs":{"type":"number","default":2000,"description":"FAISS health-check timeout (ms). Fail-open; reports degraded when dependencies or local artifacts are missing."},"conversationIndexFaissIndexDir":{"type":"string","default":"state/conversation-index/faiss","description":"Directory under memoryDir for FAISS sidecar artifacts (index.faiss, metadata.jsonl, manifest.json)."},"conversationIndexFaissMaxBatchSize":{"type":"number","default":512,"description":"Maximum transcript chunk batch size per FAISS upsert call."},"conversationIndexFaissMaxSearchK":{"type":"number","default":50,"description":"Maximum top-K allowed for FAISS search requests."},"conversationIndexFaissModelId":{"type":"string","default":"text-embedding-3-small","description":"FAISS sidecar embedding model id. Without it: sentence-transformers when REMNIC_FAISS_ENABLE_ST=1 (legacy ENGRAM_ variant), else hash embeddings."},"conversationIndexFaissPythonBin":{"type":"string","default":"","description":"Python executable used to run the FAISS sidecar (for example python3.11)."},"conversationIndexFaissScriptPath":{"type":"string","default":"","description":"absolute path to FAISS sidecar script. else uses built-in default script location."},"conversationIndexFaissSearchTimeoutMs":{"type":"number","default":5000,"description":"Timeout (ms) for FAISS search operations."},"conversationIndexFaissUpsertTimeoutMs":{"type":"number","default":30000,"description":"Timeout (ms) for FAISS upsert operations."},"conversationIndexMinUpdateIntervalMs":{"type":"number","default":900000,"description":"Minimum interval between conversation_index_update runs per session (ms). Prevents redundant reindex churn."},"conversationIndexQmdCollection":{"type":"string","default":"openclaw-engram-conversations","description":"QMD collection to use for conversation chunk search (must be configured in ~/.config/qmd/index.yml)."},"conversationIndexRetentionDays":{"type":"number","default":30,"description":"Days to retain conversation chunk docs."},"conversationRecallMaxChars":{"type":"number","default":2500,"description":"Max characters of semantic conversation recall to include."},"conversationRecallTimeoutMs":{"type":"number","default":800,"description":"Timeout for semantic conversation recall search (ms). Fail-open on timeout."},"conversationRecallTopK":{"type":"number","default":3,"description":"Top-K conversation chunks to include."},"correctionApplyRequiresConfirm":{"type":"boolean","default":true,"description":"When true (default), memory_correct_apply requires confirm: true before mutating memory. Off allows one-shot apply."},"correctionCaptureAutoApplyMaxAffected":{"type":"integer","minimum":1,"default":2,"description":"Max memories a passive correction may affect in \"auto\" mode; larger plans queue anyway (blast-radius cap)"},"correctionCaptureConfidenceFloor":{"type":"number","minimum":0,"maximum":1,"default":0.85,"description":"Minimum planner confidence to auto-apply a passive correction in \"auto\" mode; lower plans queue anyway"},"correctionCaptureMode":{"type":"string","enum":["off","queue","auto"],"default":"off","description":"Passive correction capture: off, queue, or guarded auto-apply. Invalid values reject."},"correction":{"type":"object","description":"Memory-correction contract - nested form; nested keys win over the flat legacy correction* keys.","properties":{"enabled":{"type":"boolean","description":"Enable the correction contract (plan/apply). Default true."},"applyRequiresConfirm":{"type":"boolean","description":"Require confirm: true on memory_correct_apply. Default true."},"maxAffected":{"type":"integer","minimum":1,"description":"Maximum memories one correction plan may touch. Default 10."},"planTtlHours":{"type":"number","minimum":1,"description":"Hours a planned correction stays applicable. Default 24."},"classifyTimeoutMs":{"type":"integer","minimum":1,"maximum":300000,"default":45000,"description":"Per-attempt correction classification timeout (ms); local and gateway-fallback each get this budget. Caller abort cancels in-flight"}}},"correctionCapture":{"type":"object","description":"Implicit correction capture (nested form; nested keys win over the flat legacy correctionCapture* keys).","properties":{"mode":{"type":"string","enum":["off","queue","auto"],"description":"Implicit capture mode. Default off."},"confidenceFloor":{"type":"number","minimum":0,"maximum":1,"description":"Minimum detector confidence to act on. Default 0.85."},"autoApplyMaxAffected":{"type":"integer","minimum":1,"description":"Auto-apply ceiling on affected memories. Default 2."}}},"openclawHostEmbeddingProviderEnabled":{"type":"boolean","description":"Legacy alias for hostEmbeddingProviderEnabled (OpenClaw host embedding provider). Default true."},"openclawHostEmbeddingProviderId":{"type":"string","description":"Legacy alias for hostEmbeddingProviderId."},"openclawHostEmbeddingProviderModel":{"type":"string","description":"Legacy alias for hostEmbeddingProviderModel."},"correctionEnabled":{"type":"boolean","default":true,"description":"Correction Contract master gate: unified plan/apply pipeline for corrections (supersede/edit/retract/rescope/never-store). false disables all surfaces."},"correctionMaxAffected":{"type":"integer","minimum":1,"default":10,"description":"Max memories a single correction plan may affect; larger plans are refused, not truncated. Invalid values (0/negative/non-numeric) rejected."},"correctionPlanTtlHours":{"type":"number","minimum":1,"default":24,"description":"Hours a pending correction plan stays valid before expiring. Invalid values (0/negative/non-numeric) rejected."},"correctionClassifyTimeoutMs":{"type":"integer","minimum":1,"maximum":300000,"default":45000,"description":"Legacy key for correction.classifyTimeoutMs: per-attempt classification timeout (ms; local, then gateway). Integer 1..300000"},"creationMemoryEnabled":{"type":"boolean","default":false,"description":"Enable creation-memory foundations, including the work-product ledger for explicit outputs agents create."},"cronConversationRecallMode":{"type":"string","enum":["auto","always","never"],"default":"auto","description":"Controls conversation semantic recall in cron sessions. auto skips it for instruction-heavy prompts."},"cronRecallAllowlist":{"type":"array","items":{"type":"string"},"default":[],"description":"Session-key wildcard patterns (supports *) allowed for recall when cronRecallMode=allowlist."},"cronRecallInstructionHeavyTokenCap":{"type":"number","default":36,"description":"Maximum token count used to build compact retrieval queries for instruction-heavy cron prompts."},"cronRecallMode":{"type":"string","enum":["all","none","allowlist"],"default":"all","description":"Recall behavior for cron sessions. Use allowlist to opt specific cron sessionKeys in."},"cronRecallNormalizedQueryMaxChars":{"type":"number","default":480,"description":"Maximum query length (characters) used for cron recall retrieval after normalization."},"cronRecallPolicyEnabled":{"type":"boolean","default":true,"description":"Enable prompt-shape-aware recall query normalization for cron sessions."},"crossSignalsSemanticEnabled":{"type":"boolean","default":false,"description":"Enable semantic cross-signal grouping (reserved/experimental)."},"crossSignalsSemanticTimeoutMs":{"type":"number","default":4000,"description":"Timeout for semantic cross-signal grouping (ms)."},"daySummaryEnabled":{"type":"boolean","default":true,"description":"Enable end-of-day summary generation via engram.day_summary MCP tool"},"daySummaryTimezone":{"type":"string","default":"","description":"Timezone for the day summary cron (e.g. 'America/Lima'). When empty, uses the server timezone."},"debug":{"type":"boolean","default":false,"description":"Enable debug logging"},"defaultNamespace":{"type":"string","default":"default","description":"Default namespace name."},"defaultRecallNamespaces":{"type":"array","description":"Which namespaces to include by default in recall.","items":{"type":"string","enum":["self","shared"]},"default":["self","shared"]},"defaultScopeProfile":{"type":"string","description":"key in scopeProfiles to use as the default hosted memory scope profile."},"delinearizeEnabled":{"type":"boolean","default":true,"description":"SimpleMem-inspired de-linearization: resolve pronouns and anchor relative dates in extracted memories"},"dreaming":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false},"journalPath":{"type":"string","default":"DREAMS.md"},"maxEntries":{"anyOf":[{"type":"integer","const":0},{"type":"integer","minimum":10,"maximum":10000}],"default":500},"injectRecentCount":{"type":"integer","minimum":0,"maximum":20,"default":3},"minIntervalMinutes":{"type":"integer","minimum":1,"default":120},"narrativeModel":{"type":"string","default":"","description":"Dream-journal narrative model. plugin: OpenAI model id; gateway: provider-qualified id (e.g. zai/glm-4.7-flash). Empty = taskModelChain / default."},"narrativePromptStyle":{"type":"string","enum":["reflective","diary","analytical"],"default":"reflective"},"watchFile":{"type":"boolean","default":true}}},"dreams":{"type":"object","additionalProperties":false,"default":{},"description":"Consolidation pipeline phases: lifecycle/REM/deep-sleep gates under one namespace; values here WIN over legacy keys. Distinct from `dreaming` diary config.","properties":{"phases":{"type":"object","additionalProperties":false,"default":{},"properties":{"lightSleep":{"type":"object","additionalProperties":false,"default":{},"description":"Light-sleep phase: recent activity scoring and clustering. Mirrors lifecyclePolicyEnabled + related thresholds when unset.","properties":{"enabled":{"type":"boolean","description":"Master switch for the light-sleep phase. Mirrors lifecyclePolicyEnabled when unset."},"cadenceMs":{"type":"integer","minimum":0,"default":0,"description":"Minimum interval between light-sleep passes (ms). 0 = no override; orchestrator uses its internal cadence."},"promoteHeatThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.55,"description":"Value score above which a memory is treated as hot. Mirrors lifecyclePromoteHeatThreshold when unset."},"staleDecayThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.65,"description":"Value score below which a memory starts to decay. Mirrors lifecycleStaleDecayThreshold when unset."},"archiveDecayThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.85,"description":"Value score below which a memory is eligible for archive. Mirrors lifecycleArchiveDecayThreshold when unset."},"filterStaleEnabled":{"type":"boolean","default":false,"description":"Whether stale memories are filtered from recall. Mirrors lifecycleFilterStaleEnabled when unset."}}},"rem":{"type":"object","additionalProperties":false,"default":{},"description":"REM phase: cross-session synthesis, supersession resolution, semantic consolidation. Mirrors semanticConsolidation* keys when unset.","properties":{"enabled":{"type":"boolean","description":"Master switch for the REM phase. Mirrors semanticConsolidationEnabled when unset."},"cadenceMs":{"type":"integer","minimum":0,"description":"How often the REM pass runs (ms). Derived from semanticConsolidationIntervalHours when unset."},"similarityThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Cosine-similarity threshold for cluster membership. Mirrors semanticConsolidationThreshold when unset."},"minClusterSize":{"type":"integer","minimum":2,"default":3,"description":"Minimum cluster size before consolidation runs. Mirrors semanticConsolidationMinClusterSize when unset."},"maxPerRun":{"type":"integer","minimum":0,"default":100,"description":"Max cluster operations per run. Mirrors semanticConsolidationMaxPerRun when unset."},"minIntervalMs":{"type":"integer","minimum":0,"description":"Minimum gap between consolidation passes (ms). Mirrors consolidationMinIntervalMs when unset."}}},"deepSleep":{"type":"object","additionalProperties":false,"default":{},"description":"Deep-sleep phase: promotion to durable memory, hot-to-cold tier migration, page-version snapshots, archive. Mirrors versioningEnabled when unset.","properties":{"enabled":{"type":"boolean","default":false,"description":"Deep-sleep master switch. Default off unless legacy deep-sleep surfaces are enabled; true allows nightly governance, tier migration, versioning."},"cadenceMs":{"type":"integer","minimum":0,"default":86400000,"description":"Minimum interval between deep-sleep passes (ms). Default 86400000 (24h); wires into the cron scheduler."},"versioningEnabled":{"type":"boolean","description":"Enable page-version snapshots on every overwrite. Mirrors versioningEnabled when unset."},"versioningMaxPerPage":{"type":"integer","minimum":0,"description":"Max snapshots per memory page. Mirrors versioningMaxPerPage when unset."}}}}}}},"embeddingFallbackEnabled":{"type":"boolean","default":true,"description":"Enable embedding-based semantic recall fallback when QMD is unavailable or returns no matches"},"embeddingFallbackModel":{"type":"string","description":"model identifier for embedding fallback requests. Default localLlmModel for legacy installs."},"embeddingFallbackProvider":{"type":"string","enum":["auto","openai","local"],"default":"auto","description":"Embedding provider selection for semantic fallback"},"emitLegacyTools":{"type":"boolean","default":false,"description":"Advertise legacy engram tool aliases. Existing legacy connector entries keep compatibility by default."},"enrichmentAutoOnCreate":{"type":"boolean","default":false,"description":"Automatically enrich newly created entities when the enrichment pipeline is enabled."},"enrichmentEnabled":{"type":"boolean","default":false,"description":"Enable the external enrichment pipeline. entities can be enriched via registered providers."},"enrichmentMaxCandidatesPerEntity":{"type":"integer","default":20,"minimum":0,"description":"Maximum enrichment candidates accepted per entity per run. 0 to accept none."},"entityActivityLogEnabled":{"type":"boolean","default":true,"description":"Log timestamped activity per entity"},"entityActivityLogMaxEntries":{"type":"number","default":20,"description":"Max activity entries per entity before oldest are pruned"},"entityAliasesEnabled":{"type":"boolean","default":true,"description":"Store aliases per entity file"},"entityGraphEnabled":{"type":"boolean","default":true,"description":"Build entity co-reference graph (requires multiGraphMemoryEnabled)"},"entityRelationshipsEnabled":{"type":"boolean","default":true,"description":"Track entity-to-entity relationships during extraction"},"entityRetrievalEnabled":{"type":"boolean","default":true,"description":"Enable entity-oriented recall hints for direct entity questions and short follow-up queries."},"entityRetrievalMaxChars":{"type":"number","default":2400,"description":"Hard character cap for the entity retrieval section."},"entityRetrievalMaxHints":{"type":"number","default":2,"description":"Maximum entity targets summarized in one recall pass."},"entityRetrievalMaxRelatedEntities":{"type":"number","default":3,"description":"Maximum related entities listed per target when confidence is high."},"entityRetrievalMaxSupportingFacts":{"type":"number","default":6,"description":"Maximum supporting fact/timeline snippets considered per entity target."},"entityRetrievalRecentTurns":{"type":"number","default":6,"description":"Recent transcript turns scanned for pronoun carry-forward and short follow-up resolution."},"entitySchemas":{"type":"object","description":"per-entity-type structured section schema customizations.","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"sections":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"aliases":{"type":"array","items":{"type":"string"}}},"anyOf":[{"required":["key"]},{"required":["title"]}]}}},"required":["sections"]}},"entitySummaryEnabled":{"type":"boolean","default":true,"description":"Generate LLM summaries for entities during consolidation"},"entitySynthesisMaxTokens":{"anyOf":[{"type":"integer","const":0},{"type":"integer","minimum":10}],"default":500,"description":"Max tokens used when refreshing an entity synthesis from its timeline."},"episodeNoteModeEnabled":{"type":"boolean","default":false,"description":"HiMem episode/note classification (v8.0 Phase 2B): tags each extracted memory 'episode' (time-specific) or 'note' (stable belief/preference)"},"episodicContextEnabled":{"type":"boolean","default":false,"description":"Inject episode-grouped source turns for top recalled facts via `sources` provenance + LCM ranges in a `Source Episodes` section; provenance-free facts skipped."},"evalHarnessEnabled":{"type":"boolean","default":false,"description":"Enable Engram's benchmark/evaluation harness foundation for tracking benchmark packs and run summaries."},"evalShadowModeEnabled":{"type":"boolean","default":false,"description":"Shadow-mode evaluation workflows so bench instrumentation can measure memory changes without changing live recall output."},"evalStoreDir":{"type":"string","description":"Override the evaluation harness state directory (defaults to {memoryDir}/state/evals)."},"eventOrderRecallEnabled":{"type":"boolean","default":false,"description":"Enable event-order evidence recall for chronology questions."},"eventOrderRecallMaxChars":{"type":"integer","default":2400,"minimum":0,"description":"Character budget for the event-order evidence recall section."},"eventOrderRecallMaxResults":{"type":"integer","default":24,"minimum":0,"description":"Maximum recalled items for event-order evidence."},"eventOrderRecallScanWindowTokens":{"type":"integer","default":24000,"minimum":1,"description":"Recent-token scan window for event-order evidence."},"eventOrderRecallScanWindowTurns":{"type":"integer","default":12,"minimum":1,"description":"Recent-turn scan window for event-order evidence."},"explicitCueRecallEnabled":{"type":"boolean","default":false,"description":"Front-load exact LCM evidence for query-visible cues such as turns, dates, ids, files, and tools."},"explicitCueRecallMaxChars":{"type":"number","default":2400,"minimum":0,"description":"Character budget for the explicit cue evidence recall section."},"explicitCueRecallMaxReferences":{"type":"number","default":24,"minimum":0,"description":"Maximum query-visible cues expanded by explicit cue recall."},"extractionDedupeEnabled":{"type":"boolean","default":true,"description":"Enable deduplication of near-identical extraction batches within a time window."},"extractionSourceGroundingEnabled":{"type":"boolean","default":true,"description":"Keep extracted facts, profile updates, and questions only when supported by observed source turns. Disable = legacy extraction."},"extractionDedupeWindowMs":{"type":"number","default":300000,"description":"Window for extraction dedupe fingerprints (ms)."},"extractionFaithfulnessContextChars":{"type":"number","default":400,"description":"Context window (chars) around the verified quote sent to the faithfulness verifier."},"extractionFaithfulnessGate":{"type":"string","enum":["off","shadow","enforce"],"default":"off","description":"Extraction faithfulness gate: entailment-verify facts against verified spans. 'off' (default) = pre-feature; 'shadow' = verdicts only; 'enforce' = unsupported to review."},"extractionFaithfulnessModel":{"type":"string","default":"","description":"Override model/endpoint for the faithfulness verifier. Empty = default routing chain (local then fallback)."},"extractionFaithfulnessTimeoutMs":{"type":"number","default":8000,"description":"Per-batch faithfulness-check timeout (ms). Timeout produces a tagged error and never blocks memory writes."},"extractionFaithfulnessLocalParseFallback":{"type":"boolean","default":false,"description":"Local model-lab faithfulness fallback. Default false = non-verdict JSON is malformed_output; true falls back on parse failure."},"extractionFaithfulnessBaseUrl":{"type":"string","default":"","description":"Base URL of a local openai-compatible faithfulness endpoint; with extractionFaithfulnessModel the gate routes there first. Empty = existing routing."},"correctionIntentModel":{"type":"string","default":"","description":"Local fine-tuned correction-intent classifier model (#1585); used only when correctionIntentBaseUrl is also set. Empty = rule-based detector only."},"correctionIntentBaseUrl":{"type":"string","default":"","description":"Base URL of a local openai-compatible endpoint serving a fine-tuned correction-intent classifier. Empty = rule-based detector."},"extractionJudgeBatchSize":{"type":"number","default":20,"minimum":1,"description":"Maximum number of candidate facts sent to the judge LLM in a single batch call."},"extractionJudgeEnabled":{"type":"boolean","default":false,"description":"LLM-as-judge fact-worthiness gate: extracted facts are evaluated for durability before persisting"},"extractionJudgeMaxDeferrals":{"type":"number","default":2,"minimum":1,"description":"Max deferrals of the same candidate text by the extraction judge before the verdict forcibly becomes 'reject'. Prevents pathological loops."},"extractionJudgeModel":{"type":"string","default":"","description":"Model override for the extraction judge LLM. Empty uses the configured local model."},"extractionJudgeShadow":{"type":"boolean","default":false,"description":"Extraction judge shadow mode: verdicts are logged but all facts still persist regardless."},"extractionJudgeTelemetryEnabled":{"type":"boolean","default":false,"description":"Emit telemetry rows to state/observation-ledger/extraction-judge-verdicts.jsonl per judge verdict (defer-rate + latency)"},"extractionJudgeTimeoutMs":{"type":"number","default":90000,"minimum":1},"extractionMaxEntitiesPerRun":{"type":"number","default":6,"description":"Maximum entities persisted from a single extraction run."},"extractionMaxFactsPerRun":{"type":"number","default":12,"description":"Maximum facts persisted from a single extraction run."},"extractionMaxOutputTokens":{"type":"number","default":16384,"description":"Maximum output tokens (max_completion_tokens) for the direct-client extraction call."},"extractionMaxProfileUpdatesPerRun":{"type":"number","default":4,"description":"Maximum profile updates persisted from a single extraction run."},"extractionMaxQuestionsPerRun":{"type":"number","default":3,"description":"Maximum questions persisted from a single extraction run."},"extractionMaxTurnChars":{"type":"number","default":4000,"description":"Maximum characters per turn fed to extraction (long turns are truncated)."},"extractionPromptMaxChars":{"type":"number","default":5000,"description":"Per-call extraction prompt budget in turn-content characters. A claim whose turns exceed this splits across sequential extraction calls; every turn is kept. 0 disables chunking."},"extractionMinChars":{"type":"number","default":40,"description":"Minimum combined user/assistant characters required before extraction runs."},"extractionMinImportanceLevel":{"type":"string","enum":["trivial","low","normal","high","critical"],"default":"low","description":"Minimum locally-scored importance to persist an extracted fact; lower facts drop and count as importance_gated. \"low\" drops only trivial chatter."},"extractionMinUserTurns":{"type":"number","default":1,"description":"Minimum number of user turns required before extraction runs."},"extractionScopeClassificationEnabled":{"type":"boolean","default":true,"description":"Extractor classifies facts 'project' or 'global'; global goes to the shared namespace. Disable = all facts stay in the session namespace."},"extractionTelemetryPrefilterEnabled":{"type":"boolean","default":true,"description":"Skip semantic extraction for mechanical telemetry transcripts without durable-memory cues. Storage/recall still run; disable to extract from logs."},"factArchivalAgeDays":{"type":"number","default":90,"description":"Minimum age in days before a fact is eligible for archival."},"factArchivalEnabled":{"type":"boolean","default":false,"description":"Enable automatic archival of old, low-importance, rarely-accessed facts during consolidation."},"factArchivalMaxAccessCount":{"type":"number","default":2,"description":"Maximum access count for archival eligibility. Only rarely-accessed facts are archived."},"factArchivalMaxImportance":{"type":"number","default":0.3,"description":"Maximum importance score for archival eligibility (0-1). Only facts below this threshold are archived."},"factArchivalProtectedCategories":{"type":"array","items":{"type":"string"},"default":["commitment","preference","decision","principle","procedure"],"description":"Categories that protect a fact from archival regardless of other criteria."},"factDeduplicationEnabled":{"type":"boolean","default":true,"description":"Enable content-hash deduplication to prevent storing semantically identical facts."},"fastGatewayAgentId":{"type":"string","default":"","description":"Agent persona ID for fast-tier ops (rerank, entity summaries, compression guidelines). Empty under 'gateway' = gatewayAgentId's chain."},"feedbackEnabled":{"type":"boolean","default":false,"description":"Enable feedback capture tool for memory relevance (thumbs up/down)."},"fileHygiene":{"type":"object","additionalProperties":false,"description":"Optional: keep OpenClaw bootstrap workspace files small and warn before silent truncation risk.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for file hygiene (default off)."},"lintEnabled":{"type":"boolean","default":true,"description":"If true, warn when bootstrap files approach budget."},"lintBudgetBytes":{"type":"number","default":20000,"description":"Budget in bytes used for lint warnings (approx)."},"lintWarnRatio":{"type":"number","default":0.8,"description":"Warn when file size >= budget * warnRatio."},"lintPaths":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md","MEMORY.md"],"description":"Workspace-relative paths to lint (or absolute paths)."},"rotateEnabled":{"type":"boolean","default":false,"description":"If true, rotate oversized markdown files into an archive and replace with a lean index."},"rotateMaxBytes":{"type":"number","default":18000,"description":"Rotate when a target file exceeds this size (bytes)."},"rotateKeepTailChars":{"type":"number","default":2000,"description":"How many characters of the old file to keep inline (tail) for continuity."},"rotatePaths":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md"],"description":"Workspace-relative paths to rotate (or absolute paths)."},"archiveDir":{"type":"string","default":".engram-archive","description":"Workspace-relative archive directory where rotated files are stored."},"runMinIntervalMs":{"type":"number","default":300000,"description":"Minimum interval between hygiene runs (ms)."},"warningsLogEnabled":{"type":"boolean","default":false,"description":"If true, append warnings to a log file under memoryDir."},"warningsLogPath":{"type":"string","default":"hygiene/warnings.md","description":"memoryDir-relative path to write warnings to."},"indexEnabled":{"type":"boolean","default":false,"description":"Reserved: write an Engram index file in workspace (not required for rotation)."},"indexPath":{"type":"string","default":"ENGRAM_INDEX.md","description":"Workspace-relative index path (if indexEnabled)."}},"required":["enabled"]},"flushOnResetEnabled":{"type":"boolean","default":true,"description":"Flush buffered turns through extraction when OpenClaw resets a session."},"focusedListRecallEnabled":{"type":"boolean","default":false,"description":"Enable focused list evidence recall for count, relation, and recommendation questions."},"focusedListRecallMaxChars":{"type":"integer","default":2600,"minimum":0,"description":"Character budget for the focused list evidence recall section."},"focusedListRecallMaxResults":{"type":"integer","default":40,"minimum":0,"description":"Maximum recalled items for focused list evidence."},"focusedListRecallScanWindowTokens":{"type":"integer","default":14000,"minimum":1,"description":"Recent-token scan window for focused list evidence."},"focusedListRecallScanWindowTurns":{"type":"integer","default":64,"minimum":1,"description":"Recent-turn scan window for focused list evidence."},"gatewayAgentId":{"type":"string","default":"","description":"Agent persona ID (agents.list[]) whose model chain runs extraction, consolidation, summarization. Required under 'gateway'; else agents.defaults.model."},"graphActivationDecay":{"type":"number","default":0.7,"description":"Per-hop activation decay factor (0-1)"},"graphAssistInFullModeEnabled":{"type":"boolean","default":true,"description":"Run bounded graph expansion during full recall mode when seed results exist."},"graphAssistMinSeedResults":{"type":"number","default":3,"description":"Minimum seed recall results required before full-mode graph assist runs."},"graphAssistShadowEvalEnabled":{"type":"boolean","default":false,"description":"In full mode, compute graph assist for comparison telemetry and snapshots but keep recall output baseline-identical."},"graphEdgeCacheIncrementalEnabled":{"type":"boolean","default":true,"description":"Push single-writer graph-edge appends into the warm edge cache (size-revalidated), not null+re-read per write. false = pre-#1904 null-on-every-write."},"graphEdgeDecayCadenceMs":{"type":"number","default":604800000,"minimum":60000,"description":"Cadence (ms) for the graph-edge decay cron. Default 7 days. Sub-day cadences map to a daily cron expression."},"graphEdgeDecayEnabled":{"type":"boolean","default":false,"description":"Enable the periodic graph-edge confidence decay maintenance job. Opt-in."},"graphEdgeDecayFloor":{"type":"number","default":0.1,"minimum":0,"maximum":1,"description":"Floor confidence will not decay below"},"graphEdgeDecayPerWindow":{"type":"number","default":0.1,"minimum":0,"maximum":1,"description":"Per-window confidence drop applied during decay"},"graphEdgeDecayVisibilityThreshold":{"type":"number","default":0.2,"minimum":0,"maximum":1,"description":"Confidence threshold used by the decay telemetry counter for low-visibility edges"},"graphEdgeDecayWindowMs":{"type":"number","default":7776000000,"minimum":60000,"description":"Decay window (ms) passed to decayEdgeConfidence. Default 90 days."},"graphExpandedIntentEnabled":{"type":"boolean","default":true,"description":"Escalate broader causal/timeline phrasing into graph_mode planning."},"graphPathScoring":{"type":"object","properties":{"enabled":{"type":"boolean","default":false,"description":"Penalize graph-expanded results that rely on invalid intermediate memories."},"invalidNodePenalty":{"type":"number","exclusiveMinimum":0,"maximum":1,"default":0.2,"description":"Multiplicative penalty applied once per invalid intermediate memory."},"includePathInProvenance":{"type":"boolean","default":true,"description":"Include graph path node ids in recall provenance when path scoring is enabled."}},"additionalProperties":false},"graphExpansionActivationWeight":{"type":"number","default":0.65,"description":"Graph-activation blend weight when scoring expanded results (0-1); higher favors graph activation over seed QMD score."},"graphExpansionBlendMax":{"type":"number","default":0.95,"description":"Upper clamp bound for blended graph-expanded recall scores (0-1)."},"graphExpansionBlendMin":{"type":"number","default":0.05,"description":"Lower clamp bound for blended graph-expanded recall scores (0-1)."},"graphLateralInhibitionBeta":{"type":"number","default":0.15,"description":"Inhibition strength (0-1). Higher values suppress weaker nodes more aggressively"},"graphLateralInhibitionEnabled":{"type":"boolean","default":true,"description":"Synapse-inspired lateral inhibition to suppress hub-node dominance in graph retrieval"},"graphLateralInhibitionTopM":{"type":"number","default":7,"description":"Number of top competing nodes considered for lateral inhibition"},"graphRecallColdMirrorCollection":{"type":"string","description":"QMD collection name for cold-mirror graph recall results."},"graphRecallColdMirrorMinAgeDays":{"type":"number","default":7,"description":"Minimum age in days for a memory to qualify for cold-mirror storage."},"graphRecallDampingFactor":{"type":"number","default":0.85,"description":"PageRank-style damping factor for graph activation propagation."},"graphRecallEnableDebug":{"type":"boolean","default":false,"description":"Enable verbose debug output for graph recall operations."},"graphRecallEnableTrace":{"type":"boolean","default":false,"description":"Enable detailed graph recall trace logging for debugging."},"graphRecallEnabled":{"type":"boolean","default":false,"description":"Enable graph recall planner mode (`graph_mode`). Requires multiGraphMemoryEnabled"},"graphRecallEntityHintMax":{"type":"number","default":3,"description":"Maximum number of entity hints added per graph recall result."},"graphRecallEntityHintMaxChars":{"type":"number","default":200,"description":"Maximum characters per entity hint added during graph recall."},"graphRecallEntityHintsEnabled":{"type":"boolean","default":false,"description":"Inject entity hint summaries alongside graph-recalled memories."},"graphRecallEntityPriorBoost":{"type":"number","default":0.2,"description":"Score boost applied to nodes with strong entity priors."},"graphRecallExpansionScoreThreshold":{"type":"number","default":0.2,"description":"Minimum blended score required to include a graph-expanded node in results."},"graphRecallExplainEdgeLimit":{"type":"number","default":5,"description":"Maximum edges described per node in a graph recall explanation."},"graphRecallExplainEnabled":{"type":"boolean","default":false,"description":"Append natural-language graph reasoning explanations to recall output."},"graphRecallExplainMaxChars":{"type":"number","default":500,"description":"Maximum characters per graph recall explanation."},"graphRecallExplainMaxPaths":{"type":"number","default":3,"description":"Maximum reasoning paths included in a graph recall explanation."},"graphRecallExplainToolEnabled":{"type":"boolean","default":false,"description":"Expose a graph explain tool to agents during graph recall."},"graphRecallHubBias":{"type":"number","default":0.3,"description":"Bias weight toward hub-seed selection (0-1)."},"graphRecallMaxExpandedNodes":{"type":"number","default":30,"description":"Maximum total nodes visited during graph recall expansion."},"graphRecallMaxExpansions":{"type":"number","default":3,"description":"Maximum number of expansion hops per graph recall query."},"graphRecallMaxPerSeed":{"type":"number","default":5,"description":"Maximum graph-expanded results per seed node."},"graphRecallMaxSeedNodes":{"type":"number","default":10,"description":"Maximum number of seed nodes selected for graph recall expansion."},"graphRecallMaxTrailPerNode":{"type":"number","default":5,"description":"Maximum trail length followed per node during graph traversal."},"graphRecallMinEdgeWeight":{"type":"number","default":0.1,"description":"Minimum edge weight to follow during graph recall traversal."},"graphRecallMinSeedScore":{"type":"number","default":0.3,"description":"Minimum QMD score for a memory to qualify as a graph recall seed."},"graphRecallPreferHubSeeds":{"type":"boolean","default":false,"description":"Prefer high-degree hub nodes as graph recall seeds."},"graphRecallRecencyHalfLifeDays":{"type":"number","default":30,"description":"Half-life in days for recency decay applied to graph-expanded nodes."},"graphRecallShadowEnabled":{"type":"boolean","default":false,"description":"Run graph recall in shadow mode - evaluate but do not add results."},"graphRecallShadowSampleRate":{"type":"number","default":0.1,"description":"Fraction of turns evaluated in shadow mode (0-1)."},"graphRecallSnapshotDir":{"type":"string","description":"Directory for graph recall snapshot files (defaults to {memoryDir}/state/graph)."},"graphRecallSnapshotEnabled":{"type":"boolean","default":false,"description":"Write graph recall snapshots for offline analysis."},"graphRecallStoreColdMirror":{"type":"boolean","default":false,"description":"Store cold-path graph recall results in a secondary QMD collection."},"graphRecallUseEntityPriors":{"type":"boolean","default":false,"description":"Boost seed nodes using entity prior scores during graph recall."},"graphTraversalConfidenceFloor":{"type":"number","default":0.2,"minimum":0,"maximum":1,"description":"Minimum edge confidence for spreading activation; lower edges are pruned. Edges without confidence count as 1.0. Range 0-1"},"graphTraversalPageRankIterations":{"type":"number","default":8,"minimum":0,"description":"PageRank-style refinement iterations on BFS scores; each pass redistributes confidence-weighted activation along edges. 0 = raw BFS"},"graphWriteSessionAdjacencyEnabled":{"type":"boolean","default":true,"description":"Write fallback temporal adjacency edges for consecutive extracted memories in the same session."},"harmonicRetrievalEnabled":{"type":"boolean","default":false,"description":"Harmonic retrieval blending over abstraction nodes and cue anchors, incl. recall-section assembly and harmonic diagnostics."},"heartbeat":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false},"journalPath":{"type":"string","default":"HEARTBEAT.md"},"maxPreviousRuns":{"type":"integer","minimum":0,"maximum":20,"default":5},"watchFile":{"type":"boolean","default":true},"detectionMode":{"type":"string","enum":["runtime-signal","heuristic","auto"],"default":"auto"},"gateExtractionDuringHeartbeat":{"type":"boolean","default":true}}},"highSignalPatterns":{"type":"array","items":{"type":"string"},"description":"Custom regex patterns for immediate extraction"},"hostEmbeddingProviderEnabled":{"type":"boolean","default":true,"description":"Prefer host-registered embedding providers for semantic fallback + embedded vector backends when the SDK exposes them; else the existing path."},"hostEmbeddingProviderId":{"type":"string","description":"OpenClaw embedding provider adapter id. Unset = automatic selection from the memory/generic provider registry."},"hostEmbeddingProviderModel":{"type":"string","description":"embedding model id passed to the selected OpenClaw host embedding provider."},"hourlySummariesEnabled":{"type":"boolean","default":true,"description":"Enable hourly conversation summaries"},"hourlySummariesExtendedEnabled":{"type":"boolean","default":false,"description":"Enable structured hourly summaries (topics/decisions/action items/rejections)"},"hourlySummariesIncludeSystemMessages":{"type":"boolean","default":false,"description":"Include system messages in extended hourly summaries (use with care)."},"hourlySummariesIncludeToolStats":{"type":"boolean","default":false,"description":"Include tool usage counts in extended hourly summaries (requires tool usage capture)."},"hourlySummariesMaxTurnsPerRun":{"type":"number","default":200,"description":"Maximum transcript turns to consider per session per hourly summarizer run."},"hourlySummaryCronAutoRegister":{"type":"boolean","default":false,"description":"If true, Engram may attempt to auto-register an hourly summary cron job (default off)."},"identityContinuityEnabled":{"type":"boolean","default":false,"description":"Enable identity continuity workflows (anchor, incidents, audits)"},"identityEnabled":{"type":"boolean","default":true,"description":"Enable agent identity reflections (appends to workspace IDENTITY.md)"},"identityInjectionMode":{"type":"string","enum":["recovery_only","minimal","full"],"default":"recovery_only","description":"Controls when identity continuity context is added to recall assembly"},"identityMaxInjectChars":{"type":"number","default":1200,"description":"Maximum characters allowed for identity continuity context"},"initGateTimeoutMs":{"type":"integer","minimum":1000,"maximum":120000,"default":30000,"description":"Cold-start init wait during recall; also the before_prompt_build hook timeout on SDKs with per-hook options."},"injectQuestions":{"type":"boolean","default":false,"description":"Include the most relevant open question in generated memory context"},"inlineSourceAttributionEnabled":{"type":"boolean","default":false,"description":"Enable inline source attribution markers on persisted facts for downstream provenance tracking."},"inlineSourceAttributionFormat":{"type":"string","default":"[Source: agent={agent}, session={sessionId}, ts={ts}]","description":"Template used when inline source attribution is enabled."},"inlineSourceAttributionFormatHistory":{"type":"array","items":{"type":"string"},"description":"Prior inline citation templates still recognized during merge after a format change."},"intentRoutingBoost":{"type":"number","default":0.12,"description":"Maximum score boost applied for intent-compatible memory matches."},"intentRoutingEnabled":{"type":"boolean","default":false,"description":"Attach intent metadata to memories and boost compatible memories at recall."},"ircEnabled":{"type":"boolean","default":true,"description":"Enable Inductive Rule Consolidation (IRC) subsystem (default on)."},"ircIncludeCorrections":{"type":"boolean","default":true,"description":"Include corrections when building IRC rules (default on)."},"ircMaxPreferences":{"type":"number","default":20,"description":"Maximum number of preferences to include in IRC rules."},"ircMinConfidence":{"type":"number","default":0.3,"description":"Minimum confidence threshold for an IRC rule to be included (0-1)."},"judgeTrainingDir":{"type":"string","default":"","description":"Override directory for judge training-pair collection. Empty = ~/.remnic/judge-training. Only under collectJudgeTrainingPairs."},"knowledgeIndexEnabled":{"type":"boolean","default":true,"description":"Inject a compact Knowledge Index of top entities into every recall"},"knowledgeIndexMaxChars":{"type":"number","default":4000,"description":"Hard character cap for the Knowledge Index section"},"knowledgeIndexMaxEntities":{"type":"number","default":40,"description":"Max entities included in the Knowledge Index"},"lanceDbPath":{"type":"string","description":"Directory path for LanceDB storage (when searchBackend=lancedb)"},"lanceEmbeddingDimension":{"type":"number","default":1536,"description":"Embedding vector dimension for LanceDB (when searchBackend=lancedb)"},"lancedbEnabled":{"type":"boolean","default":false,"description":"Enable LanceDB as a supplemental search backend."},"lcmArchiveRetentionDays":{"type":"number","default":90,"description":"Days to retain archived LCM summaries"},"lcmDeterministicMaxTokens":{"type":"number","default":512,"description":"Max tokens for deterministic (non-LLM) summaries"},"lcmEnabled":{"type":"boolean","default":false,"description":"Enable Lossless Context Management (LCM) subsystem"},"lcmFreshTailTurns":{"type":"number","default":16,"description":"Number of recent turns kept verbatim (not summarized)"},"lcmLeafBatchSize":{"type":"number","default":8,"description":"Number of turns per leaf node in the LCM DAG"},"lcmMaxDepth":{"type":"number","default":5,"description":"Maximum depth of the LCM summary DAG"},"lcmObserveConcurrency":{"type":"number","default":1,"description":"Maximum independent LCM observe jobs to process concurrently."},"lcmRecallBudgetShare":{"type":"number","default":0.15,"description":"Fraction of recall budget allocated to LCM compressed history (0-1)"},"lcmRollupFanIn":{"type":"number","default":4,"description":"Number of children per rollup node in the LCM DAG"},"lcmTelemetryPrefilterEnabled":{"type":"boolean","default":true,"description":"Use deterministic LCM compression for mechanical action/state telemetry without durable-memory cues."},"lifecycleArchiveDecayThreshold":{"type":"number","default":0.85,"description":"Decay threshold for lifecycle demotion to archived state semantics."},"lifecycleFilterStaleEnabled":{"type":"boolean","default":false,"description":"If enabled, stale lifecycle memories can be filtered from retrieval (wired in PR20D)."},"lifecycleMetricsEnabled":{"type":"boolean","default":true,"description":"Emit lifecycle metrics snapshots to state/lifecycle-metrics.json when policy is enabled."},"lifecyclePolicyEnabled":{"type":"boolean","default":true,"description":"Lifecycle policy engine (hot↔cold tier migration, value scoring, decay). Default true since #686; false opts out."},"lifecyclePromoteHeatThreshold":{"type":"number","default":0.55,"description":"Heat threshold for lifecycle promotion to validated/active states."},"lifecycleProtectedCategories":{"type":"array","items":{"type":"string"},"default":["decision","principle","commitment","preference","procedure"],"description":"Categories that lifecycle policy will not auto-archive."},"lifecycleStaleDecayThreshold":{"type":"number","default":0.65,"description":"Decay threshold for lifecycle demotion to stale."},"llmBridgeClientConfigPath":{"type":"string","description":"Path to the Hermes loopback-bridge client JSON. Parsed into backgroundGeneration only. Never copied onto openaiBaseUrl."},"localLlm400CooldownMs":{"type":"number","default":120000,"description":"Cooldown duration after tripping local LLM 400 threshold (ms)."},"localLlm400TripThreshold":{"type":"number","default":5,"description":"Consecutive 400 responses before local LLM enters temporary cooldown."},"localLlmApiKey":{"type":"string","description":"API key for authenticated OpenAI-compatible local endpoints"},"localLlmApiKeyEnv":{"type":"string","description":"env var name for a local LLM API key; a missing variable leaves local auth unset."},"localLlmAuthHeader":{"type":"boolean","default":true,"description":"If false, do not send Authorization header even when localLlmApiKey is set"},"localLlmDisableThinking":{"type":"boolean","default":true,"description":"Suppress thinking on supported local backends for terse structured ops (default true); consolidation and fast tier unaffected."},"localLlmThinkingThresholdChars":{"type":"integer","minimum":0,"default":3000,"description":"Enable thinking for local extraction when the transcript is shorter than this. 0 keeps it suppressed."},"localLlmEnabled":{"type":"boolean","default":false,"description":"Enable local LLM for extraction and summarization (e.g., LM Studio, Ollama)"},"localLlmFallback":{"type":"boolean","default":true,"description":"Legacy alias for taskLlmFallback."},"localLlmFastEnabled":{"type":"boolean","default":false,"description":"Enable a smaller/faster local LLM for quick ops (rerank, entity_summary, tmt_summary, compression_guideline)."},"localLlmFastModel":{"type":"string","default":"","description":"Model ID for fast-tier local LLM operations. Empty uses the primary localLlmModel."},"localLlmFastTimeoutMs":{"type":"number","default":15000,"description":"Timeout for fast-tier local LLM requests (ms)."},"localLlmFastUrl":{"type":"string","description":"Fast-tier local LLM endpoint. Default localLlmUrl."},"localLlmHeaders":{"type":"object","description":"additional headers for local/compatible endpoint requests","additionalProperties":{"type":"string"}},"localLlmHomeDir":{"type":"string","description":"home directory override for local LLM helpers (LM Studio settings, CLI PATH)."},"localLlmMaxContext":{"type":"number","description":"Override the detected local LLM context window (e.g. 32768 when the server defaults to 32K)."},"localLlmModel":{"type":"string","default":"local-model","description":"Model name for local LLM requests"},"localLlmReasoningEffort":{"type":"string","enum":["","none","low","medium","high","max"],"default":"none","description":"Ollama think-off: reasoning_effort sent for thinking-suppressed ops. Empty disables."},"localLlmRetry5xxCount":{"type":"number","default":1,"description":"Number of retry attempts for local LLM 5xx responses."},"localLlmRetryBackoffMs":{"type":"number","default":400,"description":"Base backoff delay between local LLM retries (ms)."},"localLlmRateLimitRetryCount":{"type":"integer","minimum":0,"default":3,"description":"Retries on 429/503/408 or proxy cooldown (jittered backoff, honors Retry-After)."},"localLlmRateLimitBackoffBaseMs":{"type":"integer","minimum":1,"default":1000,"description":"Base rate-limit backoff (ms)."},"localLlmRateLimitBackoffMaxMs":{"type":"integer","minimum":1,"default":60000,"description":"Max rate-limit backoff (ms); a longer Retry-After skips the retry."},"localLlmMaxConcurrency":{"type":"integer","minimum":0,"default":4,"description":"Process-wide cap on concurrent local LLM requests (0 = unlimited); caps above 1 reserve one permit for recall-critical work."},"localLlmTimeoutMs":{"type":"number","default":180000,"description":"Hard timeout for local LLM requests (ms). Legacy alias for taskLlmTimeoutMs when that key is absent."},"taskLlmTimeoutMs":{"type":"number","default":180000,"description":"Timeout (ms) for the gateway/task LLM chain; primary extraction timeout in gateway mode. localLlmTimeoutMs is a legacy alias when absent."},"taskLlmFallback":{"type":"boolean","default":true,"description":"Use the gateway/task LLM chain when the local LLM path fails. localLlmFallback is a legacy alias when absent."},"localLlmUrl":{"type":"string","default":"http://localhost:1234/v1","description":"URL for local LLM OpenAI-compatible endpoint"},"localLmsBinDir":{"type":"string","description":"bin directory prepended to PATH for LMS CLI execution."},"localLmsCliPath":{"type":"string","description":"absolute path to LMS CLI binary. Preferred over auto-detected locations."},"maintenanceIncludeBranchNamespaces":{"type":"boolean","default":false,"description":"Include dynamic branch namespaces from the catalog in maintenance fanout. Default off to avoid high-cardinality churn."},"maintenanceIncludeProjectNamespaces":{"type":"boolean","default":true,"description":"Include dynamic project namespaces from the namespace catalog in background maintenance fanout."},"maintenanceIncludeTeamProjectNamespaces":{"type":"boolean","default":true,"description":"Include dynamic team-project namespaces from the namespace catalog in background maintenance fanout."},"maintenanceMaxNamespacesPerCycle":{"type":"number","default":20,"minimum":1,"description":"Max namespaces a single maintenance cycle processes; default/shared namespaces keep priority within the budget."},"maintenanceNamespaceFanoutEnabled":{"type":"boolean","default":true,"description":"Let background maintenance enumerate live catalog namespaces in addition to configured default/shared/policy namespaces."},"maintenanceNamespaceLockStaleMs":{"type":"number","default":600000,"minimum":1,"description":"Stale threshold for per-job/per-namespace maintenance locks under state/maintenance-locks/."},"maxCompressionTokensPerHour":{"type":"number","default":1500,"description":"Hourly token budget for compression actions/guideline generation (0 disables budgeted compression work)."},"maxEntityGraphEdgesPerMemory":{"type":"number","default":10,"description":"Maximum entity graph edges written per memory write"},"maxGraphTraversalSteps":{"type":"number","default":3,"description":"Maximum BFS hops during spreading activation"},"maxMemoryTokens":{"type":"number","default":2000,"description":"Max memory-context tokens per turn"},"maxProactiveQuestionsPerExtraction":{"type":"number","default":2,"description":"Maximum proactive self-questions generated per extraction pass (0 disables question generation)."},"maxSummaryCount":{"type":"number","default":6,"description":"Maximum number of summaries to include"},"maxTranscriptTokens":{"type":"number","default":1000,"description":"Maximum tokens for transcript context"},"maxTranscriptTurns":{"type":"number","default":50,"description":"Maximum transcript turns to include"},"meilisearchApiKey":{"type":"string","description":"API key for Meilisearch (when searchBackend=meilisearch)"},"meilisearchAutoIndex":{"type":"boolean","default":false,"description":"Automatically push local memory docs to Meilisearch on update (when searchBackend=meilisearch)"},"meilisearchEnabled":{"type":"boolean","default":false,"description":"Enable Meilisearch as a supplemental search backend."},"meilisearchHost":{"type":"string","default":"http://localhost:7700","description":"Meilisearch server host URL (when searchBackend=meilisearch)"},"meilisearchTimeoutMs":{"type":"number","default":30000,"description":"Timeout in ms for Meilisearch requests (when searchBackend=meilisearch)"},"memoryBoxesEnabled":{"type":"boolean","default":false,"description":"Enable Memory Boxes (v8.0 Phase 2A). Groups memories into topic-bounded windows"},"memoryDir":{"type":"string","description":"Override memory storage directory"},"memoryExtensionsEnabled":{"type":"boolean","default":true,"description":"Whether third-party memory extensions are discovered and included in consolidation instructions."},"memoryExtensionsRoot":{"type":"string","default":"","description":"Root directory for memory extensions. Empty = derived from memoryDir (Remnic home + memory_extensions)."},"memoryLifecycleLedgerCompactBytes":{"type":"integer","default":67108864,"minimum":0,"description":"Auto-compact state/memory-lifecycle-ledger.jsonl past this byte count via debounced maintenance. 0 disables. Default 64MB."},"memoryLifecycleLedgerCompactMinIntervalMs":{"type":"integer","default":21600000,"minimum":60000,"description":"Minimum interval between auto-compactions of the lifecycle ledger. Default 6 hours."},"memoryLinkingEnabled":{"type":"boolean","default":false,"description":"Enable automatic memory linking to build knowledge graph"},"offlineSyncExcludes":{"type":"array","items":{"type":"string","minLength":1},"default":[],"description":"Extra offline-sync push-side exclude globs (relative to memoryDir), additive to built-in excludes (state/*.sqlite*, index_tags.json, entity-mention-index.json, governance/runs)."},"memoryOsPreset":{"type":"string","enum":["conservative","balanced","research","research-max","local-llm-heavy"],"description":"Named preset seeding the advanced config surface before explicit settings apply. `research` is an alias for `research-max`."},"memoryPoisoningDefenseEnabled":{"type":"boolean","default":false,"description":"Enable deterministic provenance trust scoring for trust-zone records as the first poisoning-defense surface."},"memoryInjectionDefenseMode":{"type":"string","enum":["custom","off","fencing","quarantine","layered"],"default":"custom","description":"Packaged memory-injection defense; custom keeps originAuthorityEnabled and injectionScreenEnabled as set."},"originAuthorityEnabled":{"type":"boolean","default":false,"description":"Fence recall-rendered content from untrusted origins as data-only. Origin metadata is always recorded; this gates the recall-time fence."},"injectionScreenEnabled":{"type":"boolean","default":true,"description":"Screen candidate facts with deterministic injection rules and queue findings for review."},"untrustedOrigins":{"type":"array","items":{"type":"string","minLength":1},"default":["tool_output","import:*","unknown"],"description":"Origin classes that receive the recall authority fence."},"memoryReconstructionEnabled":{"type":"boolean","default":false,"description":"E-Mem-inspired memory reconstruction: targeted secondary retrieval for entity references lacking context in recall"},"memoryReconstructionMaxExpansions":{"type":"number","default":3,"description":"Maximum number of entity expansions per recall cycle"},"memoryRedTeamBenchEnabled":{"type":"boolean","default":false,"description":"Enable operator-facing memory red-team benchmark packs and status accounting for poisoning-defense regression suites."},"memoryUtilityLearningEnabled":{"type":"boolean","default":false,"description":"Utility-learning telemetry storage so later slices can learn promotion/ranking weights from downstream outcomes."},"messagePartsEnabled":{"type":"boolean","default":false,"description":"Opt in to structured LCM message-part capture for tool calls, file references, patches, and reasoning markers."},"messagePartsRecallMaxResults":{"type":"number","default":6,"description":"Maximum structured message-part matches to include in recall when messagePartsEnabled is true."},"model":{"type":"string","default":"gpt-5.5","description":"OpenAI model for extraction/consolidation"},"modelSource":{"type":"string","enum":["plugin","gateway"],"default":"gateway","description":"LLM source: 'gateway' = a gateway agent's model chain (agents.list[]); 'plugin' = Engram's own openai/localLlm config."},"multiGraphMemoryEnabled":{"type":"boolean","default":false,"description":"Enable multi-graph memory (entity, time, causal edges)"},"namespaceCatalogEnabled":{"type":"boolean","default":true,"description":"Enable the rebuildable namespace catalog when namespaces are enabled"},"namespacePolicies":{"type":"array","description":"Namespace access policies.","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"readPrincipals":{"type":"array","items":{"type":"string"}},"writePrincipals":{"type":"array","items":{"type":"string"}},"includeInRecallByDefault":{"type":"boolean"}},"required":["name","readPrincipals","writePrincipals"]}},"namespacesCatalogCompactBytes":{"type":"number","default":16777216,"minimum":0,"description":"Byte size at which a namespace-catalog touch compacts state/namespaces.jsonl (last-record-wins, atomic). Default 16777216; 0 disables."},"namespacesCatalogReadTouchCoalesceMs":{"type":"number","default":60000,"minimum":0,"description":"Coalescing window (ms) for repeated timestamp-only read touches; observable touches flush at once. Default 60000; 0 disables."},"namespacesCatalogTouchStateWrites":{"type":"boolean","default":false,"description":"Whether pure state-file writes (state/buffer.json, ledgers, indexes) touch the namespace catalog. Default false; true = pre-#1903."},"namespacesCatalogWriteTouchCoalesceMs":{"type":"number","default":1000,"minimum":0,"description":"Coalescing window (ms) for repeated timestamp-only write touches on a known namespace; mirrors the read coalesce. Default 1000; 0 disables."},"namespacesEnabled":{"type":"boolean","default":false,"description":"Enable multi-agent namespaces (v3.0)"},"nativeKnowledge":{"type":"object","additionalProperties":false,"description":"Search curated workspace markdown files directly during recall without converting them into durable memory files.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for curated workspace file recall."},"includeFiles":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md","MEMORY.md"],"description":"Workspace-relative curated markdown files to scan for native knowledge recall."},"maxChunkChars":{"type":"number","default":900,"description":"Maximum chunk size per native knowledge section before it is split."},"maxResults":{"type":"number","default":4,"description":"Maximum native knowledge chunks to add to recall."},"maxChars":{"type":"number","default":2400,"description":"Maximum total characters to add from native knowledge recall."},"stateDir":{"type":"string","default":"state/native-knowledge","description":"Memory-relative directory used for backend-agnostic native knowledge sync state."},"openclawWorkspace":{"type":"object","additionalProperties":false,"description":"Adapter for OpenClaw workspace artifacts (bootstrap docs, handoffs, daily summaries, automation notes).","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable the OpenClaw workspace native-knowledge adapter."},"bootstrapFiles":{"type":"array","items":{"type":"string"},"default":["IDENTITY.md","MEMORY.md","USER.md"],"description":"Workspace-relative bootstrap docs treated as high-confidence native knowledge."},"handoffGlobs":{"type":"array","items":{"type":"string"},"default":["**/*handoff*.md","handoffs/**/*.md"],"description":"Glob patterns (relative to workspaceDir) used to discover handoff notes."},"dailySummaryGlobs":{"type":"array","items":{"type":"string"},"default":["**/*daily*summary*.md","summaries/**/*.md"],"description":"Glob patterns (relative to workspaceDir) used to discover daily summary notes."},"automationNoteGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"glob patterns for automation-written status or operating notes."},"workspaceDocGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"glob patterns for other explicitly allowlisted workspace docs."},"excludeGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"Additional glob patterns appended to the built-in workspace safety excludes."},"sharedSafeGlobs":{"type":"array","items":{"type":"string"},"default":[],"description":"glob patterns that should be tagged as shared-safe when no explicit privacy class is present."}},"required":["enabled"]},"obsidianVaults":{"type":"array","default":[],"description":"Obsidian vault adapters to sync into backend-agnostic native knowledge records.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","description":"Stable vault identifier used in synced note metadata."},"rootDir":{"type":"string","description":"Absolute path to the Obsidian vault root."},"includeGlobs":{"type":"array","items":{"type":"string"},"default":["**/*.md"],"description":"Glob patterns (relative to the vault root) that eligible for sync."},"excludeGlobs":{"type":"array","items":{"type":"string"},"default":[".obsidian/**","**/*.canvas","**/*.png","**/*.jpg","**/*.jpeg","**/*.gif","**/*.pdf"],"description":"Glob patterns excluded from sync."},"namespace":{"type":"string","description":"Default namespace assigned to records from this vault."},"privacyClass":{"type":"string","description":"Operator-defined privacy class preserved on synced records."},"folderRules":{"type":"array","default":[],"description":"per-folder overrides for namespace or privacy classification.","items":{"type":"object","additionalProperties":false,"properties":{"pathPrefix":{"type":"string","description":"Vault-relative folder prefix that activates the override."},"namespace":{"type":"string","description":"Namespace override for matching notes."},"privacyClass":{"type":"string","description":"Privacy-class override for matching notes."}},"required":["pathPrefix"]}},"dailyNotePatterns":{"type":"array","items":{"type":"string"},"default":["YYYY-MM-DD"],"description":"Filename patterns used to derive daily-note dates (for example `YYYY-MM-DD` or `YYYY/MM/DD`)."},"materializeBacklinks":{"type":"boolean","default":false,"description":"If true, compute backlinks from wikilink targets for recall hints and explainability."}},"required":["rootDir"]}}},"required":["enabled"]},"negativeExamplesEnabled":{"type":"boolean","default":false,"description":"Enable negative examples (track retrieved-but-not-useful memories) and apply a small ranking penalty."},"negativeExamplesPenaltyCap":{"type":"number","default":0.25,"description":"Maximum ranking penalty applied from negative examples."},"negativeExamplesPenaltyPerHit":{"type":"number","default":0.05,"description":"Ranking penalty per negative example hit (keep small; QMD scores are ~0-1)."},"nightlyGovernanceCronAutoRegister":{"type":"boolean","default":false,"description":"If true, Engram may attempt to auto-register the nightly governance cron job (default off)."},"noveltyAddThreshold":{"type":"number","default":0.55,"minimum":0,"maximum":1,"description":"Novelty score at/above = ADD (skip semantic/LLM dedup). Keep well above noveltyNoopThreshold so UNCERTAIN stays wide."},"noveltyGateEnabled":{"type":"boolean","default":false,"description":"enable the write-path embedding-density novelty gate. Default off. When off the persist path is unchanged."},"noveltyNoopThreshold":{"type":"number","default":0.15,"minimum":0,"maximum":1,"description":"novelty score at or below this is NOOP (drop before semantic dedup; does not touch contentHashIndex)."},"objectiveStateMemoryEnabled":{"type":"boolean","default":false,"description":"Enable Engram's objective-state memory foundation for normalized world/tool state snapshots."},"objectiveStateRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant objective-state snapshots to recall context."},"objectiveStateSnapshotWritesEnabled":{"type":"boolean","default":false,"description":"Allow writing typed objective-state snapshots to the objective-state store."},"objectiveStateStoreDir":{"type":"string","description":"Override the objective-state memory directory (defaults to {memoryDir}/state/objective-state)."},"openaiApiKey":{"anyOf":[{"type":"string"},{"const":false}],"description":"Optional OpenAI API key for plugin mode (or OPENAI_API_KEY). Ignored by default in gateway mode (only the implicit env read is skipped); in plugin mode Remnic may send conversation and memory content to the endpoint."},"openaiBaseUrl":{"type":"string","description":"Set the OpenAI API base URL for OpenAI-compatible providers (Scryr, Together, OpenRouter, etc.)"},"openclawChannelEnvelopeCleaningEnabled":{"type":"boolean","default":true,"description":"Use canonical chat-channel envelope prefixes when the SDK exposes plugin-sdk/chat-channel-ids; legacy cleaner stays on older hosts."},"openclawFlushPlanProcessingEnabled":{"type":"boolean","default":true,"description":"Process OpenClaw's append-only flush-plan file through extraction and clear processed content. Disable when OpenClaw owns it natively."},"openclawMessageReceivedCaptureEnabled":{"type":"boolean","default":true,"description":"Capture OpenClaw message_received hook content into transcripts when the host emits it; older hosts use agent_end capture."},"openclawReplyMetadataCaptureEnabled":{"type":"boolean","default":true,"description":"Persist bounded OpenClaw messageId, threadId, replyToId, replyToBody, replyToSender fields in transcript metadata when available."},"openclawReplyMetadataExtractionHintsEnabled":{"type":"boolean","default":false,"description":"Prepend bounded quoted-reply context to user turns before extraction. false stores reply metadata without changing extraction."},"openclawToolSnippetMaxChars":{"type":"integer","minimum":80,"maximum":4000,"default":600,"description":"Maximum snippet size returned by the OpenClaw memory tool adapters."},"openclawToolsEnabled":{"type":"boolean","default":true,"description":"Register the OpenClaw memory.search and memory.get tool adapters."},"operatorAwareConsolidationEnabled":{"type":"boolean","default":false,"description":"Operator-aware consolidation: LLM returns {operator, output} JSON, SPLIT/MERGE/UPDATE on derived_via. Off (default) = cluster-shape heuristic populates it."},"oramaDbPath":{"type":"string","description":"Directory path for Orama persistence files (when searchBackend=orama)"},"oramaEmbeddingDimension":{"type":"number","default":1536,"description":"Embedding vector dimension for Orama (when searchBackend=orama)"},"oramaCjkSegmentation":{"type":"boolean","default":true,"description":"Segment space-free scripts (CJK/Thai) into character n-grams in the Orama lexical index. Default true; false = English-only tokenizer."},"oramaEnabled":{"type":"boolean","default":false,"description":"Enable Orama as a supplemental search backend."},"outcomeBoostEnabled":{"type":"boolean","default":false,"description":"H1 outcome-prior recall blend (#1958). Default false; ranking unchanged unless true and outcomeBoostWeight > 0."},"outcomeBoostWeight":{"type":"number","minimum":0,"maximum":1,"default":0,"description":"Outcome-prior blend weight in [0,1]; 0 keeps the raw text score. Unobserved facts stay on the neutral prior. Invalid values rejected."},"parallelAgentWeights":{"type":"object","default":{"direct":1,"contextual":0.7,"temporal":0.85},"description":"Score weights per retrieval agent source applied during result merge."},"parallelMaxResultsPerAgent":{"type":"number","default":20,"description":"Maximum results fetched per agent before merge."},"parallelRetrievalEnabled":{"type":"boolean","default":false,"description":"Enable three-agent parallel retrieval (DirectFact + Contextual + Temporal). Zero additional LLM cost"},"patternReinforcementCadenceMs":{"type":"integer","minimum":0,"default":604800000,"description":"Minimum interval (ms) between pattern-reinforcement runs. Default 7 days; 0 disables cadence gating."},"patternReinforcementCategories":{"type":"array","items":{"type":"string"},"default":["preference","fact","decision"],"description":"Memory categories the pattern-reinforcement job considers (procedural excluded). Default preference, fact, decision."},"patternReinforcementEnabled":{"type":"boolean","default":false,"description":"Pattern-reinforcement job: cluster duplicate non-procedural memories by normalized content, promote most-recent to canonical, supersede older duplicates"},"patternReinforcementMinCount":{"type":"integer","minimum":2,"maximum":1000,"default":3,"description":"Minimum cluster size before pattern reinforcement promotes a canonical and supersedes duplicates"},"peerProfileReasonerEnabled":{"type":"boolean","default":false,"description":"Async peer profile reasoner: after REM consolidation, updates per-peer profile.md with provenance-tagged fields from the peer's interaction log"},"peerProfileReasonerMaxFieldsPerRun":{"type":"number","default":8,"minimum":0,"description":"Hard cap on total profile fields the reasoner applies across all peers per run. 0 disables applying fields."},"peerProfileReasonerMinInteractions":{"type":"number","default":5,"minimum":0,"description":"Minimum new interaction-log entries a peer needs since the previous run before re-processing. 0 = every peer every run."},"peerProfileReasonerModel":{"type":"string","default":"auto","description":"Peer profile reasoner model. 'auto' = gateway's primary chain; telemetry only, dispatch via consolidation's FallbackLlmClient."},"peerProfileRecallEnabled":{"type":"boolean","default":false,"description":"Add the active peer's profile fields to recall context as a '## Peer Profile' section; needs the session's peer ID registered before recall"},"peerProfileRecallMaxFields":{"type":"number","default":5,"minimum":0,"description":"Max peer profile fields added per recall call (most-recently-updated N). 0 disables inclusion even when peerProfileRecallEnabled is true."},"principalFromSessionKeyMode":{"type":"string","enum":["map","prefix","regex"],"default":"map","description":"How to derive principal identity from sessionKey."},"principalFromSessionKeyRules":{"type":"array","description":"Rules for resolving principal from sessionKey (ordered).","items":{"type":"object","additionalProperties":false,"properties":{"match":{"type":"string"},"principal":{"type":"string"}},"required":["match","principal"]}},"proactiveExtractionCategoryAllowlist":{"type":"array","items":{"type":"string"},"description":"Memory categories allowed from proactive second-pass writes. Omitted = any standard memory category."},"proactiveExtractionEnabled":{"type":"boolean","default":false,"description":"Enable proactive self-questioning extraction second-pass (v8.3, default off)."},"proactiveExtractionMaxTokens":{"type":"number","default":900,"description":"Token budget for each proactive extraction sub-call (0 disables the proactive second pass)."},"proactiveExtractionSkipWhenLocalLlmBusy":{"type":"boolean","default":true,"description":"Skip the proactive extraction second pass when the local LLM lane is busy, not queue behind and lose its deadline. false = always attempt."},"proactiveExtractionTimeoutMs":{"type":"number","default":2500,"description":"Hard timeout (ms) for proactive self-question generation and answer synthesis (0 disables the second pass)."},"procedural":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":true,"description":"Master gate for procedural memory: extraction, recall boost, and mining. Default-on; set to `false` to opt out."},"minOccurrences":{"type":"integer","minimum":0,"maximum":1000,"default":3,"description":"Minimum clustered trajectory occurrences before emitting a candidate procedure (0 disables mining)."},"successFloor":{"type":"number","minimum":0,"maximum":1,"default":0.75,"description":"Minimum success-rate floor (from trajectory outcomes) for miner promotion."},"autoPromoteOccurrences":{"type":"integer","minimum":0,"maximum":10000,"default":8,"description":"Minimum occurrence count to auto-promote pending_review procedures to active (0 disables count-based promotion)."},"autoPromoteEnabled":{"type":"boolean","default":false,"description":"miner may auto-promote trusted procedures to active after autoPromoteOccurrences."},"lookbackDays":{"type":"integer","minimum":1,"maximum":3650,"default":14,"description":"Trajectory lookback window for procedural mining."},"recallMaxProcedures":{"type":"integer","minimum":1,"maximum":10,"default":2,"description":"Maximum procedure memories to add on task-initiation recall."},"proceduralMiningCronAutoRegister":{"type":"boolean","default":false,"description":"installer may register the nightly procedural mining cron job."},"skillProjection":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false,"description":"Project active procedure memories into `skills/<slug>/SKILL.md` bundles during materialization. Default off; CLI export/import work regardless."},"maxSkills":{"type":"integer","minimum":0,"maximum":500,"default":20,"description":"Maximum projected skill bundles. 0 disables projection entirely."}}},"maintenance":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":false,"description":"Procedure library-health maintenance: merge near-duplicates, flag stale-tool, retire failure-dominant/idle. Shadow-first: no-apply writes nothing."},"retireIdleDays":{"type":"integer","minimum":0,"maximum":36500,"default":90,"description":"Days without an access signal or outcomes before an active procedure is retired as idle. 0 disables idle retirement."},"retireMinOutcomes":{"type":"integer","minimum":1,"maximum":100000,"default":5,"description":"Minimum mw_fail count before failure-dominant retirement is considered."},"retireFailRatio":{"type":"number","exclusiveMinimum":0,"default":2,"description":"mw_fail must exceed mw_success times this ratio for failure-dominant retirement."},"mergeEnabled":{"type":"boolean","default":true,"description":"Whether duplicate-cluster merging runs within the maintenance gate."}}}}},"driftDetection":{"type":"object","additionalProperties":false,"default":{},"description":"Preference drift detection: classify aging `preference` memories corroborated / stale / drifted, review-gate drifted, optionally damp stale at recall.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for drift classification and its apply mode"},"minAgeDays":{"type":"integer","minimum":0,"maximum":36500,"default":60,"description":"A preference younger than this many days is never a scan candidate."},"lookbackDays":{"type":"integer","minimum":0,"maximum":36500,"default":45,"description":"Evidence-gathering window, in days back from the run instant, using [start, end) bounds."},"maxCandidatesPerRun":{"type":"integer","minimum":0,"default":25,"description":"Cap on preferences classified per run. 0 to disable the scan."},"recallDamping":{"type":"boolean","default":false,"description":"Recall multiplies rank score of `driftState: stale` preference memories by stalePenalty. Default off = byte-identical ordering."},"stalePenalty":{"type":"number","exclusiveMinimum":0,"maximum":1,"default":0.8,"description":"Multiplier applied to stale preferences in (0, 1]. 1 to disable the effect without flipping recallDamping."},"annotateAfterDays":{"type":"integer","minimum":0,"maximum":36500,"default":0,"description":"Annotate an injected preference whose last corroboration is older than this many days. 0 disables annotation."}}},"deepRecall":{"type":"object","additionalProperties":false,"default":{},"description":"Budgeted deep-recall: REFINE/EXPAND/STOP over the cue-anchor graph; deep surfaces only (MCP deep_recall, /recall/deep, CLI). Never on the hot path.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch for the deep-recall surface"},"maxSteps":{"type":"integer","minimum":0,"default":4,"description":"Policy iterations; 0 disables the loop (seed-only retrieval)."},"maxExpandPerStep":{"type":"integer","minimum":0,"default":3,"description":"Per-step cap on frontier nodes pulled into the working set. 0 honors EXPAND but selects nothing."},"maxResults":{"type":"integer","minimum":0,"default":12,"description":"Final working-set cap returned to the caller. 0 returns an empty entry list."},"stepTimeoutMs":{"type":"integer","minimum":0,"default":10000,"description":"Per policy-call timeout in ms; 0 = none."},"totalTimeoutMs":{"type":"integer","minimum":0,"default":45000,"description":"Whole-invocation wall-clock timeout in ms; 0 = none."}}},"recallNavigation":{"type":"object","additionalProperties":false,"default":{},"description":"Expand or traverse a served memory without a new search.","properties":{"enabled":{"type":"boolean","default":true,"description":"Master switch"},"windowSnapshots":{"type":"integer","minimum":1,"maximum":50,"default":3,"description":"Recent recall snapshots that authorize an id."},"maxNeighbors":{"type":"integer","minimum":1,"maximum":50,"default":10,"description":"Traverse neighbor ceiling."}}},"sessionExperience":{"type":"object","additionalProperties":false,"default":{},"description":"Session-end agent-experience episode extraction (issue #2979).","properties":{"enabled":{"type":"boolean","default":false,"description":"Master switch. Default off; conservative pins off."}}},"seedGraduation":{"type":"object","additionalProperties":false,"default":{},"description":"Graduate pending_review seeds (#2974). Default off.","properties":{"enabled":{"type":"boolean","default":false},"minCorroborations":{"type":"integer","minimum":1,"maximum":50,"default":2}}},"extractionLiveness":{"type":"object","additionalProperties":false,"default":{},"properties":{"enabled":{"type":"boolean","default":true,"description":"Master gate for extraction-pipeline liveness reporting; false = /health, doctor, stats never report degraded"},"staleWindowMs":{"type":"integer","minimum":1,"default":86400000,"description":"How stale the last-successful-extraction watermark may get (ms) before a non-empty buffer flags degraded. Default 86400000 (24h)."}}},"replicaPeers":{"type":"object","additionalProperties":false,"default":{},"description":"Replica divergence detection: poll each peer's authenticated /health watermark, flag per-namespace drift (count, age, digest). Detection only.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. When false (default) no peers are polled and the daemon behaves exactly as before."},"peers":{"type":"array","default":[],"description":"Peer Remnic agent-access HTTP endpoints to poll for corpus watermarks.","items":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","minLength":1,"pattern":"\\S","description":"Base URL of the peer's agent-access HTTP server (http or https). Supports ${ENV_VAR} expansion."},"token":{"description":"Bearer token for the peer's authenticated /health: literal (${ENV_VAR} ok) or SecretRef resolved at poll time. Never logged.","anyOf":[{"type":"string","minLength":1,"pattern":"\\S"},{"type":"object","required":["source"],"properties":{"source":{"type":"string","minLength":1},"provider":{"type":"string"},"id":{"type":"string"},"command":{}}}]}}}},"pollIntervalMs":{"type":"integer","minimum":1,"default":300000,"description":"Peer re-poll interval (stale-while-revalidate TTL, ms). Integer >= 1; coerced strings, non-positive rejected. Default 300000 (5 min)."},"requestTimeoutMs":{"type":"integer","minimum":1,"maximum":2147483647,"default":10000,"description":"Per-peer HTTP request timeout, in ms. Finite integer >= 1. Default 10000 (10s)."},"maxFileCountDelta":{"type":"integer","minimum":0,"default":100,"description":"Per-namespace memory-file-count difference beyond which a peer is flagged diverged. 0 flags any difference"},"maxWatermarkAgeDeltaMs":{"type":"integer","minimum":0,"default":900000,"description":"Per-namespace newest-write timestamp gap (ms) beyond which a peer is flagged diverged. 0 flags any gap. Default 900000 (15 min)."}}},"profilingEnabled":{"type":"boolean","default":false,"description":"Enable performance profiling for recall and extraction pipelines; data stored locally in the profiling storage directory."},"profilingMaxTraces":{"type":"number","default":100,"description":"Maximum number of profiling trace files to retain. Oldest traces are pruned when this limit is exceeded."},"profilingStorageDir":{"type":"string","default":"","description":"Directory path for storing profiling trace files. Default <memoryDir>/profiling if empty."},"projectionRebuildEnabled":{"type":"boolean","default":true,"description":"Schedule rebuilds of the memory projection. Default true; manual rebuild remains available."},"projectionRebuildHeapUsageLimit":{"type":"number","exclusiveMinimum":0,"maximum":1,"default":0.6,"description":"Postpone the scheduled projection rebuild when heap use / V8 limit exceeds this ratio. (0,1]; default 0.6; 1 disables. Postponed rebuilds use backoff."},"projectionRebuildIntervalMs":{"type":"integer","minimum":60000,"default":21600000,"description":"Cadence (ms) for the scheduled memory-projection rebuild. Integer, min 60000; coerced strings, invalid/sub-minimum rejected."},"promotionByOutcomeEnabled":{"type":"boolean","default":false,"description":"Enable outcome-aware promotion controls that consume learned utility signals when later rollout slices activate them."},"promotionCandidates":{"type":"object","additionalProperties":false,"properties":{"minAccessCount":{"type":"integer","minimum":0,"default":3,"description":"Minimum accessCount before an agent-subject memory qualifies as reuse-signaled for promotion-candidates."}}},"provenance":{"type":"object","description":"Claim-level provenance spans: facts carry verbatim source excerpts + strength tag (verified/unverified/none) for the faithfulness gate, corrections, tombstones, TrustScore.","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Emit provenance spans on new extractions. Default true (code-applied, so env override fires when omitted); off = pre-feature prompt/output."},"maxQuoteChars":{"type":"integer","default":300,"minimum":1,"description":"Max characters stored per quote; longer quotes truncate at a word boundary with an ellipsis. Never stores the whole turn."},"requireSpans":{"type":"boolean","default":false,"description":"Facts whose quote cannot be located route to pending_review instead of active. Stays false until #1576 lands + bench shows it safe."}}},"qmdAutoEmbedEnabled":{"type":"boolean","default":false,"description":"If true, background QMD maintenance also runs embed on a throttled cadence."},"qmdAutoUpgradeCheckIntervalMs":{"type":"number","minimum":60000,"default":86400000,"description":"Minimum interval between QMD auto-upgrade checks"},"qmdAutoUpgradeEnabled":{"type":"boolean","default":false,"description":"Opt-in auto-upgrade for PATH/fallback QMD installs"},"qmdCandidateLimit":{"type":"number","minimum":1,"description":"candidate limit forwarded to supported QMD query paths"},"qmdChunkStrategy":{"type":"string","enum":["auto","regex"],"default":"auto","description":"QMD chunk strategy forwarded when the installed QMD supports it"},"qmdColdCollection":{"type":"string","default":"openclaw-engram-cold","description":"Secondary QMD collection name used for cold-tier fallback recall"},"qmdColdMaxResults":{"type":"number","default":8,"description":"Max cold-tier QMD results considered before final recall cap"},"qmdColdTierEnabled":{"type":"boolean","default":false,"description":"Enable cold-tier QMD recall from a secondary collection when hot recall misses"},"qmdCollection":{"type":"string","default":"openclaw-engram","description":"QMD collection name"},"wikiMergeIntoRecall":{"type":"boolean","enum":[false],"default":false,"description":"Reserved safety gate. External wiki collections remain on-demand only; true is not supported."},"qmdDaemonEnabled":{"type":"boolean","default":true,"description":"Prefer the shared QMD MCP session for faster searches when available."},"qmdDaemonRecheckIntervalMs":{"type":"number","default":60000,"description":"Re-probe interval when daemon is down (ms)"},"qmdDaemonTimeoutMs":{"type":"number","minimum":1000,"maximum":120000,"default":60000,"description":"Per-call timeout (ms) for QMD daemon searches. Default 60000; raise to 120000 for very large cold indexes."},"qmdDaemonUrl":{"type":"string","default":"http://localhost:8181/mcp","description":"Legacy compatibility setting retained for QMD daemon configuration."},"qmdEmbedMinIntervalMs":{"type":"number","default":3600000,"description":"Minimum interval between background QMD embed runs (ms)."},"qmdEmbedModel":{"type":"string","description":"QMD_EMBED_MODEL override"},"qmdEmbedParallelism":{"type":"number","minimum":1,"maximum":8,"description":"QMD_EMBED_PARALLELISM override, clamped to 1-8"},"qmdEnabled":{"type":"boolean","default":true,"description":"Use QMD for search"},"qmdExplainEnabled":{"type":"boolean","default":false,"description":"Request QMD explain traces for recall debugging when supported."},"qmdForceCpu":{"type":"boolean","default":false,"description":"Set QMD_FORCE_CPU=1 for QMD child processes to bypass GPU probing and run predictably on CPU"},"qmdGenerateModel":{"type":"string","description":"QMD_GENERATE_MODEL override"},"qmdGpuBackend":{"type":["string","boolean"],"enum":["auto","metal","cuda","vulkan","false",false],"description":"QMD_LLAMA_GPU override for QMD child processes"},"qmdIndexName":{"type":"string","description":"QMD named index forwarded as qmd --index <name> when supported. Leave unset unless QMD data already lives in that index."},"qmdIntentHintsEnabled":{"type":"boolean","default":false,"description":"Pass Engram's inferred recall intent into QMD unified search when supported."},"qmdMaintenanceDebounceMs":{"type":"number","default":30000,"description":"Debounce window for background QMD maintenance updates (ms)."},"qmdMaintenanceEnabled":{"type":"boolean","default":true,"description":"Enable debounced background QMD maintenance instead of immediate updates on extraction."},"qmdEmbeddingBacklogThreshold":{"type":"integer","minimum":0,"default":1000,"description":"Pending-embedding count above which QMD health reports degraded. 0 to disable backlog degradation."},"qmdMaxResults":{"type":"number","default":8,"description":"Max QMD results per search"},"qmdPath":{"type":"string","description":"absolute path to qmd binary (bypasses PATH/fallback discovery)"},"qmdQueryRerankEnabled":{"type":"boolean","default":true,"description":"false = ask supported QMD versions to skip the built-in rerank step"},"qmdRecallCacheMaxEntries":{"type":"number","default":128,"description":"Maximum in-memory rendered QMD recall cache entries before oldest eviction."},"qmdRecallCacheStaleTtlMs":{"type":"number","default":600000,"description":"Maximum stale TTL in ms for rendered QMD recall cache fallbacks."},"qmdRecallCacheTtlMs":{"type":"number","default":60000,"description":"Fresh TTL in ms for rendered QMD recall enrichment cache entries."},"qmdRerankModel":{"type":"string","description":"QMD_RERANK_MODEL override"},"qmdSearchStrategy":{"type":"string","enum":["hybrid","lex-vec","lex"],"default":"hybrid","description":"Daemon search plan: 'hybrid' (default) = lex+vec+hyde; 'lex-vec' drops HyDE; 'lex' = BM25-only (fastest). Lower tiers trade recall for latency."},"qmdSubprocessStrategy":{"type":"string","enum":["query","search"],"default":"query","description":"QMD CLI fallback command (daemon down only). 'query' (default) = LLM expansion + rerank; 'search' = BM25-only, faster on large collections."},"qmdSupportedVersion":{"type":"string","default":"2.8.3","description":"QMD version this build expects. Auto-upgrade installs only versions below 2.8.3; 2.8.3+ needs the manual install in docs/qmd-2.8.3.md."},"qmdTierAutoBackfillEnabled":{"type":"boolean","default":false,"description":"Allow automated cold-tier backfill jobs to repair parity gaps"},"qmdTierDemotionMinAgeDays":{"type":"number","default":14,"description":"Minimum hot-memory age in days before tier demotion is eligible"},"qmdTierDemotionValueThreshold":{"type":"number","default":0.35,"description":"Value-score threshold at or below which hot memories are eligible for cold demotion"},"qmdTierMigrationEnabled":{"type":"boolean","default":false,"description":"Enable value-aware migration between hot and cold QMD tiers"},"qmdTierParityGraphEnabled":{"type":"boolean","default":true,"description":"Apply graph-assist parity checks across hot and cold retrieval tiers"},"qmdTierParityHiMemEnabled":{"type":"boolean","default":true,"description":"Apply HiMem episode/note parity checks across hot and cold retrieval tiers"},"qmdTierPromotionValueThreshold":{"type":"number","default":0.7,"description":"Value-score threshold at or above which cold memories are eligible for hot promotion"},"qmdUpdateMinIntervalMs":{"type":"number","default":900000,"description":"Minimum interval between QMD update executions (ms); the update runs globally across collections."},"qmdUpdateTimeoutMs":{"type":"number","default":90000,"description":"Timeout for QMD update command (ms). Increase if your index grows and updates exceed 30s."},"quarantinePromotionEnabled":{"type":"boolean","default":false,"description":"Reserve future promotion flows from quarantine into higher-trust zones."},"queryAwareIndexingEnabled":{"type":"boolean","default":false,"description":"Temporal and tag indexes (v8.1): state/index_time.json + index_tags.json for prefiltering; temporal + #tag queries get a small recall boost"},"queryAwareIndexingMaxCandidates":{"type":"number","default":200,"description":"Max candidate paths returned from index prefilter before scoring (0 = no cap)."},"queryExpansionEnabled":{"type":"boolean","default":false,"description":"Enable heuristic query expansion for retrieval (no LLM calls)."},"queryExpansionMaxQueries":{"type":"number","default":4,"description":"Max expanded queries to run (including the original prompt)."},"queryExpansionMinTokenLen":{"type":"number","default":3,"description":"Minimum token length to include in heuristic query expansion."},"reasoningEffort":{"type":"string","enum":["none","low","medium","high"],"default":"low","description":"Reasoning effort for extraction"},"recallAuditAnomalyDetectionEnabled":{"type":"boolean","default":false,"description":"Access surfaces run the anomaly detector over the audit trail tail after each recall, surfacing flags via logs/metrics"},"recallAuditAnomalyHighCardinalityLimit":{"type":"number","minimum":1,"default":50,"description":"High-cardinality-return anomaly threshold: distinct results returned within the window before flagging."},"recallAuditAnomalyNamespaceWalkLimit":{"type":"number","minimum":1,"default":3,"description":"Threshold for the namespace-walk anomaly flag: number of distinct namespaces queried within the window before flagging."},"recallAuditAnomalyRapidFireLimit":{"type":"number","minimum":1,"default":30,"description":"Threshold for the rapid-fire anomaly flag: number of recall requests within the window before flagging."},"recallAuditAnomalyRepeatQueryLimit":{"type":"number","minimum":1,"default":5,"description":"Threshold for the repeat-query anomaly flag: number of identical queries within the window before flagging."},"recallAuditAnomalyWindowMs":{"type":"number","minimum":1,"default":300000,"description":"Rolling window (ms) over which audit entries are analyzed by the anomaly detector. Default 5 minutes."},"recallBudgetChars":{"type":"number","description":"Hard character headroom for total recall context. Default = maxMemoryTokens * 4; assembly also enforces maxMemoryTokens (script-aware estimator)."},"recallProfileMaxRatio":{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Maximum fraction of the total recall budget available to the behavioral profile. 1 to disable the share cap."},"recallStateViews":{"type":"boolean","default":false,"description":"State-aware recall views: change-intent queries surface superseded memories as labeled history when the successor is recalled"},"recallStandingBlock":{"type":"boolean","default":false,"description":"Prefix-cache-stable standing memory block (#2971): byte-stable index of pinned/high-value memories before per-turn recall"},"standingBlockFreshDays":{"type":"number","minimum":0,"default":14,"description":"Days a memory stays in the standing block's full-text fresh band before it compresses to a recognition hook."},"standingBlockMaxChars":{"type":"integer","minimum":1,"default":2048,"description":"Hard character budget for the standing memory block; pinned lines that cannot fit refuse the build rather than truncate."},"directorySidecarsEnabled":{"type":"boolean","default":false,"description":"Per-directory overview sidecars on memory writes + neighborhood abstracts during recall (#3088)"},"recallRecognitionTier":{"type":"boolean","default":false,"description":"Full-index recognition tier (#2975): small namespaces recall against the whole compact index, not vector search; oversized indexes fall back"},"recognitionIndexMaxEntries":{"type":"integer","minimum":1,"default":500,"description":"Inclusive entry threshold for the full-index recognition tier; larger indexes route to vector search."},"recallConfidenceGateEnabled":{"type":"boolean","default":false,"description":"Synapse-inspired confidence gate: skip memory context when top recall score is below threshold"},"recallConfidenceGateThreshold":{"type":"number","default":0.12,"description":"Minimum top recall score to include memories (0-1). Below this, memories are rejected as too uncertain"},"recallCoreDeadlineMs":{"type":"number","default":75000,"description":"Default deadline in ms recorded for core recall sections."},"recallCrossNamespaceBudgetEnabled":{"type":"boolean","default":false,"description":"Cross-namespace query-budget limiter: principals bursting recalls on foreign namespaces are throttled past the per-window hard limit. Ships off."},"recallCrossNamespaceBudgetHardLimit":{"type":"number","minimum":1,"default":30,"description":"Hard threshold for the cross-namespace budget: calls past this count are denied until the window advances."},"recallCrossNamespaceBudgetSoftLimit":{"type":"number","minimum":0,"default":10,"description":"Soft threshold for the cross-namespace budget: calls past this count are flagged but still allowed."},"recallCrossNamespaceBudgetWindowMs":{"type":"number","minimum":1,"default":60000,"description":"Rolling window in ms over which cross-namespace reads are counted for the per-principal budget."},"recallDirectAnswerAmbiguityMargin":{"type":"number","minimum":0,"maximum":1,"default":0.15,"description":"If the second-best candidate scores within this ratio of the top, direct-answer defers to hybrid."},"recallDirectAnswerEligibleTaxonomyBuckets":{"type":"array","items":{"type":"string"},"default":["decisions","principles","conventions","runbooks","entities"],"description":"Taxonomy category IDs eligible for direct-answer routing."},"recallDirectAnswerEnabled":{"type":"boolean","default":false,"description":"Direct-answer tier observation mode: annotates LastRecallSnapshot.tierExplain with the would-have-served tier. Does not short-circuit QMD."},"recallDirectAnswerImportanceFloor":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Minimum calibrated importance score for direct-answer eligibility. 0 to disable the gate."},"recallDirectAnswerTokenOverlapFloor":{"type":"number","minimum":0,"maximum":1,"default":0.55,"description":"Minimum query↔memory token-overlap ratio for direct-answer eligibility. 0 to disable the gate."},"recallDisclosureEscalation":{"type":"string","enum":["manual","auto"],"default":"manual","description":"Disclosure auto-escalation: 'auto' escalates chunk to section below recallDisclosureEscalationThreshold when none supplied; 'raw' never auto-selected."},"recallDisclosureEscalationThreshold":{"type":"number","minimum":0,"maximum":1,"default":0.5,"description":"Top-K confidence (0-1) below which auto-escalation promotes chunk to section; only under recallDisclosureEscalation 'auto'"},"recallEnrichmentDeadlineMs":{"type":"number","default":60000,"description":"Default deadline in ms recorded for enrichment recall sections."},"recallGraphDamping":{"type":"number","minimum":0,"maximum":0.999999999,"default":0.85,"description":"PPR damping factor used by the graph retrieval tier."},"recallGraphEnabled":{"type":"boolean","default":false,"description":"Recall builds a retrieval graph from frontmatter, runs Personalized PageRank merged with QMD via MMR. Default off pending the bench."},"recallGraphIterations":{"type":"integer","minimum":0,"maximum":500,"default":20,"description":"Maximum power-iteration rounds for PPR. Higher values trade latency for convergence."},"recallGraphTopK":{"type":"integer","minimum":0,"maximum":10000,"default":50,"description":"Maximum memories returned by the graph retrieval tier before the MMR diversifier runs."},"recallHandleSnapshotDepth":{"type":"number","minimum":1,"maximum":50,"default":5,"description":"Recent per-session recall snapshots searched when resolving a `[m:xxxx]` handle; a miss is tagged rather than widening the window."},"recallImpressionsRotateBytes":{"type":"integer","default":33554432,"minimum":0,"description":"Rotate state/recall_impressions.jsonl to.1.N when it exceeds this many bytes. Set 0 to disable. Default 32MB."},"recallImpressionsRotateKeep":{"type":"integer","default":5,"minimum":1,"maximum":1000,"description":"Rotated recall-impression archives to keep (.1..N). Default 5, max 1000; each slot costs one rename under the lock per rotation."},"recallMaxConcurrentPerPrincipal":{"type":"integer","minimum":0,"default":4,"description":"Max concurrent recalls per principal; extras queue FIFO, aborted waiters leave immediately. 0 = unlimited; 1 = exact serialization."},"recallMemoryHandles":{"type":"boolean","default":false,"description":"Append stable short handles (`[m:4f2a]`) to injected memory lines at recall render. Default off = byte-identical; ~9 chars/memory; flip only with bench evidence."},"recallMemoryWorthFilterEnabled":{"type":"boolean","default":true,"description":"Recall multiplies candidate scores by the Memory Worth factor (mw_success / mw_fail); failed-session memories sink, neutral untouched. false opts out."},"recallTrustStageCorpusFallbackEnabled":{"type":"boolean","default":true,"description":"Use cached corpus trust signals for cold recall candidates. Disable to keep only preloaded and direct-read signals."},"hotMemoriesCacheEnabled":{"type":"boolean","default":true,"description":"Cache parsed memories by corpus version. Disable to force disk scans."},"hotMemoriesCacheTtlMs":{"type":"number","minimum":0,"default":60000,"description":"Maximum cache age (ms); 0 uses version invalidation only"},"recallMemoryWorthHalfLifeMs":{"type":"number","minimum":0,"default":0,"description":"Memory Worth decay half-life (ms); older outcomes decay toward the neutral prior. 0 disables decay."},"recallMmrEnabled":{"type":"boolean","default":true,"description":"Apply Maximal Marginal Relevance to the final per-section recall selection so one redundant cluster cannot dominate."},"recallMmrLambda":{"type":"number","default":0.7,"minimum":0,"maximum":1,"description":"MMR lambda: 1.0 = pure relevance, 0.0 = pure diversity"},"recallMmrTopN":{"type":"number","default":40,"minimum":0,"description":"Number of top candidates per section to run MMR over. Candidates past this remain in original order."},"recallOuterTimeoutMs":{"type":"number","default":75000,"description":"Outer timeout in ms for the full recall pipeline."},"recallPipeline":{"type":"array","description":"Ordered recall sections with per-section budgets and feature knobs.","items":{"type":"object","properties":{"id":{"type":"string"},"enabled":{"type":"boolean","default":true},"maxChars":{"type":["number","null"]},"consolidateTriggerLines":{"type":"number"},"consolidateTargetLines":{"type":"number"},"maxEntities":{"type":"number"},"maxResults":{"type":"number"},"maxTurns":{"type":"number"},"maxTokens":{"type":"number"},"lookbackHours":{"type":"number"},"maxCount":{"type":"number"},"topK":{"type":"number"},"timeoutMs":{"type":"number"},"maxPatterns":{"type":"number"},"forceGeneric":{"type":"boolean"},"maxHints":{"type":"number","description":"Per-section cap on injected hint lines."},"maxSupportingFacts":{"type":"number","description":"Per-section cap on supporting facts."},"maxRelatedEntities":{"type":"number","description":"Per-section cap on related entities."},"recentTurns":{"type":"number","description":"Per-section recent-turn scan window."},"maxRubrics":{"type":"number","description":"Per-section cap on injected rubrics."}},"required":["id"]}},"recallPlannerEnabled":{"type":"boolean","default":true,"description":"Use lightweight retrieve-vs-think planning to avoid unnecessary recall work."},"recallPlannerLlmEnabled":{"type":"boolean","default":false,"description":"LLM-based recall planning: false = regex heuristic; true = recallPlannerModel classifies via the gateway/fallback chain, heuristic on timeout/error. Needs recallPlannerEnabled."},"recallPlannerMaxMemoryHints":{"type":"number","default":24,"description":"Reserved. Caps caller-supplied recent-memory hints in the recall planner prompt; the default path does not populate hints."},"recallPlannerMaxPromptChars":{"type":"number","default":4000,"description":"Maximum characters of prompt context to send to the recall planner."},"recallPlannerMaxQmdResultsFull":{"type":"number","default":8,"description":"QMD cap used when recall planner selects full mode."},"recallPlannerMaxQmdResultsMinimal":{"type":"number","default":4,"description":"QMD cap used when recall planner selects minimal mode."},"recallPlannerModel":{"type":"string","default":"gpt-5.5","description":"'provider/model' for LLM recall planning (recallPlannerLlmEnabled); taskModelChain / gateway defaults as fallback."},"recallPlannerShadowMode":{"type":"boolean","default":false,"description":"Run recall planner in shadow mode - evaluate but do not apply results."},"recallPlannerTelemetryEnabled":{"type":"boolean","default":true,"description":"Emit telemetry events for recall planner decisions."},"recallPlannerTimeoutMs":{"type":"number","default":1500,"description":"Timeout in ms for recall planner inference."},"recallPlannerUseResponsesApi":{"type":"boolean","default":true,"description":"Reserved. Chat-vs-Responses dialect is chosen per-provider from each provider's api field; this does not override routing."},"recallReasoningTraceBoostEnabled":{"type":"boolean","default":false,"description":"Boost reasoning_trace memories on problem-solving queries ('how do I..', 'step by step'). Default off; opt in after benchmarking."},"recallSingleFlightEnabled":{"type":"boolean","default":true,"description":"Identical concurrent recalls per principal share one in-flight execution; callers get a clone + own budget event. Default true; false = per-request."},"recallTranscriptRetentionDays":{"type":"integer","minimum":1,"maximum":365,"default":30,"description":"Days of runtime recall audit transcripts to retain before pruning."},"recallTranscriptsEnabled":{"type":"boolean","default":false,"description":"Write JSONL recall audit transcripts for runtime recall-context assembly."},"recencyWeight":{"type":"number","default":0.2,"description":"Weight for recency boosting in search (0-1)"},"recordEmptyRecallImpressions":{"type":"boolean","default":false,"description":"Record recall impressions with empty memoryIds when no memory context is added."},"reinforcementRecallBoostEnabled":{"type":"boolean","default":false,"description":"Memories with reinforcement_count frontmatter get an additive recall score boost"},"reinforcementRecallBoostMax":{"type":"number","minimum":0,"maximum":1,"default":0.3,"description":"Maximum additive reinforcement boost per result. Range [0, 1]"},"reinforcementRecallBoostWeight":{"type":"number","minimum":0,"maximum":1,"default":0.05,"description":"Score bonus per unit of reinforcement_count (weight * count, capped at max). Range [0, 1]"},"remoteSearchApiKey":{"type":"string","description":"API key for remote search backend (when searchBackend=remote)"},"remoteSearchBaseUrl":{"type":"string","description":"Base URL for remote search backend (when searchBackend=remote)"},"remoteSearchTimeoutMs":{"type":"number","default":30000,"description":"Timeout in ms for remote search backend requests"},"rerankCacheEnabled":{"type":"boolean","default":true,"description":"Cache re-ranking results in-memory for repeated queries."},"rerankCacheTtlMs":{"type":"number","default":3600000,"description":"TTL for in-memory re-ranking cache (ms)."},"rerankEnabled":{"type":"boolean","default":false,"description":"Enable LLM re-ranking of retrieved memories"},"rerankMaxCandidates":{"type":"number","default":20,"description":"Max candidates to send to the re-ranker."},"rerankProvider":{"type":"string","default":"local","description":"Re-ranking provider: 'local' uses local LLM only. 'cloud' is reserved/experimental (currently treated as no-op).","enum":["local","cloud"]},"rerankTimeoutMs":{"type":"number","default":8000,"description":"Timeout for re-ranking requests (ms). Fail-open on timeout."},"respectBundledActiveMemoryToggle":{"type":"boolean","default":true,"description":"Compat-only: honor the bundled active-memory session toggle when resolving recall toggles. Only matters when chaining; memory-slot is primary."},"responseGuidanceRecallEnabled":{"type":"boolean","default":false,"description":"Enable response guidance recall for user answer-shape preferences."},"responseGuidanceRecallMaxChars":{"type":"integer","default":2400,"minimum":0,"description":"Character budget for the response guidance recall section."},"responseGuidanceRecallMaxResults":{"type":"integer","default":48,"minimum":0,"description":"Maximum recalled items for response guidance."},"responseGuidanceRecallScanWindowTokens":{"type":"integer","default":16000,"minimum":1,"description":"Recent-token scan window for response guidance."},"responseGuidanceRecallScanWindowTurns":{"type":"integer","default":64,"minimum":1,"description":"Recent-turn scan window for response guidance."},"resumeBundleDir":{"type":"string","description":"Override the resume-bundle directory (defaults to {memoryDir}/state/resume-bundles)."},"resumeBundlesEnabled":{"type":"boolean","default":false,"description":"Enable deterministic resume-bundle storage and operator-facing handoff bundle commands."},"routingRulesEnabled":{"type":"boolean","default":false,"description":"Enable custom memory routing rules (v8.7)"},"routingRulesStateFile":{"type":"string","default":"state/routing-rules.json","description":"Relative path under memoryDir for persisted routing rules."},"scopedCacheInvalidationEnabled":{"type":"boolean","default":true,"description":"Evict only the cache layers a write can affect; a fact create no longer clears QMD or entity caches. false = pre-#1904 full-clear."},"scopeProfiles":{"type":"object","default":{},"description":"Hosted-team memory scope profiles: ordered read layers, default write layer, authorized promotion targets. No behavior change when absent.","additionalProperties":{"type":"object","properties":{"readOrder":{"type":"array","items":{"type":"string","enum":["userProject","teamProject","userGlobal","serverShared"]}},"writeDefault":{"type":"string","enum":["userProject","teamProject","userGlobal","serverShared"]},"promotionTargets":{"type":"array","items":{"type":"string","enum":["userProject","teamProject","userGlobal","serverShared"]}},"teamProject":{"type":"object","properties":{"namespaceTemplate":{"type":"string"},"teamId":{"type":"string"}}},"autoPromote":{"type":"object","properties":{"enabled":{"type":"boolean"},"targets":{"type":"array","items":{"type":"string","enum":["teamProject","serverShared","userGlobal","userProject"]}},"categories":{"type":"array","items":{"type":"string"}},"minConfidenceTier":{"type":"string","enum":["explicit","implied","inferred","speculative"]}}}}}},"searchBackend":{"type":"string","enum":["qmd","remote","noop","lancedb","meilisearch","orama"],"default":"qmd","description":"Search backend: qmd, remote, noop, lancedb, meilisearch, or orama"},"secureStoreEnabled":{"type":"boolean","default":false,"description":"At-rest AES-256-GCM encryption for memory files via secure-fs. Requires `remnic secure-store unlock` after each daemon start"},"secureStoreEncryptOnWrite":{"type":"boolean","default":true,"description":"With secureStoreEnabled, encrypt new memory writes. false pauses new encryption while still decrypting existing"},"semanticChunkingConfig":{"type":"object","default":{},"description":"overrides for the semantic chunking algorithm","properties":{"targetTokens":{"type":"number","default":200,"description":"Target tokens per chunk"},"minTokens":{"type":"number","default":100,"description":"Minimum tokens for a segment before merging with neighbor"},"maxTokens":{"type":"number","default":400,"description":"Maximum tokens for a segment before recursive splitting"},"smoothingWindowSize":{"type":"number","default":3,"description":"Window size for the moving-average smoothing filter (auto-rounded to odd)"},"boundaryThresholdStdDevs":{"type":"number","default":1,"description":"Standard deviations below mean for boundary detection"},"embeddingBatchSize":{"type":"number","default":32,"description":"Batch size for embedding requests"},"fallbackToRecursive":{"type":"boolean","default":true,"description":"Fall back to recursive chunking when embeddings are unavailable"}}},"semanticChunkingEnabled":{"type":"boolean","default":false,"description":"Enable semantic chunking with embedding-based topic boundary detection (requires embedding provider)"},"semanticConsolidationEnabled":{"type":"boolean","default":false,"description":"Enable periodic semantic consolidation of similar memories."},"semanticConsolidationExcludeCategories":{"type":"array","items":{"type":"string"},"default":["correction","commitment","procedure"],"description":"Memory categories excluded from semantic consolidation."},"semanticConsolidationIntervalHours":{"type":"number","default":168,"description":"Hours between automatic consolidation runs (168 = weekly)."},"semanticConsolidationMaxPerRun":{"type":"number","default":100,"description":"Max memories to consolidate per run to limit LLM cost."},"semanticConsolidationMinClusterSize":{"type":"number","default":3,"description":"Minimum cluster size before consolidation triggers."},"semanticConsolidationModel":{"type":"string","default":"auto","description":"LLM for consolidation synthesis: 'auto' (primary model), 'fast' (fast local model), or a specific model name."},"semanticConsolidationThreshold":{"type":"number","default":0.8,"description":"Token overlap threshold (0-1) for grouping similar memories. 0.8=conservative, 0.6=aggressive."},"semanticDedupCandidates":{"type":"number","default":5,"minimum":0,"description":"Nearest-neighbor candidates inspected for write-time semantic dedup. 0 disables the lookup (= semanticDedupEnabled=false)."},"semanticDedupEnabled":{"type":"boolean","default":true,"description":"Write-time semantic similarity guard: skips near-duplicate facts via embedding comparison. Fails open when the embedder is unavailable."},"semanticDedupThreshold":{"type":"number","default":0.92,"minimum":0,"maximum":1,"description":"Cosine similarity threshold in [0, 1]; candidate facts at or above are treated as duplicates and skipped."},"semanticMerge":{"type":"object","additionalProperties":false,"default":{},"description":"Judge-mediated merge-on-write: facts whose nearest neighbor scores in [minSimilarity, semanticDedupThreshold) go to a merge judge; merge updates existing; failures create.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate. Default off - with it off no lookup and no judge call happen."},"minSimilarity":{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Lower bound of the merge band; must be strictly below semanticDedupThreshold (which owns the skip path above it) or rejected at parse."},"maxCandidates":{"type":"integer","minimum":0,"default":3,"description":"Max in-band neighbors offered to the merge judge. 0 disables merging entirely (before any embedding lookup)."},"categories":{"type":"array","items":{"type":"string"},"default":["fact","preference","decision","relationship","skill"],"description":"Categories eligible for merging; procedure, reasoning_trace, moment, correction never merge regardless."},"shadowMode":{"type":"boolean","default":false,"description":"Decision-only rollout mode: run lookup + judge, log the would-merge verdict, always create. Never mutates an existing memory."}}},"semanticRulePromotionEnabled":{"type":"boolean","default":false,"description":"Enable deterministic promotion of explicit IF/THEN rules from verified episodic memories."},"semanticRuleVerificationEnabled":{"type":"boolean","default":false,"description":"Verify promoted semantic rules against their cited source episodes at recall time before surfacing them in recall."},"sessionObserverBands":{"type":"array","description":"Session size bands and growth thresholds for heartbeat observer triggers.","items":{"type":"object","additionalProperties":false,"properties":{"maxBytes":{"type":"number"},"triggerDeltaBytes":{"type":"number"},"triggerDeltaTokens":{"type":"number"}},"required":["maxBytes","triggerDeltaBytes","triggerDeltaTokens"]},"default":[{"maxBytes":50000,"triggerDeltaBytes":4800,"triggerDeltaTokens":1200},{"maxBytes":200000,"triggerDeltaBytes":9600,"triggerDeltaTokens":2400},{"maxBytes":1000000000,"triggerDeltaBytes":19200,"triggerDeltaTokens":4800}]},"sessionObserverDebounceMs":{"type":"number","default":120000,"description":"Minimum interval between heartbeat observer triggers per session (ms)."},"sessionObserverEnabled":{"type":"boolean","default":false,"description":"Enable heartbeat-driven active session observer checks for proactive extraction triggers."},"sessionTogglesEnabled":{"type":"boolean","default":true,"description":"Enable per-session recall toggle state for OpenClaw runtime surfaces."},"sharedContextAllowBindingAuthority":{"type":"boolean","default":false,"description":"Allow shared-context items to carry binding authority (writers must request it); else binding writes are rejected and stored binding reads advisory"},"sharedContextDir":{"type":"string","description":"Override shared-context directory (default ~/.openclaw/workspace/shared-context); unset = memoryDir/shared-context."},"sharedContextEnabled":{"type":"boolean","default":false,"description":"Enable shared-context assembly and tools (v4.0)"},"sharedContextMaxInjectChars":{"type":"number","default":4000,"description":"Max characters of shared-context to include in each recall context."},"sharedCrossSignalSemanticEnabled":{"type":"boolean","default":false,"description":"Enable semantic cross-signal enhancer during shared-context daily curation."},"sharedCrossSignalSemanticMaxCandidates":{"type":"number","default":120,"description":"Maximum candidate topic tokens considered by semantic cross-signal enhancer."},"sharedCrossSignalSemanticTimeoutMs":{"type":"number","default":4000,"description":"Timeout budget for shared-context semantic cross-signal enhancer (ms)."},"sharedNamespace":{"type":"string","default":"shared","description":"Shared namespace name."},"slotBehavior":{"type":"object","additionalProperties":false,"default":{},"properties":{"requireExclusiveMemorySlot":{"type":"boolean","default":true},"onSlotMismatch":{"type":"string","enum":["error","warn","silent"],"default":"error"}}},"slowLogEnabled":{"type":"boolean","default":false,"description":"If enabled, log slow operations (durations + metadata; never logs content)"},"slowLogThresholdMs":{"type":"number","default":30000,"description":"Threshold for slow operation logging (ms)"},"subjectClassification":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","default":false,"description":"Stamp `subject` (user|agent) on extracted memories from category defaults, with optional extractor override"}}},"subjectGuard":{"type":"string","enum":["off","warn","enforce"],"default":"warn","description":"Guard user-subject promotion to shared layers: off, warn, or enforce"},"summarizationEnabled":{"type":"boolean","default":false,"description":"Enable automatic memory summarization/compression"},"summarizationImportanceThreshold":{"type":"number","default":0.3,"description":"Only compress memories with importance below this threshold"},"summarizationProtectedTags":{"type":"array","items":{"type":"string"},"default":["commitment","preference","decision","principle"],"description":"Tags that protect memories from compression"},"summarizationRecentToKeep":{"type":"number","default":300,"description":"Number of recent memories to keep uncompressed"},"summarizationTriggerCount":{"type":"number","default":1000,"description":"Memory count threshold to trigger summarization"},"summaryModel":{"type":"string","description":"Model for hourly summaries (defaults to main model)"},"summaryRecallHours":{"type":"number","default":24,"description":"Hours of summary history to recall"},"supportPassport":{"type":"object","additionalProperties":false,"default":{},"description":"Owner-controlled support passport cards and timed helper share links. Manual cards/sharing need no model provider.","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable support passport owner routes, MCP tools, browser assets, and public share links."},"trustedProxyAddresses":{"type":"array","items":{"type":"string"},"maxItems":32,"default":[],"description":"Exact reverse-proxy IP addresses allowed to supply X-Forwarded-For for public helper limits."}}},"tagIndexMaxEntries":{"type":"number","default":10000,"description":"Maximum number of entries in the tag index."},"tagMaxPerMemory":{"type":"number","default":5,"description":"Maximum number of tags assigned per memory."},"tagMemoryEnabled":{"type":"boolean","default":false,"description":"Enable tag-based memory indexing and recall boosting."},"tagRecallBoost":{"type":"number","default":0.15,"description":"Score boost applied to memories whose tags match the query."},"tagRecallMaxMatches":{"type":"number","default":10,"description":"Maximum number of tag-matched memories added per recall."},"targetedFactRecallEnabled":{"type":"boolean","default":false,"description":"Enable targeted fact evidence recall for direct answer questions."},"targetedFactRecallMaxChars":{"type":"integer","default":2400,"minimum":0,"description":"Character budget for the targeted fact evidence recall section."},"targetedFactRecallMaxResults":{"type":"integer","default":48,"minimum":0,"description":"Maximum recalled items for targeted fact evidence."},"targetedFactRecallScanWindowTokens":{"type":"integer","default":12000,"minimum":1,"description":"Recent-token scan window for targeted fact evidence."},"targetedFactRecallScanWindowTurns":{"type":"integer","default":8,"minimum":1,"description":"Recent-turn scan window for targeted fact evidence."},"taskModelChain":{"type":"object","description":"Gateway model chain for background LLM work (extraction, consolidation, summarization); overrides gatewayAgentId/agents.defaults.model under 'gateway'.","required":["primary"],"additionalProperties":false,"properties":{"primary":{"type":"string","minLength":1,"description":"Primary gateway model, e.g. zai/glm-4.7-flash"},"fallbacks":{"type":"array","items":{"type":"string","minLength":1},"default":[],"description":"Fallback gateway models tried after primary"}}},"taxonomyAutoGenResolver":{"type":"boolean","default":true,"description":"Auto-regenerate RESOLVER.md when the taxonomy changes."},"taxonomyEnabled":{"type":"boolean","default":false,"description":"Enable the MECE taxonomy knowledge directory for categorizing memories."},"teams":{"type":"object","default":{},"description":"Trusted team membership and team-project namespace templates used by scopeProfiles.","additionalProperties":{"type":"object","properties":{"principals":{"type":"array","items":{"type":"string"}},"projectNamespaceTemplate":{"type":"string"},"read":{"type":"array","items":{"type":"string"}},"write":{"type":"array","items":{"type":"string"}},"promote":{"type":"array","items":{"type":"string"}}}}},"temporalBiTemporal":{"type":"boolean","default":false,"description":"Enable bi-temporal validity filtering for default recall injection"},"temporalBoostRecentDays":{"type":"number","default":7,"description":"Memories from the last N days receive a recency boost during recall."},"temporalBoostScore":{"type":"number","default":0.15,"description":"Score boost applied to recent memories during recall."},"temporalDecayEnabled":{"type":"boolean","default":true,"description":"Apply temporal decay to older memories during recall scoring."},"temporalExpiredInInjection":{"type":"boolean","default":false,"description":"Bi-temporal filter escape hatch: true keeps expired [valid_at, invalid_at) facts in injection candidates even with temporalBiTemporal on."},"temporalIndexMaxEntries":{"type":"number","default":5000,"description":"Maximum number of entries in the temporal index."},"temporalIndexWindowDays":{"type":"number","default":30,"description":"Number of days to include in the temporal index window."},"temporalMemoryTreeEnabled":{"type":"boolean","default":false,"description":"Build a hierarchical memory summary tree (hour/day/week/persona nodes)"},"temporalSupersessionEnabled":{"type":"boolean","default":true,"description":"Mark older facts superseded when a new fact writes a conflicting value for the same entityRef + structuredAttribute key"},"temporalSupersessionIncludeInRecall":{"type":"boolean","default":false,"description":"If true, include temporally-superseded facts in recall results (for audit/history). Default exclude."},"threadingEnabled":{"type":"boolean","default":false,"description":"Enable conversation threading"},"threadingGapMinutes":{"type":"number","default":30,"description":"Minutes of gap to start a new thread"},"timeGraphEnabled":{"type":"boolean","default":true,"description":"Build temporal sequence graph within threads (requires multiGraphMemoryEnabled)"},"tmtHourlyMinMemories":{"type":"number","default":3,"description":"Minimum new memories in an hour to trigger an hour-level TMT node"},"tmtSummaryMaxTokens":{"type":"number","default":300,"description":"Max tokens for each TMT summary node"},"tombstonesEnabled":{"type":"boolean","default":true,"description":"Tombstone non-resurrection: facts matching an active tombstone persist as pending_review + blockedBy, never dropped. Off = pre-feature."},"tombstonesSemanticMatch":{"type":"boolean","default":false,"description":"Tier-4 semantic tombstone matching: checks embedding cosine similarity against tombstoned text. Default off pending MemCorrect validation."},"tombstonesSemanticThreshold":{"type":"number","default":0.9,"description":"Cosine threshold for tier-4 semantic tombstone matching. Only consulted when tombstonesSemanticMatch is true."},"topicExtractionEnabled":{"type":"boolean","default":true,"description":"Enable topic extraction during consolidation"},"topicExtractionTopN":{"type":"number","default":50,"description":"Number of top topics to extract"},"traceRecallContent":{"type":"boolean","default":false,"description":"Include full recalled memory text in RecallTraceEvent.recalledContent for __openclawEngramTrace subscribers (e.g. Langfuse)"},"traceWeaverEnabled":{"type":"boolean","default":false,"description":"Enable Trace Weaving (v8.0 Phase 2A). Links recurring topic boxes with a shared traceId."},"traceWeaverLookbackDays":{"type":"number","default":7,"description":"Days back to search for trace links."},"traceWeaverOverlapThreshold":{"type":"number","default":0.4,"description":"Minimum Jaccard topic overlap to assign the same traceId (0–1)."},"transcriptEnabled":{"type":"boolean","default":true,"description":"Enable transcript archiving"},"transcriptRecallHours":{"type":"number","default":12,"description":"Hours of transcript history to recall"},"transcriptRetentionDays":{"type":"number","default":7,"description":"Days to retain transcript entries"},"transcriptSkipChannelTypes":{"type":"array","items":{"type":"string"},"default":["cron"],"description":"Channel types to skip from transcript logging (e.g., cron)"},"triggerMode":{"type":"string","enum":["smart","every_n","time_based"],"default":"smart","description":"Buffer trigger mode"},"trustScoreEnabled":{"type":"boolean","default":false,"description":"Master gate for the unified TrustScore recall stage; off = stage absent, ranking byte-identical. Flip via #1574 ablation evidence only."},"trustScoreEpistemicRendering":{"type":"boolean","default":false,"description":"Append deterministic trust hedges to injected memory lines so the model knows each memory's epistemic status. Separate from scoring."},"trustScoreMaxMultiplier":{"type":"number","default":1.25,"description":"Upper bound of the trust multiplier mapping [0,1] → [minMultiplier, maxMultiplier]."},"trustScoreMinMultiplier":{"type":"number","default":0.5,"description":"Lower bound of the trust multiplier mapping [0,1] → [minMultiplier, maxMultiplier]."},"trustScoreQuarantine":{"type":"boolean","default":true,"description":"Exclude hard-negative (quarantine-band) memories from injection; they stay visible in X-ray with the reason. Under trustScoreEnabled only."},"trustScoreWeights":{"type":"object","description":"Per-component trust weights, each in [0,1], normalized.","default":{},"properties":{"memoryWorth":{"type":"number"},"provenance":{"type":"number"},"faithfulness":{"type":"number"},"corroboration":{"type":"number"},"contradiction":{"type":"number"},"domainCalibration":{"type":"number"},"feedback":{"type":"number"},"recency":{"type":"number"}}},"trustZoneRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant working and trusted trust-zone records to recall context."},"trustZoneStoreDir":{"type":"string","description":"Override the trust-zone store directory (defaults to {memoryDir}/state/trust-zones)."},"trustZonesEnabled":{"type":"boolean","default":false,"description":"Enable Engram's trust-zone memory foundation for quarantine, working, and trusted records."},"verbatimArtifactCategories":{"type":"array","items":{"type":"string","enum":["fact","preference","correction","entity","decision","relationship","principle","commitment","moment","skill","procedure"]},"default":["decision","correction","principle","commitment"],"description":"Memory categories eligible for artifact extraction."},"verbatimArtifactsEnabled":{"type":"boolean","default":false,"description":"Write quote-first artifact anchors during extraction and include them in recall."},"verbatimArtifactsMaxRecall":{"type":"number","default":5,"description":"Maximum artifact anchors added per recall."},"verbatimArtifactsMinConfidence":{"type":"number","default":0.8,"description":"Minimum extraction confidence required before writing an artifact."},"verboseRecallVisibility":{"type":"boolean","default":true,"description":"Allow verbose recall headers to surface runtime recall diagnostics in prompts."},"verifiedRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant memory boxes only when their cited source memories verify as non-archived episodes."},"versioningEnabled":{"type":"boolean","default":false,"description":"Enable page-level versioning with sidecar snapshots."},"versioningMaxPerPage":{"type":"integer","default":50,"minimum":0,"description":"Maximum number of version snapshots per page. 0 to disable pruning."},"versioningSidecarDir":{"type":"string","default":".versions","description":"Name of the sidecar directory inside memoryDir for version snapshots."},"activity":{"type":"object","additionalProperties":false,"default":{},"description":"Screen-activity ingestion from trusted local capture daemons, plus trust-gated smart extraction of first-person memories.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the activity subsystem."},"timezone":{"type":"string","default":"UTC","description":"IANA timezone used to group captured snapshots into days."},"syncDays":{"type":"integer","minimum":1,"maximum":90,"default":1,"description":"Number of local days to synchronize per run."},"autoSyncIntervalMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"Periodic auto-sync cadence in minutes (default 15)."},"sources":{"type":"array","default":[],"description":"Trusted local capture daemons to synchronize.","items":{"type":"object","additionalProperties":false,"required":["machineLabel","baseUrl"],"properties":{"machineLabel":{"type":"string","description":"Stable label for the capture machine."},"baseUrl":{"type":"string","description":"HTTP or HTTPS URL of the capture daemon."},"token":{"type":"string","description":"Literal bearer token for a trusted local capture daemon over loopback; secret references are not resolved - omit when the daemon needs no auth."}}}},"extractionMode":{"type":"string","enum":["off","smart"],"default":"off","description":"Set smart to extract trust-gated personal activity memories. off keeps digests searchable only."},"sourceTrust":{"type":"number","minimum":0,"maximum":1,"default":0.6},"autoApproveTrust":{"type":"number","minimum":0,"maximum":1,"default":0.8},"reviewTrust":{"type":"number","minimum":0,"maximum":1,"default":0.5},"minConfidence":{"type":"number","minimum":0,"maximum":1,"default":0.7},"minImportance":{"type":"string","enum":["critical","high","normal","low","trivial"],"default":"normal"},"maxMemoriesPerDay":{"type":"integer","minimum":0,"default":0,"description":"Maximum activity memories written per day. 0 for no count cap."},"timeline":{"type":"object","additionalProperties":false,"default":{},"description":"Timeline-card derivation over the activity store: deterministic grouping, categories, idle/pause semantics.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for timeline-card derivation"},"analysis":{"type":"object","additionalProperties":false,"default":{},"description":"evidence-bound AI analysis over timeline cards. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Enable evidence-bound card analysis"},"provider":{"type":"string","maxLength":120,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","description":"Provider id. Use 'local' for local LLM; otherwise selects one configured remote provider. Required when enabled."},"model":{"type":"string","maxLength":120,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:/-]*$","description":"Model id; may include '/'. Required when enabled."},"timeoutMs":{"type":"integer","minimum":1000,"maximum":120000,"default":15000,"description":"Request timeout (ms)."},"preferences":{"type":"array","default":[],"maxItems":16,"description":"Up to 16 prompt preferences, 200 characters each.","items":{"type":"string","maxLength":200,"pattern":"\\S"}}}},"journal":{"type":"object","additionalProperties":false,"default":{},"description":"User-owned daily journal files under journal/.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for remnic journal seed/show"},"source":{"type":"string","enum":["memoryDir","vault","file"],"default":"memoryDir","description":"Where a day's journal body is read: 'memoryDir' (journal/<date>.md) or 'vault' (needs vault.enabled, dailyNotePath, journalSection). 'file' aliases + warns."},"heading":{"type":"string","description":"Deprecated alias of activity.timeline.vault.readback.journalSection; the new key wins when both are set. Emits a warning."},"extractionMode":{"type":"string","enum":["off","review"],"default":"off","description":"Review-only journal extraction: 'review' produces pending_review candidates from changed journal text only (no auto-approve)."}}},"qa":{"type":"object","additionalProperties":false,"default":{},"description":"Timeline range/search tools.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate remnic timeline range|search"},"maxRangeDays":{"type":"integer","minimum":1,"maximum":366,"default":31,"description":"Maximum timeline_range span in days. Integer 1.366."}}},"vault":{"type":"object","additionalProperties":false,"default":{},"description":"Markdown-vault publisher: timeline artifacts into daily/weekly notes through strictly-bounded managed regions. Default off = no vault I/O.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for vault publishing"},"vaultPath":{"type":"string","default":"","description":"Vault root, absolute or ~ path. Required and non-empty when enabled. A symlinked root is rejected."},"dailyNotePath":{"type":"string","default":"{yyyy}-{MM}-{dd}.md","description":"Vault-relative daily-note path template. Tokens: {yyyy} {yy} {M} {MM} {d} {dd} {ww} {MMM} {MMMM} {ddd} {dddd}; unknown tokens rejected."},"weeklyNotePath":{"type":"string","default":"","description":"Vault-relative weekly-note path template. Empty means weekly-note publishing is disabled."},"createMissingNotes":{"type":"boolean","default":false,"description":"Create a missing note from noteTemplate before publishing. Default false (update-existing only)."},"noteTemplate":{"type":"string","default":"","description":"Vault-relative template file for notes createMissingNotes makes; same date-token expansion. Required with createMissingNotes."},"sectionStrategy":{"type":"string","enum":["markers","heading"],"default":"markers","description":"How Remnic owns a section: HTML-comment marker pairs, or a uniquely-named heading's body."},"publish":{"type":"object","additionalProperties":false,"default":{},"description":"Per-artifact publish targets. Section names must be non-empty, trimmed, and unique per target file.","properties":{"timeline":{"type":"object","additionalProperties":false,"default":{},"description":"Day timeline artifact. Live target: publishes the persisted day recap.","properties":{"enabled":{"type":"boolean","default":true,"description":"Gate for publishing the timeline artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"daily","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Timeline","description":"Managed-region (or heading) name for this artifact."}}},"standup":{"type":"object","additionalProperties":false,"default":{},"description":"Standup artifact; lights up when timeline phase 3 lands.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate for publishing the standup artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"daily","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Standup","description":"Managed-region (or heading) name for this artifact."}}},"weekly":{"type":"object","additionalProperties":false,"default":{},"description":"Weekly review artifact; lights up when timeline phase 4 lands. Requires weeklyNotePath.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate for publishing the weekly artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"weekly","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Weekly Review","description":"Managed-region (or heading) name for this artifact."}}},"locations":{"type":"object","additionalProperties":false,"default":{},"description":"Location day line; lights up with the location day renderer.","properties":{"enabled":{"type":"boolean","default":false,"description":"Gate for publishing the locations artifact."},"target":{"type":"string","enum":["daily","weekly"],"default":"daily","description":"Which note file receives the artifact."},"section":{"type":"string","default":"Locations","description":"Managed-region (or heading) name for this artifact."}}}}},"insertUnderHeading":{"type":"string","default":"","description":"Markers strategy: heading under which missing marker pairs are inserted. Empty = never insert; unmarked notes skipped ('no marker')."},"wikilinks":{"type":"object","additionalProperties":false,"default":{},"description":"Obsidian wikilink decoration. Applies when the locations target lights up.","properties":{"places":{"type":"boolean","default":false,"description":"Render place names as wikilinks."},"placesFolder":{"type":"string","default":"Places","description":"Vault folder used for place wikilink targets."}}},"properties":{"type":"object","additionalProperties":false,"default":{},"description":"Where artifact stats are written: 'off' none; 'frontmatter' updates prefix-owned keys via targeted edits; 'dataview-inline' appends inline fields.","properties":{"mode":{"type":"string","enum":["off","frontmatter","dataview-inline"],"default":"off","description":"Property output mode."},"prefix":{"type":"string","default":"remnic_","description":"Frontmatter/inline property key prefix."}}},"autoPublish":{"type":"boolean","default":true,"description":"Publish after each successful artifact generation, once those hooks land. The CLI is always available."},"readback":{"type":"object","additionalProperties":false,"default":{},"description":"Vault daily-note read-back settings.","properties":{"journalSection":{"type":"string","default":"","description":"Heading whose daily-note section is the user's journal; arbitrary text matched exactly. Required when timeline.journal.source is 'vault'."}}}}}}}}},"wearables":{"type":"object","additionalProperties":false,"default":{},"description":"Wearable transcript ingestion (Limitless / Bee / Omi). Connectors install a la carte: @remnic/connector-limitless, -bee, -omi.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the wearables subsystem."},"timezone":{"type":"string","description":"IANA timezone used to bucket transcripts into days. Default the host timezone."},"redactionEnabled":{"type":"boolean","default":true,"description":"Redact SSN / payment-card patterns from transcripts before storage and extraction."},"redactionPatterns":{"type":"array","items":{"type":"string"},"default":[],"description":"Additional user-supplied redaction regexes, validated at config load."},"offTheRecordEnabled":{"type":"boolean","default":true,"description":"Honor a spoken 'off the record' marker by eliding segments until 'back on the record'."},"offTheRecordMarkers":{"type":"object","additionalProperties":false,"default":{},"description":"Off-the-record marker phrases. Built-in phrases cover a documented language set; these fields add more.","properties":{"start":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"default":[],"description":"Additional phrases that begin an off-the-record span."},"end":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"default":[],"description":"Additional phrases that end an off-the-record span."},"useBuiltIns":{"type":"boolean","default":true,"description":"Include the built-in off-the-record phrases. Set false to honor only the configured phrases."}}},"fillerTokens":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64},"default":[],"description":"Additional filler tokens removed when a source enables cleanup.stripFillers. Built-in tokens are selected per script."},"digestEnabled":{"type":"boolean","default":true,"description":"Write one compact daily-digest memory per synced source/day."},"autoSyncEnabled":{"type":"boolean","default":true,"description":"Periodically refresh transcripts in-process on long-lived hosts; each tick re-syncs a rolling window ending today."},"autoSyncIntervalMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"Minutes between auto-sync ticks."},"autoSyncDays":{"type":"integer","minimum":1,"maximum":90,"default":2,"description":"Rolling window (days ending today) refreshed on each auto-sync tick."},"autoSyncDeepDays":{"type":"integer","minimum":0,"maximum":90,"default":7,"description":"Once-per-local-day deep refresh window (days) for late uploads and provider re-processing. 0 disables; else must be >= autoSyncDays."},"corrections":{"type":"array","default":[],"description":"User-specific transcript correction rules applied on every sync (merged with CLI-managed rules).","items":{"type":"object","additionalProperties":false,"required":["match","replace"],"properties":{"match":{"type":"string","description":"Text (or regex when regex=true) to match."},"replace":{"type":"string","description":"Replacement text."},"regex":{"type":"boolean","default":false,"description":"Treat match as a regular expression."},"caseInsensitive":{"type":"boolean","default":true,"description":"Case-insensitive matching."},"sources":{"type":"array","items":{"type":"string"},"description":"Restrict the rule to specific source ids."}}}},"sources":{"type":"object","default":{},"description":"Per-source settings keyed by connector id (limitless, bee, omi, or a custom connector id).","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","default":false,"description":"Enable syncing from this wearable source."},"apiKey":{"type":"string","description":"Provider API credential. Prefer the per-connector env var (e.g. ${LIMITLESS_API_KEY}); config value wins when both are set."},"baseUrl":{"type":"string","description":"Override the provider base URL (self-hosted / local-proxy setups, e.g. the Bee local proxy)."},"appId":{"type":"string","description":"Omi only: integration app id (the {app_id} path component of the Omi Integrations API)."},"userId":{"type":"string","description":"Omi only: target user id supplied as the uid query parameter."},"memoryMode":{"type":"string","enum":["off","review","auto","smart"],"default":"smart","description":"Memory creation trust gate: smart (default) = LLM judge + trust prior + corroboration pick active/review/drop; off = transcripts only; review = pending_review; auto = deterministic."},"sourceTrust":{"type":"number","minimum":0,"maximum":1,"default":0.8,"description":"Trust prior for this source's transcription quality. Multiplies extraction confidence in smart mode; lower for a mis-transcribing device."},"autoApproveTrust":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Smart mode: trust score at/above which facts are written active."},"reviewTrust":{"type":"number","minimum":0,"maximum":1,"default":0.45,"description":"Smart mode: trust score at/above which borderline facts queue for review instead of dropping. Must be below autoApproveTrust."},"minConfidence":{"type":"number","minimum":0,"maximum":1,"default":0.6,"description":"Drop extracted facts below this confidence."},"minImportance":{"type":"string","enum":["trivial","low","normal","high","critical"],"default":"low","description":"Drop extracted facts scored below this importance level."},"maxMemoriesPerDay":{"type":"integer","minimum":0,"default":0,"description":"Cap on memories created per source per day. 0 (the default) disables the cap."},"importNativeMemories":{"type":"string","enum":["off","review","smart"],"default":"smart","description":"Import provider-extracted memories (Bee / Omi): smart (default) = judge + trust pipeline at reduced prior; review always queues; off skips."},"cleanup":{"type":"object","additionalProperties":false,"default":{},"properties":{"mergeSameSpeaker":{"type":"boolean","default":true,"description":"Merge consecutive same-speaker segments."},"stripFillers":{"type":"boolean","default":true,"description":"Strip standalone filler tokens (um, uh,..)."},"collapseRepeats":{"type":"boolean","default":true,"description":"Collapse immediately repeated phrases (ASR stutter)."},"dropLowQuality":{"type":"boolean","default":true,"description":"Drop segments that look like ASR garbage."},"preserveUtteranceBoundaries":{"type":"boolean","default":false,"description":"Keep utterance-level boundaries (one segment per utterance) instead of merging same-speaker segments. Default off; Bee enables it."}}}}}},"fusion":{"type":"object","additionalProperties":false,"default":{},"description":"Cross-source fusion of multi-source wearable transcripts into one reconciled artifact per conversation. Deterministic; default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for cross-source fusion. false = no fusion artifacts are written and no behavior changes."},"proximityGapMs":{"type":"integer","minimum":1,"default":300000,"description":"Max gap (ms) between two conversations to merge into one fused cluster."},"windowToleranceMs":{"type":"integer","minimum":1,"default":30000,"description":"Max drift (ms) for two segments to align across sources."}}}}},"meetings":{"type":"object","additionalProperties":false,"default":{},"description":"Retrospective meeting intelligence: detect + fuse meetings from ingested audio + screen activity. Default off.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the meetings subsystem."},"appPatterns":{"type":"array","items":{"type":"string"},"default":[],"description":"Additional meeting-app match patterns, additive over the shipped defaults (Zoom, Teams, Meet, Webex, Slack huddles, FaceTime)."},"minOverlapMinutes":{"type":"integer","minimum":0,"maximum":1440,"default":2,"description":"Minimum app-span/audio-window overlap (minutes) to pair them into a meeting."},"audioOnlyMinMinutes":{"type":"integer","minimum":1,"maximum":1440,"default":15,"description":"Audio-only fallback: minimum conversation length (minutes) with >= 2 non-wearer speakers to detect a meeting without an app span."},"mergeGapMinutes":{"type":"integer","minimum":0,"maximum":1440,"default":2,"description":"Merge adjacent same-app candidates within this gap (minutes) - rejoin-after-drop."},"contextDwellSeconds":{"type":"integer","minimum":0,"maximum":86400,"default":20,"description":"Minimum other-app foreground dwell (seconds) to include a span in the meeting's screen-context timeline."},"maxContextChars":{"type":"integer","minimum":0,"maximum":1000000,"default":4000,"description":"Cap on total deduped screen-context excerpt characters."},"summaryMode":{"type":"string","enum":["off","review","smart"],"default":"smart","description":"LLM meeting-summary mode: off (episode only), review (queue all candidates), smart (trust-gated)."},"sourceTrust":{"type":"number","minimum":0,"maximum":1,"default":0.85,"description":"Provenance trust prior for meeting-derived facts (0.1)."},"autoApproveTrust":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Trust at/above which a smart-mode meeting fact is auto-approved to active."},"reviewTrust":{"type":"number","minimum":0,"maximum":1,"default":0.45,"description":"Trust at/above which a smart-mode meeting fact is queued for review."}}},"location":{"type":"object","additionalProperties":false,"default":{},"description":"Location context foundation: day-bucketed place observations from host-adapter-registered providers. No provider client in core.","properties":{"enabled":{"type":"boolean","default":false,"description":"Master gate for the location subsystem."},"timezone":{"type":"string","default":"UTC","description":"IANA timezone used to bucket observations into local days."},"syncDays":{"type":"integer","minimum":1,"maximum":90,"default":1,"description":"Number of local days to synchronize per run."},"retainCoordinates":{"type":"boolean","default":false,"description":"When false (default), place coordinates are dropped before any persistence or rendering; only place labels are kept."},"minimumOverlapSeconds":{"type":"integer","minimum":0,"default":300,"description":"Minimum overlap in seconds for a location tag match. 0 disables the floor."},"minimumConfidence":{"type":"number","minimum":0,"maximum":1,"default":0.7,"description":"Minimum provider-reported place confidence in [0,1] for a tagging match."},"tagging":{"type":"object","additionalProperties":false,"default":{},"description":"Provider-owned location tagging gates.","properties":{"enabled":{"type":"boolean","default":false,"description":"false = no memory is tagged with location context."},"backfillEnabled":{"type":"boolean","default":false,"description":"Extra gate for the historical backfill command."}}},"sources":{"type":"array","default":[],"description":"Location sources: registered provider ids plus their per-source toggle.","items":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","description":"Registered location provider id (lowercase kebab)."},"enabled":{"type":"boolean","default":true,"description":"Set false to short-circuit this source only."}}}}}},"okf":{"type":"object","additionalProperties":false,"default":{},"description":"OKF v0.1 conformance.","properties":{"conformanceEnabled":{"type":"boolean","default":true,"description":"Emit inert type on writes."},"sweepEnabled":{"type":"boolean","default":false,"description":"Opt-in type backfill. false disables."},"indexFilesEnabled":{"type":"boolean","default":false,"description":"Generate index.md files in the live store. false removes generated indexes."}}},"workIndexAutoRebuildDebounceMs":{"type":"number","default":1000,"description":"Debounce delay in ms before triggering auto-rebuild of the work index."},"workIndexAutoRebuildEnabled":{"type":"boolean","default":false,"description":"Automatically rebuild the work index when tasks or projects change."},"workIndexDir":{"type":"string","description":"Override the work index directory (defaults to {memoryDir}/work/index)."},"workIndexEnabled":{"type":"boolean","default":false,"description":"Enable search index for work tasks and projects."},"workProductLedgerDir":{"type":"string","description":"Override the work-product ledger directory (defaults to {memoryDir}/state/work-product-ledger)."},"workProductRecallEnabled":{"type":"boolean","default":false,"description":"Add recall-relevant work-product ledger entries to recall context and expose artifact-recovery search tooling."},"workProjectIndexEnabled":{"type":"boolean","default":false,"description":"Include projects in the work search index."},"workProjectsDir":{"type":"string","description":"Override the work projects directory (defaults to {memoryDir}/work/projects)."},"workProjectsEnabled":{"type":"boolean","default":false,"description":"Enable project tracking within the work product system."},"workTaskIndexEnabled":{"type":"boolean","default":false,"description":"Include tasks in the work search index."},"workTasksDir":{"type":"string","description":"Override the work tasks directory (defaults to {memoryDir}/work/tasks)."},"workTasksEnabled":{"type":"boolean","default":false,"description":"Enable task tracking within the work product system."},"workspaceDir":{"type":"string","description":"Override workspace directory path"},"externalWikis":{"type":"array","default":[],"description":"External compiled-wiki roots available only to dedicated on-demand search.","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,63}$","description":"Stable wiki identifier."},"rootDir":{"type":"string","description":"Absolute path or ~/ path to the external wiki root."},"enabled":{"type":"boolean","default":true},"label":{"type":"string"},"pagesDir":{"type":"string","default":"wiki","description":"Wiki-root-relative concept-page directory."},"indexFile":{"type":"string","default":"INDEX.md","description":"Wiki-root-relative catalog path."},"indexInQmd":{"type":"boolean","default":false,"description":"Index the corpus in its dedicated external-wiki collection."},"includeInDefaultRecall":{"type":"boolean","default":false,"description":"Reserved safety guard. Remnic rejects true."}},"required":["id","rootDir"]}},"extractionBreakerAuthCooldownMs":{"type":"number","default":1800000,"description":"Extraction circuit-breaker open cooldown (ms) for auth/config failures (401/403 or no models configured)."},"extractionBreakerCooldownMs":{"type":"number","default":300000,"description":"Extraction circuit-breaker open cooldown (ms) for transient provider failures (429/5xx/network)."},"extractionBreakerFailureThreshold":{"type":"number","default":5,"description":"Consecutive provider failures before the extraction circuit breaker opens and short-circuits extraction."},"extractionChunkDropAfterFailures":{"type":"integer","minimum":1,"default":5,"description":"Consecutive failed extraction attempts after which a stuck buffer chunk is dropped (copy saved under state/dropped/)."},"extractionCallMaxChars":{"type":"integer","minimum":1,"default":12000,"description":"Max rendered characters per extraction call; oversized turns split into verbatim extractionPartOf parts."},"extractionParseEmptyMaxAttempts":{"type":"number","default":3,"description":"Attempts for a parse_empty extraction fingerprint before it is long-parked (still never marked processed)."},"extractionRetryEnabled":{"type":"boolean","default":true,"description":"Master gate for extraction retry backoff + circuit breaker. false = pre-change behavior (extractor on every triggered observe)."},"extractionRetryJitterRatio":{"type":"number","default":0.2,"description":"Multiplicative jitter ratio (+/-) applied to each extraction backoff interval."},"extractionRetryMaxBackoffMs":{"type":"number","default":21600000,"description":"Upper bound (ms) on each extraction backoff interval and the long-park interval for exhausted parse_empty fingerprints."},"extractionRetryScheduleMs":{"type":"array","items":{"type":"number"},"default":[60000,300000,1800000,7200000],"description":"Per-fingerprint exponential extraction backoff schedule (ms), indexed by attempt."},"bridgeMode":{"type":"string","enum":["embedded","delegate","auto"],"default":"embedded","description":"Bridge mode: embedded, delegate, or same-memory auto delegation. Environment override supported."},"bridgeHealthTimeoutMs":{"type":"integer","minimum":1,"maximum":120000,"default":10000,"description":"Total timeout (ms) for delegate liveness and older-daemon detailed-health fallback probes."},"extraction":{"type":"object","additionalProperties":false,"default":{},"description":"Span-mode extraction (Phase B, bench-gated). Default off; shadow requests spans alongside content and persists content unchanged.","properties":{"spanMode":{"type":"string","enum":["off","shadow","on"],"default":"off","description":"\"off\" (default) = previous behavior; \"shadow\" requests spans+content for telemetry, persists content; \"on\" persists frame+span, per-fact fallback. Unknown rejected."}}}}},"uiHints":{"openaiApiKey":{"label":"OpenAI API Key","sensitive":true,"placeholder":"sk-...","help":"API key for plugin mode only. Not needed when Model Source is gateway."},"openaiBaseUrl":{"label":"OpenAI Base URL","advanced":true,"placeholder":"https://api.openai.com/v1","help":"Override for OpenAI-compatible providers (Scryr, Together, OpenRouter, etc.)"},"model":{"label":"Extraction Model","advanced":true,"placeholder":"gpt-5.5"},"reasoningEffort":{"label":"Reasoning Effort","advanced":true},"triggerMode":{"label":"Trigger Mode","advanced":true},"bufferMaxTurns":{"label":"Buffer Max Turns","advanced":true,"placeholder":"5"},"bufferMaxMinutes":{"label":"Buffer Max Minutes","advanced":true,"placeholder":"15"},"consolidateEveryN":{"label":"Consolidation Frequency","advanced":true,"placeholder":"3"},"maxMemoryTokens":{"label":"Max Memory Tokens","advanced":true,"placeholder":"2000"},"memoryOsPreset":{"label":"Memory OS Preset","advanced":true,"help":"Preset: conservative, balanced, research-max, or local-llm-heavy. `research` is a backward-compatible alias. Explicit settings win."},"qmdEnabled":{"label":"Enable QMD","help":"Enable QMD for memory search/indexing"},"hostEmbeddingProviderEnabled":{"label":"Use Host Embeddings","advanced":true,"help":"Prefer OpenClaw's registered embedding providers; falls back automatically."},"hostEmbeddingProviderId":{"label":"Host Embedding Provider","advanced":true,"placeholder":"openai-compatible"},"hostEmbeddingProviderModel":{"label":"Host Embedding Model","advanced":true,"placeholder":"text-embedding-3-small"},"openclawMessageReceivedCaptureEnabled":{"label":"Capture Inbound Messages","advanced":true,"help":"Use OpenClaw message_received transcript capture when the host emits it."},"openclawReplyMetadataCaptureEnabled":{"label":"Capture Reply Metadata","advanced":true,"help":"Store bounded message/thread/reply fields in transcript metadata."},"openclawReplyMetadataExtractionHintsEnabled":{"label":"Use Reply Extraction Hints","advanced":true,"help":"Include bounded quoted-reply context in extraction prompts. Off by default."},"openclawChannelEnvelopeCleaningEnabled":{"label":"Clean Channel Envelopes","advanced":true,"help":"Use OpenClaw's canonical channel envelope prefixes."},"openclawFlushPlanProcessingEnabled":{"label":"Process Flush Plans","advanced":true,"help":"Ingest and clear OpenClaw's append-only flush-plan file. Disable when OpenClaw owns this lifecycle natively."},"qmdCollection":{"label":"QMD Collection","advanced":true,"placeholder":"openclaw-engram"},"wikiMergeIntoRecall":{"label":"Merge External Wikis Into Recall","advanced":true},"qmdMaxResults":{"label":"QMD Max Results","advanced":true,"placeholder":"8"},"qmdColdTierEnabled":{"label":"Enable Cold QMD Tier","advanced":true,"help":"When hot recall misses, query a secondary cold QMD collection before the query-aware fallback."},"qmdColdCollection":{"label":"Cold QMD Collection","advanced":true,"placeholder":"openclaw-engram-cold"},"qmdColdMaxResults":{"label":"Cold QMD Max Results","advanced":true,"placeholder":"8"},"qmdTierMigrationEnabled":{"label":"Enable Tier Migration","advanced":true,"help":"Enable value-aware hot/cold migration controls"},"qmdTierDemotionMinAgeDays":{"label":"Tier Demotion Min Age Days","advanced":true,"placeholder":"14"},"qmdTierDemotionValueThreshold":{"label":"Tier Demotion Value Threshold","advanced":true,"placeholder":"0.35"},"qmdTierPromotionValueThreshold":{"label":"Tier Promotion Value Threshold","advanced":true,"placeholder":"0.7"},"qmdTierParityGraphEnabled":{"label":"Tier Parity Graph Checks","advanced":true},"qmdTierParityHiMemEnabled":{"label":"Tier Parity HiMem Checks","advanced":true},"qmdTierAutoBackfillEnabled":{"label":"Tier Auto Backfill","advanced":true,"help":"Enable automated cold-tier backfill runs for parity repair"},"qmdSupportedVersion":{"label":"QMD Supported Version","advanced":true,"placeholder":"2.8.3"},"qmdAutoUpgradeEnabled":{"label":"QMD Auto Upgrade","advanced":true,"help":"Upgrade PATH/fallback QMD installs below 2.8.3; 2.8.3+ needs the manual pinned-build install; explicit qmdPath installs are skipped."},"qmdAutoUpgradeCheckIntervalMs":{"label":"QMD Auto Upgrade Interval","advanced":true,"placeholder":"86400000"},"qmdChunkStrategy":{"label":"QMD Chunk Strategy","advanced":true,"placeholder":"auto"},"qmdCandidateLimit":{"label":"QMD Candidate Limit","advanced":true},"qmdQueryRerankEnabled":{"label":"QMD Query Rerank","advanced":true},"qmdSearchStrategy":{"label":"QMD Search Strategy","advanced":true,"placeholder":"hybrid","help":"hybrid = lex+vec+hyde (default, best recall). lex-vec drops HyDE. lex = BM25-only (fastest). Lower tiers trade recall for CPU latency."},"qmdSubprocessStrategy":{"label":"QMD Subprocess Strategy","advanced":true,"placeholder":"query","help":"query = qmd query with LLM expansion + rerank (default). search = BM25-only, faster on huge collections."},"qmdDaemonTimeoutMs":{"label":"QMD Daemon Timeout (ms)","advanced":true,"placeholder":"60000"},"qmdIndexName":{"label":"QMD Index Name","advanced":true,"help":"Named QMD index (--index, QMD 2.5+). Changing selects a different SQLite DB; keep unset for existing default-index installs."},"qmdForceCpu":{"label":"QMD Force CPU","advanced":true,"help":"Set QMD_FORCE_CPU=1 for QMD child processes"},"qmdGpuBackend":{"label":"QMD GPU Backend","advanced":true,"placeholder":"metal"},"qmdEmbedParallelism":{"label":"QMD Embed Parallelism","advanced":true,"placeholder":"4"},"qmdEmbedModel":{"label":"QMD Embed Model","advanced":true},"qmdRerankModel":{"label":"QMD Rerank Model","advanced":true},"qmdGenerateModel":{"label":"QMD Generate Model","advanced":true},"embeddingFallbackEnabled":{"label":"Embedding Fallback","help":"Use semantic embeddings when QMD is unavailable or no results are found"},"embeddingFallbackProvider":{"label":"Embedding Provider","advanced":true,"placeholder":"auto"},"embeddingFallbackModel":{"label":"Embedding Model","advanced":true,"placeholder":"(defaults to local LLM model)","help":"Embedding model for semantic fallback when the local chat and embedding models differ."},"qmdPath":{"label":"QMD Path","advanced":true,"placeholder":"/opt/homebrew/bin/qmd","help":"absolute path to qmd binary for environments with unstable PATH/bun shims"},"memoryDir":{"label":"Memory Directory","advanced":true,"placeholder":"~/.openclaw/workspace/memory/local"},"debug":{"label":"Debug Mode","advanced":true},"identityEnabled":{"label":"Identity Reflections","help":"Append self-reflections to workspace IDENTITY.md after each extraction"},"identityContinuityEnabled":{"label":"Identity Continuity"},"identityInjectionMode":{"label":"Identity Context Mode","advanced":true,"placeholder":"recovery_only","help":"When to add identity continuity context: recovery_only, minimal, or full"},"identityMaxInjectChars":{"label":"Identity Max Context Chars","advanced":true,"placeholder":"1200"},"continuityIncidentLoggingEnabled":{"label":"Continuity Incident Logging","advanced":true,"help":"When omitted, follows Identity Continuity enabled state"},"continuityAuditEnabled":{"label":"Continuity Audits","advanced":true,"help":"Generate continuity audit artifacts"},"sessionObserverEnabled":{"label":"Session Observer","advanced":true,"help":"Observe heartbeat growth and proactively trigger extraction when thresholds are crossed."},"sessionObserverDebounceMs":{"label":"Observer Debounce (ms)","advanced":true,"placeholder":"120000"},"sessionObserverBands":{"label":"Observer Size Bands","advanced":true,"help":"Array of {maxBytes, triggerDeltaBytes, triggerDeltaTokens} threshold objects"},"injectQuestions":{"label":"Inject Questions"},"commitmentDecayDays":{"label":"Commitment Decay (days)","advanced":true,"placeholder":"90","help":"Positive integer days before fulfilled/expired commitments are removed."},"workspaceDir":{"label":"Workspace Directory","advanced":true,"placeholder":"~/.openclaw/workspace"},"accessTrackingEnabled":{"label":"Access Tracking","help":"Track which memories are accessed most frequently"},"accessTrackingBufferMaxSize":{"label":"Access Buffer Size","advanced":true,"placeholder":"100"},"recencyWeight":{"label":"Recency Weight","advanced":true,"help":"How much to boost recent memories in search (0-1)","placeholder":"0.2"},"boostAccessCount":{"label":"Boost Frequent Access","help":"Rank frequently accessed memories higher in search"},"captureMode":{"label":"Capture Mode","help":"Choose whether Engram stores only explicit notes, normal extraction, or both."},"agentAccessHttp":{"label":"Local HTTP Access","help":"Enable a local authenticated HTTP API for external Engram clients"},"negativeExamplesEnabled":{"label":"Negative Examples","help":"Track retrieved-but-not-useful memories and apply a small ranking penalty (optional)"},"negativeExamplesPenaltyPerHit":{"label":"Negative Penalty / Hit","advanced":true,"placeholder":"0.05"},"negativeExamplesPenaltyCap":{"label":"Negative Penalty Cap","advanced":true,"placeholder":"0.25"},"chunkingEnabled":{"label":"Enable Chunking","help":"Automatically split long memories into overlapping chunks for better retrieval"},"chunkingTargetTokens":{"label":"Chunk Target Tokens","advanced":true,"placeholder":"200"},"chunkingMinTokens":{"label":"Chunk Min Tokens","advanced":true,"placeholder":"150"},"chunkingOverlapSentences":{"label":"Chunk Overlap Sentences","advanced":true,"placeholder":"2"},"semanticChunkingEnabled":{"label":"Semantic Chunking","help":"Use embedding-based topic detection for more coherent chunks (requires chunking enabled)"},"semanticChunkingConfig":{"label":"Semantic Chunking Config","advanced":true,"help":"Override defaults for semantic chunking algorithm parameters"},"contradictionDetectionEnabled":{"label":"Contradiction Detection","help":"Detect and resolve conflicting memories using LLM verification"},"contradictionSimilarityThreshold":{"label":"Contradiction Similarity Threshold","advanced":true,"placeholder":"0.7"},"contradictionMinConfidence":{"label":"Contradiction Min Confidence","advanced":true,"placeholder":"0.9"},"contradictionAutoResolve":{"label":"Auto-Resolve Contradictions","help":"Automatically supersede old memories when contradiction is confirmed"},"contradictionScan":{"label":"Contradiction Scan","help":"Nightly cron that pairs similar memories and flags contradictions for review"},"contradictionLocalization":{"label":"Contradiction Localization","advanced":true,"help":"Find entityRef and category anchors before QMD search."},"dependencyPropagation":{"label":"Dependency Propagation","help":"Revalidate active dependent memories after supersession. Disabled by default."},"converge.conflictPolicy":{"label":"Converge Conflict Policy","advanced":true,"help":"newest-wins picks the newer revision on comparable timestamps; manual stops before mutation when conflicts remain. --conflict-policy overrides."},"temporalSupersessionEnabled":{"label":"Temporal Supersession","help":"Mark older facts superseded when a newer fact writes a conflicting value for the same entityRef + attribute."},"temporalSupersessionIncludeInRecall":{"label":"Include Superseded Facts In Recall","advanced":true,"help":"superseded facts still surface in recall (audit/history mode)."},"temporalBiTemporal":{"label":"Bi-temporal Validity","advanced":true,"help":"Master gate: resolve per-fact event-time at write and exclude expired facts from injection. Off = byte-identical to pre-#1578."},"temporalExpiredInInjection":{"label":"Keep Expired-Validity Facts In Injection","advanced":true,"help":"Escape hatch: keep event-time-expired facts in injection candidates even with bi-temporal on."},"recallDirectAnswerEnabled":{"label":"Direct-Answer Retrieval Tier","help":"Opt in to the direct-answer retrieval tier for validated high-trust queries before QMD."},"recallDisclosureEscalation":{"label":"Disclosure Auto-Escalation","help":"Auto-promote default chunk recalls to section when top-K confidence is low. 'auto' enables; 'manual' (default) = pre-#677."},"recallDisclosureEscalationThreshold":{"label":"Disclosure Escalation Threshold","advanced":true,"placeholder":"0.5","help":"Top-K confidence (0-1) below which auto-escalation triggers; only under Disclosure Auto-Escalation 'auto'."},"recallGraphEnabled":{"label":"Graph Retrieval (PPR)","help":"Run Personalized PageRank on the retrieval graph and merge with QMD via MMR."},"graphPathScoring":{"label":"Graph Path Scoring","advanced":true,"help":"Penalize expanded results that rely on invalid intermediate memories. Disabled by default."},"recallGraphDamping":{"label":"Graph Recall Damping","advanced":true,"placeholder":"0.85"},"recallGraphIterations":{"label":"Graph Recall Iterations","advanced":true,"placeholder":"20"},"recallGraphTopK":{"label":"Graph Recall Top-K","advanced":true,"placeholder":"50"},"recallDirectAnswerTokenOverlapFloor":{"label":"Direct-Answer Token Overlap Floor","advanced":true,"placeholder":"0.55"},"recallDirectAnswerImportanceFloor":{"label":"Direct-Answer Importance Floor","advanced":true,"placeholder":"0.7"},"recallDirectAnswerAmbiguityMargin":{"label":"Direct-Answer Ambiguity Margin","advanced":true,"placeholder":"0.15"},"recallDirectAnswerEligibleTaxonomyBuckets":{"label":"Direct-Answer Eligible Taxonomy Buckets","advanced":true},"memoryLinkingEnabled":{"label":"Memory Linking","help":"Build knowledge graph by linking related memories"},"threadingEnabled":{"label":"Conversation Threading","help":"Group memories into conversation threads with auto-titles"},"threadingGapMinutes":{"label":"Thread Gap (minutes)","advanced":true,"placeholder":"30"},"summarizationEnabled":{"label":"Memory Summarization","help":"Compress old, low-importance memories into summaries"},"summarizationTriggerCount":{"label":"Summarization Trigger","advanced":true,"placeholder":"1000"},"summarizationRecentToKeep":{"label":"Recent to Keep","advanced":true,"placeholder":"300"},"summarizationImportanceThreshold":{"label":"Importance Threshold","advanced":true,"placeholder":"0.3"},"topicExtractionEnabled":{"label":"Topic Extraction","help":"Extract key topics from memory corpus"},"topicExtractionTopN":{"label":"Top N Topics","advanced":true,"placeholder":"50"},"transcriptEnabled":{"label":"Enable Transcript Archive","help":"Archive conversation transcripts for context preservation"},"transcriptRetentionDays":{"label":"Transcript Retention (days)","advanced":true,"placeholder":"7"},"transcriptSkipChannelTypes":{"label":"Skip Channel Types","advanced":true,"help":"Channel types to exclude from transcript logging (default: cron)"},"transcriptRecallHours":{"label":"Transcript Recall (hours)","advanced":true,"placeholder":"12"},"maxTranscriptTurns":{"label":"Max Transcript Turns","advanced":true,"placeholder":"50"},"maxTranscriptTokens":{"label":"Max Transcript Tokens","advanced":true,"placeholder":"1000"},"checkpointEnabled":{"label":"Enable Checkpoints","help":"Capture conversation checkpoints for resuming context"},"checkpointTurns":{"label":"Checkpoint Turn Interval","advanced":true,"placeholder":"15"},"compactionResetEnabled":{"label":"Compaction Reset","help":"Reset session after compaction and add BOOT.md recovery context","advanced":true},"hourlySummariesEnabled":{"label":"Enable Hourly Summaries","help":"Generate hourly summaries of conversation activity"},"summaryRecallHours":{"label":"Summary Recall (hours)","advanced":true,"placeholder":"24"},"maxSummaryCount":{"label":"Max Summary Count","advanced":true,"placeholder":"6"},"summaryModel":{"label":"Summary Model","advanced":true,"placeholder":"(same as extraction model)"},"supportPassport":{"label":"Support Passport","help":"Owner-controlled support cards and timed helper share links. Model calls use Remnic's configured provider routes."},"modelSource":{"label":"Model Source","help":"Route LLM calls through the gateway's agent model chain, not Engram's own config. 'gateway' ignores localLlm and openai settings."},"gatewayAgentId":{"label":"Gateway Agent ID","advanced":true,"placeholder":"engram-llm","help":"Agent persona ID from openclaw.json agents.list[] whose model chain to use. Empty = global defaults."},"fastGatewayAgentId":{"label":"Fast Gateway Agent ID","advanced":true,"placeholder":"engram-llm-fast","help":"Agent persona ID for fast-tier ops. Leave empty to use the primary gatewayAgentId."},"taskModelChain":{"label":"Task Model Chain","advanced":true,"help":"Primary/fallback gateway model chain for Remnic background tasks (extraction, consolidation, summarization); overrides gatewayAgentId for these tasks. Requires modelSource 'gateway'."},"localLlmEnabled":{"label":"Enable Local LLM","help":"Use a local LLM (LM Studio, Ollama, etc.) for extraction and summaries; falls back to OpenAI if unavailable."},"localLlmUrl":{"label":"Local LLM URL","advanced":true,"placeholder":"http://localhost:1234/v1","help":"OpenAI-compatible endpoint URL for local LLM"},"localLlmModel":{"label":"Local LLM Model","advanced":true,"placeholder":"local-model","help":"Model identifier for local LLM requests"},"localLlmApiKey":{"label":"Local LLM API Key","advanced":true,"sensitive":true,"placeholder":"sk-...","help":"API key for authenticated OpenAI-compatible endpoints"},"localLlmHeaders":{"label":"Local LLM Headers","advanced":true,"help":"extra headers for provider-specific routing/auth"},"localLlmAuthHeader":{"label":"Send Auth Header","advanced":true,"help":"When false, do not send Authorization header even if localLlmApiKey is set"},"localLlmFallback":{"label":"Local LLM Fallback","advanced":true,"help":"Legacy alias for taskLlmFallback: use the gateway/task chain when the local LLM fails."},"taskLlmFallback":{"label":"Task LLM Fallback","advanced":true,"help":"Use the gateway/task LLM chain when the local LLM path fails or is unavailable."},"taskLlmTimeoutMs":{"label":"Task LLM Timeout (ms)","advanced":true,"help":"Timeout for the gateway/task LLM chain; primary extraction timeout in gateway mode."},"localLlmHomeDir":{"label":"Local LLM Home Dir","advanced":true,"placeholder":"(auto: HOME / os.homedir)","help":"home directory override for LM Studio settings and local helper paths."},"localLmsCliPath":{"label":"LMS CLI Path","advanced":true,"placeholder":"/path/to/lms","help":"absolute path to LMS CLI. Overrides auto-detection."},"localLmsBinDir":{"label":"LMS Bin Dir","advanced":true,"placeholder":"/path/to/bin"},"localLlmMaxContext":{"label":"Local LLM Max Context","advanced":true,"placeholder":"(auto-detected from model)","help":"Override context window when the LLM server's default is smaller (e.g. 32768 for LM Studio)."},"localLlmFastEnabled":{"label":"Fast LLM Tier","help":"Separate smaller model for quick ops (rerank, entity summaries, compression guidelines)."},"localLlmFastModel":{"label":"Fast LLM Model","placeholder":"qwen3.5-4b-mlx","help":"Model ID for fast-tier ops; must be loaded in LM Studio alongside the primary model."},"localLlmFastUrl":{"label":"Fast LLM URL","advanced":true,"placeholder":"(defaults to localLlmUrl)","help":"Endpoint for fast-tier model. When not set, inherits the primary localLlmUrl."},"localLlmFastTimeoutMs":{"label":"Fast LLM Timeout (ms)","advanced":true,"help":"Timeout for fast-tier requests. Lower than primary since fast ops should complete quickly."},"localLlmDisableThinking":{"label":"Disable Local LLM Thinking Mode","advanced":true,"help":"Suppress thinking for supported local extraction ops; short extractions can opt back in via the Thinking Threshold. Consolidation and fast tier unaffected."},"localLlmThinkingThresholdChars":{"label":"Local LLM Thinking Threshold (chars)","advanced":true,"help":"Enable thinking only for local extraction transcripts shorter than this; 0 suppresses thinking for every extraction. Consolidation unaffected."},"evalHarnessEnabled":{"label":"Evaluation Harness","help":"Enable Engram's benchmark/evaluation harness foundation and benchmark-status diagnostics."},"evalShadowModeEnabled":{"label":"Evaluation Shadow Mode","advanced":true,"help":"Reserve shadow-mode measurement paths so bench instrumentation can compare memory behavior without affecting live recall."},"benchmarkBaselineSnapshotsEnabled":{"label":"Benchmark Baseline Snapshots","advanced":true,"help":"Enable versioned benchmark baseline snapshot artifacts for later PR delta reporting."},"benchmarkDeltaReporterEnabled":{"label":"Benchmark Delta Reporter","advanced":true,"help":"Named-baseline delta reports comparing the current eval store against a stored benchmark baseline snapshot."},"evalStoreDir":{"label":"Evaluation Store Directory","advanced":true,"placeholder":"{memoryDir}/state/evals","help":"Override where benchmark packs and run summaries are stored."},"objectiveStateMemoryEnabled":{"label":"Objective-State Memory","help":"Objective-state memory foundation for normalized world and tool state snapshots."},"objectiveStateSnapshotWritesEnabled":{"label":"Objective-State Snapshot Writes","advanced":true,"help":"Allow snapshot writers to persist objective-state records into the objective-state store."},"objectiveStateRecallEnabled":{"label":"Objective-State Recall","advanced":true},"objectiveStateStoreDir":{"label":"Objective-State Store Directory","advanced":true,"placeholder":"{memoryDir}/state/objective-state","help":"Override where objective-state snapshots are stored."},"causalTrajectoryMemoryEnabled":{"label":"Causal Trajectory Memory","help":"Causal-trajectory memory foundation for typed goal-action-observation-outcome chains."},"causalTrajectoryStoreDir":{"label":"Causal Trajectory Store Directory","advanced":true,"placeholder":"{memoryDir}/state/causal-trajectories","help":"Override where causal-trajectory records are stored."},"causalTrajectoryRecallEnabled":{"label":"Causal Trajectory Recall","advanced":true},"trustZonesEnabled":{"label":"Trust Zones","help":"Enable trust-zone memory foundation for quarantine, working, and trusted records."},"quarantinePromotionEnabled":{"label":"Quarantine Promotion","advanced":true},"trustZoneStoreDir":{"label":"Trust-Zone Store Directory","advanced":true,"placeholder":"{memoryDir}/state/trust-zones","help":"Override where trust-zone records are stored."},"trustZoneRecallEnabled":{"label":"Trust-Zone Recall","advanced":true},"memoryPoisoningDefenseEnabled":{"label":"Memory Poisoning Defense","advanced":true,"help":"Provenance trust scoring in trust-zone status output, the first poisoning-defense signal."},"memoryInjectionDefenseMode":{"label":"Memory Injection Defense","advanced":true,"help":"off, fencing, quarantine, or layered; custom keeps the separate flags."},"originAuthorityEnabled":{"label":"Origin Authority","advanced":true},"injectionScreenEnabled":{"label":"Injection Screen","advanced":true,"help":"Screen candidate facts with deterministic rules and queue findings for review."},"untrustedOrigins":{"label":"Untrusted Origins","advanced":true},"memoryRedTeamBenchEnabled":{"label":"Memory Red-Team Benchmarks","advanced":true,"help":"Operator-facing red-team benchmark pack support and status accounting for poisoning-defense suites."},"harmonicRetrievalEnabled":{"label":"Harmonic Retrieval"},"abstractionAnchorsEnabled":{"label":"Abstraction Anchors","advanced":true},"abstractionNodeStoreDir":{"label":"Abstraction-Node Store Directory","advanced":true,"placeholder":"{memoryDir}/state/abstraction-nodes","help":"Override where abstraction nodes are stored."},"verifiedRecallEnabled":{"label":"Verified Recall"},"semanticRulePromotionEnabled":{"label":"Semantic Rule Promotion","advanced":true,"help":"Promote explicit IF/THEN rules from verified episodic memories into durable rule memories."},"semanticRuleVerificationEnabled":{"label":"Semantic Rule Verification","advanced":true},"semanticConsolidationEnabled":{"label":"Semantic Consolidation","advanced":true},"semanticConsolidationModel":{"label":"Semantic Consolidation Model","advanced":true},"semanticConsolidationThreshold":{"label":"Semantic Consolidation Threshold","advanced":true},"semanticConsolidationMinClusterSize":{"label":"Semantic Consolidation Min Cluster Size","advanced":true},"semanticConsolidationExcludeCategories":{"label":"Semantic Consolidation Exclude Categories","advanced":true},"semanticConsolidationIntervalHours":{"label":"Semantic Consolidation Interval (Hours)","advanced":true},"semanticConsolidationMaxPerRun":{"label":"Semantic Consolidation Max Per Run","advanced":true},"operatorAwareConsolidationEnabled":{"label":"Operator-Aware Consolidation","advanced":true,"help":"Opt in to operator-aware consolidation: the LLM returns {operator, output} JSON and SPLIT/MERGE/UPDATE is recorded on derived_via. Off (default) still populates via the cluster-shape heuristic."},"peerProfileReasonerEnabled":{"label":"Peer Profile Reasoner","advanced":true,"help":"Async peer profile reasoner: runs in the REM phase after semantic consolidation, updates per-peer profile.md with provenance-tagged fields from the peer's interaction log. Default off."},"peerProfileReasonerModel":{"label":"Peer Profile Reasoner Model","advanced":true,"help":"Model id the peer profile reasoner records on telemetry; dispatch routes through consolidation's FallbackLlmClient."},"peerProfileReasonerMinInteractions":{"label":"Peer Profile Reasoner Min Interactions","advanced":true},"peerProfileReasonerMaxFieldsPerRun":{"label":"Peer Profile Reasoner Max Fields Per Run","advanced":true},"peerProfileRecallEnabled":{"label":"Peer Profile Recall","advanced":true,"help":"Add the active peer's profile fields to recall context as a '## Peer Profile' section; needs the session peer ID registered. Default off."},"peerProfileRecallMaxFields":{"label":"Peer Profile Recall Max Fields","advanced":true,"help":"Max peer profile fields added per recall (most-recently-updated N). 0 disables."},"creationMemoryEnabled":{"label":"Creation Memory","advanced":true},"memoryUtilityLearningEnabled":{"label":"Utility Learning","advanced":true},"promotionByOutcomeEnabled":{"label":"Promotion By Outcome","advanced":true,"help":"Outcome-aware promotion controls that consume learned utility signals in later rollout slices."},"commitmentLedgerEnabled":{"label":"Commitment Ledger","advanced":true},"commitmentLifecycleEnabled":{"label":"Commitment Lifecycle","advanced":true,"help":"Fulfillment transitions, stale tracking, and resolved-entry cleanup for the commitment ledger."},"commitmentStaleDays":{"label":"Commitment Stale Days","advanced":true,"help":"Days before an open commitment without a due date counts as stale."},"commitmentLedgerDir":{"label":"Commitment Ledger Directory","advanced":true,"placeholder":"{memoryDir}/state/commitment-ledger","help":"Override where commitment ledger entries are stored."},"resumeBundlesEnabled":{"label":"Resume Bundles","advanced":true,"help":"Enable deterministic resume-bundle storage and explicit handoff bundle commands."},"resumeBundleDir":{"label":"Resume Bundle Directory","advanced":true,"placeholder":"{memoryDir}/state/resume-bundles","help":"Override where resume bundles are stored."},"workProductRecallEnabled":{"label":"Work-Product Recall","advanced":true},"workProductLedgerDir":{"label":"Work-Product Ledger Directory","advanced":true,"placeholder":"{memoryDir}/state/work-product-ledger","help":"Override where work-product ledger entries are stored."},"actionGraphRecallEnabled":{"label":"Action Graph Recall"},"factDeduplicationEnabled":{"label":"Fact Deduplication","help":"Prevent storing semantically identical facts using content hashing"},"semanticDedupEnabled":{"label":"Semantic Dedup (write-time)","help":"Skip near-duplicate facts at write time by comparing embeddings to existing memories."},"semanticDedupThreshold":{"label":"Semantic Dedup Threshold","advanced":true,"placeholder":"0.92"},"semanticDedupCandidates":{"label":"Semantic Dedup Candidates","advanced":true,"placeholder":"5"},"factArchivalEnabled":{"label":"Fact Archival","help":"Automatically archive old, low-importance, rarely-accessed facts during consolidation"},"factArchivalAgeDays":{"label":"Archival Age (days)","advanced":true,"placeholder":"90"},"factArchivalMaxImportance":{"label":"Archival Max Importance","advanced":true,"placeholder":"0.3"},"factArchivalMaxAccessCount":{"label":"Archival Max Access Count","advanced":true,"placeholder":"2"},"factArchivalProtectedCategories":{"label":"Archival Protected Categories","advanced":true,"help":"Categories that are never archived regardless of age or importance"},"lifecyclePolicyEnabled":{"label":"Lifecycle Policy Engine","help":"Enable lifecycle scoring/promotions during consolidation (v8.3)"},"lifecycleFilterStaleEnabled":{"label":"Filter Stale Lifecycle Memories","advanced":true,"help":"retrieval may filter stale lifecycle memories (activated in PR20D)"},"lifecyclePromoteHeatThreshold":{"label":"Lifecycle Promote Heat Threshold","advanced":true,"placeholder":"0.55"},"lifecycleStaleDecayThreshold":{"label":"Lifecycle Stale Decay Threshold","advanced":true,"placeholder":"0.65"},"lifecycleArchiveDecayThreshold":{"label":"Lifecycle Archive Decay Threshold","advanced":true,"placeholder":"0.85"},"lifecycleProtectedCategories":{"label":"Lifecycle Protected Categories","advanced":true,"help":"Categories lifecycle policy should not auto-archive"},"lifecycleMetricsEnabled":{"label":"Lifecycle Metrics","advanced":true,"help":"Write lifecycle metrics snapshots to state/lifecycle-metrics.json"},"proactiveExtractionEnabled":{"label":"Proactive Extraction"},"contextCompressionActionsEnabled":{"label":"Context Compression Actions","help":"Enable context compression action tools and action telemetry (v8.3, default off)"},"compressionGuidelineLearningEnabled":{"label":"Compression Guideline Learning","help":"Enable adaptive compression guideline learning from action outcomes (v8.3, default off)"},"compressionGuidelineSemanticRefinementEnabled":{"label":"Compression Semantic Refinement","advanced":true,"help":"semantic refinement after deterministic guideline generation (v8.11, default off)."},"compressionGuidelineSemanticTimeoutMs":{"label":"Compression Semantic Timeout (ms)","advanced":true,"placeholder":"2500"},"maxProactiveQuestionsPerExtraction":{"label":"Max Proactive Questions / Extraction","advanced":true,"placeholder":"2"},"proactiveExtractionTimeoutMs":{"label":"Proactive Extraction Timeout (ms)","advanced":true,"placeholder":"2500"},"proactiveExtractionSkipWhenLocalLlmBusy":{"label":"Skip Proactive When Local LLM Busy","advanced":true,"help":"Skip the proactive extraction pass when the local LLM lane is saturated instead of queueing behind an in-flight extraction."},"proactiveExtractionMaxTokens":{"label":"Proactive Extraction Max Tokens","advanced":true,"placeholder":"900"},"extractionMaxOutputTokens":{"label":"Extraction Max Output Tokens","advanced":true,"placeholder":"16384"},"proactiveExtractionCategoryAllowlist":{"label":"Proactive Category Allowlist","advanced":true,"help":"list of memory categories that proactive second-pass writes may emit"},"maxCompressionTokensPerHour":{"label":"Max Compression Tokens / Hour","advanced":true,"placeholder":"1500"},"behaviorLoopAutoTuneEnabled":{"label":"Behavior Loop Auto-Tune","help":"Bounded runtime policy auto-tuning from correction/preference signals (v8.15, default off)."},"behaviorLoopLearningWindowDays":{"label":"Behavior Learning Window (days)","advanced":true,"placeholder":"14"},"behaviorLoopMinSignalCount":{"label":"Behavior Min Signal Count","advanced":true,"placeholder":"10"},"behaviorLoopMaxDeltaPerCycle":{"label":"Behavior Max Delta / Cycle","advanced":true,"placeholder":"0.1"},"behaviorLoopProtectedParams":{"label":"Behavior Protected Params","advanced":true,"help":"Parameter keys that auto-tuning must never change"},"knowledgeIndexEnabled":{"label":"Knowledge Index","help":"Inject a compact table of top entities into every recall"},"knowledgeIndexMaxEntities":{"label":"Knowledge Index Max Entities","advanced":true,"placeholder":"40"},"knowledgeIndexMaxChars":{"label":"Knowledge Index Max Chars","advanced":true,"placeholder":"4000"},"entityRetrievalEnabled":{"label":"Entity Retrieval","help":"Inject direct-answer entity hints for entity questions and short follow-up queries"},"entityRetrievalMaxChars":{"label":"Entity Retrieval Max Chars","advanced":true,"placeholder":"2400"},"entityRetrievalMaxHints":{"label":"Entity Retrieval Max Hints","advanced":true,"placeholder":"2"},"entityRetrievalMaxSupportingFacts":{"label":"Entity Retrieval Max Supporting Facts","advanced":true,"placeholder":"6"},"entityRetrievalMaxRelatedEntities":{"label":"Entity Retrieval Max Related Entities","advanced":true,"placeholder":"3"},"entityRetrievalRecentTurns":{"label":"Entity Retrieval Recent Turns","advanced":true,"placeholder":"6"},"entityRelationshipsEnabled":{"label":"Entity Relationships"},"entityActivityLogEnabled":{"label":"Entity Activity Log"},"entityActivityLogMaxEntries":{"label":"Activity Log Max Entries","advanced":true,"placeholder":"20"},"entityAliasesEnabled":{"label":"Entity Aliases"},"entitySummaryEnabled":{"label":"Entity Summaries"},"entitySynthesisMaxTokens":{"label":"Entity Synthesis Max Tokens","advanced":true,"placeholder":"500"},"recallBudgetChars":{"label":"Recall Budget (Chars)","advanced":true,"placeholder":"8000"},"recallProfileMaxRatio":{"label":"Recall Profile Budget Share","advanced":true,"placeholder":"0.3"},"recallStateViews":{"label":"State-Aware Recall Views","advanced":true,"help":"Labeled supersession history on change-intent queries (when did / used to / switched)."},"recallStandingBlock":{"label":"Standing Memory Block","advanced":true,"help":"Byte-stable pinned-memory index before per-turn recall to keep the LLM prefix cache warm (#2971)."},"directorySidecarsEnabled":{"label":"Directory Sidecars","advanced":true,"help":"Write per-directory overview.md sidecars and use them in recall drill-down (issue #3088)."},"standingBlockFreshDays":{"label":"Standing Block Fresh Window","advanced":true,"placeholder":"14","help":"Days a memory stays in full text before compressing to a recognition hook."},"standingBlockMaxChars":{"label":"Standing Block Budget","advanced":true,"placeholder":"2048","help":"Hard character budget for the standing memory block."},"recallRecognitionTier":{"label":"Full-Index Recognition Tier","advanced":true,"help":"Small namespaces recognize against the whole compact index instead of vector search (#2975)."},"recognitionIndexMaxEntries":{"label":"Recognition Index Threshold","advanced":true,"placeholder":"500","help":"Max index entries for the full-index recognition tier to engage."},"recallPipeline":{"label":"Recall Pipeline","advanced":true,"help":"Ordered section configuration for recall assembly and per-section limits"},"recallMmrEnabled":{"label":"Recall MMR (Diversity)","advanced":true,"help":"Apply Maximal Marginal Relevance per-section so duplicate clusters cannot dominate the recall budget."},"recallMmrLambda":{"label":"MMR Lambda","advanced":true,"placeholder":"0.7","help":"1.0 = pure relevance, 0.0 = pure diversity. Default 0.7."},"recallMmrTopN":{"label":"MMR Top-N","advanced":true,"placeholder":"40","help":"Number of top candidates per section over which MMR is applied"},"recallReasoningTraceBoostEnabled":{"label":"Boost Reasoning Traces on Problem-Solving Queries","advanced":true,"help":"Promote reasoning_trace memories in recall when the query reads like a problem-solving ask. Default off; enable after benchmarking."}},"commandAliases":[{"name":"remnic","kind":"runtime-slash","cliCommand":"remnic"}],"activation":{"onStartup":false,"onCommands":["remnic"],"onCapabilities":["tool","hook"]}}