Skip to content

fix: prevent dismissed pattern reactivation + filter exclude_concepts on patterns#324

Merged
CalebisGross merged 1 commit intomainfrom
fix/mcp-tool-bugs
Mar 21, 2026
Merged

fix: prevent dismissed pattern reactivation + filter exclude_concepts on patterns#324
CalebisGross merged 1 commit intomainfrom
fix/mcp-tool-bugs

Conversation

@CalebisGross
Copy link
Copy Markdown
Collaborator

Summary

Also closed #320 (feedback schema mismatch) — was a stale tool metadata cache in Claude Code, not a code bug.

Test plan

  • go test ./... all passing
  • Build clean, vet clean
  • Verified dismissed Felix-LM pattern stays archived after daemon restart
  • Manual test: recall with exclude_concepts: ["training"] no longer shows training patterns

Closes #318, closes #319

🤖 Generated with Claude Code

…er exclude_concepts on patterns/principles

#319: UpdatePattern now includes `WHERE state != 'archived'` guard so
consolidation cycles cannot overwrite a user-dismissed pattern back to
active. Silent no-op when the pattern exists but is archived.

#318: exclude_concepts on recall now filters patterns and abstractions
in addition to memories. Uses the same conceptOverlap helper.

Closes #318, closes #319

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant