• 2 min read
My commit-message assistant described additions as deletions
The Git assistant's patch compared the index and HEAD in the wrong direction. A three-line fixture made the inversion visible before changing any model prompt.
The Git assistant's patch compared the index and HEAD in the wrong direction. A three-line fixture made the inversion visible before changing any model prompt.
Article history needs version identities, an explicit comparison direction, and a restore operation that records a new revision without confusing draft restoration with publication.
A Pydantic title/body model gives the Git assistant a usable response shape. Prompt requirements and factual agreement with the diff still need separate checks.
Git submodules let my plans, application, and drafts keep separate histories. The parent still needs to record the application revision and initialize it on a clean clone.