You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] MemOS 2.0.19 untagged cluster _|_ enters L3 abstraction pipeline and causes 100% llm_failed due to missing title #2374
Summary: Fixed issue #2374: MemOS 2.0.19 L3 pipeline no longer feeds the _|_ untagged cluster into abstractDraft. When domainKeyOf returns the catch-all "_|_" key (all TAG_REGEX / TOOL_REGEX matchers missed), the cluster has no shared organising principle and the LLM consistently returns empty title, tripping abstract.ts::validate and yielding 100% llm_failed. Field data reported 785/785 _|_-cluster abstractions failing, roughly 47% of the 1686 total L3 failures over 26.2h.
The fix adds a per-cluster guard in runL3 (positioned after no_centroid, before cooldown/LLM) that: (1) records an AbstractionResult with the new skippedReason: "untagged_cluster" value, (2) emits an info-level "untagged.skipped" log on the abstract channel, and (3) continues without invoking abstractDraft, spending an LLM round-trip, marking cooldown, or emitting l3.failed. domainKeyOf / clusterPolicies / abstractDraft are unchanged so cluster-count metrics and tagged-cluster behaviour stay intact.
Test evidence — RED phase: the two new integration tests (skips the '_|_' untagged cluster before calling the LLM and still processes tagged clusters when mixed with an untagged bucket) initially failed on baseline (expected null to be 'untagged_cluster'). GREEN phase after the fix: 6/6 L3 integration tests, 35/35 L3 unit+integration tests, and the full plugin suite 1559 passed / 2 pre-existing skips / 0 failed. tsc --noEmit clean.
Three files changed under apps/memos-local-plugin/core/memory/l3/ (l3.ts +27, types.ts +1) and tests/unit/memory/l3/l3.integration.test.ts (+175). .ai-tasks/ and openspec/changes/ are gitignored via .git/info/exclude and stay out of the PR. opsp artifacts also archived and pushed to memos-autodev-specs main.
Activity
Memtensor-AI commentedon Sep 16, 2026
🤖 AutoDev has picked up this issue and started working on it.
Task ID:
358488c1954c9ee6Working branch:
feature/autodev-2374-20260916030702169Target branch:
latest dev* branchWorkflow: opsp (analysis → coding → testing → PR)
I will post the PR link here once done. If I need more information, I will ask in the comments.
fix(l3): pre-filter '_|_' untagged clusters from world-model abstraction
Memtensor-AI commentedon Sep 16, 2026
✅ AutoDev task
358488c1954c9ee6completed.Summary: Fixed issue #2374: MemOS 2.0.19 L3 pipeline no longer feeds the
_|_untagged cluster intoabstractDraft. WhendomainKeyOfreturns the catch-all"_|_"key (all TAG_REGEX / TOOL_REGEX matchers missed), the cluster has no shared organising principle and the LLM consistently returns emptytitle, trippingabstract.ts::validateand yielding 100%llm_failed. Field data reported 785/785_|_-cluster abstractions failing, roughly 47% of the 1686 total L3 failures over 26.2h.The fix adds a per-cluster guard in
runL3(positioned afterno_centroid, before cooldown/LLM) that: (1) records anAbstractionResultwith the newskippedReason: "untagged_cluster"value, (2) emits an info-level"untagged.skipped"log on the abstract channel, and (3)continues without invokingabstractDraft, spending an LLM round-trip, marking cooldown, or emittingl3.failed.domainKeyOf/clusterPolicies/abstractDraftare unchanged so cluster-count metrics and tagged-cluster behaviour stay intact.Test evidence — RED phase: the two new integration tests (
skips the '_|_' untagged cluster before calling the LLMandstill processes tagged clusters when mixed with an untagged bucket) initially failed on baseline (expected null to be 'untagged_cluster'). GREEN phase after the fix: 6/6 L3 integration tests, 35/35 L3 unit+integration tests, and the full plugin suite 1559 passed / 2 pre-existing skips / 0 failed.tsc --noEmitclean.Three files changed under
apps/memos-local-plugin/core/memory/l3/(l3.ts +27, types.ts +1) andtests/unit/memory/l3/l3.integration.test.ts(+175)..ai-tasks/andopenspec/changes/are gitignored via.git/info/excludeand stay out of the PR. opsp artifacts also archived and pushed to memos-autodev-specs main.Base branch:
mainBranch:
feature/autodev-2374-20260916030702169Commit:
612964ePR: #2375
Assigned to: @hijzy
Reviewers: @MatthewZhuang, @CarltonXiang, @syzsunshine219, @World-controller
github-actions commentedon Oct 17, 2026
This issue has been automatically marked as stale due to inactivity.
github-actions commentedon Oct 26, 2026
This issue has been automatically closed due to inactivity.