Skip to content

fix: skill crystallization retries the same failing policies forever #2319

Description

@smoryan

Pre-submission checklist

  • I have searched existing issues and this hasn't been mentioned before
  • I have read the project documentation and confirmed this issue doesn't already exist
  • This issue is specific to MemOS and not a general software issue

Bug Description

Skill crystallization has no failure back-off. When crystallize() or the verifier fails for a policy, nothing changes in that policy's eligibility — so every skill tick re-attempts the same failing policy forever.

In a 25-day audit of our local deployment, this accumulated 2,640 repeated crystallization failures across a small set of permanently failing policies (LLM refusals, verifier mismatches, permanently unqualifying evidence). Each retry burns LLM budget and log volume for a policy that can never succeed.

How to Reproduce

  1. Seed one graduated policy whose evidence can never pass the crystallizer (e.g. its traces contain no anchorable tool results)
  2. Let skill ticks run repeatedly
  3. Observe the same policy selected for crystallization every tick, failing every time, with no upper bound

Environment

  • memos-local-plugin: 2.0.18 (apps/memos-local-plugin)
  • Node.js: 26
  • OS: macOS

Willingness to Implement

  • I'm willing to implement this myself

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ai:pr-readyAI-created PR is ready for review | AI 生成的 PR 已等待评审area:pluginOpenClaw & Hermesstatus:in-progressSomeone or AI is working on it | 人工或 AI 正在处理types:bugSomething isn't working | 功能异常

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions