File tree Expand file tree Collapse file tree
packages/agent-bundle/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -611,7 +611,9 @@ const installNoticeInboxSubscriptions = (
611611 context : GeneratedRouteRequestContext ,
612612 ) => {
613613 assertInboxUri ( request . params . uri ) ;
614- const identity = requestIdentity ( context , protocol . getClientVersion ( ) ?. name ) ;
614+ // Subscriptions are not tool calls: no pre-tool hook precedes them, so
615+ // there is no correlation window to resolve lineage through.
616+ const identity = requestIdentity ( context , protocol . getClientVersion ( ) ?. name , unavailable < AgentLineage > ( 'not-provided' ) ) ;
615617 try {
616618 await notices . subscribe ( {
617619 actor : identity . actor ?? unavailable ( ) ,
@@ -676,6 +678,7 @@ const installNoticeInboxSubscriptions = (
676678 else owed = true ;
677679 return Promise . resolve ( ) ;
678680 } ;
681+ } ;
679682
680683const lineageHostFor = ( target : string ) : LineageHost | undefined =>
681684 target === 'claude' || target === 'codex' || target === 'cursor' ? target : undefined ;
You can’t perform that action at this time.
0 commit comments