Repository navigation
chore(agents): replace PR write enforcement with prose guidance - #8013
Merged
Merged
Conversation
What changed: Remove the PR write guard, its Codex and Claude hook entries, guard-specific tests, package command, CI wiring, and reference document. Clarify the existing collaborative PR skill's guidance for reviews and comments. Why: The hook blocked a requested review without providing a way to submit it. Collaboration guidance should preserve author control without adding code that intercepts Git and GitHub operations. Impact: Another author's branch still requires direct-push authorization in the prose workflow. Reviews use normal tools within the requested scope. Contributor forks, successor PRs, independent review, unrelated hooks, and instruction/link/lint checks remain in place. Verification: Instruction generation and validation pass. All 13 remaining routing and preview-isolation tests pass. Local skill links, JSON/YAML parsing, code-comment lint, formatting, and whitespace checks pass. The optional skill-creator Python checker could not run because PyYAML is unavailable.
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.
What changed
Remove the collaborative PR write guard and its Codex and Claude PreToolUse registrations.
Remove the guard's tests, package command, CI wiring, and reference document.
Keep the collaborative PR skill as prose guidance.
Clarify that reviews and suggestions use the normal tools within the user's requested scope.
Why
The hook blocked an authorized review on PR #7956 because it treated a review POST as a protected branch write.
The guard provided no operation for submitting reviews.
Maintaining interception code for Git and GitHub behavior adds friction beyond the intended collaboration rule.
Impact
Substantive changes to another contributor's branch still require explicit direct-push authorization or a reviewable proposal.
The prose workflow retains contributor forks, preserved authorship, successor PRs, and independent review of the invoker's own PR.
Unrelated hooks and instruction validation, linting, source link checking, and CI routing remain in place.
Existing agent sessions may need to reload repository hook configuration after updating their checkout.
Verification
yarn build:agent:instructionsandyarn validate:agent-instructionspass.lychee --offline.git diff --checkpass.Preview pages
Not applicable. No published pages change.
Checklist
npx hugo --quiet) — full site build not run for this agent-tooling removal; focused checks are listed above.Suggested reviewers (click to expand)
Based on files changed, consider requesting review from:
InfluxDB 3
InfluxDB v2 / v1 / Enterprise v1
Other Products
Shared / Cross-Product
/content/shared/