
    +;jB                       d Z ddlmZ ddlZddlmc mZ ddl	Z	ddl
Z
ddlmZ  ee      j                         j                  d   Z ee      e	j$                  d<    ee      e
j&                  v r!e
j&                  j)                   ee             e
j&                  j+                  d ee             dD ]S  Zee
j.                  v se
j.                  e   Z eedd	      xs d	Zej7                   ee            rGe
j.                  e= U y)
u  conftest for ANU v3.1 Codex Micro Refinement Loop regression suite (task-2662).

Pinning rationale: the repo-level ``tests/conftest.py`` injects
``WORKSPACE_ROOT`` (default ``/home/jay/workspace``) at the front of
``sys.path``.  Inside this worktree the ``utils`` package only contains the
newly added modules — they are absent in the canonical workspace tree, so
``from utils.anu_codex_micro_refinement_loop import …`` would otherwise
resolve to the canonical (stale) ``utils`` package.

We force ``WORKSPACE_ROOT`` to point at this worktree's root before any
``utils`` import happens, and pop any pre-cached ``utils`` module so the
canonical package is not bound to ``sys.modules['utils']``.
    )annotationsN)Path   WORKSPACE_ROOT)utilsz%utils.anu_codex_micro_refinement_loopzutils.codex_cc_decision_loop__file__ )__doc__
__future__r   builtins@py_builtins_pytest.assertion.rewrite	assertionrewrite
@pytest_arossyspathlibr   r   resolveparents_WORKTREE_ROOTstrenvironpathremoveinsert_cachedmodules
cached_modgetattrcached_file
startswith     _/home/jay/workspace/.worktrees/task-2662-dev2/tests/anu_codex_micro_refinement_loop/conftest.py<module>r&      s    #   	 
 h'')11!4">2

 ~#(("HHOOC'( 3~& 'a %G#++[[)
j*b9?R%%c.&9:G$%r$   