[RFC / Proposal] Triple-Layer Persistent Memory (Markdown Rules + Vector Embeddings + Hybrid Vitality Ranking) for DeepSeek Harness #1881
Replies: 3 comments
|
This RFC's Layer 1 (Git-tracked Markdown rules) has a missing half: where rules come from, and how they stay honest. That half now exists as a running, verification-driven loop ? complementary, not competing: dsh-evolve (https://github.com/zoahdev/dsh-evolve, v0.4.0, MIT):
Integration path with this RFC: @avaritiachaos happy to align storage format and dedup semantics. cc @imccyu @tianyicui ? a memory layer + a verification layer is the full answer to "lost lessons" without the "learned wrong lessons" problem. |
|
@zoahdev Thanks for checking out our RFC! That's an interesting complementary perspective. Once written, our Layer 2 & 3 (dense vector cosine index + 30-day half-life decay & frequency ranking) automatically handle the zero-bloat semantic recall and context budget injection for DeepSeek. Feel free to format your outputs to match our schema! 🚀 |
🎉 Status Update: Officially Published to npm!The complete Shion Lab DSH Essential Plugin Suite (including this memory plugin and our newly released vision-to-text bridge) is now officially published on npm with full test coverage and verified Cordis bindings! # Install Memory Plugin
npm install -g @shion-lab/dsh-plugin-memory
# Install the full suite (Memory + Multimodal Bridge + Smart Patch + Windows Guard + MCP Bridge)
npm install -g @shion-lab/dsh-plugin-multimodal-bridge @shion-lab/dsh-plugin-memory @shion-lab/dsh-plugin-smart-patch @shion-lab/dsh-plugin-windows @shion-lab/dsh-plugin-mcp
Thank you all for the feedback! 🚀 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
RFC Proposal: 4-Tier Cognitive Long-Term Memory & Self-Correction Engine for DeepSeek Harness
1. Motivation & Background / 背景与痛点
Currently, DeepSeek Harness (
dsh) operates in a stateless manner:To solve this systematically, we propose a 4-Tier Cognitive Long-Term Memory & Self-Correction Architecture.
2. 4-Tier Architecture Overview / 四层立体认知防护体系
🛡️ Tier 1: MemoryGuard (Red-light Anti-Pollution Gate)
Traceback...), test runner summaries (pytest PASSED/FAILED), diff blocks, and API credentials (sk-...) on both topics and contents before entering memory.⚖️ Tier 2: MemoryConflictDetector (Subject & Polarity Resolution)
禁止使用 Tailwindvs统一使用 Tailwind).[✔ Verified]rules without explicitcorrect()orforceOverride: true.📝 Tier 3: Human-in-the-Loop Git-Versioned Markdown (
.dsh/MEMORY.md)[✔ Verified]test certification badges.serializeForDisk()) guarantees zero data loss, while active prompt injection (renderForPrompt()) adheres strictly to token budgets.fs.rename) to guarantee zero file corruption under concurrency.🧠 Tier 4: Dense Vector Semantic Engine & True Half-Life Dynamics
nomic-embed-text,bge-m3).dream()): Background clustering cycle that consolidates near-identical memories and merges access counts.3. Reference Implementation & Try It Now
The complete plugin suite is available on GitHub and ready for DSH:
https://github.com/avaritiachaos/dsh-plugin-memorynpm install -g @shion-lab/dsh-plugin-memoryWe welcome community feedback and look forward to discussing how this can be merged or adopted as an official standard for DeepSeek Harness! 🚀
All reactions