memory-wiki एक bundled Plugin है, जो टिकाऊ मेमरी को संकलित ज्ञान वॉल्ट में बदलता है।
यह Active Memory Plugin को प्रतिस्थापित नहीं करता। Active Memory Plugin अब भी recall, promotion, indexing, और dreaming का स्वामी है। memory-wiki इसके साथ रहता है और टिकाऊ ज्ञान को deterministic पेजों, संरचित दावों, provenance, dashboards, और मशीन-पठनीय digests वाली नेविगेट की जा सकने वाली wiki में संकलित करता है।
इसे तब उपयोग करें जब आप चाहते हैं कि मेमरी Markdown फ़ाइलों के ढेर जैसी कम और एक मेंटेन की गई ज्ञान परत जैसी अधिक व्यवहार करे।
यह क्या जोड़ता है
- deterministic पेज layout वाला समर्पित wiki वॉल्ट
- केवल गद्य नहीं, बल्कि संरचित claim और evidence metadata
- पेज-स्तरीय provenance, confidence, contradictions, और open questions
- agent/runtime उपभोक्ताओं के लिए compiled digests
- wiki-native search/get/apply/lint tools
- Open Knowledge Format imports को compiled wiki concepts में बदलना
- वैकल्पिक bridge mode, जो Active Memory Plugin से public artifacts import करता है
- वैकल्पिक Obsidian-friendly render mode और CLI integration
यह मेमरी के साथ कैसे फिट बैठता है
विभाजन को इस तरह सोचें:| परत | स्वामित्व |
|---|---|
Active Memory Plugin (memory-core, QMD, Honcho, etc.) | Recall, semantic search, promotion, dreaming, memory runtime |
memory-wiki | Compiled wiki pages, provenance-rich syntheses, dashboards, wiki-specific search/get/apply |
memory_search corpus=all के साथ दोनों परतों को एक ही pass में search कर सकता है।
जब आपको wiki-specific ranking, provenance, या direct page access चाहिए, तो इसके बजाय wiki-native tools उपयोग करें।
अनुशंसित hybrid pattern
local-first setups के लिए एक मजबूत default है:- recall और broad semantic search के लिए Active Memory backend के रूप में QMD
- टिकाऊ synthesized knowledge pages के लिए
bridgemode मेंmemory-wiki
- QMD raw notes, session exports, और अतिरिक्त collections को searchable रखता है
memory-wikistable entities, claims, dashboards, और source pages compile करता है
- जब आप मेमरी में एक broad recall pass चाहते हों, तो
memory_searchउपयोग करें - जब आप provenance-aware wiki results चाहते हों, तो
wiki_searchऔरwiki_getउपयोग करें - जब आप shared search को दोनों परतों तक फैलाना चाहते हों, तो
memory_search corpus=allउपयोग करें
openclaw wiki doctor चलाएँ, फिर पुष्टि करें कि Active Memory Plugin public artifacts support करता है।
जब bridge mode active हो और bridge.readMemoryArtifacts enabled हो, तो openclaw wiki status, openclaw wiki doctor, और openclaw wiki bridge import running Gateway के माध्यम से पढ़ते हैं। इससे CLI bridge checks runtime memory Plugin context के साथ aligned रहते हैं। यदि bridge disabled है या artifact reads बंद हैं, तो वे commands अपना local/offline behavior बनाए रखते हैं।
Vault modes
memory-wiki तीन vault modes support करता है:
isolated
अपना vault, अपने sources, memory-core पर कोई dependency नहीं।
इसे तब उपयोग करें जब आप चाहते हैं कि wiki अपना curated knowledge store हो।
bridge
Public Plugin SDK seams के माध्यम से Active Memory Plugin से public memory artifacts और memory events पढ़ता है।
इसे तब उपयोग करें जब आप चाहते हैं कि wiki memory Plugin के exported artifacts को compile और organize करे, private Plugin internals में पहुँचे बिना।
Bridge mode इन्हें index कर सकता है:
- exported memory artifacts
- dream reports
- daily notes
- memory root files
- memory event logs
unsafe-local
local private paths के लिए explicit same-machine escape hatch।
यह mode जानबूझकर experimental और non-portable है। इसे केवल तब उपयोग करें जब आप trust boundary समझते हों और खास तौर पर local filesystem access की जरूरत हो जो bridge mode नहीं दे सकता।
Vault layout
Plugin vault को इस तरह initialize करता है:- imported raw material और bridge-backed pages के लिए
sources/ - टिकाऊ चीज़ों, लोगों, systems, projects, और objects के लिए
entities/ - ideas, abstractions, patterns, और policies के लिए
concepts/ - compiled summaries और maintained rollups के लिए
syntheses/ - generated dashboards के लिए
reports/
Open Knowledge Format imports
memory-wiki unpacked Open Knowledge Format bundles को इससे import कर सकता है:
memory-wiki को उसे OpenClaw-native concept pages और compiled digests में बदलने दें।
Importer OKF v0.1 shape follow करता है:
- non-reserved
.mdfiles concept documents होती हैं - हर imported concept को non-empty
typefrontmatter field चाहिए - unknown OKF
typevalues स्वीकार की जाती हैं - reserved
index.mdऔरlog.mdfiles concepts के रूप में import नहीं की जातीं - broken या external markdown links सुरक्षित रखे जाते हैं
concepts/ के अंतर्गत flatten किया जाता है, ताकि existing compile, search, get, dashboard, और prompt-digest paths उन्हें दूसरी wiki tree जोड़े बिना देख सकें। हर page original OKF concept ID, source path, type, resource, tags, timestamp, और full producer frontmatter रखता है। Internal OKF links generated wiki concept pages पर rewrite किए जाते हैं और kind: okf-link के साथ structured relationships entries के रूप में भी emit किए जाते हैं।
Structured claims और evidence
Pages structuredclaims frontmatter रख सकते हैं, सिर्फ freeform text नहीं।
हर claim में ये शामिल हो सकते हैं:
idtextstatusconfidenceevidence[]updatedAt
kindsourceIdpathlinesweightconfidenceprivacyTiernoteupdatedAt
Agent-facing entity metadata
Entity pages agent use के लिए routing metadata भी रख सकते हैं। यह generic frontmatter है, इसलिए यह people, teams, systems, projects, या किसी भी other entity type के लिए काम करता है। Common fields में शामिल हैं:entityType: उदाहरण के लिएperson,team,system, याprojectcanonicalId: aliases और imports में उपयोग की जाने वाली stable identity keyaliases: names, handles, या labels जिन्हें उसी page पर resolve होना चाहिएprivacyTier:public,local-private,sensitive, याconfirm-before-usebestUsedFor/notEnoughFor: compact routing hintslastRefreshedAt: page edit time से अलग source-refresh timestamppersonCard: optional person-specific routing card जिसमें handles, socials, emails, timezone, lane, ask-for, avoid-asking-for, confidence, और privacy होंrelationships: target, kind, weight, confidence, evidence kind, privacy tier, और note के साथ related pages तक typed edges
reports/person-agent-directory.md से शुरू करना चाहिए, फिर contact details या inferred facts उपयोग करने से पहले wiki_get के साथ person page खोलना चाहिए।
उदाहरण:
Compile pipeline
Compile step wiki pages पढ़ता है, summaries normalize करता है, और stable machine-facing artifacts यहाँ emit करता है:.openclaw-wiki/cache/agent-digest.json.openclaw-wiki/cache/claims.jsonl
- search/get flows के लिए first-pass wiki indexing
- owning pages तक claim-id lookup
- compact prompt supplements
- report/dashboard generation
Dashboards और health reports
जबrender.createDashboards enabled हो, compile reports/ के अंतर्गत dashboards maintain करता है।
Built-in reports में शामिल हैं:
reports/open-questions.mdreports/contradictions.mdreports/low-confidence.mdreports/claim-health.mdreports/stale-pages.mdreports/person-agent-directory.mdreports/relationship-graph.mdreports/provenance-coverage.mdreports/privacy-review.md
- contradiction note clusters
- competing claim clusters
- structured evidence missing वाले claims
- low-confidence pages और claims
- stale या unknown freshness
- unresolved questions वाले pages
- person/entity routing cards
- structured relationship edges
- evidence class coverage
- non-public privacy tiers जिन्हें use से पहले review चाहिए
Search और retrieval
memory-wiki दो search backends support करता है:
shared: उपलब्ध होने पर shared memory search flow उपयोग करेंlocal: wiki को locally search करें
wikimemoryall
wiki_searchऔरwiki_getसंभव होने पर first pass के रूप में compiled digests उपयोग करते हैं- claim ids owning page तक वापस resolve हो सकते हैं
- contested/stale/fresh claims ranking को प्रभावित करते हैं
- provenance labels results में बच सकते हैं
- search mode person lookup, question routing, source evidence, या raw claims के लिए ranking bias कर सकता है
- एक broad recall pass के लिए
memory_search corpus=allउपयोग करें - जब आपको wiki-specific ranking,
provenance, या page-level belief structure की परवाह हो, तो
wiki_search+wiki_getउपयोग करें
auto: balanced defaultfind-person: person-like entities, aliases, handles, socials, और canonical IDs को boost करेंroute-question: agent cards, ask-for hints, best-used-for hints, और relationship context को boost करेंsource-evidence: source pages और structured evidence metadata को boost करेंraw-claim: matching structured claims को boost करें और results में claim/evidence metadata लौटाएँ
wiki_search अपने details payload में matchedClaimId, matchedClaimStatus, matchedClaimConfidence,
evidenceKinds, और evidenceSourceIds लौटा सकता है। Text output में उपलब्ध होने पर compact Claim: और Evidence: lines भी शामिल होती हैं।
Agent tools
Plugin ये tools register करता है:wiki_statuswiki_searchwiki_getwiki_applywiki_lint
wiki_status: current vault mode, health, Obsidian CLI availabilitywiki_search: wiki pages और, configured होने पर, shared memory corpora search करता है; person lookup, question routing, source evidence, या raw claim drilldown के लिएmodeस्वीकार करता हैwiki_get: id/path से wiki page पढ़ता है या shared memory corpus पर fall back करता हैwiki_apply: freeform page surgery के बिना narrow synthesis/metadata mutationswiki_lint: structural checks, provenance gaps, contradictions, open questions
memory_search और memory_get wiki तक पहुंच सकें जब सक्रिय मेमरी
Plugin कॉर्पस चयन का समर्थन करता हो।
प्रॉम्प्ट और संदर्भ व्यवहार
जबcontext.includeCompiledDigestPrompt सक्षम होता है, मेमरी प्रॉम्प्ट सेक्शन
agent-digest.json से एक संक्षिप्त कम्पाइल्ड स्नैपशॉट जोड़ते हैं।
वह स्नैपशॉट जानबूझकर छोटा और उच्च-संकेत वाला है:
- केवल शीर्ष पेज
- केवल शीर्ष दावे
- विरोधाभास संख्या
- प्रश्न संख्या
- विश्वास/ताजगी क्वालिफायर
कॉन्फ़िगरेशन
कॉन्फ़िग कोplugins.entries.memory-wiki.config के अंतर्गत रखें:
vaultMode:isolated,bridge,unsafe-localvault.renderMode:nativeयाobsidianbridge.readMemoryArtifacts: सक्रिय मेमरी Plugin के सार्वजनिक आर्टिफैक्ट इम्पोर्ट करेंbridge.followMemoryEvents: ब्रिज मोड में इवेंट लॉग शामिल करेंsearch.backend:sharedयाlocalsearch.corpus:wiki,memory, याallcontext.includeCompiledDigestPrompt: मेमरी प्रॉम्प्ट सेक्शन में संक्षिप्त डाइजेस्ट स्नैपशॉट जोड़ेंrender.createBacklinks: नियतात्मक संबंधित ब्लॉक जनरेट करेंrender.createDashboards: डैशबोर्ड पेज जनरेट करें
उदाहरण: QMD + ब्रिज मोड
इसका उपयोग तब करें जब आप रिकॉल के लिए QMD और एक मेंटेन किए गए ज्ञान स्तर के लिएmemory-wiki चाहते हों:
- सक्रिय मेमरी रिकॉल का नियंत्रण QMD के पास
- कम्पाइल्ड पेजों और डैशबोर्ड पर केंद्रित
memory-wiki - प्रॉम्प्ट आकार तब तक अपरिवर्तित जब तक आप जानबूझकर कम्पाइल्ड डाइजेस्ट प्रॉम्प्ट सक्षम नहीं करते
CLI
memory-wiki एक शीर्ष-स्तरीय CLI सतह भी उपलब्ध कराता है:
Obsidian समर्थन
जबvault.renderMode obsidian होता है, तो Plugin Obsidian-अनुकूल
Markdown लिखता है और वैकल्पिक रूप से आधिकारिक obsidian CLI का उपयोग कर सकता है।
समर्थित वर्कफ़्लो में शामिल हैं:
- स्टेटस प्रॉबिंग
- वॉल्ट खोज
- पेज खोलना
- Obsidian कमांड चलाना
- दैनिक नोट पर जाना
अनुशंसित वर्कफ़्लो
- रिकॉल/प्रमोशन/dreaming के लिए अपना सक्रिय मेमरी Plugin रखें।
memory-wikiसक्षम करें।- जब तक आप स्पष्ट रूप से ब्रिज मोड नहीं चाहते,
isolatedमोड से शुरू करें। - जब स्रोत-प्रमाण मायने रखता हो,
wiki_search/wiki_getका उपयोग करें। - संकीर्ण संश्लेषण या मेटाडेटा अपडेट के लिए
wiki_applyका उपयोग करें। - सार्थक बदलावों के बाद
wiki_lintचलाएं। - यदि आप पुरानेपन/विरोधाभास दृश्यता चाहते हैं, तो डैशबोर्ड चालू करें।