[GH-ISSUE #373] Verify prompt total additions are summed up during rewrite operations and partially-staged commits #137

Open
opened 2026-03-02 04:12:10 +03:00 by kerem · 0 comments
Owner

Originally created by @svarlamov on GitHub (Jan 18, 2026).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/373

  • total_ai_additions in prompts represent the ai lines generated for that prompt, pulled from working log
  • verify we have a defined behavior to avoid double counting in the case where a prompt shows up in staged changes and unstaged changes -- should all of the total_ai_additions count for the first commit? No perfect solution, just need to define the behavior
  • verify that we retain the total total_ai_additions for a given prompt id when a rewrite operation (like squash) pulls the latest version of that prompt into the new authorship log
Originally created by @svarlamov on GitHub (Jan 18, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/373 * `total_ai_additions` in prompts represent the ai lines generated for that prompt, pulled from working log * verify we have a defined behavior to avoid double counting in the case where a prompt shows up in staged changes and unstaged changes -- should all of the `total_ai_additions` count for the first commit? No perfect solution, just need to define the behavior * verify that we retain the total `total_ai_additions` for a given prompt id when a rewrite operation (like squash) pulls the latest version of that prompt into the new authorship log
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#137
No description provided.