summaryrefslogtreecommitdiff
path: root/skills
AgeCommit message (Collapse)Author
2026-10-21brainstorming: lay out approaches, write a design doc at every size, and ↵Jesse Vincent
never skip without consent (#2530) (#2571) Follow-up to #2560. Users on #2530 reported that brainstorming still skips approaches and the spec and jumps to implementation. Against dev (which includes #2560), the gallery scenario reproduced it: the design doc was skipped without consent in 24 of 24 runs. - A checklist before implementing: approaches in their own message and a pick, the design doc, its approval, then writing-plans. A spike they agreed to and an explicit opt-out aren't implementing. - Every size gets a design doc; a small change gets a short one covering what was already discussed. Each doc has an Approaches part. - For a detailed request, the first message echoes it back, flags anything they may not have considered that changes it, and leaves the how for later. - Questions are specific and Socratic and say why they're asked. - Red flags for writing the doc before the approaches and for treating an unwritten doc as approved.
2026-10-21subagent-driven-development: move situational content to references/ so ↵Jesse Vincent
SKILL.md survives compaction (#2565) After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). SDD was 32,358, so everything from the fix loop on (the five-round cap, the breaker, the ledger round line, the final review's single fix wave, Finish) was gone for the rest of a long session. One reported task ran 18 fix rounds after that. Content SDD only needs at particular moments now lives in references/, behind a pointer at the step that needs it: fix-loop.md (read before every round), final-review.md (with Finish), handling-reports.md (non-DONE statuses), resuming.md (an existing ledger), preflight.md (the conflict scan before Task 1), batching.md, and cannot-verify.md. Those reads come fresh from disk, so they don't depend on what survived compaction. The Process graph shows the fix loop and final review as pointer nodes, and the illustrative Example Workflow is gone. SKILL.md is 19,506 bytes. tests/skill-size/test-skill-size.sh fails when any SKILL.md reaches 20,000 bytes. It still fails for writing-skills and executing-plans. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-21writing-skills: move supporting docs and situational guidance into ↵Jesse Vincent
references/ (#2564) * writing-skills: move supporting docs into references/ The repo keeps a skill's on-demand docs in references/ (using-superpowers, diagnosing-superpowers, subagent-driven-development). writing-skills had anthropic-best-practices.md, persuasion-principles.md, testing-skills-with-subagents.md, graphviz-conventions.dot and examples/CLAUDE_MD_TESTING.md at the skill root; they move unchanged except for the links between them. render-graphs.js is a tool and stays. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F * writing-skills: move situational guidance to references/ so SKILL.md fits under the compaction cut After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). writing-skills was 26,623 bytes. Guidance it only needs at particular moments now lives in references/, behind a pointer at the moment that needs it: - discovery.md: the SKILL.md template and all of Skill Discovery Optimization (description, keywords, naming, token budgets, cross-references). Read when writing or changing frontmatter, naming, or size. The rule agents break most, that a description names triggering conditions and never the workflow, stays in SKILL.md too. - bulletproofing.md: closing loopholes, spirit vs letter, the rationalization table and red flags. Read when the baseline failure is a discipline failure, as Match the Form to the Failure already scopes it. - flowcharts.md: when a flowchart earns its place, conventions, rendering. SKILL.md is now 16,738 bytes. quick-evals/writing-skills/write-a-skill.py (superpowers-evals) has each rep write a new skill from supplied baseline results. Opus 5.5, 3 reps per scenario, v7.0.0 vs this change: every written skill has a 'Use when' description with no workflow summary (124-248 chars), and every discipline skill tables all five baseline rationalizations and has a red-flags section, on both arms. On this change every rep read the reference its scenario calls for (6/6). Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-21executing-plans: drop the Example Workflow so SKILL.md fits under the ↵Jesse Vincent
compaction cut (#2563) After a compaction, Claude Code re-attaches each invoked skill truncated to 20,000 characters (#2481). executing-plans was 20,405 bytes, so its last lines fell past the cut. The Example Workflow was the redundant part: it replayed rules the sections above already state (task-start/task-done, rulings in the ledger, re-grading, the single fix pass, the final message's two lists). SKILL.md is now 18,103 bytes. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-20Templates: require a human-written summary and the filer's instructionsfix/issue-templates-human-summaryJesse Vincent
Agent-filed issues and PRs arrive with no human fingerprint and no record of what the agent was told to do. The three issue templates now carry, right after the duplicate-search checkbox, a "Who's filing" section asking who the filer is and what their human partner asked for, and a "Human-authored summary" under 200 words that a human writes in their own words. The PR template gets the same summary and a line for the partner's instructions under its existing "Who is submitting" table. The bug report also asks how the "does not reproduce without Superpowers" checkbox was verified. The PR template, AGENTS.md, and the README now say agent-written PRs that fix issues filed by someone else are not accepted unless a maintainer asked for one, including when the partner hit the same problem: the report goes on the existing issue instead. AGENTS.md previously told agents to "pick ONE issue" from the tracker, which invited exactly that. The Session Diagnosis Report issue template is removed. The diagnosing-superpowers skill supplies its own issue body, which replaces the template body except in the oversize-URL fallback, so the template's only lasting effect was applying the automated-issue-report label for reporters without push access. The skill's prefilled link now lands on bug_report.md, and the skill's footer still marks skill-filed issues. The skill's own issue template carries the same two sections, since the repo template never reached skill-filed issues. "Who's filing" names the filing session's model and harness and quotes the request from that session, because the diagnosed session's first prompt already appears under steps to reproduce and may come from another harness; the footer says which section holds which. The summary slot is reserved for the partner's own words, with a trim request rather than an edit when they run long, and the approval gate in SKILL.md refuses to file while that slot holds a placeholder. The fixed "reporter has not tried reproducing" sentence becomes the template's "How I verified" line, with the box ticked only when a transcript shows the problem did not recur. The design spec's issue-filing section follows. Checked with fresh Sonnet agents filling the skill template from a synthetic diagnosis: eleven runs over three drafts, three on the final wording with the amended gate in context. Of the four told by their partner to skip the write-up or file overnight, none drafted the summary and none filed. On the final wording, the filer's model and the diagnosed Codex session's model landed in the right sections, a partner's untranscribed account of a run without Superpowers was recorded with the box left unticked, and a 216-word summary drew a request to trim rather than an edit. Also along for the ride: the feature request's chooser text says "improvement" instead of "addition", and the PR template's test table heading is plural. Claude-Session: https://claude.ai/code/session_01TfpSRkih629AUwvFyTFr9c
2026-10-19brainstorming: make 200 words a target to aim for, not a limitJesse Vincent
Jesse's call. 3 reps each on explicit-request, phased-spec and detailed-new-project: Opus 223-261 words (was 183-237 with 'stays under'), Sonnet 245-357 (was 179-284). One question per reply and the closing offer placement are unchanged. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: reflow the playback bulletJesse Vincent
Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: move the check-in to a light closing offer, cap at 200 wordsJesse Vincent
Jesse's calls on the third review round: - The playback cap goes to 200 words, since naming real alternatives needs the room. - The skip offer moves from the opening line to a light one-line offer after the question ('Or if you'd rather I just dive in, say so.'), and how the message ends now has a positive branch for each case. With only a closing conditional, 5/12 Claude reps on explicit requests picked up the offer; with both branches spelled out, 0/12, while 12/12 reps where the user didn't ask for brainstorming still get it. - 'You never need to quote this skill to your human partner.' Astra had quoted the skill at the user in 3/12 runs; 0/34 after. Opus and Sonnet, 3 reps each across four scenarios. Claude playbacks run 183-284 words, so the 200 cap is a target more than a limit. Astra was not rerun on the final wording: the Codex subscription returned 429 on every call. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: alternatives only for real forks, checked against the projectJesse Vincent
Transcript reviews of the first alternatives round found strawman alternatives ('Node or Go, neither makes it smaller'), an offer to dig in in only 2/27 playbacks, and 6/6 Claude explicit-request reps recommending a transaction rollback that the fixture's own commit() and file-creating connect() break. Alternatives are now for forks you'd genuinely hesitate between, with obvious defaults stated in a clause; picks get checked against what the project does; and the first-message bullet itself carries the one-clause alternative and the offer to dig in. 3 reps each, Opus and Sonnet: offer to dig in 6/18 (was 2/18); read-only plus seen-set picked 2/6 on explicit-request (was 0/6); Claude playbacks still 161-241 words. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: recommend a way to build it and name the alternatives consideredJesse Vincent
Jesse wants brainstorming to propose an approach and reference the alternatives it weighed, because models reason better when they have to think through real alternatives before picking one. 'Think wide privately' becomes 'Think wide, then recommend': propose the recommended approach, name the alternatives and their trade-offs, and offer to dig into them. It stays scoped to how it gets built; what they want still starts with them describing. In the first-message playback, a guess about how to build it becomes that recommendation. Before, 0/8 branch playbacks on alexxburg's #2530 prompt named any alternative. After, 3 reps each across four scenarios: Opus and Sonnet name alternatives in 18/18 playbacks, gpt-6-astra in 5/9. Claude playbacks grew to 148-211 words. The first-message harness gains detailed-new-project (alexxburg's prompt in an empty repo). On v7.0.0 Opus and Sonnet asked 'the moment you'd use this' or 'what happens with the PNG' 6/6; the branch plays back and asks about the jobs table and what 'live' means 6/6. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: key the skip offer on the user's message and spell out the ↵Jesse Vincent
playback ending A cross-model run (Sonnet 5.5, Haiku 5.5, Fable 5.1, Codex gpt-6-luna and gpt-6-astra) and two transcript reviews found three wording gaps: - Claude models ignored the 150-word cap by listing every guess. The cap now covers the whole message and the playback carries the two or three guesses that matter most. - 'Invite corrections and ask one question' got half-followed: Codex dropped the invitation, Claude added a second question. It's now one line inviting corrections, then one question. - 'Fired on its own' doesn't map to Codex, where every skill load is the agent's own read of SKILL.md; Luna dropped the check-in once. The skip offer now keys on whether the user's message asked for brainstorming or a design discussion. 3 reps each on Opus 5.5, Sonnet 5.5, gpt-6-luna, gpt-6-astra: no skip offer on explicit or phased requests (24/24), check-in when the user didn't ask (12/12), recon before asking (24/24). Playback lengths: Sonnet 124-161, Opus 141-204, Codex 57-116 words. Astra now invites corrections 6/6 (was 0/6). Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: keep the playback short and end on a design questionJesse Vincent
Two transcript reviews of the first round found the playback ran 243-347 words, mostly reciting the request or spec back, and 3 of 5 explicit requests still closed on a why question because the branch was keyed on 'said what and why'. The branch now keys on what they want, caps the playback at 150 words of findings and guesses, and ends by inviting corrections and asking the open design choice that most changes what gets built. Opus 5.5, 5 reps each: replies 154-216 words, corrections invited 10/10, design question 8/10 (two explicit-request reps still ask 'the last time you wished you had this'), auto-trigger check-in 5/5. The first-message harness now runs Codex too (plugin staged as superpowers@debug under an isolated CODEX_HOME, as the evals do) and puts the agent and model in the results directory name. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-19brainstorming: look first, and only offer to skip when it fired on its ownJesse Vincent
In 7.0.0 every brainstorming session opened with the same two lines: an offer to skip the questions and an open 'tell me about the moment' question (#2530). It fired even when the user had asked for brainstorming by name, had a spec or plan in hand, or had already said what and why, and it asked before looking at the project. Now, in an existing project or with context the user supplied, the agent reads what they referred to before its first message. The skip offer only appears when the skill fired on its own. When what and why are already established, the agent plays back its understanding and asks what's wrong or missing, since specs are often incomplete; otherwise it still opens with one question that gets them describing. tests/brainstorming-first-message/run.py runs the opening turn of three evals scenarios in headless Claude Code (Opus 5.5, isolated HOME). Against 7.0.0, 5 reps each: skip offer 15/15 including both explicit requests, no code read before asking on the explicit request 5/5, playback 0/10. With this change: skip offer 0/10 on explicit requests and 5/5 when auto- triggered; recon and a grounded playback 10/10 on the explicit and phased-spec scenarios. Claude-Session: https://claude.ai/code/session_01EgKgPPzKtNA2okiCmqb11F
2026-10-09brainstorming: close the skip-path gap in #2482's defaults rule (#2483)ada-sen
* brainstorming: close the skip-path gap in #2482's defaults rule The opt-out line in Your First Message let a user skip the whole skill, including #2482's rule that stated defaults get said out loud. On the skip path, state any significant how-it-gets-made choice (platform, language, medium) in one plain line before building. #2482 also added a How it gets made paragraph that restates the existing which parts of the how they want to decide bullet in Ground to cover almost word for word. Drop the redundant bullet: the paragraph already covers that ground, plus the genuinely new instructions (state defaults plainly, build on what they already have, record your own calls as yours and never as agreed, strong-views users talk it through while users counting on you get defaults). * brainstorming: use parentheses instead of emdashes in the skip-path line --------- Co-authored-by: Jesse Vincent <jesse@fsck.com>
2026-10-08brainstorming: find out which choices about how it gets made they want to ↵Jesse Vincent
own (#2482) * brainstorming: ask which technology choices they want to make A session asked to design an iOS app never discussed platform or stack and built a web app with a home-screen icon. Brainstorming now finds out early which technology choices the person wants to make and which they're handing over: talk it through with a technical partner, pick sensible defaults and say them plainly for someone who isn't, and base defaults on an existing project's stack. The Red Flags row on sensible defaults now says to state them rather than avoid them. * brainstorming: generalize technology guidance to how it gets made Non-software projects (a painting, a cake) need the same move: find out which medium, tools, materials and resources they want to choose, which they're handing over, and what they already have. Software keeps its examples: platform, programming language, libraries.
2026-10-06brainstorming: rebuild around drawing out intent (#2463)Jesse Vincent
* docs: intent doc for brainstorming rebuild Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * docs: spike exemption to the brainstorming gate Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: rebuild around drawing out intent Replaces the spike/bounded/architectural router with an intent-first conversation: open describing questions, recon offers, playback in 200-300 word chunks, then sizing (quick task / small change / project with a written design). The spec reviewer prompt becomes a builder check that asks what a builder would still need to know. Adds tests/brainstorming/first-turn.sh, a first-turn micro-test with no-skill and skill arms. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: multi-turn brainstorming driver with simulated humans Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: harder small-change scenario; clearer launch failure Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: tighter opening, wait for builder check, reason from the why Round 1 multi-turn runs: the builder check went to a background subagent and stalled the conversation; the opening restated the request; one run proposed CLI flags after hearing the tool runs from cron. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: builder check gates the handoff, not the reply; README Claude Code subagents run in the background, so the subject can't block on the builder check. The skill now says what matters (don't hand over the document until the check is back), and converse.sh lets the simulated human wait for the subject's follow-up turn instead of nudging it. Also fixes converse.sh dying before its summary when the work dir has no commits. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: split multi-project requests and take them one at a time Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: show it when the playback describes something visual Across 13 multi-turn runs neither skill ever offered the visual companion, even for a kids' tablet screen. Tying the offer to an observable moment (talk turns to how something looks, or a playback chunk describes it) got offers in 2/3 runs, each as its own message, none upfront. The simulated human now declines browser offers so test runs don't open tabs. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: opt-out, spike, and multi-project brainstorming scenarios Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: resolve review findings from adversarial pass - Opt-out ends the skill and the gate with it (the gate had no rule for it). - Each message ends with one question, no example answers hanging off it; multi-question messages and parenthetical menus showed up in most runs. - Playback marks the agent's guesses as guesses; one run played the agent's own example back as the human's. - Restore the old gate's list of what counts as building (#2258). - Companion offer stays its own message; mockups only after acceptance. - converse.sh: survive a failed human turn, report why a run ended, and keep raw task notifications out of the simulated human's view. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: play back as you go, alternating with questions With playback saved for the end, project brainstorms ran 8-15 questions before the human saw any summary. Interleaved, the first playback lands around turn 3-6 (6 runs: habit-tracker, pottery, offsite x2), so corrections arrive before more questions build on a wrong guess. Total length is about the same. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * tests: blind-pair launcher for comparing brainstorming versions Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: builder check yields one ranked round of questions In a blind comparison (6 testers, old vs new skill), every new-skill tester flagged the builder check: two rounds and 3-9 questions after they'd said 'write it up'. Now the agent warns once that a reviewer reads first, settles minor gaps itself and marks them as its calls, and brings only the questions that change what gets built, in one message, most important first. 4/4 runs (habit-tracker, pottery x2) showed a single round. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * docs: brainstorming rebuild eval results Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * Move the eval harness and results to their own PR Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: one line on writing style Blind testers flagged a researched answer as a wall of text for a non-technical person. Micro-tested 12 style lines on research reports and mid-conversation answers (3 prompts x 5 reps each). Every variant already led with the point; naming a journalist (wire reporter, Mossberg, a Journalism BA) added source attributions. Plain wording shortened research reports by about 12% against no line. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: offer the visual companion whenever seeing would help Lists the moments that call for it (things they'll look at, layouts, flows, options that look different, diagrams/timelines/maps), checks each playback chunk before sending it, and drops the 'token-intensive' line that confused non-technical blind testers. Offers: habit tracker 3/3 (was ~50%), pottery booking 3/3 (was 0/3), at turns 3-7, never upfront; 0/4 on scenarios with nothing visual (sync-tool flag, talk outline). Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: plain style line Tested five style lines across Opus, Sonnet, gpt-6-luna and gpt-6-astra (3 prompts x 5 reps each); none moved length or attribution beyond noise on any model. Keep the plainest statement of intent. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK * brainstorming: report the most important findings, offer the rest Research reports to a non-technical person ran 320-400 words on Claude. With this line, replies that offer the rest rose from 1/5 to 4/5 (Opus) and 3/5 (Sonnet); Opus reports ~7% shorter; gpt-6-luna/astra, already ~170-190 words, unchanged. Claude-Session: https://claude.ai/code/session_01M6AdHKvzoBUPTxPnYDwssK
2026-09-26sdd-workspace: resolve the repo root physically so plan markers stay ↵Jesse Vincent
repo-relative on Git Bash git rev-parse --show-toplevel prints C:/Users/... on Windows while the plan path comes from pwd -P (/c/Users/... or /tmp/...), so the repo-relative check never matched and every marker held an absolute, machine-specific path. Found while landing #2149's test fix on Windows.
2026-09-26sdd-workspace: leave an existing .superpowers/sdd/.gitignore alone (#2399)Jesse Vincent
Based on #2161. Also quotes the empty CDPATH so shellcheck passes (SC1007). Co-authored-by: aruizcu1989 <192807317+aruizcu1989@users.noreply.github.com>
2026-09-26fix(requesting-code-review): avoid positional argument substitution (#2361)Klemens Flöge
2026-09-26fix(executing-plans): task-done no longer aborts when a passing test prints ↵ada-sen
nothing (#2388) Under `set -euo pipefail`, task-done extracted the ledger's test-result field with: last=$(grep -v '^[[:space:]]*$' "$log" | tail -n 1) When the test command passes but the log is empty or blank-only, `grep -v` matches no lines and exits 1; pipefail propagates that through the pipeline, and set -e aborts the assignment before the ledger line is written. A passing task is then silently not recorded: exit 1, no stderr, no ledger entry — indistinguishable from the failure path the guard exists to produce. Make the no-match case non-fatal, falling back to a literal placeholder for the ledger field: last=$(grep -v '^[[:space:]]*$' "$log" | tail -n 1) || last="(no output)" The failure guard above this line (recording nothing when the test command itself exits non-zero) is untouched. Fixes #2385.
2026-09-26fix(debugging): avoid printing identity secrets in diagnostics (#2380)m2dumpling
2026-09-26fix(brainstorming): preserve literal content replacement tokens (#2364)落尘
2026-09-25writing-plans: a plan is decisions, not a transcript (#2333)Jesse Vincent
Replace the No Placeholders prohibition list with a recipe for what a step contains (signature, test with assertions, spec values; a body only where those do not determine it); add a proportion item to the self-review; drop the time unit from the step rule; describe the reader as capable; delete the unreferenced plan reviewer prompt. Measured on two designs: plans halve under the recipe alone and reach a third of their size with the proportion item; every skill-written terse plan executed 9/9 on Sonnet 5.
2026-09-18Revert movie skill import (#2214) (#2335)Drew Ritter
Remove the proving-it-works-with-a-movie import at Drew Ritter’s request because its code quality does not meet the release bar. Reverts merge dd53fe0b57223bbbbb8ceae0bda2ba8a26d1c29a and the dependent movie test adjustment in 3979a17bda8691d72bfc5963e5437174c399db67. Remove the later Muse registration and update the unreleased notes so neither advertises the removed skill. Version changes are left for a separate release step.
2026-09-17Merge dev and preserve updated guidelines in AGENTS.mdfeat/muse-supportDrew Ritter
2026-09-17Merge pull request #2320 from obra/claude-code-platform-referenceDrew Ritter
Add Claude Code platform reference: a nested orchestrator for cheaper subagent-driven development
2026-09-17Reviewer judges the spec as a vision document; plans list the five implied ↵review-focusJesse Vincent
cases most likely to bite code-reviewer.md: behavior the spec is silent on is graded by what a reasonable person using the software expects, and a 'Declined to judge' list makes every scoping decision visible. writing-plans: a Review Focus section names the five implied input classes or failure modes most likely to bite, each pinned by a test in the owning task. executing-plans hands the section to the final reviewer and rules on every declined line.
2026-09-17Rebuild executing-plans as a first-class inline execution modeinline-executionJesse Vincent
A cheaper execution mode alongside subagent-driven development: the session implements every task itself under the same workspace, ledger and stopping rules, with one fresh whole-branch review on the most capable model at the end. Helper scripts task-start/task-done keep the ledger and test log honest; the final fix pass re-grades findings and fixes Critical/Important under TDD. writing-plans' handoff, SDD's when-to-use text and two README lines change to match.
2026-09-17Add Claude Code platform reference: a nested orchestrator for cheaper ↵claude-code-platform-referenceJesse Vincent
subagent-driven development
2026-09-17feat: add native Muse support (multiprovider)Jesse Vincent
Add .muse-plugin/plugin.json (native Muse contract, 16 skills, SessionStart hook) and marketplace.json so the same repo now serves Muse alongside Claude Code, Codex, Cursor, Gemini, Pi, etc. - skills/using-superpowers/references/muse-tools.md: Muse tool mapping - skills/using-superpowers/SKILL.md: list Muse in Platform Adaptation - hooks/session-start: handle MUSE_PLUGIN_ROOT (SDK standard additionalContext) alongside CURSOR/CLAUDE/COPILOT branches - .version-bump.json: track .muse-plugin/plugin.json and marketplace - README.md: add Muse to TOC and Installation with muse plugins install instructions - AGENTS.md: convert symlink -> regular file copy to satisfy Muse validator (symlink entries rejected as installable) Validated: muse plugins validate => valid:true (diagnostics=1 for expected multiple-manifests warning), all 16 skills validate true. Co-Authored-By: Muse Spark
2026-09-17fix(sdd): ownership markers stop same-basename plans sharing a workspacefix/sdd-workspace-ownershipJesse Vincent
sdd-workspace slugged workspaces by basename alone, so docs/alpha/plan.md and docs/beta/plan.md resolved to one directory and task-brief silently overwrote the other plan's brief — the single gitignored source of task requirements, unrecoverable once clobbered. Each workspace now records its owning plan in a plan-path marker (repo-relative in-repo, absolute outside). Lookup keeps basename slugs and existing behavior for the common case: a markerless workspace is adopted in place (no migration break for in-flight plans), a marker naming this plan is a match, and a marker naming a different plan disambiguates with the plan's parent-directory name, then a counter. Plan paths are normalized (CDPATH-guarded physical cd) so relative, absolute, and ../ spellings of one plan share one workspace. task-brief and review-package delegate to sdd-workspace and need no changes. SKILL.md's workspace bullet no longer promises the exact <plan-basename> path, since disambiguated workspaces differ. Reported by @CRGDan; reproduction and test groundwork by @crisnahine in PR #2120. Fixes #2045
2026-09-17Merge pull request #2110 from obra/feat/verification-floor-tddDrew Ritter
feat(tdd): the project's suite defines green, not just your test file
2026-09-17Merge pull request #2133 from obra/fix/review-base-sha-merge-baseDrew Ritter
fix(requesting-code-review): anchor the multi-commit BASE_SHA alternative to the merge base
2026-09-17Merge pull request #2134 from obra/fix/sdd-helpers-no-exec-bitDrew Ritter
fix(sdd): invoke sdd-workspace via bash so helpers survive stripped exec bits
2026-09-17Merge pull request #2136 from obra/fix/review-package-range-guardsDrew Ritter
fix(sdd): reject empty or non-descendant BASE..HEAD ranges in review-package
2026-09-17Merge pull request #2301 from obra/fix/invoke-scripts-via-interpreterDrew Ritter
Invoke bundled scripts through their interpreter in skill prose
2026-09-15Merge origin/dev into import/proving-it-works-skillDrew Ritter
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14Invoke bundled scripts through their interpreter in skill prosefix/invoke-scripts-via-interpreterJesse Vincent
Plugin packagers for other harnesses can strip executable bits from the files they ship. The Codex marketplace cache delivered the SDD helpers as 0644 (#2040), and the MiniMax Code marketplace ships its repackaged copy of our skills tree with every file at mode 600. On those installs every bare invocation in our skill prose -- `scripts/start-server.sh ...`, `scripts/review-package ...`, `./find-polluter.sh ...`, `./render-graphs.js ...` -- fails with "Permission denied", so the brainstorming visual companion, subagent-driven development, the polluter bisection helper, and render-graphs are all broken there even though the repo records the files as 100755. Spell every script invocation in skills/**/*.md through its interpreter instead: `bash` for the shell scripts (start-server.sh, stop-server.sh, sdd-workspace, task-brief, review-package, find-polluter.sh) and `node` for render-graphs.js, per each script's shebang. That form works whether or not the exec bit survived packaging. The MiniMax Code marketplace package independently applied exactly this edit to its copy of v6.2.0; this brings the same pattern upstream so every packager gets it. Nothing else in the prose changes. #2134 covers the complementary case of a script exec'ing a sibling script (task-brief and review-package calling sdd-workspace) and is still needed alongside this. Record the rationale in docs/porting-to-a-new-harness.md (Part 6 distribution notes plus an Appendix B gotcha) and add a one-line note to writing-skills' File Organization section so future skill authors don't strip the prefixes. Refs #2040, #2134.
2026-09-11Reject invalid chat transcripts and propagate browser cleanup failuresDrew Ritter
Address the two final whole-PR findings from the consolidated movie repair brief. A fresh openai-chat response must provide a speech-bearing string transcript even when local ASR is off; null must not reuse the no-transcript sentinel belonging to deterministic engines or cached accepted audio. Preserve the bounded candidate loop and rejected-byte evidence. Report failed Windows tree termination as OSError so the recorder owner's existing per-child handler continues all cleanup and retains failure metadata. Card rendering checks its acquired browser handle before acting on the PID, propagates wait failure, and reports locked-profile removal instead of allowing a pending successful return to hide incomplete cleanup. Add fake HTTP/process/filesystem boundary regressions for both findings, including real adapter invocation, accepted chat cache reuse, ASR modes, normal completed cards, and serve cleanup after a failed leader later exits. Correct the rejected-chat fixture to use the chat engine. No media or native browser execution was performed; Drew retains personal video acceptance. Validation: expected RED failures retained; 40 focused tests and the single 75-test contracts entrypoint pass. Full evidence and self-review are in .superpowers/sdd/2026-09-11-movie-committee-repairs/final-fix-report.md.
2026-09-11docs: make proof-movie recipes preserve failuresDrew Ritter
Repair the shipped Unix, logging, subtitle, cursor, narration, and recorder guidance against the literal fake-boundary failures recorded for Task 4. The primary pipeline and subtitle recipe now fail fast, measured offsets reach subtitle generation, producer logging preserves the real status under the pipefail owner, and cursor mouseup restores the released state. Document the accepted narration/cache contract, cooperative recorder cleanup limits, and the safe contracts-suite entrypoint without changing Windows recipes or the existing evidence and human-viewing gates. Include the controller-owned plan bookkeeping and record the executable RED/GREEN results while leaving independent fresh-reader trials pending. Prompt: implement Task 4 focused executable movie-guide corrections after Tasks 1-3, using writing-skills and only fake producers, text fixtures, and fake DOM execution. Verification: python3 .superpowers/review/pr2214/committee/recipe-probes.py; uv run --script tests/proving-it-works-with-a-movie/run-tests.py --suite contracts; git diff --check.
2026-09-11fix(movie): retain incomplete cleanup and command evidenceDrew Ritter
Address both independent Task 3 review findings at 42486dbb. When an owned leader exits before tree cleanup, the existing parentage helper cannot confirm orphan descendant cleanup. Treat that state as incomplete, preserve PID metadata, return failure, and never invoke the helper on the exited leader's numeric PID. Continue releasing the other owned resources without adding descendant tracking. Keep a recording capture failure truthful while preserving available completed command evidence: outcome remains failed, exit status remains 1, and the capture error is retained alongside ok, native exit_code, and cwd. A completed successful command does not make a failed recording successful, and no successful take manifest is published. TDD regressions reproduced an exited leader incorrectly returning 0 and capture failures dropping completed native status for exits 0 and 7. All 14 covering lifecycle and observation tests pass using fake process handles, fake clocks, mocked capture/log boundaries, and intercepted media writes; git diff --check passes. No real media generation or inspection, process/browser launches, SessionTests, FilmGridTests, or full media suites were executed. Detailed RED/GREEN evidence is appended to .superpowers/sdd/2026-09-11-movie-committee-repairs/task-3-report.md.
2026-09-11fix(movie): own recorder cleanup and bound observationDrew Ritter
Implement Task 3 of the consolidated PR 2214 movie repairs. Startup failures could leak an already launched ttyd or browser because acquisitions preceded the cleanup block; close killed historical numeric PIDs and reported success without confirmed cleanup. Register each acquired resource inside serve's try/finally, invalidate readiness on shutdown, retain logs, and atomically retire PID metadata only after confirmed owned-process and profile cleanup. Close now requests stop and waits under one overall 30-second deadline without killing PIDs. Poll CDP and owner readiness while observing commands without recording, preserving a completed native exit status across simultaneous disconnects and reserving exit 2 for live unfinished commands. Fill only bounded 5 fps slots when a final capture crosses the hard or hold endpoint, correctly strip ST-terminated OSC titles, and emit ASCII-escaped stdout JSON while preserving UTF-8 session files. A serve-only CDP call-boundary check prevents a stop from waiting through multiple consecutive calls. Add 21 contract tests using fake processes, fake websocket responses, fake clocks, byte-token capture callbacks, and intercepted frame writes. Register real-session test cleanup immediately after Popen and retain live PID snapshots, but do not execute that fixture. RED evidence and implementation report are in .superpowers/sdd/2026-09-11-movie-committee-repairs/task-3-report.md. Validation: 26/26 authorized prompt, serve-argument, and recorder contract tests pass; git diff --check passes. No media generation, inspection, browser/ttyd launch, real session or frame-grid suite was performed. Native movie acceptance remains Drew's review; an abruptly hard-killed owner with a live browser and stale readiness remains the agreed limitation.
2026-09-11fix(movie): refine subtitle chunks using allocated durationsDrew Ritter
Address Task 2 review round 1: initial character budgets count spaces that disappear between chunks, so proportional timing can exceed --max-secs even when a further word-boundary split is feasible. Reallocate after splitting an over-target multiword cue, checking actual integer millisecond intervals each time. Coalescing runs once before refinement, and refinement stops at the available millisecond count or unsplittable words. This keeps tiny impossible readability targets bounded while preserving every word and the full measured scene interval. Added a failing six-second unequal-chunk regression and a tiny-target termination/positive-interval guard. The RED emitted 3273 ms for a cue with a 3000 ms target. GREEN: 43 safe contract tests and six covering existing offset/BOM tests pass. All verification remained text/data or mocked media boundaries.
2026-09-11fix(movie): keep subtitle timing and track selection faithfulDrew Ritter
Implement Task 2 of the movie committee repairs. Allocate proportional cue boundaries across each complete rounded scene interval, reserve positive millisecond spans, and coalesce chunks when the available interval cannot represent them separately. Readability limits guide word splitting without dropping text or clipping narration tails; invalid intervals fail before subtitle output is written. Explicitly select the supplied soft subtitle track with optional source audio, including the hard-burn fallback. Parse only numbered SRT cue timing lines so arrow-bearing captions cannot crash the checker or inflate coverage. Preserve the existing maximum cue end policy, assembly-offset intersection, and partial manual retiming. Add 17 safe subtitle contracts and register the contracts runner suite. Real-file mocked narrate/assemble/subtitle reruns retain removed narration WAV evidence while omitting stale assembly audio and offsets. Verification: 41 contract tests and 18 authorized existing regressions pass; only text and mocked media boundaries were exercised. Native Windows and human video acceptance remain outside this verification.
2026-09-11fix(movie): retain narration evidence through verificationDrew Ritter
Address Task 1 review round 1. Treat successful empty ASR output as speech failure rather than an unavailable verifier, reject empty chat claims within the existing bounded retry loop, and extend unsupported segmentation detection to supplementary CJK ideographs. Withdraw cached acceptance before every revalidation so strict failures and interrupts cannot leave stale publication. Preserve nested manifest WAV paths on cache reacceptance, and measure a unique candidate before promotion so duration failures retain their evidence across reruns. Add structured movie geometry coverage plus both silent and source-audio mapping tests. All tests use uv --no-project with mocked synthesis, ASR, probes, and encoding; no media operation was run.
2026-09-11fix(movie): make narration acceptance govern assemblyDrew Ritter
Repair Task 1 from the 2026-09-11 movie committee plan. Narration now atomically withdraws acceptance before it mutates accepted bytes, stages failed takes as retained evidence, and publishes a manifest entry only after transcript gates and duration measurement. It preflights ffprobe, preserves bounded retries and cache identity, and distinguishes unsupported token comparison from cache identity. Assembly now validates accepted manifest narration before it starts encoding, ignores generated narration for movie scenes, selects manifest WAV paths, maps source or synthetic movie audio explicitly, fits wide movies within the requested inner rectangle, and escapes only literal directory percent signs in sequence paths. The focused regression suite mocks every media boundary; real-media fixture declarations are updated but not executed. Prompt constraints prohibit real media generation, probing, inspection, synthesis, ASR, browser, checker, or full media suites.
2026-09-11Fix inserted narration and movie audio subtitle checksDrew Ritter
Address the final three review findings on PR #2214, as approved by Drew. Count both sides of every non-equal transcript span so a short insertion or expanded replacement cannot evade the drift gate on a longer script. Preserve the existing length and run thresholds. Honor --no-expect-audio for encoded silent tracks. Base subtitle requirements on detected audible speech so opting out of expected audio does not suppress captions for speech that is present. Extract the first embedded subtitle stream as SRT when no sidecar is present and apply the same cue-end check to either source. Empty cues fail even for short narration, and extraction or malformed timing errors are reported as failures. Preserve the silent end-card allowance. Validation: the new tests first reproduced ten failing cases across narration insertion, silent-track opt-out, and embedded subtitle handling. All 35 focused narration, checker-policy, and subtitle-text tests now pass. External media commands, audio and picture sampling, contact-sheet creation, synthesis, and ASR were mocked; no actual media inspection or live ASR was performed. Drew retains final video acceptance.
2026-09-11Fix narration cache identity and partial subtitle offsetsDrew Ritter
Address the fresh review on PR #2214 after the #2275 integration. Drew approved fixing the two reproduced bugs and keeping the specified auto/on/off verification semantics. Cache accepted narration by normalized text plus effective engine, voice, and synthesis model. Resolve voice defaults before rendering, invalidate entries without settings, and retain requested ASR checks on cache hits. Exclude rejected clips as before. Treat manual subtitle offsets as start-time overrides. Only assembly offsets JSON selects scenes in the cut, including when manual timing overrides are also supplied. Empty narrated cuts write an empty SRT without crashing. Make the gated Unix example pass --verify on and document the actual local ASR modes. Auto remains permissive if ASR is unavailable; on remains strict. Validation: observed the new cache and subtitle regressions fail before the fixes; all 23 focused narration and subtitle-text tests now pass. Synthesis, duration probing, and ASR are mocked. No media inspection or live ASR was performed; Drew retains final video acceptance.
2026-09-11docs(movie): make native Windows recorder recipes executablefeat/movie-os-compatibilityDrew Ritter
Replace the Git Bash PowerShell shorthand with complete native commands, explicit path conversion, a kept-alive serve task, bounded readiness, and run/key/watch/close examples. Use native input and sleep commands so the recipe works without a sample app. Explain empty take directories and PowerShell 5.1 embedded-quote escaping observed in native trials. The original PowerShell missing-cwd finding does not reproduce when the session is nested under the working directory; retain the successful baseline and describe explicit directory creation as setup clarity. Fresh readers exercised the final recipes on native PowerShell 5.1, PowerShell 7, and Git Bash. Preserve the failed first candidate and driver setup failures, distinguish instruction trials from full skill evaluation, and keep movie acceptance with Drew. Record Drew's approval of the normal workflow dependencies and the bounded repair plan.
2026-09-11fix(movie): preserve rejected narration and prior takesDrew Ritter
Prevent failed narration scenes from entering the cache manifest, while leaving their generated WAV files available as failure evidence. Add filesystem-backed regressions covering repeated rejected chat synthesis, accepted-scene reuse, and strict ASR rejection of cached audio. Refuse nonempty recording directories both before CLI session side effects and at the direct film boundary. The regression preserves existing numbered frames and a sentinel byte-for-byte across run, key, watch, and direct film refusal. Make subtitle capability tests independent of the host FFmpeg installation, skip the real pixel test before probing unavailable tools, retain strict skipped-capability rejection, and remove only the unused websockets runner dependency.