Files
Maestro/Auto Run Docs/Phase-04-Phase-Review-Screen.md
Pedram Amini 372e6f4f83 refactor: rename template vars to agent-centric naming, fix Dracula theme
- Rename session/project variables to agent-centric naming:
  - {{SESSION_NAME}} -> {{AGENT_NAME}}
  - {{PROJECT_PATH}} -> {{AGENT_PATH}}
  - Legacy aliases preserved for backwards compatibility
- Fix Dracula theme to use actual Dracula color palette
- Add Cmd+Shift+P shortcut for Prompt Composer
- Fix history entry usageStats to track per-task metrics
- Update README template variable documentation
- Fix SessionList tests for Ungrouped section behavior
- Update test cases to match new variable naming
- Remove COMPLETED_TARGETS.md

Claude ID: c756d389-b10d-438d-a76a-e2ba42c157aa
Maestro ID: b9bc0d08-5be2-4fdf-93cd-5618a8d53b35
2025-12-08 23:50:38 -06:00

1.8 KiB

Phase 04: Phase Review Screen

Build the Phase 1 document review screen with markdown editor, preview mode, and launch options.

Tasks

  • Create screens/PhaseReviewScreen.tsx that displays Phase 1 markdown document in full modal width
  • Integrate the same markdown editor component used in Auto Run (AutoRunEditor or equivalent) for consistency and user familiarity
  • Add Edit/Preview toggle buttons matching the Auto Run interface style
  • Add image attachment support matching Auto Run interface (attach button, drag-drop zone)
  • Implement markdown preview rendering with proper styling for task checkboxes
  • Allow user to edit the Phase 1 document directly before proceeding
  • Auto-save edits back to the file as user makes changes (debounced)
  • Display document title prominently at top of the screen
  • Show count of tasks in the document (e.g., "12 tasks ready to run")
  • Create two large action buttons at bottom: "I'm Ready to Go" (primary, default focus) and "I'm Ready, But Walk Me Through the Interface" (secondary)
  • Style buttons to be visually prominent and easily distinguishable
  • Wire "I'm Ready to Go" button to: create session with configured agent and directory, set first tab name to "Project Discovery", populate tab with conversation history, select Phase 1 document in Auto Run, start Auto Run execution, close wizard
  • Wire "Walk Me Through" button to: do everything above, then trigger tour overlay
  • Add keyboard support: Tab between buttons, Enter to activate focused button, Escape to go back (with confirmation since documents are generated)
  • Show loading state while session is being created and Auto Run is starting
  • Handle errors during session creation or Auto Run start gracefully
  • Store user's choice (tour or no tour) for analytics/future reference