Repository navigation
Description
Follow-up to the tool-cards epic #344 / PR #348. Full design + survey: report artifact · spec docs/superpowers/specs/2026-08-10-tool-card-kit-design.md · plan docs/superpowers/plans/2026-08-10-tool-card-kit.md (both land with the kit branch).
A two-agent survey of ~40 tool cards found only the page-extension cards and MetaToolCard compose shared vocabulary; everyone else hand-rolls. Headlines: ~25 cards hardcode icon+title ignoring catalog meta; 7 local code-block style variants (no two identical); 8 divergent error treatments; 5 independent status-to-visual maps; two chip vocabularies + 3 inline copies; 6 cards silently lost status dot / duration / auto-open-on-approval by bypassing the shell; test-runner runs a parallel pw-* token system. Zero packaging blockers; zero orphan card files (third-agent sweep).
Decisions (Omri): all vocabulary lands under the @conciv/ui-kit-chat/tools subpath (not a new package; subpath is the future cut line). Variants via cva over UnoCSS literals. Tanstack tools get real meta.label entries. Auto-open-on-approval restored everywhere. One big rewrite, nothing left behind.
Shape: wide refactor sequenced expand -> migrate-in-batches -> contract via the sub-issues below.
State
The epic now carries two workstreams that share the same cards, plus loose ends from the PR #348 review.
Kit sequence (#382–#388) — #382 through #387 are implemented on feat/tool-card-kit (13 commits, forked from feat/tool-cards at 794e86f) and heading for their own PR; each is labelled agent:in-progress with its commit mapping in a comment, so nobody rebuilds them. That branch does not yet carry the six PR #348 review-fix commits, so it rebases onto the current feat/tool-cards tip before review. #388, the test-runner re-skin, is the one kit ticket the branch does not touch — the card is still entirely on pw-* tokens — and it ships as its own PR because it is a deliberate visual change.
Surface (#396, #376) — #396 makes code mode the only chat tool surface, which is what makes the page cards reachable at all: today chat gets three competing tool surfaces and the six page card families are dead because nothing puts page.* on the wire. It lands on top of the kit work. #376 then becomes load-bearing rather than a nicety — once every turn runs through execute_typescript, the code-run card is the card users watch, so its live execution feed is the difference between a visible turn and a frozen one.
Stacked tail (#395, #398) — element-capture payload bounds and image fidelity, and the residue of the PR #348 review. Both edit files that exist only on this stack (css-bundle.ts, element-capture.ts, the embed css glob, the testkit pump), so they land as stack PRs after #376 rather than off main.
Independent (#397) — the transcript re-pinning to the bottom. The scroll code it touches is on main; it runs in parallel with everything above, off main.
Merge order once the tail lands: the stack merges bottom-up (#348 → kit → surface → feed → tail) and closes every stacked ticket; #397 merges whenever ready.
Sub-issues track the frontier; each declares what blocks it.
Activity
omridevk commentedon Aug 10, 2026
Kit epic status after the 2026-08-10 stack merge (3b58542): #382, #383, #385, #386, #387, #388 all closed — the vocabulary, primitives, migrations, contract enforcement and re-skin are on main. Open remainder: #384 (todo-card → StatusVisual only; see its scope-narrowing comment). This epic closes when #384 does.
omridevk commentedon Aug 10, 2026
Closing: shipped on main in the stack squash 3b58542 — the vocabulary, primitives, all migrations, contract enforcement and the test-runner re-skin are live, and #382/#383/#385/#386/#387/#388 are closed. The single remainder (todo-card → StatusVisual) is fully tracked by the narrowed #384, which stands on its own.