Repository navigation
fix(vigutils): AI agent identity enforcement (#163) - #194
Merged
Merged
Conversation
…mit-msg, author check, PR body scan - Canonical blocklist .github/agent-blocklist.toml (trailers, names, emails) - prepare-commit-msg hook strips Co-authored-by trailers before validation - Pre-commit hook rejects author/committer matching blocklist (skips in CI) - validate-commit-msg --blocked-patterns for TOML; shared agent_blocklist module - pr-title-check CI scans PR title and body for agent fingerprints - Skill rules strengthened (git_commit, worktree_execute, worktree_pr) Refs: #163
1 task
c-vigo
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements the full design from issue #163: five enforcement layers to strip AI agent identity from commits and PRs.
.github/agent-blocklist.toml— single source of truth for trailers, names, emails--blocked-patternsfor TOML blocklist; sharedagent_blocklistmoduleCloses #163
Type of Change
fix-- Bug fixModifiers
!) -- This change breaks backward compatibilityChanges Made
.github/agent-blocklist.toml— canonical blocklist (trailers, names, emails)scripts/prepare-commit-msg-strip-trailers.py— strips trailer patterns from COMMIT_EDITMSGscripts/check-agent-identity.py— rejects author/committer matching blocklistscripts/check-pr-agent-fingerprints.py— CI script for PR body scanpackages/vig-utils/src/vig_utils/agent_blocklist.py— shared load_blocklist, contains_agent_fingerprintpackages/vig-utils— validate_commit_msg extended with--blocked-patterns.pre-commit-config.yaml— prepare-commit-msg, check-agent-identity, validate-commit-msg --blocked-patterns.githooks/prepare-commit-msg— runs pre-commit prepare-commit-msg stage.github/workflows/pr-title-check.yml— new step to check PR bodyscripts/manifest.toml— agent-blocklist.toml + new scripts synced to workspaceChangelog Entry
Fixed
.github/agent-blocklist.toml(trailers, names, emails) — single source of truth--blocked-patternsfor TOML blocklist; rejects remaining fingerprintsTesting
uv run pytest packages/vig-utils/tests/— 271 passed)just lint)Checklist
CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #163