feat: fleet presentation P2 — lineage tree, real-width panel, scroll separator, #108 card fixes - #110
Merged
Merged
Conversation
…re-follow Brainstorm 2026-09-03 with RECTOR: Q1 folds #108 into P2 (verified: 2 of 4 defects share the renderCall hand-rolled-frame root cause, 1 already fixed); Q2 picks nested-DFS tree shape (shared layoutTree helper, orphan ↳, cycle guard); Q3 replaces 'enter to re-follow' — Enter is bound to Full-message, re-follow stays the existing scroll-to-bottom re-pin, separator is a live-only warning footer line. §5 P2 + §7 accept + §8 file map + §10 risk updated.
layoutTree prefix helper → runs/fleet tree toggles → real-width panel (lastWidth capture) → live scroll separator → #108 card unification. Acceptance: journal-replay grouping + real-pi smoke (defect-4 time-box).
…gment suppression (#108)
…, CARD_WIDTH clamp (#108)
…, per-view state (#104 P2)
… childRunIds (#104 P2)
…nest run counts (#104 P2)
…atus threw Unknown theme color (#108 item 4)
…ence for PR body)
This was referenced Sep 4, 2026
Merged
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
P2 of the fleet presentation redesign (#104) — the structure phase. Spec delta ratified with RECTOR 2026-09-03 (spec §5 P2); plan:
docs/superpowers/plans/2026-09-03-fleet-presentation-p2.md.Four workstreams, presentation layer only:
tlineage tree (Runs + Fleet views) — purelayoutTree()helper insrc/present/tree.ts(DFS,├─└─connectors from GLYPHS, orphan↳, cycle guard); Runs joinsresumedFrom/forkedFromprovenance; Fleet joins workflowchildRunIdswith synthesizedwf:<id>parent rows (visible-children only, honest run counts). Per-view toggle, default flat, flat mode byte-identical.render(width)captureslastWidth(pi-tui contract); totals header right-aligns and full-message overlay wraps at the real terminal width (was hardcoded 80 at both sites).↑ scrolled · live paused · ↓ end to re-follow; re-follow is the existing scroll-to-bottom re-pin (zero key changes; Enter keeps Full-message).renderCalldelegates toliveCardLines(one frame builder; kills the missing-bar + handoff-fragment defects);CARD_WIDTH = 72clamp (identical geometry at any terminal); empty-segment suppression; defect-4 root-caused via real-pi smoke:finalLinepassed the raw status totheme.fg, which throwsUnknown theme color— fixed viastatusTokenrouting, verified live (✓ general-purpose · 8s · 695K tok · $0.01renders, no fallback line).Verification
wf:rows), final whole-branch review: SHIP (0 Critical/Important)--no-extensions -e ./src/index.ts): card live/finalize, panel totals + tree toggles + scroll detach/re-follow + overlay wrap all verified; timer hygiene across burstsFollow-ups (parked, not in this PR)
.superpowers/sdd/progress.md)