From e63e44bedff3f1a5a94a724215f8801ef2c0ccaa Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 29 May 2026 15:05:38 -0700 Subject: [PATCH] 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. --- scripts/sync-to-codex-plugin.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/sync-to-codex-plugin.sh b/scripts/sync-to-codex-plugin.sh index 8c91b4cd..16defc87 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"