Merged
Conversation
…xtract from specs/plans Two features that make code-decisions aware of the Superpowers plugin (obra/superpowers): 1. **Auto-seed methodology decisions**: On SessionStart, detect Superpowers via installed_plugins.json and seed 8 decision files documenting the methodology (TDD, design-first, systematic debugging, etc.). Uses a general SeedRegistry pattern extensible to other plugins. Idempotent via .seeded.json manifest — deleted decisions are not re-created. 2. **Extract decisions from specs/plans**: Extend plan-nudge to watch docs/superpowers/specs/ and docs/superpowers/plans/ for decision language. When the agent writes a spec with trade-offs or approach choices, candidates are extracted and surfaced as a nudge on the first implementation edit. Adds _APPROACH_RE for superpowers-style "Approach 1: ..." sections. dispatch.sh carve-out ensures /docs/ skip pattern doesn't block these paths. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Auto-seed methodology decisions: On SessionStart, detect Superpowers via
installed_plugins.jsonand seed 8 decision files documenting the methodology (TDD, design-first, systematic debugging, subagent-driven development, etc.). Uses a generalSeedRegistryextensible to other plugins. Idempotent via.seeded.jsonmanifest — deleted decisions stay deleted.Extract decisions from specs/plans: Extend
plan-nudgeto watchdocs/superpowers/specs/anddocs/superpowers/plans/for decision language. When the agent writes a superpowers spec with trade-offs or approach choices, candidates are extracted and surfaced as a nudge on the first implementation edit. Adds_APPROACH_REfor superpowers-style "Approach 1: ..." sections.dispatch.shcarve-out ensures the/docs/skip pattern doesn't block these paths.Test plan
make checkpasses (614 tests, ruff, mypy, shellcheck)Decision.validate()🤖 Generated with Claude Code