Skip to content

docs: Add AGENTS sync script#299

Merged
ericholscher merged 1 commit intomainfrom
sync-agents
May 1, 2026
Merged

docs: Add AGENTS sync script#299
ericholscher merged 1 commit intomainfrom
sync-agents

Conversation

@ericholscher
Copy link
Copy Markdown
Member

Adds a helper script for syncing this repo's AGENTS.md into allowed sibling Read the Docs repositories that already have one.

The script defaults to a dry run, supports --apply for copying, committing, and pushing, and skips repositories with missing AGENTS.md files or dirty tracked changes.

Validation:

  • uvx --python 3.12 pre-commit run --config pre-commit-config.yaml --files sync-agents.sh failed because the shared Vale hook looks for /Users/eric/projects/common/docs/vale, which does not exist in this repo.
  • env SKIP=vale uvx --python 3.12 pre-commit run --config pre-commit-config.yaml --files sync-agents.sh passed.
  • bash -n sync-agents.sh passed.

Generated by the AI agent in use.

@ericholscher ericholscher marked this pull request as ready for review April 30, 2026 18:31
@ericholscher ericholscher requested a review from a team as a code owner April 30, 2026 18:31
@ericholscher ericholscher requested a review from stsewd April 30, 2026 18:31
@ericholscher ericholscher merged commit acb5a17 into main May 1, 2026
@ericholscher ericholscher deleted the sync-agents branch May 1, 2026 11:52
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.

2 participants