Repository navigation
feat(presets): enable/disable switch for presets - #447
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
…evel Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>" <<'X'
… backstop and echo pins
…enabled cell, list polish
…tamp the SSH toggle
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Adds the ability to park a preset without deleting it. A toggle in the presets table flips an
enabledflag; a switched-off preset disappears from every launch picker (web and mobile), from the MCPlist_presetsanswer, and starting or restarting a subshell with one is refused until it's switched back on. Panes already running from it are untouched.Spec: docs/superpowers/specs/2026-10-24-preset-enable-disable-design.md. Plan: docs/superpowers/plans/2026-10-24-preset-enable-disable.md.
enabled(integer 0/1, NOT NULL DEFAULT 1) topresetsandssh_presets; registered in the migrator map, the backup level (LATEST_BACKUP_MIGRATION), the backup era lists, and the curated in-memory test migration lists.list_presetswithholds disabled rows and its description says so;create_subshellrefuses one. The docs MCP tools page carries the same line.isPresetOffered(lenient: an older server's field-less rows stay offered).Verification: full suites green (server/api 4537 pass with one env-only failure proven to be this harness's bash SHELLOPTS poison via a standalone probe, web 2984, mcp-core 118, mobile 143), root verify-types, lint:check, lint:prose, lint:design, lint:licenses, and turbo build all clean. Review loop closed: whole-branch code review, two fix waves, and a scoped re-review with zero open MAJOR/MINOR findings.
Changesets included (@internal/server + @internal/node minor, @internal/docs patch for the docs deploy).
Known follow-up (parked, not a blocker): the clone dialog surfaces a server 409 rather than pre-filtering the source preset.