Skip to content

log-frame: migrate plan-replay role from ink to frame #6

@esengine

Description

@esengine

Context

Sister of #5. log-frame.tsx's eventToAtom falls back to legacy ink rendering for three remaining roles; this issue covers plan-replay.

plan-replay fires when the user runs /replay and the historical plan is reconstructed step-by-step. Existing renderer is in src/cli/ui/EventLog.tsx around line 482. Event payload includes event.archivedPlan (steps + meta).

Task

  1. Add planReplayFrame(event, width): Frame near planFrame in log-frame.tsx.
  2. Branch in eventToAtom so event.role === 'plan-replay' returns a frame atom.
  3. Visually match the existing <EventRow> output for that role. Distinct from plan-resumed (subtler header, archived treatment).

plan-replay is rarer than plan-resumed — easiest way to see it live is /replay <session-name>.

Why it's a good first PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions