[PR #8192] [MERGED] [AI] Fix git-guard false positives on heredoc and multi -m commit messages #127063

Closed
opened 2026-06-14 06:36:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/8192
Author: @MatissJanis
Created: 6/11/2026
Status: ✅ Merged
Merged: 6/11/2026
Merged by: @MatissJanis

Base: master ← Head: fix/git-guard-message-parsing


📝 Commits (3)

  • d23049b [AI] Fix git-guard false positives on heredoc and multi -m commits
  • bd0c8df [AI] Add release notes
  • 42922fb [AI] Fail closed when heredoc detector matches without a body line

📊 Changes

2 files changed (+40 additions, -6 deletions)

View changed files

📝 scripts/agent-hooks/git-guard.sh (+34 -6)
➕ upcoming-release-notes/8192.md (+6 -0)

📄 Description

Description

Small LLM agent improvement: allow multi-line commit messages

Related issue(s)

n/a

Testing

n/a

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I have read every line of this diff and can explain what each change does and why it is needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/8192 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 6/11/2026 **Status:** ✅ Merged **Merged:** 6/11/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `fix/git-guard-message-parsing` --- ### 📝 Commits (3) - [`d23049b`](https://github.com/actualbudget/actual/commit/d23049b26ade5e05a52e3807326ddbc47c841da8) [AI] Fix git-guard false positives on heredoc and multi -m commits - [`bd0c8df`](https://github.com/actualbudget/actual/commit/bd0c8df362504b7e45863eebbae3b433fd6d62da) [AI] Add release notes - [`42922fb`](https://github.com/actualbudget/actual/commit/42922fb5b71572d19a7ad94f6ad36503a1240b27) [AI] Fail closed when heredoc detector matches without a body line ### 📊 Changes **2 files changed** (+40 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `scripts/agent-hooks/git-guard.sh` (+34 -6) ➕ `upcoming-release-notes/8192.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://actualbudget.org/docs/contributing/#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description <!-- What does this PR do? Why is it needed? Please give context on the "why?": why do we need this change? What problem is it solving for you?--> Small LLM agent improvement: allow multi-line commit messages <!-- If AI tools wrote a significant part of this change, please disclose it here and name the tool you used. See https://actualbudget.org/docs/contributing/ai-usage-policy --> ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> n/a ## Testing <!-- What did you test? How can we reproduce the issue you are fixing or how can we test the feature you built? --> n/a ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I have read every line of this diff and can explain what each change does and why it is needed <!--- actual-bot-sections ---> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-14 06:36:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#127063