Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

chore: remove plan files

joshistoast221d49e0d058
diff --git a/docs/superpowers/plans/2026-08-10-xs-layout-preset-tabs.md b/docs/superpowers/plans/2026-08-10-xs-layout-preset-tabs.md
deleted file mode 100644
index 975e354d0e..0000000000
--- a/docs/superpowers/plans/2026-08-10-xs-layout-preset-tabs.md
+++ /dev/null
@@ -1,120 +0,0 @@
-# XS Layout Preset Tabs Implementation Plan
-
-> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
-
-**Goal:** Add a reusable 32px `xs` Tabs size and use it for the layout-preset tabs so they align with the other top-bar controls.
-
-**Architecture:** Extend the existing shared Chakra Tabs slot recipe instead of applying local dimensions. Narrowly widen the local Tabs wrapper's size type for the custom variant, then opt only the layout-preset strip into it.
-
-**Tech Stack:** React 19, TypeScript, Chakra UI 3 slot recipes, Vitest Browser Mode, pnpm
-
-## Global Constraints
-
-- `Tabs size="xs"` must compute to the same 32px height as `Button size="xs"`.
-- Existing `sm`, `md`, and `lg` Tabs consumers must remain unchanged.
-- Only the layout-preset strip opts into `xs` in this change.
-- Preserve all concurrent top-bar edits.
-
----
-
-### Task 1: Add and consume the shared `xs` Tabs size
-
-**Files:**
-- Modify: `invokeai/frontend/webv2/src/platform/ui/Tabs.browser.test.tsx`
-- Modify: `invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts`
-- Modify: `invokeai/frontend/webv2/src/platform/ui/Tabs.tsx`
-- Modify: `invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetStrip.tsx`
-
-**Interfaces:**
-- Consumes: Chakra's existing Tabs slot recipe and its `sizes.8`, `spacing.2.5`, and `xs` text-style tokens.
-- Produces: `<Tabs.Root size="xs">`, a typed project-level Tabs API whose trigger height is 32px.
-
-- [ ] **Step 1: Write the failing browser test**
-
-Add a size test that renders the project `Button` and `Tabs` wrappers together:
-
-```tsx
-<Stack align="start">
- <Button aria-label="xs button" size="xs">
- Action
- </Button>
- <Tabs.Root size="xs" value="preset">
- <Tabs.List>
- <Tabs.Trigger aria-label="xs tab" value="preset">
- Preset
- </Tabs.Trigger>
- </Tabs.List>
- </Tabs.Root>
-</Stack>
-```
-
-Assert that both controls have a computed height of `32px`, that their heights match, and that the tab uses `10px` inline padding.
-
-- [ ] **Step 2: Run the focused test to verify RED**
-
-Run:
-
-```bash
-pnpm exec vitest run --config vitest.browser.config.mts src/platform/ui/Tabs.browser.test.tsx
-```
-
-Expected: FAIL because Chakra has no `xs` Tabs recipe, so the trigger does not compute to the required 32px metrics.
-
-- [ ] **Step 3: Implement the minimal shared size**
-
-Add this variant beside the existing Tabs sizes in `theme/recipes.ts`:
-
-```ts
-xs: {
- root: {
- '--tabs-height': 'sizes.8',
- '--tabs-content-padding': 'spacing.2.5',
- },
- trigger: { px: '2.5', py: '0.5', textStyle: 'xs' },
-},
-```
-
-In `Tabs.tsx`, preserve Chakra's existing root props while adding `xs` to the local wrapper contract:
-
-```ts
-type ChakraTabsRootProps = ComponentProps<typeof ChakraTabs.Root>;
-type TabsRootProps = Omit<ChakraTabsRootProps, 'size'> & {
- size?: ChakraTabsRootProps['size'] | 'xs';
-};
-
-const Root = ({ size, ...props }: TabsRootProps) => (
- <ChakraTabs.Root colorPalette="accent" size={size as ChakraTabsRootProps['size']} {...props} />
-);
-```
-
-Change `LayoutPresetStrip.tsx` from `size="sm"` to `size="xs"` on its `Tabs.Root`. Do not alter the surrounding top-bar sizing edits.
-
-- [ ] **Step 4: Run focused verification to verify GREEN**
-
-Run:
-
-```bash
-pnpm exec vitest run --config vitest.browser.config.mts src/platform/ui/Tabs.browser.test.tsx
-pnpm run lint:tsc
-pnpm run format:check
-```
-
-Expected: the Tabs browser file passes, TypeScript accepts `size="xs"`, and formatting is clean.
-
-- [ ] **Step 5: Run regression verification**
-
-Run:
-
-```bash
-pnpm run lint
-pnpm run test:all
-```
-
-Expected: all static, unit, browser, architecture, and fixture checks pass.
-
-- [ ] **Step 6: Commit only this task's files**
-
-```bash
-git add docs/superpowers/plans/2026-08-10-xs-layout-preset-tabs.md invokeai/frontend/webv2/src/platform/ui/Tabs.browser.test.tsx invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts invokeai/frontend/webv2/src/platform/ui/Tabs.tsx invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetStrip.tsx
-git commit -m "feat(ui): add xs tabs size"
-```
diff --git a/docs/superpowers/specs/2026-08-10-xs-layout-preset-tabs-design.md b/docs/superpowers/specs/2026-08-10-xs-layout-preset-tabs-design.md
deleted file mode 100644
index 2742817e9e..0000000000
--- a/docs/superpowers/specs/2026-08-10-xs-layout-preset-tabs-design.md
+++ /dev/null
@@ -1,23 +0,0 @@
-# XS Layout Preset Tabs
-
-## Context
-
-The top-bar controls now use Chakra's `xs` size, which is 32px tall. Chakra's built-in Tabs recipe starts at `sm`, so the layout-preset tabs remain 36px tall and no longer align with their neighbours.
-
-## Design
-
-- Extend the shared Tabs slot recipe with a reusable `xs` size.
-- Match the existing `Button size="xs"` metrics: a `sizes.8` (32px) control height, `xs` text, and compact `2.5` horizontal padding.
-- Extend the local Tabs wrapper's `size` prop to accept `xs`, because Chakra's packaged Tabs types only list its built-in sizes.
-- Change only the layout-preset strip from `size="sm"` to `size="xs"`. Existing Tabs consumers retain their current sizing.
-
-## Verification
-
-- Add a browser test that renders an `xs` tab beside an `xs` button and verifies both compute to 32px tall.
-- Keep the existing Tabs interaction and accessibility coverage green.
-- Run focused browser tests, TypeScript validation, formatting, and the relevant full verification suite.
-
-## Non-goals
-
-- Do not change Chakra's existing `sm`, `md`, or `lg` Tabs behavior.
-- Do not modify other top-bar controls or opt other Tabs consumers into `xs`.