summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-05-29 15:05:38 -0700
committerDrew Ritter <drew@primeradiant.com>2026-06-16 10:09:44 -0700
commit18726fe0a39f1d539d4331a42cf8579c3e997bee (patch)
treea4a1a713e563e245750599bda4d5f632a744c1d4 /scripts
parent8ca7d218d00829111533853ecc8358dc6399f784 (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"