#!/usr/bin/env python3 """Thin entry point. The implementation is `llm_ingestion_okf.skill`. It moved into the package on 2026-09-08 (O5). The objection that kept it out -- a wheel-installed `okf skill` would emit a command pointing at a file the wheel does not carry -- was about what the GENERATED skill names, and it was answered by changing that: the emitted commands are `okf consume` and `okf check`, names on PATH, and both moved into the package in the same step. This file stays because `docs/2026-09-07-okf-konsumskill-maaling.md` names it, and a measurement whose command no longer runs is a measurement nobody can repeat. """ 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 skill as _impl # noqa: E402 if __name__ == "__main__": raise SystemExit(_impl.main()) # ALIASED, not re-exported. `import okf_skill` 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_skill` 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