You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retention docs omit that index_recording sidecars in recordings/ and edits/ are pruned #304
README, server.json and the .mcpb manifest say retention deletes "screenshots, frames, and leftover raw event logs ... (never recordings or edits)", but the code also deletes old *.index.json files in recordings/ and edits/.
Where
README.md:195
server.json:69
scripts/mcpb-manifest.mjs:99
src/utils/retention.ts:66-68
Details
prune(join(root,"recordings"), (name) => !/\.events\.raw(\.stop)?$/.test(name) && !INDEX_FILE.test(name), false) with INDEX_FILE = /\.index\.json(\.\d+\.tmp)?$/; the same keep-predicate is used for edits/ and edits/indexes/.
Impact
After an index is pruned, search_recording fails with "No index for ... Run index_recording on it first." and the user must redo costly OCR/transcription indexing, which the docs say never happens.
Steps to reproduce
Set SCREENCAST_RETENTION_DAYS=1, run index_recording, back-date the .index.json, restart
search_recording fails
Suggested fix
Add "and index_recording indexes" to the deleted list in all three places (or change retention to keep index files, and say so).
Fixed in bdd4697: README, server.json and scripts/mcpb-manifest.mjs now say retention also deletes old index_recording indexes (never recordings or edits). Verified: serverJson/mcpb tests and npm run docs:check pass.
Activity
TMHSDigital commentedon Nov 10, 2026
Fixed in bdd4697: README, server.json and scripts/mcpb-manifest.mjs now say retention also deletes old
index_recordingindexes (never recordings or edits). Verified: serverJson/mcpb tests andnpm run docs:checkpass.