repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

docs(ultra): design compact tool header

d1044944d8ee9f5170c05081cbf49572d718237a

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

+42 / −0 text lines

Diff layout

docs/super/specs/2026-07-16-ultra-tool-header-design.md

Added
new file mode 100644

+42 / −0 text lines

1# Ultra Tool Header Design
2
3## Goal
4
5Render Ultra workflow progress as one compact tool-header line.
6
7## Scope
8
9Change only the `workflow` tool result surface in `extensions/ultra/ui.ts`.
10The command overlay remains unchanged.
12## Rendering
14The first result line contains, in order:
161. Emphasized `ultra`.
172. Workflow name when present.
183. Elapsed workflow time when started.
194. Phase and agent summary.
21Segments use ` · ` separators.
22The running `⏳` marker is removed.
23The separate summary line is removed.
24The optional workflow description remains on its own line.
25Expanded agent rows and the collapsed expansion hint remain unchanged.
26Pi continues to render the outer tool name, producing output shaped like:
28```text
29workflow ultra · spec-guidance-review · 3m 0s elapsed · phase 1/1 · 0/1 done · 1 active
30```
32`ultra` uses theme emphasis rather than literal underscore characters.
34## Implementation
36Compose the existing header and summary values into one styled line inside `renderToolBoard`.
37Use the existing theme API and introduce no abstraction.
39## Verification
41Add a focused UI test asserting the complete first line, absence of the spinner, and absence of a separate summary line.
42Run the Ultra extension tests and repository checks through `mise`.