Skip to content

search_recording across all indexed recordings #325

Closed

Description

@TMHSDigital

Summary

search_recording requires one input or sessionId; there is no way to find which recording showed something.

Where

  • src/tools/searchRecording.ts:27-34
  • src/utils/recordingIndex.ts

Impact

Users with many indexed recordings must search each one.

Suggested fix

Make input optional; when omitted, search every *.index.json under SCREENCAST_HOME and group hits per recording. Should respect #266's privacy direction; could be a building block for #272.

Acceptance criteria

  • Library-wide search with grouped results

Related: #272, #266

Getting started

  • Relevant files: src/tools/searchRecording.ts, src/utils/recordingIndex.ts
  • How to run tests: npm run build && npm test (also npm run typecheck and npm run lint)
  • Related docs: CONTRIBUTING.md, AGENTS.md

Filed by repo-audit/full-audit at f2fda28. Severity: low. Effort: M. audit-key: enhancement|src/tools/searchRecording.ts|library-search

Activity

  1. added
    enhancement
    priority: low
    on Nov 9, 2026
  2. TMHSDigital commented on Nov 15, 2026

    @TMHSDigital
    OwnerAuthor

    Done: search_recording with neither input nor sessionId searches every index under SCREENCAST_HOME (recordings/, edits/, edits/indexes/). It returns the best hits overall, each with its video, and the matching recordings ranked by their best hit; only the newest index per video is used. Covered by new pure tests in recordingIndex.test.ts (grouping, newest-index dedupe, query validation with no indexes, file listing). Full suite, typecheck, lint and docs check pass.

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

    enhancementpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions