Repository navigation
fix: Prevent Addie from hallucinating names and bulk-inviting members - #1103
Merged
Merged
Conversation
…bers
Addie was fabricating staff names during escalation ("Tyler") and failing
to use add_meeting_attendee for simple "add these people" requests,
instead triggering bulk invite paths that tried to add all 800 members.
- Add operating rules: "Never fabricate people or names" and "Meeting
tool selection" guidance
- Improve tool descriptions for add_meeting_attendee, list_upcoming_meetings,
and schedule_meeting invite_mode
- Cap bulk attendee queries at 200 (addAttendeesFromGroup and
addAttendeesFromSlackChannel) and truncate calendar invites
- Add hallucination detection for unexecuted attendee additions
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Add truncation message to errors[] so callers know invites were capped - Limit hallucination regex to 6 words to avoid cross-sentence false positives Co-Authored-By: Claude Opus 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
list_upcoming_meetings→add_meeting_attendeefor "add these people" requests)add_meeting_attendee(explicit multi-call pattern with example),list_upcoming_meetings(note as prerequisite for other tools), andschedule_meetinginvite_mode (warn about large group default)LIMIT 200toaddAttendeesFromGroupandaddAttendeesFromSlackChannelSQL queries, plusMAX_CALENDAR_INVITEESguard before Google Calendar API calls with user-visible truncation warningadd_meeting_attendeetool callTest plan
npm run buildpassesnpm run typecheckpassesnpm test— 297 tests passlist_upcoming_meetingsthenadd_meeting_attendee🤖 Generated with Claude Code