skip to main content

Concept-tag-based retrieval — Implementation Plan

See concept-tag-retrieval-design.md for the full rationale and confirmed decisions. Work items ordered W1 → W2. TDD-first: each phase’s tests are written and confirmed red before its implementation.

New code lives in a new file, retrieval.go (tests in retrieval_test.go), rather than growing knowledge.go further (already ~1900 lines) — matches this package’s existing convention of one file per feature area (records.go, knowledge_merge.go, retraction_check.go).


W1 — RecallByConceptNames + ConceptMatch

Files to create

retrieval.go:

Tests to add (retrieval_test.go)

Acceptance criteria


W2 — MatchConceptNames

Files to modify

retrieval.go:

Tests to add (retrieval_test.go)

Acceptance criteria