"""ANU spawn visibility false-negative prevention guard.

task-2658 (CHAIR-AUTH-SPAWN-VISIBILITY-20260525-JJONGS-GUARD-001).

ANU dispatch/spawn 검증 공통 도구. task-2657 측정에서 ANU가
/home/jay/workspace/.worktrees/ 만 조회하여 cokacdir 봇 worktree
(/home/jay/.cokacdir/workspace/<schedule_id>/wt-<task_id>-<team>/) 를
누락 → SPAWN_SILENT_DROP_SUSPECTED 오분류한 사고의 재발 방지 모듈.

이 패키지는 monitoring/judgment layer 전용이다. PreToolUse runtime,
Axis 1/2 runtime, dispatch.py, live settings.json, live cokacdir,
hooks/* 는 일체 변경하지 않는다.
"""

from .path_resolver import (
    LEGACY_WORKTREE_ROOT,
    COKACDIR_WORKSPACE_ROOT,
    SCHEDULE_HISTORY_ROOT,
    WorktreeCandidates,
    resolve_worktree_candidates,
    resolve_schedule_workspace_dir,
)
from .source_collector import SourceSnapshot, collect_sources
from .status_classifier import (
    SpawnVisibilityStatus,
    StatusDecision,
    classify_spawn_visibility,
)
from .timeout_gate import (
    HARD_TIMEOUT_SECONDS,
    TimeoutDecision,
    evaluate_timeout_gate,
)

__all__ = [
    "LEGACY_WORKTREE_ROOT",
    "COKACDIR_WORKSPACE_ROOT",
    "SCHEDULE_HISTORY_ROOT",
    "HARD_TIMEOUT_SECONDS",
    "WorktreeCandidates",
    "SourceSnapshot",
    "SpawnVisibilityStatus",
    "StatusDecision",
    "TimeoutDecision",
    "resolve_worktree_candidates",
    "resolve_schedule_workspace_dir",
    "collect_sources",
    "classify_spawn_visibility",
    "evaluate_timeout_gate",
]
