
    8+j 
                    x   d Z ddlmZ ddlZddlmZ  ee      j                         j                  d   Z	 e
e	      ej                  vr#ej                  j                  d e
e	             n\ej                  d    e
e	      k7  rD	 ej                  j                   e
e	             ej                  j                  d e
e	             dZej                   j#                  d      Z eedd      xs d	Z eed
g       Zeduxr edz   ev xs  ed eD              Z e       ZerM eej                   j7                               D ]*  Zedk(  sej;                  d      sej=                  e       , ej                   j#                  d      Z eedd      xs d	Z eduxr edz   e v Z!e!rM eej                   j7                               D ]*  Zedk(  sej;                  d      sej=                  e       , h dZ"ejG                  e"       eD ]  Zej                   jI                  ed         y# e$ r Y w xY w)aT  conftest.py for callback_authority_gate regression tests.

Ensures worktree root is on sys.path and task-2646 utils modules
are loaded from the worktree, not from live workspace.

This conftest is loaded before test modules are collected, ensuring
that worktree-local dispatch and utils packages take priority over
live workspace versions.
    )annotationsN)Path   z/home/jay/workspaceutils__file__ __path__/utilsc              #  D   K   | ]  }t         d z   t        |      v   yw)r
   N)_live_workspacestr).0ps     b/home/jay/workspace/.worktrees/task-2646-dev3/tests/regression/callback_authority_gate/conftest.py	<genexpr>r   ,   s     I)SV3Is    zutils.dispatchz	/dispatchz	dispatch.>   utils.callback_registration"utils.callback_authority_validator#utils.callback_source_cross_checker)%__doc__
__future__r   syspathlibr   r   resolveparents_WORKTREE_ROOTr   pathinsertremove
ValueErrorr   modulesget
_utils_modgetattr_utils_file_utils_pathany_utils_from_liveset	_to_clearlistkeysk
startswithadd_dispatch_mod_dispatch_file_dispatch_from_live_task_2646_modulesupdatepop     r   <module>r8      s7   # 
  h'')11!4 ~chh&HHOOAs>*+XXa[C''N+, HHOOAs>*+ ([[__W%
j*d39rj*b1d ("k1 	JI[II	  E	#++""$% <1<<1MM!
 
+
D9?R 8+%7  #++""$% 
?all;7MM!
 
 
  # $	 AKKOOAtg  s   !H0 0H98H9