Files
deepseek-harness/packages/session-query

session-query/ — session retrieval capability family

Trusted read-model infrastructure over live and durable session logs. The interface package owns ctx.sessionQuery, logical-corpus resolution, filters, traces, text extractors, and the full-text provider contract. A search backend is a separate implementation package; a model tool or UI remains a separate consumer.

Package Role ctx key
session-query/ Retrieval service and provider contract ctx.sessionQuery

The family is independent of the compaction capability: it reads compaction provenance from the canonical session log but does not participate in compaction policy or execution. The provider-neutral decision is recorded in the session-query RFC; the first proposed backend is specified separately in the SQLite provider RFC.