# `mix ptc.gen_semantic_revision`
[🔗](https://github.com/andreasronge/ptc_runner/blob/main/lib/mix/tasks/ptc.gen_semantic_revision.ex#L1)

Generates the checked-in build half of the Kernel semantic revision.

    mix ptc.gen_semantic_revision
    mix ptc.gen_semantic_revision --check

The inventory owns semantic source boundaries, explicit semantic files,
conditionally compiled semantic modules, runtime dependency roots and
publisher dependency closure, and local path-dependency content. The check
fails on source drift, dependency-closure drift, missing classifications, or
a stale projection.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
