Files
deepseek-harness/packages/session-query
_Kerman f364d6ba37 fix: address ds-review-bot findings on the projection migration
- llm-retry: validate config before registering the projection unit;
  document the branded-retry-id zod cast; start stateVersion at 1.
- agent-loop: register turnBoundary only after every config validation,
  so a rejected constructor leaves no unit behind; the defensive-cap
  test no longer needs fiber cleanup.
- agent-instructions: keep newest-first per-scope change history so the
  latest visible change survives a surface replacement shadowing the
  newest one (restores the previous scan-visible semantics); add a
  regression test for the delete-after-shadow sequence.
- tool-skill: keep catalog-message history so a shadowed newest catalog
  message still falls back to the latest visible digest.
- session-query-sqlite: drop the unused required sessionProjections
  injection.
- plan-mode: restore the command/done error-drop regression test and the
  cold-replay command/done fold; drop the inaccurate state-reference
  comment.
- tool-todo: remove a stray blank line; document the turnBoundary
  reader contract on the projection type.
2026-08-19 16:58:47 +08:00
..

session-query/ — session retrieval capability family

English | 中文

This family provides authorized retrieval over live and durable session logs, independently of compaction.

Package Role ctx key
session-query/ Defines trusted reads, relationship queries, and search operations ctx.sessionQuery
session-query-sqlite/ Implements session queries with SQLite full-text search ctx.sessionQuery
session-log-export/ Adds the Web /export command, shared browser download state, and result modal over the Host ZIP endpoint ctx.sessionLogDownload
tool-session-query/ Exposes workspace-authorized session queries to the model registers on ctx.tools

The subsystem reference — logical records, bounded reads, traces, filters, result pages — is docs/subsystems/session-query.md.