60- oc_diagnostics (structured debug logging via _dbg)
61- oc_orchestrator.plan_manage (the moved module this path wraps)
62- oc_chat.core.worktree_env (imported for its side effect: the oct hook)
63- oc_orchestrator.hub_manage (lazy; hooks_for_dispatch, the hooks this path registers; moved there by plan 272, which is why this one names the package and not the shim)
64- oc_orchestrator.dispatch (lazy; NO_HOOKS, returned when the hub hooks cannot be built)
65"""
66
67from __future__ import annotations
68
69from pathlib import Path
70import sys
71from typing import Any
72
73from oc_diagnostics import _dbg
74
75from oc_orchestrator import plan_manage as _moved
76
77# Imported for its SIDE EFFECT and nothing else: the shim registers
78# oc_chat's oct timing hook on the moved worktree_env module. The
79# dispatch path reaches worktree_env through the package, never through
80# oc_chat, so without this import the engine.dispatch / engine.prepare /
81# engine.teardown rows would quietly stop being written.
82fromoc_chat.coreimport worktree_env as _worktree_env # noqa: F401
83
84#: The program name this path has always printed in ``--help``.