Skip to content

fix(pi): prevent duplicate Bigpowers slash commands (#121) - #124

Merged
danielvm-git merged 1 commit into
mainfrom
fix/pi-duplicate-slash-commands
Sep 13, 2026
Merged

danielvm-git merged 1 commit into
mainfrom
fix/pi-duplicate-slash-commands

Conversation

@danielvm-git

Copy link
Copy Markdown
Owner

Summary

  • Remove redundant per-skill registerCommand from extensions/omp-hooks.ts so Pi autocomplete shows each Bigpowers workflow once
  • Keep generated .pi/prompts/ as the canonical slash-command provider (established e12 surface)
  • Retain bigpowers_skill tool, session notification, and Git safety hooks unchanged
  • Add regression coverage in scripts/omp-smoke.ts and scripts/validate-omp-extension.sh
  • Document investigation in specs/bugs/BUG-2026-09-09-pi-duplicate-slash-commands.md

Closes #121.

Note: Same approach as community PR #122 — this lands from upstream with focused diff.

Test plan

  • node scripts/omp-smoke.ts
  • bash scripts/validate-omp-extension.sh
  • npm run compliance && bash scripts/run-verification-gates.sh && bash scripts/sync-skills.sh && bash scripts/trace-stories.sh --strict (golden suite 40/40 locally)
  • bash scripts/run-gate-trace-verify.sh

Remove redundant per-skill registerCommand from omp-hooks.ts. Generated
Pi prompt templates remain the sole slash-command provider; the extension
keeps bigpowers_skill, session notification, and Git safety hooks.

Closes #121
@danielvm-git
danielvm-git merged commit 45870e2 into main Sep 13, 2026
4 checks passed
@danielvm-git
danielvm-git deleted the fix/pi-duplicate-slash-commands branch September 13, 2026 13:15
github-actions Bot pushed a commit that referenced this pull request Sep 13, 2026
## [2.88.3](v2.88.2...v2.88.3) (2026-09-13)

### Bug Fixes

* **pi:** prevent duplicate Bigpowers slash commands ([#121](#121)) ([#124](#124)) ([45870e2](45870e2))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.88.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Every skill appears twice as a slash command in pi since 2.88.1 (omp-hooks registerCommand duplicates the shipped .pi/prompts templates)

1 participant