تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

guava-memory

بواسطة koatora20

Notes & PKM
—لم يُقيَّم بعد
تقييمك

موجز

Structured episodic memory with Q-value scoring.

الوصف

ما الذي تفعله هذه المهارة

GuavaMemory adds structured episodic memory to OpenClaw agents. It records task outcomes with Q-value scores, searches past episodes by semantic similarity, and promotes high-success patterns into reusable skill procedures. Anti-patterns from failures are tracked to prevent repeating the same mistakes.

Unlike static notes or documentation, Q-value scoring continuously reweights past approaches by actual outcome, so the most reliable procedures surface first rather than the most recent ones.

متى تستخدمها

  • Recalling which debugging approach worked on a similar error last week
  • Avoiding a deployment sequence that previously caused an outage
  • Promoting a repeated file-parsing workflow into a reusable skill procedure
  • Surfacing the highest-Q-value episode before starting a new refactor task
  • Logging a failed API integration attempt as an anti-pattern for future reference

مثال على سير العمل

الإدخال

User asks: debug the failing authentication test suite

الوكيل
  1. 1

    Run memory_search with intent 'debug failing tests' to find related episodes

  2. 2

    Filter results by Q-value, select top 3 active episodes

  3. 3

    Apply the success pattern from the highest-scoring episode

  4. 4

    Complete the task, then write ep_YYYYMMDD_NNN.md with intent, context, outcome, and Q-value

  5. 5

    Update memory/episodes/index.json to keep the index in sync

الإخراج

Test suite fixed using a recalled pattern; new episode recorded with reward score and feel tag for future retrieval

التثبيت

clawhub install koatora20/guava-memory

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط