Skip to content

Conversation

@blackgirlbytes
Copy link
Contributor

Summary

This pull request adds a new blog post to the documentation that explains best practices for controlling AI agents when making code changes. The article emphasizes using frequent commits and clear instructions to maintain control and make rollbacks easy.

New documentation content:

  • Added a new blog post, documentation/blog/2025-12-10-stop-ai-agent-unwanted-changes/index.md, detailing how to prevent AI agents from making unwanted code changes by enforcing early and frequent commits, using context files for agent instructions, and leveraging version control best practices.

SEO and social sharing enhancements:

  • Included Open Graph and Twitter meta tags in the blog post to improve SEO and social media sharing.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

@blackgirlbytes blackgirlbytes requested a review from a team as a code owner December 10, 2025 19:38
Copilot AI review requested due to automatic review settings December 10, 2025 19:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new blog post titled "How to Stop Your AI Agent From Making Unwanted Code Changes" to the Goose documentation. The article provides practical advice for controlling AI agent behavior through version control best practices, specifically focusing on enforcing frequent commits to create rollback points.

Key Changes

  • Added blog post explaining how to prevent unwanted AI code changes using git commits
  • Included guidance on using .goosehints and AGENTS.md context files to enforce commit discipline
  • Added Open Graph and Twitter card meta tags for social media sharing

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
documentation/blog/2025-12-10-stop-ai-agent-unwanted-changes/index.md New blog post with frontmatter, content, and SEO meta tags
documentation/blog/2025-12-10-stop-ai-agent-unwanted-changes/header-image.png Header image for the blog post

@github-actions
Copy link
Contributor

github-actions bot commented Dec 10, 2025

PR Preview Action v1.6.0
Preview removed because the pull request was closed.
2025-12-10 20:10 UTC

@blackgirlbytes blackgirlbytes merged commit 245e262 into main Dec 10, 2025
19 checks passed
@blackgirlbytes blackgirlbytes deleted the blog/unwanted-code-changes branch December 10, 2025 20:07
zanesq added a commit that referenced this pull request Dec 10, 2025
* 'main' of github.com:block/goose:
  blog: How to stop your ai agent from making unwanted code changes (#6055)
  Fix typo in prompt (#6007)
  Docs for new terminal integration feature (#6042)
  fix: linux goosed crashing libssl error (#6051)
  chore(release): release version 1.16.0 (minor) (#5985)
  fix: metrics on posthog (#6024)
  gov: new LF Projects LLC section (#6027)
  Cleanup: Remove Recipe Key Flow (#6015)
  chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /documentation (#5963)
  remove problematic corrupted woff font (#6006)
  Added search bar / filtering for recipes (#6019)
zanesq added a commit that referenced this pull request Dec 10, 2025
…aults-per-session

* 'main' of github.com:block/goose:
  blog: How to stop your ai agent from making unwanted code changes (#6055)
  Fix typo in prompt (#6007)
  Docs for new terminal integration feature (#6042)
  fix: linux goosed crashing libssl error (#6051)
  chore(release): release version 1.16.0 (minor) (#5985)
  fix: metrics on posthog (#6024)
  gov: new LF Projects LLC section (#6027)
  Cleanup: Remove Recipe Key Flow (#6015)
  chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /documentation (#5963)
  remove problematic corrupted woff font (#6006)
  Added search bar / filtering for recipes (#6019)
katzdave added a commit that referenced this pull request Dec 10, 2025
…nses-streaming

* 'main' of github.com:block/goose:
  blog: How to stop your ai agent from making unwanted code changes (#6055)
  Fix typo in prompt (#6007)
  Docs for new terminal integration feature (#6042)
  fix: linux goosed crashing libssl error (#6051)
  chore(release): release version 1.16.0 (minor) (#5985)
  fix: metrics on posthog (#6024)
  gov: new LF Projects LLC section (#6027)
  Cleanup: Remove Recipe Key Flow (#6015)
  chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /documentation (#5963)
  remove problematic corrupted woff font (#6006)
  Added search bar / filtering for recipes (#6019)
  Hide recipe icon in empty chat (#6022)
  docs: provider and model config (#6008)
  Show modal selector after configuring a provider (#6005)
  docs: additional mcp sampling resources (#6020)
  Flutter PR Code Review (#6011)
  feat(mcp): elicitation support (#5965)
katzdave added a commit that referenced this pull request Dec 11, 2025
* 'main' of github.com:block/goose:
  blog: How to stop your ai agent from making unwanted code changes (#6055)
  Fix typo in prompt (#6007)
  Docs for new terminal integration feature (#6042)
  fix: linux goosed crashing libssl error (#6051)
  chore(release): release version 1.16.0 (minor) (#5985)
  fix: metrics on posthog (#6024)
  gov: new LF Projects LLC section (#6027)
katzdave added a commit that referenced this pull request Dec 12, 2025
…oose into dkatz/openai-responses-streaming

* 'dkatz/openai-responses-streaming' of github.com:block/goose:
  Rm stray
  leave errors in the context
  blog: How to stop your ai agent from making unwanted code changes (#6055)
  Fix typo in prompt (#6007)
  Docs for new terminal integration feature (#6042)
  fix: linux goosed crashing libssl error (#6051)
  chore(release): release version 1.16.0 (minor) (#5985)
  fix: metrics on posthog (#6024)
  gov: new LF Projects LLC section (#6027)
  Cleanup: Remove Recipe Key Flow (#6015)
  chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /documentation (#5963)
  remove problematic corrupted woff font (#6006)
  Added search bar / filtering for recipes (#6019)
  Hide recipe icon in empty chat (#6022)
  docs: provider and model config (#6008)
  Show modal selector after configuring a provider (#6005)
  docs: additional mcp sampling resources (#6020)
  Flutter PR Code Review (#6011)
  feat(mcp): elicitation support (#5965)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants