oficina / equipo Public

ci: allowlist the Plan 3 fixture key by value, not commit

Branch CI scans a shallow clone, so commit-keyed .gitleaksignore
fingerprints never match there. Replace them with a .gitleaks.toml
allowlist for the exact InstanceKey "plan3-fixture" line. A probe
with any other value in the same files is still reported.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev b7278f24312a357e67ae6146e380d65884d7939f parent b7a9057
2 files changed, +9 −9
  • .gitleaks.toml +9 −0
  • .gitleaksignore +0 −9
diff --git a/.gitleaks.toml b/.gitleaks.toml
new file mode 100644
index 00000000..d8e2a1b9
--- /dev/null
+++ b/.gitleaks.toml
@@ -0,0 +1,9 @@
+# Extends the default gitleaks rules. Keep allowlists narrow: match the
+# exact fixture value, never a whole rule, file or directory.
+[extend]
+useDefault = true
+
+[[allowlists]]
+description = "Plan 3 integration fixtures use the literal instance key plan3-fixture for offline test apps; it is not a credential."
+regexTarget = "line"
+regexes = ['''InstanceKey:\s*"plan3-fixture"''']
diff --git a/.gitleaksignore b/.gitleaksignore
index a7aaaaae..76305197 100644
--- a/.gitleaksignore
+++ b/.gitleaksignore
@@ -1,12 +1,3 @@
# Expired, randomly generated capability from an offline rejection-test mutation.
# The disposable fixture was removed; this is not a provider or service key.
64da7c8b90dcf3134dc1afa08b169560c880d038:docs/superpowers/plans/CONTROLLER-REPORT-plan-2b.md:generic-api-key:15868
-
-# Plan 3 integration-test fixture instance keys (fixed strings for offline test apps,
-# never deployed). Not provider or service credentials.
-c7557b3a1680dc3ff1051200d40bbfddc70300a1:internal/plan3test/notifications_fixture.go:generic-api-key:19
-3375df3821c905a2dfbb078b5667cd6d53c1ac28:internal/plan3test/forms_fixture.go:generic-api-key:50
-03cef4b2fb17bc26c808317327fb3dc2658de266:internal/plan3test/person_api_test.go:generic-api-key:50
-09aff24bb85f0c49c31c55fe415613ad25c41abc:internal/plan3test/conversation_browser_test.go:generic-api-key:152
-3fc9f8f5d829ae2be672da71d7e2067bebc23db8:internal/plan3test/preferences_test.go:generic-api-key:354
-be8095ed7616ca7d571295398abb63d79815f06d:internal/plan3test/harness_test.go:generic-api-key:51