Skip to content

search_course — give the expert something to cite without Postgres #12

Description

@pequalsnp

Without retrieval, "a subject expert any agent can consult over MCP" is narration: the expert has a persona and memory but nothing to cite.

The knowledge service supplies this eventually (phase-5) but carries Postgres, an embedder, and its own deploy — far too much to ask of someone who just wants to drill a course.

Ship a lexical-first search_course tool on etude serve:

  • SQLite FTS5 over the lesson tree and the processed notes
  • citations are lesson path plus heading, which is what the expert prompt requires
  • honest coverage reporting on empty results, rather than silence
  • embeddings optional later; the tool contract does not change when they arrive

Small, dependency-light, and it makes the expert leg real at the same setup cost as the drill.

Activity

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

    enhancementNew feature or requestphase-2v0.2 The Loop — memory bridge and expert

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions