Repository navigation
Conversation
Incorporate the adversarial design review without turning the Hermes wiring follow-up into a general release-script refactor. Keep the existing jq path, add Mike Farah yq v4 only for .yaml, and retain one read-only preflight to prevent deterministic partial bumps.\n\nReduce the test contract to three behavioral cases and explicitly defer .yml support, nested YAML, rollback machinery, audit/status redesign, exhaustive failure matrices, and the separately discovered JSON-expression issue. This follows Drew's direction to avoid ceremony and overengineering.
Record Drew's approved reduced design after the second staff review. Limit preflight to the mutating bump path, cover audit's independent read path, and require byte-for-byte proof that deterministic YAML failures cannot partially update earlier JSON manifests. Provide one TDD implementation task for the Hermes registry entry, jq/yq dispatch, focused preflight, and three behavioral checks. Explicitly defer rollback, audit-status changes, nested YAML, runtime changes, and broader release-tool refactoring.
Register the Hermes YAML manifest alongside the existing JSON manifests. Route manifest reads and writes by extension through jq or Mike Farah yq v4, with field names and values passed as data. Preflight every present manifest before the mutating bump loop so a deterministic YAML read failure cannot leave earlier JSON manifests partially updated. Cover check, audit, bump, registry wiring, and byte-for-byte no-partial-write behavior with one focused fixture test.
feat(brainstorming): three-path router — ceremony scales, approval never does
Add dual V1/V2 support to the OpenCode plugin. The same source file now
works on both OpenCode V1 (opencode) and V2 (opencode2) without version
detection at runtime.
V2 changes:
- Add default export { id, server, setup } for V2 PluginSupervisor
- setup() registers skills via ctx.skill.transform() (V2 native API)
- setup() injects bootstrap via ctx.session.hook('context') (V2 equivalent
of V1's experimental.chat.messages.transform)
- config hook guards against V2 array-format skills to avoid conflicts
Both APIs confirmed active at runtime via diagnostics in the V2 beta.
No external dependencies added — pure JavaScript throughout.
Docs updated with V2 install instructions, OPENCODE_CONFIG_DIR side-by-side
setup, and accurate How It Works section for both versions.
…adme Docs/add grok build cli to readme
docs(brainstorming): correct Copilot CLI backgrounding guidance for Windows
Devin CLI's `devin plugins install obra/superpowers` fails today because the
repo has no `.devin-plugin/plugin.json` manifest. Add the manifest (skills are
auto-discovered from the co-located skills/ directory), a Devin tool mapping
linked from using-superpowers' Platform Adaptation section, a README install
section, version tracking in .version-bump.json, a Codex-sync exclude for the
new dotdir, and a CI-safe test mirroring the kimi/antigravity test style.
Bootstrap rides Devin's native skill surfacing: every installed skill's
name + description is injected into the system prompt at session start with a
standing instruction to invoke matching skills via the native skill tool.
Acceptance test ("Let's make a react todo list") passes in a clean session:
using-superpowers and brainstorming auto-trigger before any code is written.
Re-ran the clean-session acceptance test with the mapping file and the SKILL.md Platform Adaptation pointer removed: using-superpowers and brainstorming still auto-trigger first, and the full workflow chain (writing-plans, executing-plans, TDD, verification) resolves every action to Devin's native tools. Devin CLI's own system prompt already documents its tools (skill invocation, subagent profiles, todo tracking, question prompts), so the mapping was redundant. Test now validates the manifest only.
feat: add Devin CLI support
Remove the redundant Quickstart entry and section now that the README has a table of contents. Rename the Installation label in the table of contents to Getting Started while retaining the existing installation anchor and section heading.
Add Hermes Agent to the installation entries in the table of contents. The removed Quickstart section was the README's only direct link to that existing installation section, so preserving the link avoids a navigation regression.
At the Verify GREEN moment, redefine "other tests still pass": run the project's test command even when the task named only one test file — a scope statement bounds the deliverable, not the verification — and any failure seen goes in the report by name. In a pre-registered 24-rep battery on an adjacent-breakage probe, controls ran the wider suite in 1/12 sessions; with this text, 8/12 (sonnet 4/4, kimi 3/4, glm 1/4), and every session that saw the failure reported it. Claude-Session: https://claude.ai/code/session_0185AJr98gHx5EmwqNeft4Sy
…v's README rework # Conflicts: # README.md
Rebased from PR #2108 onto the reworked README. Differences from the PR: the Hermes TOC entry and Quickstart-line changes are obsolete (the v6.3.0 README rework already added the former and removed the latter), and the Hermes post-compaction caveat stays: .hermes-plugin injects the bootstrap only on is_first_turn, so the caveat is still accurate. Install/update commands and the acceptance transcript are from PR #2108 (@arittr, tested interactively on Qwen Code). Co-authored-by: Drew Ritter <[email protected]>
…tive to the merge base The '# or origin/main' alternative fed a moving ref into the reviewer's two-dot diff: once origin/main advances past the branch point, main's new files appear as phantom deletions the reviewer can't distinguish from real ones. Reproduced during triage (2026-08-12): a scratch repo with main advanced one commit shows 'main-new.txt | 1 -' in the branch's diff. git merge-base origin/main HEAD anchors the range to the branch point, matching how sdd's review-package already computes BASE. Reported in #2118 (wan-huiyan). Fixes #2118.
…xec bits
Codex marketplace users hit 'Permission denied' running SDD helpers:
some extractors (Python zipfile) discard Unix mode attributes when
unpacking the package, so task-brief's and review-package's direct exec
of their sibling sdd-workspace fails. Our packaging preserves 0755
(git archive | tar -xpf, asserted by the existing packaging test) — the
bits are lost on the consumer side, which no packaging change can reach.
Invoking the sibling via "${BASH:-bash}" makes the exec bit irrelevant.
TDD: new regression case copies the helpers, chmod -x, runs task-brief
via bash — RED with the reported rc=126 Permission denied, GREEN after.
Reported in #2040 (michaelholcomb-creator). Fixes #2040.
…package When an SDD implementer commits to the wrong branch (#2050), the BASE..HEAD range handed to review-package is either empty or not rooted at BASE. Both cases previously produced a review package silently — an empty one lets the reviewer approve "clean" work that isn't there. Add two mechanical guards after BASE/HEAD validation, exiting 3 (vs 2 for usage errors) so callers can distinguish range problems: - git merge-base --is-ancestor BASE HEAD, else "HEAD is not a descendant of BASE" - git rev-list --count BASE..HEAD > 0, else "empty commit range" Guard shape credits the analysis in closed PR #2082 by @stantheman0128. Fixes #2050
OpenCode V2 removed SkillDraft.source() in 1113adfd5e (#41622): the
skill service now stores values only, and filesystem scanning moved to
the config side. The plugin's draft.source({type:'directory'}) call
threw 'draft.source is not a function', which killed the entire V2
plugin activation generation. Because V2 gates model.list on
PluginSupervisor.flush (23b0688a7f, #41783), that failure left flush
pending forever and the TUI showed no providers or models
('Model catalog initialization timed out', /api/model 503).
Register each skills/<name>/SKILL.md as a native Skill.Info object via
draft.add({id, name, description, location, content}) instead, matching
the {list, add, update, remove} draft API and the pattern used by
V2's built-in skill plugin. Wrap skill registration, hook registration,
and the context hook callback in try/catch so a future V2 API change
degrades to a logged error instead of taking down the whole generation
again. session.hook('context') payload shape is unchanged and keeps
working.
Verified end-to-end on opencode2 v0.0.0-beta-17595: 24 skills listed
via /api/skill (all superpowers skills present), /api/model returns
83 models across 3 providers, no 'failed to reload plugins' in server
logs. V1 path untouched.
opencode 1.18.18 also calls default.setup, but with a ctx that lacks the skill/session domains, so the defensive try/catch logged a TypeError into every V1 session transcript even though V1 is fully served by the SuperpowersPlugin named export. Detect the V1 shape and return quietly.
…e repo Brings the proving-it-works-with-a-movie skill (demo/screencast/proof-video recording, plus the check-movie timeline gate that catches frozen pictures, narration drift, and dropped words) into superpowers core, along with its supporting docs, scripts, and shell regression tests. Source: prime-radiant-inc/proving-it-works (MIT, same copyright holder), skills/proving-it-works-with-a-movie/ at time of import. The five scripts (narrate, make-subtitles, assemble, burn-subtitles, check-movie) are self-contained uv --script files with inline PEP 723 dependency declarations, so they port with no new project-level dependency wiring. Test paths were adjusted one directory level to match superpowers' tests/<skill-name>/ layout (the standalone repo kept tests/ as a top-level sibling of skills/). Adds a Verification entry to README's Skills Library list. Goal: fold this into 6.4 and retire the standalone repo.
…2160) Detect child sessions structurally via session parentID instead of relying on the model honoring <SUBAGENT-STOP>: - V1: sessionID from firstUser.info.sessionID (hook input is empty at runtime), parentID via client.session.get({path:{id}}) - V2: sessionID from the context-hook event, parentID via ctx.session.get({sessionID}) Decision cached per session; lookup failures fail open (previous behavior) and are not cached. Skills registration is unaffected, so workers keep explicit access to execution skills.
…2160) The messages.transform hook injects the using-superpowers bootstrap into the first user message of every session, including task subagent children. Workers then restart brainstorming/design cycles for work the parent already authorised — the <SUBAGENT-STOP> note inside the bootstrap only works when the model chooses to honor it. Detect child sessions structurally instead: OpenCode task sessions are created with a parentID, so when the session carrying the message has a parentID, skip bootstrap injection. The hook receives no input at runtime (verified in the 1.18.x bundle: trigger(..., {}, {messages})), so the sessionID is taken from firstUser.info.sessionID and the session record is fetched via client.session.get({path:{id}}). The decision is cached per session; lookup failures fail open (previous inject-always behavior) and are not cached so transient errors recover. Skills registration is untouched — workers keep explicit access to execution skills.
Both branches implement the same #2160 child-session detection; this branch's restructured plugin file anchors it differently, so the merge is resolved by keeping this branch's copy (which also extends the fix to the V2 context hook). After the standalone PR merges to dev, this ancestry makes future dev syncs conflict-free.
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 <[email protected]> Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
… them (#2530) 7.0.1 brainstorming ends every message with a question and re-asks what the request already settled (#2530). Blind-graded simulated conversations showed the filler, and also that cutting it naively costs the "why" conversation the skill exists for. - Ask a question only when the answer changes what gets built and nothing already answers it; otherwise state the call as a proposal. - Ask why first when they haven't said, as an open question; once the why is known, lay out nameable choices as concrete sketches with a pick. - Process steps (writing up, file locations, recon, how to show something) are the agent's calls, stated rather than asked. The visual companion is offered when the look itself is theirs to decide. - Read technical appetite from how they talk: options for people who raise the how, stated calls for people who talk outcomes. - When nothing is open as the first message is written and there's one sensible way, that message carries the short design for approval. The step list and its Red Flag row allow only that case. Frontmatter description, skip offer and design gate are unchanged. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
…in the skill (#2277) systematic-debugging installed CREATION-LOG.md and four pressure-test scenarios next to SKILL.md. Nothing in the skill links them, but agents read and grep installed skill directories, and the scenarios open with "This is a real scenario. You must choose and act". Move all five, unchanged, to tests/systematic-debugging/pressure-scenarios/, and add tests/skill-layout/test-no-dev-files-in-skills.sh, which fails if any skill directory ships a CREATION-LOG.md or a test-*.md file.
fix(pi): inject the bootstrap on every prompt, not just the first (#2083)
fix(hermes): skip the controller bootstrap for delegate_task children (#2536)
fix(opencode): tell the model skill ids are bare names (#2583)
fix(opencode): don't mistake a prompt that mentions EXTREMELY_IMPORTANT for the bootstrap
Drew requested resolution of the merge conflict in obra/superpowers PR #2601. Merge current dev into the existing PR branch without rewriting its history. Resolve the V2 bootstrap hunk by keeping #2601's shared handler registered on context, compaction, and generate, and incorporating #2600's exact BOOTSTRAP_MARKER prefix guard. This preserves injection for prompts that merely mention EXTREMELY_IMPORTANT while preventing duplicate bootstrap parts. All other dev changes merge without manual edits. Validation: bash tests/opencode/run-tests.sh passed all five suites, including hook registration, tag-mention regression coverage, child-session suppression, caching, and skill registration. git diff --cached --check passed and the index contains no unresolved paths. Live OpenCode integration sessions were not rerun for this conflict-only repair. Tracking: PRI-3674
…trap fix(opencode): inject the V2 bootstrap on compaction and generate requests
fix(sdd): print a Windows-readable workspace path (#2307)
fix(sdd): task-brief refuses a brief that an unclosed code fence would run to EOF (#2436)
fix(sdd): helpers act on the current directory's repo like git, with -C to override (#2429)
fix(brainstorming): resolve a relative --project-dir before start-server.sh cds (#2524)
fix(codex): accept linked git worktrees in the package and sync scripts
…heir-place brainstorming: ask why first, no filler questions, a design to react to (#2530)
…ures fix(systematic-debugging): ship pressure scenarios under tests/, not in the skill (#2277)
Covers the nineteen PRs merged into dev since v7.0.1 and keeps the Muse entry that was under Unreleased.
docs(release-notes): draft v7.0.2 notes
The two "does NOT send reload" tests waited for the barrier file's screen-added line on stdout, then counted reloads on the WebSocket. The server logs and broadcasts in the same tick, but stdout and the socket are separate channels, and on Linux stdout usually won: the socket had 0 reloads when the barrier fired and 1 reload 300ms later, so the tests failed in 8 of 10 runs. They now ping the server after the barrier and wait for the pong. The server writes it on the same socket after the reload, so every reload sent before it has arrived. 30 consecutive clean runs; with the server's .html filter removed, both tests still fail.
obra
marked this pull request as ready for review
November 3, 2026 03:05
chinaakai40-netizen
left a comment
There was a problem hiding this comment.
Mobile UI interactive design (microcurricular version)
fts39
pushed a commit
to viait-team/superpowers
that referenced
this pull request
Nov 21, 2026
4 of 5 tasks
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.
This is the release train for v7.0.2. It merges everything on
devsince v7.0.1 intomain. After the merge come the tag, the GitHub release, the marketplace bump, and the Codex package.Who is submitting this PR?
claude-opus-5-5)What my human partner asked me to do, in their words: "then do the bump. then prep the PR for main"
Human-authored summary (required, under 200 words)
7.0.2 releng
What's in the release
start-server.shaccepts a relative--project-dir. (v7's brainstorm questions are rather annoying #2530, brainstorming: ask why first, no filler questions, a design to react to (#2530) #2644, fix(brainstorming): resolve a relative --project-dir before start-server.sh cds (#2524) #2608)run-hook.cmdfalls back to zsh, or exits quietly, without bash (fix(hooks): fall back to zsh, or exit quietly, when bash is missing on Unix (#2503) #2594).delegate_taskchildren (fix(hermes): skip the controller bootstrap for delegate_task children (#2536) #2596).EXTREMELY_IMPORTANTfor the bootstrap (fix(opencode): don't mistake a prompt that mentions EXTREMELY_IMPORTANT for the bootstrap #2600), and injects it on compaction and generate requests (fix(opencode): inject the V2 bootstrap on compaction and generate requests #2601).git, take-C DIR, and stop with exit 2 outside a working tree (fix(sdd): helpers act on the current directory's repo like git, with -C to override (#2429) #2606).task-briefhandles alphanumeric task IDs and non-English headings (fix(sdd): task-brief finds alphanumeric task IDs and explains non-English headings (#2459, #2496) #2604), and refuses a brief that an unclosed fence ran to EOF (fix(sdd): task-brief refuses a brief that an unclosed code fence would run to EOF (#2436) #2605).tests/(fix(systematic-debugging): ship pressure scenarios under tests/, not in the skill (#2277) #2654).#v7.0.2.Full notes are in the
RELEASE-NOTES.mdv7.0.2 section (#2656).Issues this release closes
These fixes merged into
devwith "Fixes #N", which GitHub honours only onmain. This list is carried over from #2656.Fixes #1799
Fixes #2081
Fixes #2083
Fixes #2175
Fixes #2189
Fixes #2197
Fixes #2242
Fixes #2277
Fixes #2391
Fixes #2394
Fixes #2405
Fixes #2429
Fixes #2436
Fixes #2459
Fixes #2496
Fixes #2503
Fixes #2524
Fixes #2525
Fixes #2536
Fixes #2583
Left open on purpose:
executing-plansstill namesscripts/task-startandscripts/task-donewithoutbash.#2402 (@m2dumpling's PR, applied unchanged as #2598) gets closed by hand with thanks.
Verification
scripts/bump-version.sh --checkreports all 12 declared manifests in sync at 7.0.2.--auditlists only the two OpenCode pin examples, which are updated by hand.mainhas no commits that aren't ondev, so no merge from main was needed. This PR has no conflicts.devat 78c8679 (Linux):pytest)npm test, all nine files;server.test.js30 consecutive clean runs after the fix)