superpowers/tests
Jesse Vincent f713233eee fix(codex): accept linked git worktrees as checkouts
package-codex-plugin.sh and sync-to-codex-plugin.sh checked for a
checkout with [[ -d .git ]]. In a linked worktree .git is a file, so
both scripts died with "not a git checkout" there, and
tests/codex/test-package-codex-plugin.sh failed 9 checks when run from
any worktree. Test that .git exists instead: it covers both layouts
and still requires the path to be the root of a checkout, which
matters for sync's user-supplied --local path. The scripts' later git
commands already work in worktrees.

Regression tests run the package script from a linked worktree of the
repo, and a sync preview from a linked upstream worktree into a linked
destination worktree. The package test is adapted from #1910.

Co-authored-by: tianma-if <tianma-if@users.noreply.github.com>
Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
2026-10-23 03:48:33 +00:00
..
antigravity feat(antigravity): native plugin manifest for the Antigravity Marketplace 2026-10-07 18:51:41 -07:00
brainstorm-server test(brainstorm-server): wait for file events instead of sleeping 2026-10-21 13:12:44 -07:00
claude-code test(executing-plans): compare the brief path in the scripts' own spelling on Git Bash 2026-09-26 19:30:38 -07:00
codex fix(codex): accept linked git worktrees as checkouts 2026-10-23 03:48:33 +00:00
codex-plugin-sync fix(codex): accept linked git worktrees as checkouts 2026-10-23 03:48:33 +00:00
devin Drop devin-tools.md — not needed for correct operation 2026-08-07 12:47:29 -07:00
diagnosing-superpowers Preserve diagnostic evidence through doctor export 2026-09-11 15:20:10 -07:00
explicit-skill-requests Tighten cross-platform tool references 2026-06-16 10:09:43 -07:00
hermes fix(hermes): pass each skill's frontmatter description to register_skill 2026-09-26 19:37:44 -07:00
hooks Merge pull request #2594 from obra/fix/2503-run-hook-no-bash 2026-10-22 15:05:26 -07:00
kimi Tighten Kimi plugin porting coverage 2026-06-16 10:09:44 -07:00
opencode fix(opencode): strip quote pairs after joining multi-line frontmatter values 2026-09-17 20:49:55 -07:00
pi fix(pi): stop resources_discover from bypassing package skill filters 2026-10-22 20:51:39 +00:00
shell-lint Add shell lint script 2026-06-16 10:09:45 -07:00
skill-size subagent-driven-development: move situational content to references/ so SKILL.md survives compaction (#2565) 2026-10-21 12:34:50 -07:00
systematic-debugging fix(systematic-debugging): find-polluter accepts ./-prefixed patterns and matches top-level tests 2026-07-23 10:54:50 -07:00
version-bump Release prep for v7.0.0 (#2488) 2026-10-09 16:55:01 -07:00
writing-skills Release prep for v7.0.0 (#2488) 2026-10-09 16:55:01 -07:00