Skip to content

bug: find_by_tag does not match learning frontmatter tag: field (only inline #block-tags) #116

Closed

Description

@yvonnedevlinrh

Summary

Learnings stored via store_learning get a frontmatter tag: field, but find_by_tag returns count 0 for that tag. It appears find_by_tag only matches inline #block-tags, not the learning frontmatter tag:.

Observed

  • Stored 3 learnings with frontmatter tag: scaffold-agents-md-stale-refs
  • semantic_search returns 8 hits for the content (retrievable ✅)
  • find_by_tag for scaffold-agents-md-stale-refs → 0 results

Impact

Tag-based retrieval of learnings is broken; only semantic search finds them. Anyone using find_by_tag to enumerate a topic's learnings gets
nothing.

Suggested fix

find_by_tag should also match the learning frontmatter tag: field (or document that frontmatter tags and inline block-tags are distinct
namespaces).

Environment

  • Dewey v3.5.0

Activity

  1. added a commit that references this issue on Sep 17, 2026
    d5e6799
  2. added a commit that references this issue on Sep 25, 2026
    8e1873c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions