Skip to content

Exclude stale pre-2000 threads from thread list API - #94

Merged
wparad merged 1 commit into
mainfrom
claude/thread-list-signal-date-filter-cdk12c
Aug 27, 2026
Merged

Exclude stale pre-2000 threads from thread list API#94
wparad merged 1 commit into
mainfrom
claude/thread-list-signal-date-filter-cdk12c

Conversation

@wparad

@wparad wparad commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Threads whose lastSignalAt predates 2000-01-01 are now excluded from GET /accounts/{accountId}/threads responses, both for the default paginated listing and the vector-search (?q=) path.

Test plan

  • Added a test verifying a thread with lastSignalAt: "1999-12-31T23:59:59.000Z" is excluded while a thread with a recent lastSignalAt is returned.
  • npx vitest run tests/api/ — all 450 tests pass.
  • npx tsc --noEmit -p . shows no new errors introduced in src/api/threadsApi.ts.

🤖 Generated with Claude Code

https://claude.ai/code/session_011Y24U8yakRkcpucyjkpChh


Generated by Claude Code

Filters both the vector-search and normal listThreads response paths.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Y24U8yakRkcpucyjkpChh
@wparad
wparad merged commit 8f842f2 into main Aug 27, 2026
6 checks passed
@wparad
wparad deleted the claude/thread-list-signal-date-filter-cdk12c branch August 27, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants