From 0737fa101050968f0e5f7589ae37c0847d450d00 Mon Sep 17 00:00:00 2001 From: David Fernandez Date: Thu, 25 Jun 2026 16:58:37 -0300 Subject: [PATCH] ci(pre-commit): block committing superpowers artifacts Co-Authored-By: Claude Opus 4.8 (1M context) --- .pre-commit-config.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cfaf76a4..3a7551db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,14 @@ repos: require_serial: true exclude: '\.terraform/|\.terragrunt-cache/' + - id: block-superpowers-files + name: block superpowers files + entry: >- + Superpowers artifacts (e.g. docs/superpowers/, specs, plans, + brainstorms) must not be committed. Unstage them before committing. + language: fail + files: '(^|/)superpowers/' + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 # Use the ref you want to point at hooks: