Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .claude/scripts/collaborator-gate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,8 @@ is_issue_from_collaborator() {
author=$(gh issue view "$issue_num" --repo "$_COLLAB_REPO" --json author --jq '.author.login' 2>/dev/null) || return 1
is_collaborator "$author"
}

# Auto-warm cache at source time so schedule-triggered runs always start with a fresh list.
# is_collaborator() calls _refresh_collaborator_cache, but only on issue-mode runs.
# This ensures schedule-mode runs also get a warm cache before Claude starts.
_refresh_collaborator_cache
Loading