Skip to content

chore(config): lower default thresholds for faster skill evolution#1572

Merged
hijzy merged 1 commit into
MemTensor:mem-agent-0424from
hijzy:chore/lower-default-thresholds
Apr 28, 2026
Merged

chore(config): lower default thresholds for faster skill evolution#1572
hijzy merged 1 commit into
MemTensor:mem-agent-0424from
hijzy:chore/lower-default-thresholds

Conversation

@hijzy
Copy link
Copy Markdown
Collaborator

@hijzy hijzy commented Apr 28, 2026

Summary

Aligns the built-in defaults in core/config/defaults.ts with the values most installs already override in ~/.<agent>/memos-plugin/config.yaml. The strict legacy thresholds were starving the L2/L3/skill pipeline in real usage — candidate skills rarely promoted to active, world models never clustered enough policies, and reward scoring ignored short single-exchange turns.

Field Old New
reward.minExchangesForCompletion 2 1
reward.minContentCharsForCompletion 80 40
retrieval.minTraceSim 0.35 0.25
retrieval.llmFilterMinCandidates 1 2
l2Induction.minTraceValue 0.01 0.005
l3Abstraction.cooldownDays 1 0
l3Abstraction.clusterMinSimilarity 0.6 0.3
skill.minSupport 2 1
skill.candidateTrials 3 1
skill.cooldownMs 6 hours 0

User-supplied config.yaml values continue to take precedence via the existing deep-merge in loadConfig().

Test plan

  • Fresh install + chat 1-2 turns, confirm reward fires (previously skipped on single-exchange turns)
  • Verify a single user task can produce a candidate skill that promotes to active immediately

Aligns built-in defaults with the values most installs already
override in ~/.<agent>/memos-plugin/config.yaml. Strict legacy
thresholds were starving the L2/L3/skill pipeline in real usage —
candidate skills rarely promoted, world models never clustered.

Changes (defaults.ts):

  reward.minExchangesForCompletion        2 → 1
  reward.minContentCharsForCompletion    80 → 40
  retrieval.minTraceSim                0.35 → 0.25
  retrieval.llmFilterMinCandidates        1 → 2
  l2Induction.minTraceValue            0.01 → 0.005
  l3Abstraction.cooldownDays              1 → 0
  l3Abstraction.clusterMinSimilarity    0.6 → 0.3
  skill.minSupport                        2 → 1
  skill.candidateTrials                   3 → 1
  skill.cooldownMs                  6 hours → 0

User-supplied config.yaml values continue to take precedence via the
existing deep-merge in loadConfig().
@hijzy hijzy merged commit 2fbfc64 into MemTensor:mem-agent-0424 Apr 28, 2026
@hijzy hijzy deleted the chore/lower-default-thresholds branch April 29, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant