Semantic Composer
The deterministic commit-grouping engine: its rules, its apply path, and why no panel exposes it in this edition.
Read this first: it is not in the interface
The Semantic Composer engine ships in the build and its commands are registered, but no panel in the Local Git Management Edition opens it. The component exists in the source tree and is deliberately not mounted: proposing a series of commits without the matching, verified series-application flow would advertise an action the product cannot yet finish.
This article documents what the engine does and what it would apply, so that the behaviour is on record and can be checked against the code. It does not describe a screen you can open today.
Deterministic, and not a model
The composer partitions your real staged and unstaged diff into a proposed sequence of commits. It calls no language model, makes no network request, and produces the same grouping for the same working tree every time. It is a partitioner with documented rules, which is a different and more checkable thing than a suggestion engine.
The grouping rules, in precedence order
- Lockfiles and generated content always form their own chore group: files ending
.lockor-lock.json, protobuf output, anything under adist/path, and files whose first diff line marks them as generated or not to be edited. - Database migrations form their own group, ordered before the code groups, because that is the order the change has to land in.
- A source file and its test pair together:
x.tswithx.test.ts,x.rswith its spec. - Otherwise, path affinity: same directory beats sibling directory beats root level.
- Each group gets a suggested conventional-commit subject derived from the dominant path and file kind,
feat,fix,chore,refactor,docsortest.
Groups never overlap. A hunk that belongs to two clusters is flagged on both rather than being silently split, because a quietly divided hunk is how a proposal turns into a commit nobody intended.
How a proposal would be applied
Applying goes through the same operation orchestrator as everything else: each group becomes a real journalled commit, and each returns its committed oid, any validation result, and a reason if it was skipped.
The interesting case is partial failure. If group four fails after one, two and three landed, the result carries a rollback offer naming the failed group, the commits that were created, and the reset target, so the choice is yours between keeping what landed and unwinding the series. It does not silently leave you halfway with no account of where you are.
What this article does not claim
No screen, no keyboard shortcut, no menu item. When the composer is surfaced, this article gets the screenshots and the walkthrough; until then it is an engine description, and saying so is the point.