Skip to content

calendar_search: find events by attendee, not only by title - #23

Merged
rutgerhofste merged 1 commit into
mainfrom
claude/sharp-franklin-x02cu6
Oct 6, 2026
Merged

rutgerhofste merged 1 commit into
mainfrom
claude/sharp-franklin-x02cu6

Conversation

@rutgerhofste

Copy link
Copy Markdown
Member

Odoo task 1098 (Intern): calendar_search filtered on the title only, so "my sessions with the coach" meant paging a six-month window.

What changes

  • calendar_search takes attendee: a case-insensitive substring of an address or a display name, matched against the ATTENDEE lines and the ORGANIZER (the person who invited you is a participant whether or not the calendar files them under ATTENDEE).
  • CalendarProvider.search_events gains the keyword additively. The tool offers it by signature inspection, like parsed on mail search, and refuses a backend that does not name it: a dropped filter would turn "events with Iris" into "every event".
  • The CalDAV backend filters client-side on the window it already fetched, the same pass the title query makes.
  • knowledge.py and CLAUDE.md document it; tests/test_calendar_search_attendee.py pins the forwarding, the refusal and the three things CalDAV matches on.

Companion

The Graph half and the SQUIRREL_MCP_REF bump are in the matching squirrel-mcp-admin PR on the same branch name.

Verification

make lint and make test green (338 passed).

🤖 Generated with Claude Code

https://claude.ai/code/session_019j2KHXVdQmcsir2V1TiFo6


Generated by Claude Code

`attendee` is a second filter next to `query`: a case-insensitive
substring of an address or a display name, matched against the ATTENDEE
lines and the ORGANIZER. The CalDAV backend filters the window it already
fetched. The keyword is additive on CalendarProvider.search_events and
offered by signature inspection; a backend that does not name it is
refused rather than searched without the filter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019j2KHXVdQmcsir2V1TiFo6
@rutgerhofste
rutgerhofste marked this pull request as ready for review October 6, 2026 07:57
@rutgerhofste
rutgerhofste merged commit 02fc5d2 into main Oct 6, 2026
3 checks passed
@rutgerhofste
rutgerhofste deleted the claude/sharp-franklin-x02cu6 branch October 6, 2026 07:57
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.

1 participant