Initial TrueGrowth source import
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Change: Update PPT Outline Generation Flow
|
||||
|
||||
## Why
|
||||
The current `generate_ppt` flow immediately submits image tasks for every slide after creating frames. This makes prompts hard to review before generation and can burst many image tasks at once.
|
||||
|
||||
## What Changes
|
||||
- Add an outline mode inside the PPT editor, alongside the existing slide thumbnail mode.
|
||||
- Change `generate_ppt` to create PPT frames with shared style and per-slide prompts only, without starting image tasks.
|
||||
- Add controlled slide image generation from outline mode with serial and parallel modes.
|
||||
- Open the project drawer on the PPT editor tab and switch to outline mode after PPT outline generation.
|
||||
|
||||
## Impact
|
||||
- Affected specs: ppt-outline-generation
|
||||
- Affected code: PPT MCP tool, PPT editor panel, project drawer open/tab bridge, workflow main-thread tool routing
|
||||
@@ -0,0 +1,32 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: PPT Outline Mode
|
||||
The system SHALL provide a PPT editor outline mode that shows a shared prompt field and editable per-slide prompt fields.
|
||||
|
||||
#### Scenario: User reviews generated prompts
|
||||
- **WHEN** a generated PPT contains placeholder slide frames
|
||||
- **THEN** the PPT editor can switch between slide thumbnail mode and outline mode
|
||||
- **AND** outline mode shows one shared prompt field above all slide prompt fields
|
||||
- **AND** every slide prompt row includes a checkbox for generation selection
|
||||
|
||||
### Requirement: Outline-First PPT Skill
|
||||
The system SHALL make the built-in complete PPT Skill generate prompts and placeholder slides before image generation.
|
||||
|
||||
#### Scenario: User runs the complete PPT Skill
|
||||
- **WHEN** the user runs `generate_ppt`
|
||||
- **THEN** the tool creates PPT frames containing shared style metadata and per-slide prompts
|
||||
- **AND** no slide image task is submitted automatically
|
||||
- **AND** the project drawer opens to PPT editor outline mode
|
||||
|
||||
### Requirement: Controlled PPT Slide Generation
|
||||
The system SHALL generate only selected PPT slides from outline mode using either serial or parallel execution.
|
||||
|
||||
#### Scenario: Serial selected-slide generation
|
||||
- **WHEN** the user selects serial generation
|
||||
- **THEN** slides generate one at a time in page order
|
||||
- **AND** each slide after the first uses the previous successfully generated slide image as a reference image
|
||||
|
||||
#### Scenario: Parallel selected-slide generation
|
||||
- **WHEN** the user selects parallel generation
|
||||
- **THEN** slides generate without reference images
|
||||
- **AND** at most five slide image tasks are in flight at once
|
||||
@@ -0,0 +1,8 @@
|
||||
## 1. Implementation
|
||||
- [x] 1.1 Update `generate_ppt` to create outline-backed placeholder PPT frames without queuing image tasks.
|
||||
- [x] 1.2 Add a lightweight UI event bridge for opening the project drawer on PPT editor outline mode.
|
||||
- [x] 1.3 Add PPT editor view toggle and outline prompt editing UI.
|
||||
- [x] 1.4 Add selected-slide generation with serial previous-slide reference and parallel concurrency limit of 5.
|
||||
- [x] 1.5 Add `generate_ppt` to main-thread workflow tool routing.
|
||||
- [x] 1.6 Update the built-in PPT Skill copy.
|
||||
- [x] 1.7 Run targeted validation.
|
||||
Reference in New Issue
Block a user