⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import type { Assignee } from '@/lib/api/endpoints/projects';
// An 'owner'-scoped agent only receives the runs of the member it belongs to, so
// delegating it to anyone else queues work its runner never picks up.
export function isForeignAgent(a: Assignee, currentUserId: string | null): boolean {
return a.restrictedToUserId != null && a.restrictedToUserId !== currentUserId;
}