Repository navigation
fix(slack): safer name search and creator attribution - #1396
Merged
Merged
Conversation
Common first-name searches could prefer an external display-name prefix over a full workspace member. Score exact tokens above field prefixes, demote guests/strangers, and expose is_external on lookup results. Evidence: #1394 Co-Authored-By: David Cramer <[email protected]>
Unexport scoring helpers, drop the duplicate unit suite, and cover the member-over-external and multi-token contracts in userLookup integration tests. Co-Authored-By: David Cramer <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
marked this pull request as ready for review
August 10, 2026 18:35
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4be0c58. Configure here.
Drop the flat external score penalty so exact guest hits still beat weaker member prefixes, and tokenize names with Unicode letters so accented tokens stay intact.
Co-Authored-By: David Cramer <[email protected]>
dcramer
reviewed
Aug 10, 2026
Keep delivery evals on outcome rubrics. Do not force determinism with a tool blacklist.
dcramer
reviewed
Aug 10, 2026
Name search should rank by match quality only. Creator attribution is the deterministic path for known people; membership flags were overkill.
Co-Authored-By: David Cramer <[email protected]>
dcramer
reviewed
Aug 10, 2026
Build scheduled fire input like event tasks: explain the due run, then the stored instruction, then creator as supporting context.
dcramer
reviewed
Aug 10, 2026
dcramer
reviewed
Aug 10, 2026
Match resource-event notification shape for scheduled dispatch input. Assert the generated text with an inline snapshot, and encode that generated-output testing rule in policies/testing.md.
dcramer
reviewed
Aug 10, 2026
Lead with the execution role, keep creator as task metadata, and drop the extra handling prose from the dispatch prompt.
This branch was successfully deployed
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.

Fixes #1394.
Scheduled fire name-searched
colinand tagged the wrong person. This change fills two gaps:The creator stays on the scheduled task. Agent dispatch has no new creator field or metadata.
Verify
Requested by David Cramer.
--
View Junior Session [Sentry]