Skip to content

chore: store-wide Dewey tag taxonomy curation (near-synonymous tags fragment retrieval) #322

Open

Description

@jflowers

Summary

Review of #318 (46 new .uf/dewey/learnings/ entries) found that distinct insights fan out across near-synonymous tags, diluting per-tag retrieval signal at the set level (~26 of that PR's 46 files sit in synonym families). The pattern replicates the pre-existing store (~270 entries total), so this is a store-wide curation decision, not a defect of any single PR.

Near-synonym families observed in the store:

Family Tags
aireport rendering aireport, aireport-escapers, aireport-escaping
markdown safety markdown-escaping, markdown-security
spec contracts spec-contracts, spec-contract-fidelity
testing test-quality, test-coverage, test-architecture, test-boundaries, test-infrastructure

Why it matters

  • Dewey retrieval is per-tag: a fan-out means each tag returns a partial slice of an insight family.
  • Same-tag near-duplicates are consolidable later via dewey_compile (it groups by topic tag), but cross-tag copies are not — near-synonymous tags never merge.

Related but separate lane: a post-merge incremental dewey_compile for tags aireport-escapers, test-quality, test-coverage, spec-contract-fidelity will consolidate the same-tag restatements from #318.

Scope

Store-wide (~270 entries), not just PR #318's 46 files.

Suggested approach

  1. Decide a canonical tag per synonym family (or bless the split with documented semantics).
  2. Retag existing entries. Gotcha: filenames embed the tag and sibling entries cross-reference identities and tag names in prose — choose between frontmatter-only retagging vs rename-plus-reference-fixes.
  3. Prevention at capture time: run a near-tag/stem search before dewey_store_learning and reuse the established tag instead of minting a variant.
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

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions