summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-04-27docs: clarify opencode install caveatscodex/pri-1367-opencode-install-docsDrew Ritter
2026-04-27test(opencode): simplify bootstrap cache coverageDrew Ritter
2026-04-27fix(opencode): cache bootstrap content at module level to eliminate per-step ↵voidborne-d
file I/O getBootstrapContent() called fs.existsSync + fs.readFileSync + regex frontmatter parsing on every agent step with zero caching. The experimental.chat.messages.transform hook fires every step in opencode's agent loop (messages are reloaded from DB each step via filterCompactedEffect). A 10-step turn triggered 10 redundant file reads + 10 regex parses for content that never changes during a session. Changes: - Add module-level _bootstrapCache (undefined = not loaded, null = file missing) so the first call reads and parses SKILL.md, all subsequent calls return the cached string with zero filesystem access - Cache the null sentinel when SKILL.md is missing, preventing repeated fs.existsSync probes - Add _testing export (resetCache/getCache) for test infrastructure - Clarify the injection guard comment explaining how it interacts with opencode's per-step message reloading - Add 15 regression tests covering cache behavior, fs call counts, injection guard, missing file sentinel, cache reset, and source audit Fixes #1202
2026-04-27Merge remote-tracking branch 'origin/main' into devDrew Ritter
# Conflicts: # .claude-plugin/marketplace.json # .claude-plugin/plugin.json # .cursor-plugin/plugin.json # RELEASE-NOTES.md # gemini-extension.json # package.json
2026-04-27Remove Integration sections from skillsJesse Vincent
These sections don't help with steering and are a legacy of the time before agents had native skills systems.
2026-04-27fix: prevent subagent-driven-development from pausing every 3 tasksJesse Vincent
requesting-code-review had "review after each batch (3 tasks)" for executing-plans, which leaked into subagent-driven-development as a check-in cadence. Replaced with flexible "each task or at natural checkpoints" and added explicit continuous execution directive to subagent-driven-development.
2026-04-23Use committed Codex plugin files in sync scriptJesse Vincent
- commit .codex-plugin/plugin.json and brand assets in this repo - sync tracked Codex plugin files instead of generating or seeding them - honor upstream gitignored files during rsync - cover the new sync behavior with regression tests
2026-04-16formattingJesse Vincent
2026-04-16formattingJesse Vincent
2026-04-16reorder installsJesse Vincent
2026-04-16README updates for Codex, other cleanupJesse Vincent
2026-04-15Remove the deprecated legacy slash commands (#1188)Jesse Vincent
2026-04-15Some terminology cleanupsJesse Vincent
2026-04-15sync-to-codex-plugin: seed interface.defaultPrompt (#1180)Drew Ritter
Codex plugin pages use interface.defaultPrompt to show suggested prompts on the plugin's app card; the generator now emits two domain-neutral seed prompts so the superpowers listing isn't empty. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14Merge pull request #1165 from obra/mirror-codex-plugin-toolingJesse Vincent
Mirror codex plugin tooling
2026-04-14sync-to-codex-plugin: anchor EXCLUDES patterns to source rootDrew Ritter
Rsync exclude patterns without a leading "/" match any directory of the given name at any depth. The previous "scripts/" pattern was meant to exclude upstream's top-level scripts/ dir (which contains sync-to-codex-plugin.sh itself, bump-version.sh, etc.) but also incorrectly excluded skills/brainstorming/scripts/ — a legitimate skill-adjacent dir with 5 files (frame-template.html, helper.js, server.cjs, start-server.sh, stop-server.sh). Found during a determinism check: comparing the hand-crafted add-superpowers-plugin bootstrap PR against an automated bootstrap PR produced a diff showing those 5 files were missing from the automated version. Fix: anchor every top-level-only exclude with a leading "/". .DS_Store stays unanchored because Finder creates them anywhere. This also prevents future drift if anyone adds a tests/, hooks/, docs/, lib/, etc. subdir inside a skill. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14sync-to-codex-plugin: exclude assets/, add --bootstrap flagDrew Ritter
Two coupled changes: 1. Add assets/ to EXCLUDES. A normal sync run was deleting plugins/superpowers/assets/ via --delete because the corresponding directory doesn't exist upstream. Confirmed via dry-run that the previous version would wipe both brand asset files on next sync. 2. Add --bootstrap and --assets-src flags to support creating the initial plugin PR from scratch. Bootstrap mode skips the "plugin must exist on base" preflight, creates the plugin directory, rsyncs upstream content, then copies PrimeRadiant_Favicon.{svg,png} from --assets-src into plugins/superpowers/assets/ as superpowers-small.svg and app-icon.png. Run once by one team member to open the initial PR; every subsequent run is a normal (non-bootstrap) sync. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14sync-to-codex-plugin: align plugin.json heredoc with current live shapeDrew Ritter
The live .codex-plugin/plugin.json in the downstream fork was cleaned up (websiteURL, privacyPolicyURL, termsOfServiceURL, and defaultPrompt removed) and icon fields were added (composerIcon, logo pointing at assets/superpowers-small.svg and assets/app-icon.png). Update the heredoc to produce the same shape so future sync runs don't wipe the icon fields or reintroduce the removed URL fields. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14sync-to-codex-plugin: mirror CODE_OF_CONDUCT.md, drop agents/openai.yaml overlayDrew Ritter
- Remove CODE_OF_CONDUCT.md from EXCLUDES so it syncs from upstream (per PR #1165 review feedback on the exclude list) - Remove the agents/openai.yaml overlay generator and its exclude entry — the file duplicates fields already in .codex-plugin/plugin.json and only 6 of 28 upstream plugins ship one, so we match the 22-plugin majority shape Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14remove things we dont needDrew Ritter
2026-04-14Merge pull request #1163 from shaanmajid/chore/remove-stray-changelogJesse Vincent
chore: remove vestigial CHANGELOG.md
2026-04-14rewrites sync tool to clone the fork, open a PR, and regenerate overlays inlineDrew Ritter
The previous version was a local rsync helper that required a hand-maintained destination path. This rewrite makes it path/user-agnostic and gives every team member the same flow: - Clones prime-radiant-inc/openai-codex-plugins fresh into a temp dir per run (trap EXIT cleans up) - Auto-detects upstream from the script's own location - Preflight: rsync, git, gh auth, python3, upstream package.json - Reads upstream version from package.json and bakes it into the regenerated .codex-plugin/plugin.json, so version bumps flow through - Regenerates both overlay files (.codex-plugin/plugin.json and agents/openai.yaml) inline via heredoc — single source of truth - Pushes a sync/superpowers-<sha>-<UTC-timestamp> branch and opens a PR via gh pr create; prints PR URL and /files diff URL on completion - --dry-run, --yes, --base BRANCH, --local PATH flags for all the usual modes - Deterministic: two runs against the same upstream SHA produce PRs with identical diffs, so the tool itself can be sanity-checked by running twice Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14adds tooling to mirror superpowers as a codex plugin with the appropriate ↵Drew Ritter
metadata changes
2026-04-14chore: remove vestigial CHANGELOG.mdShaan Majid
2026-04-13Merge pull request #1121 from obra/worktree-worktree-rototillJesse Vincent
adjust worktree handling and defer to harness tools when avail (PRI-974)
2026-04-13Merge pull request #1122 from obra/fix-replace-hardcoded-usersworktree-worktree-rototillJesse Vincent
fix: replace hardcoded /Users/jesse with generic placeholders (#858)
2026-04-13fix: replace hardcoded /Users/jesse with generic placeholders (#858)Drew Ritter
2026-04-13docs: drop instruction file enumeration per PR #1121 reviewDrew Ritter
Jesse flagged that the verbose CLAUDE.md/AGENTS.md/GEMINI.md/.cursorrules enumeration (a) chews tokens, (b) confuses models that anchor on exact strings, and (c) is repeated DRY-violatingly across 3+ locations. Replace with abstract "your instructions" framing in four spots: - skills/using-git-worktrees/SKILL.md Step 0 → Step 1 transition - skills/using-git-worktrees/SKILL.md Step 1b Directory Selection - docs/superpowers/plans/2026-04-06-worktree-rototill.md (both mirror locations) Same intent, harness-agnostic phrasing, ~half the tokens. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13docs: soften Step 1a native-tool framing per PR #1121 reviewDrew Ritter
Address obra's comment on explicit step numbers / prescriptive tone. Drops "STOP HERE if available", the "If YES:" gate, and the "even if / even if / NO EXCEPTIONS" reinforcement paragraph. Keeps the specific tool-name anchors (EnterWorktree, WorktreeCreate, /worktree, --worktree), which the original TDD data showed are load-bearing. A/B verified against drill harness on the 3 creation/consent scenarios (consent-flow, creation-from-main, creation-from-main-spec-aware): baseline explicit wording scored 12/12 criteria, softened wording also scored 12/12. The "agent used the most appropriate tool" criterion passed in all 3 softened runs — agents still picked EnterWorktree via ToolSearch without the imperative framing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13docs: address PR #1121 review — respect user preference, drop y/nDrew Ritter
- Consent prompt: drop "(y/n)" and add escape valve for users who have already declared their worktree preference in global or project agent instruction files. - Directory selection: reorder to put declared user preference ahead of observed filesystem state, and reframe the default as "if no other guidance available". - Sandbox fallback: require explicitly informing the user that the sandbox blocked creation, not just "report accordingly". - writing-plans: fully qualify the superpowers:using-git-worktrees reference. - Plan doc: mirror the consent-prompt change. Step 1a native-tool framing and the helper-scripts suggestion are still outstanding — the first needs a benchmark re-run before softer phrasing can be adopted without regressing compliance; the second is exploratory and will get a thread reply. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07fix: remove incorrect hooks symlink step from worktree skillDrew Ritter
Git worktrees inherit hooks from the main repo automatically via $GIT_COMMON_DIR — this has been the case since git 2.5 (2015). The symlink step was based on an incorrect premise from PR #965 and also fails in practice (.git is a file in worktrees, not a dir). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06docs: cross-platform validation on 5 harnesses (PRI-974)Drew Ritter
Tested on Gemini CLI (gemini -p) and Cursor Agent (cursor-agent -p): - Gemini: Step 0 detection 1/1, Step 1b fallback 1/1 - Cursor: Step 0 detection 1/1, Step 1b fallback 1/1 Both correctly identified no native agent-callable worktree tool, fell through to git worktree add, and performed safety verification. Both correctly detected existing worktrees and skipped creation. 5 of 6 harnesses now tested. Only OpenCode untested (no CLI access). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06docs: honest cross-platform validation table in spec (PRI-974)Drew Ritter
Research confirmed Claude Code is currently the only harness with an agent-callable mid-session worktree tool. All others either create worktrees before the agent starts (Codex App, Gemini, Cursor) or have no native support (Codex CLI, OpenCode). Table now shows: what was actually tested (Claude Code 50/50, Codex CLI 6/6), what was simulated (Codex App 1/1), and what's untested (Gemini, Cursor, OpenCode). Step 1a is forward-compatible for when other harnesses add agent-callable tools. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06docs: update spec with TDD findings on Step 1a (PRI-974)Drew Ritter
Step 1a's original "deliberately short, abstract" design was disproven by TDD (2/6 pass rate). Spec now documents the validated approach: explicit tool naming + consent bridge + red flag (50/50 pass rate). - Design Principles: updated to reflect explicit naming over abstraction - Step 1a: replaced abstract text with validated approach, added design note explaining the TDD revision and why file splitting was unnecessary - Risks: Step 1a risk marked RESOLVED with cross-platform validation table and residual risk note about upstream tool description dependency Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06fix: Step 1a validated through TDD — explicit naming + consent bridge ↵Drew Ritter
(PRI-974) Step 1a failed at 2/6 with the spec's original abstract text ("use your native tool"). Three REFACTOR iterations found what works (50/50 runs): 1. Explicit tool naming — "do you have EnterWorktree, WorktreeCreate..." transforms interpretation into factual toolkit check 2. Consent bridge — "user's consent is your authorization" directly addresses EnterWorktree's "ONLY when user explicitly asks" guardrail 3. Red Flag entry naming the specific anti-pattern File split was tested but proven unnecessary — the fix is the Step 1a text quality, not physical separation of git commands. Control test with full 240-line skill (all git commands visible) passed 20/20. Test script updated: supports batch runs (./test.sh green 20), "all" phase, and checks absence of git worktree add (reliable signal) rather than presence of EnterWorktree text (agent sometimes omits tool name). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06fix: include worktrees/ (non-hidden) in finishing provenance check (PRI-974)Drew Ritter
The creation skill supports both .worktrees/ and worktrees/ directories, but the finishing skill's cleanup only checked .worktrees/. Worktrees under the non-hidden path would be orphaned on merge or discard. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06fix: update worktree integration references across skills (PRI-974)Drew Ritter
Remove REQUIRED language from executing-plans and subagent-driven-development. Consent and detection now live inside using-git-worktrees itself. Fix stale 'created by brainstorming' claim in writing-plans. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06fix: address spec review findings in both skill rewrites (PRI-974)Drew Ritter
using-git-worktrees: submodule guard now says "treat as normal repo" instead of "proceed to Step 1" (preserves consent flow) using-git-worktrees: directory priority summaries include global legacy finishing-a-development-branch: move git branch -d after Step 6 cleanup to make Bug #999 ordering unambiguous (merge -> worktree remove -> branch delete) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06feat: rewrite finishing-a-development-branch with detect-and-defer (PRI-974)Drew Ritter
Step 2: environment detection (GIT_DIR != GIT_COMMON) before presenting menu Detached HEAD: reduced 3-option menu (no merge from detached HEAD) Provenance-based cleanup: .worktrees/ = ours, anything else = hands off Bug #940: Option 2 no longer cleans up worktree Bug #999: merge -> verify -> remove worktree -> delete branch Bug #238: cd to main repo root before git worktree remove Stale worktree pruning after removal (git worktree prune) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06feat: rewrite using-git-worktrees with detect-and-defer (PRI-974)Drew Ritter
Step 0: GIT_DIR != GIT_COMMON detection (skip if already isolated) Step 0 consent: opt-in prompt before creating worktree (#991) Step 1a: native tool preference (short, first, declarative) Step 1b: git worktree fallback with hooks symlink and legacy path compat Submodule guard prevents false detection Platform-neutral instruction file references (#1049) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06test: add RED/GREEN validation for native worktree preference (PRI-974)Drew Ritter
Gate test for Step 1a — validates agents prefer EnterWorktree over git worktree add on Claude Code. Must pass before skill rewrite. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06Fix Discord invite linkJesse Vincent
2026-04-06Update Discord invite linkJesse Vincent
2026-04-06docs: add worktree rototill implementation plan (PRI-974)Drew Ritter
5 tasks: TDD gate for Step 1a, using-git-worktrees rewrite, finishing-a-development-branch rewrite, integration updates, end-to-end validation. Task 1 is a hard gate — if native tool preference fails RED/GREEN, stop and redesign. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06docs: honest spec revisions after issue/PR deep diveDrew Ritter
- Step 1a is the load-bearing assumption, not just a risk — if it fails, the entire design needs rework. TDD validation must be first impl task. - #1009 resolution depends on Step 1a working, stated explicitly - #574 honestly deferred, not "partially addressed" - Add hooks symlink to Step 1b (PR #965 idea, prevents silent hook loss) - Add stale worktree pruning to Step 5 (PR #1072 idea, one-line self-heal) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06docs: address SWE review feedback on worktree rototill specDrew Ritter
- Fix Bug #999 order: merge → verify → remove worktree → delete branch (avoids losing work if merge fails after worktree removal) - Add submodule guard to Step 0 detection (GIT_DIR != GIT_COMMON is also true in submodules) - Preserve global path (~/.config/superpowers/worktrees/) in detection for backward compatibility, just stop offering it to new users - Add step numbering note and implementation notes section - Expand provenance heuristic to cover global path and manual creation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06docs: add worktree rototill design spec (PRI-974)Drew Ritter
Design for detect-and-defer worktree support. Superpowers defers to native harness worktree systems when available, falls back to manual git worktree creation when not. Covers Phases 0-2: detection, consent, native tool preference, finishing state detection, and three bug fixes (#940, #999, #238). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01Merge pull request #1029 from obra/readme-release-announcementsJesse Vincent
Add release announcements link, consolidate Community section
2026-04-01Add detailed Discord description to Community sectionJesse Vincent
2026-04-01Add release announcements link, consolidate Community sectionJesse Vincent
Collapse duplicate Support section into Community. Add link to release announcements signup at primeradiant.com/superpowers/.