#!/usr/bin/env python3 """Thin entry point. The implementation is `llm_ingestion_okf.consume`. It moved into the package on 2026-09-08 (O5), for the reason the module's own docstring states: a generated consumption skill named this file by absolute path, so the skill could not be moved, shared, or run without this clone at that exact path. The command is now `okf consume`, on PATH after an install. This file stays because the published reproduction blocks and the measurement scripts under `docs/` name it, and a measurement whose command no longer runs is a measurement nobody can repeat. `tests/test_okf_consume.py` imports it by this name and is the contract for the pre-pass. No logic here, deliberately: a second copy of the ranking or the cut is a second thing that can be right while the shipped one is wrong. """ from __future__ import annotations import sys from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src")) from llm_ingestion_okf import consume as _impl # noqa: E402 if __name__ == "__main__": raise SystemExit(_impl.main()) # ALIASED, not re-exported. `import okf_consume` must hand back the packaged module # ITSELF: a re-export binds copies of the names into a second module object, so # a caller patching one of them patches a binding the implementation never # reads. Measured on the move: two tests that monkeypatch `okf_consume` went green # again only under the alias. Guarded by the `__main__` branch above, because # aliasing `sys.modules["__main__"]` would replace the running script. sys.modules[__name__] = _impl