Background
Suggested by @Hareet in #109 (review comment, Jun 17 2026), based on output seen when running the pipeline against cht-core PR #10804.
During distillation the LLM already produces a domain placement rationale (fit strength + explanation of why the PR belongs to a domain). This reasoning is currently discarded — only the structured frontmatter and body reach _pending/. Preserving it would help with:
- Deterministic re-organisation of domains in the future
- Auditing why a PR was placed in a given domain
- Surfacing sub-issue groupings without re-running the LLM
Example from PR #10804 (contacts domain):
## Domain Rationale
**Fit:** strong
The change operates entirely on the contact profile page, the contact view-model
generator, and the child-contact hierarchy display — squarely contact lookup and
presentation. No sync, permission, or config concerns are involved.
Goal
Persist the LLM's domain rationale in the draft frontmatter or body so it is available to the reviewer and to downstream tooling.
Acceptance criteria
References
Background
Suggested by @Hareet in #109 (review comment, Jun 17 2026), based on output seen when running the pipeline against
cht-corePR #10804.During distillation the LLM already produces a domain placement rationale (fit strength + explanation of why the PR belongs to a domain). This reasoning is currently discarded — only the structured frontmatter and body reach
_pending/. Preserving it would help with:Example from PR #10804 (contacts domain):
Goal
Persist the LLM's domain rationale in the draft frontmatter or body so it is available to the reviewer and to downstream tooling.
Acceptance criteria
## Domain RationalesectionReferences