# infrastructure/core/runtime/ - Runtime Helper Documentation

## Purpose

The `infrastructure/core/runtime/` package contains runtime helpers for environment setup, dependency checks, checkpointing, profiling, health, and retry behavior.

## Files

- `_python_env.py` - Python environment helpers
- `_packages.py` - package detection helpers
- `_directories.py` - directory helpers
- `checkpoint.py` - pipeline checkpointing
- `environment.py` - environment validation
- `env_deps.py` - dependency helpers
- `setup_checks.py` - Stage 0 orchestration and aggregate `run_environment_setup_checks` service (used by `scripts/pipeline/stage_00_setup.py`)
- `python_compatibility.py` - Python 3.10 syntax/API floor scanner with guarded 3.11+ compatibility handling
- `eta.py` - ETA helpers
- `function_profiler.py` - function profiling
- `health_check.py` - health checks
- `retry.py` - retry helpers

## See Also

- [`README.md`](README.md)
- [`../AGENTS.md`](../AGENTS.md)
