Skip to content

Verify PR gate binds against Claude Code's native auto-PR behavior #166

Description

@rmzi

Claude Code's background agents now auto-commit, push, and open a draft PR on worktree completion by default, instead of stopping to ask. The whitepaper (v4.0, Phase 5: Consolidation and Human Review) flags this as unverified: PDS's PR gate (the PreToolUse hook blocking gh pr create without validation + review artifacts) should bind regardless of whether the caller is a human-directed flow or the platform's own auto-PR path, but this hasn't been mechanically confirmed since the platform behavior changed.

Task

Confirm (with a test) that PDS's PR gate actually fires against native auto-PR creation, not just against explicit gh pr create calls from PDS's own skills. Harden if it doesn't.

Reference

See docs/whitepaper.md, Phase 5 section (Core Technical Concepts).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions