This version prioritizes broad compatibility and portability. It preserves the human-like, selective, and contextual philosophy while avoiding tight coupling to any single agent framework. Ideal for Clawhub, custom agents, or cross-platform deployments.
Working Memory
Current conversation only. Transient and not persisted beyond the session.
Episodic Memory
Daily raw memory files stored at:
memory/daily/YYYY-MM-DD.md (or user-configurable path)
Semantic Memory
Curated long-term memory stored in:
memory/MEMORY.md
Vector Index (Optional / Portable)
Embeddings generated from MEMORY.md and recent episodic files.
Can be implemented with any vector database (Chroma, FAISS, LanceDB, or even a simple embedding cache).
Stored in: memory/vectors/ or external vector store.
This enables semantic search alongside traditional metadata filtering. If no vector capability is available, fall back to keyword + metadata search.
Conflict Ledger
Detected contradictions are logged in:
memory/conflicts/
Every memory entry should include:
active | stale | superseded | resolvedglobal | project | person | temporaryconfidence: high / medium / lowlast_verified: dateexpires: optional dateThe agent should evaluate daily memory entries for promotion using the following weighted signals:
Strong signals (high weight):
Supporting signals (medium weight):
Promotion Rules:
User Control:
auto_promote = true (for trusted, low-risk memories)When two memories contain contradictory information, the agent should:
memory/conflicts/ with:All resolutions must update the State field of the affected memories and record the decision in the conflict log.
When the user asks about history, decisions, preferences, or past context, the agent should follow this order:
Query the vector index (or embedding similarity) over MEMORY.md and recent daily files for relevant memories.
Apply filters on scope, state, confidence, date, and related entities.
Traditional search when vector capabilities are unavailable.
Source: references when helpfulThis skill is designed to be framework-agnostic:
Auto-read memory when:
Auto-write memory when:
Auto-maintenance:
memory/
├── daily/
│ └── YYYY-MM-DD.md # Episodic / daily memory
├── conflicts/
│ └── YYYY-MM-DD.md # Conflict logs and resolutions
├── MEMORY.md # Curated long-term semantic memory
└── vectors/ # Optional embeddings (or use external DB)
Paths are examples — make them configurable for the target environment.
See references/two-track-approach.md for the parallel Hermes-optimized vs portable versioning strategy used in this skill family.
Version: 1.0.0 (Portable / Clawhub Compatible)
Status: Ready for publishing and cross-platform use
共 2 个版本