Skip to content

feat(guardrails): CC-layer content gate — commit subject + PR title #914

Closed

Description

@kyle-sexton

f4, zero-setup default enforcement. Blocking PreToolUse gate validating the commit subject AND gh pr create --title against the resolved pattern (reads the #S1 lib/ resolver).

  • Parse the -F - heredoc subject; inherit block-noncanonical-commit's exemption taxonomy (--amend, -C/-c, --fixup/--squash, sequencer-in-progress) or it breaks rebases/merges.
  • Never block gh pr create itself (preserves the documented inline fallback).
  • Declare bypass coverage: gh pr edit --title, --fill, API, babysit retitles are out of scope.
  • userConfig kill switch, default: true. Depends on #S1.

Part of #912. Contract + design in #912 — do not diverge.

Activity

  1. added
    area: security
    on Jul 22, 2026
  2. self-assigned this
    on Jul 22, 2026
  3. kyle-sexton commented on Jul 22, 2026

    @kyle-sexton
    MemberAuthor
    No description provided.
  4. added 2 commits that reference this issue on Jul 22, 2026
    f62c3fb
    a86c3aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: security

Type

Fields

No fields configured for Task.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions