summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-05-29 15:05:38 -0700
committerJesse Vincent <jesse@primeradiant.com>2026-05-29 15:05:38 -0700
commite63e44bedff3f1a5a94a724215f8801ef2c0ccaa (patch)
treeaefac8ae2705cab1f8b0444635419d4c150cde07 /scripts
parent8811b0f2d77da52c4552f0fdf48c0af0dcec83f2 (diff)
fix(sync-to-codex-plugin): exclude /.pi/ so the pi extension doesn't leak into the Codex plugin
The .pi/ directory holds the pi-harness extension (.pi/extensions/superpowers.ts), which is tracked (not git-ignored), so the git-ignored-path exclusion helpers never caught it. It was also missing from the static EXCLUDES list alongside the other harness dotdirs (.opencode, .cursor-plugin, .claude-plugin), so a sync would rsync pi's files into the Codex plugin distribution. Add /.pi/ to EXCLUDES.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sync-to-codex-plugin.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/sync-to-codex-plugin.sh b/scripts/sync-to-codex-plugin.sh
index 8c91b4c..16defc8 100755
--- a/scripts/sync-to-codex-plugin.sh
+++ b/scripts/sync-to-codex-plugin.sh
@@ -53,6 +53,7 @@ EXCLUDES=(
"/.github/"
"/.gitignore"
"/.opencode/"
+ "/.pi/"
"/.version-bump.json"
"/.worktrees/"
".DS_Store"