# Pipeline Accordion Restoration 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:** Restore the studio pipeline tab so the custom pipeline area is again a single vertical accordion with the builder first and saved pipelines directly below it.
**Architecture:** Keep all existing backend pipeline endpoints and builder logic, but simplify the frontend template by removing the detached split list/editor shell. The pipeline section remains in `codai/admin/templates/chat.html`, with saved custom pipelines rendered inline as expandable cards beneath the builder and tested through template surface assertions.
<spanclass="pipe-steps"style="margin:0;font-size:11px"><spanclass="pipe-step">Add steps</span><spanclass="pipe-arrow">→</span><spanclass="pipe-step">Configure</span><spanclass="pipe-arrow">→</span><spanclass="pipe-step">Save & Run</span></span>
</summary>
<divclass="pipe-card-body">
...existing builder fields/actions...
</div>
</details>
<divid="custom-pipe-cards"></div>
```
Do not add a detached toolbar or empty-state wrapper around the builder.
-[]**Step 2: Remove split-layout-only CSS rules**
Delete the shell-only rules from `chat.html`, including these selectors if they are no longer used:
```css
.pipe-toolbar
.pipe-shell
.pipe-list
.pipe-editor
.pipe-empty-state
.pipe-list-card
.pipe-list-card.active
```
Also remove the small-screen `.pipe-shell { grid-template-columns:1fr; }` media-query override if it is no longer relevant.
Keep the core `.pipe-card`, `.pipe-head`, `.pipe-summary`, `.pipe-steps`, and tag styles that still serve the accordion cards.
-[]**Step 3: Run the focused tests to verify the layout change passes**
-[]**Step 2: Run project lint and typecheck commands if available in repo config**
Discover and run the real commands used by this repository. If none are configured or documented, record that explicitly during execution rather than inventing commands.