Initial TrueGrowth source import

This commit is contained in:
2026-07-07 09:36:36 +08:00
commit 3b6781d695
2283 changed files with 691996 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
## MODIFIED Requirements
### Requirement: Runtime Model Discovery Includes Local Readiness
The system SHALL include local runtime readiness and model acquisition state when exposing runtime-discovered local models.
#### Scenario: Local image model is downloaded but runtime is stopped
- **GIVEN** a ComfyUI model file is present in the managed model directory
- **AND** ComfyUI is installed but not running
- **WHEN** runtime model discovery builds local image model entries
- **THEN** the model SHALL remain discoverable as installed
- **AND** its readiness metadata SHALL indicate that the runtime must be started before generation
#### Scenario: Local model is still downloading
- **GIVEN** a model download task is running or resumable
- **WHEN** Model Center requests model assets
- **THEN** the model asset SHALL include download status and progress metadata
- **AND** final generation selectors SHALL not treat the model as runnable until installation/discovery is complete
#### Scenario: Download source changes
- **GIVEN** the user changes the Hugging Face endpoint or mirror in Model Center
- **WHEN** runtime model discovery or model download preflight runs
- **THEN** the selected source SHALL be reflected in model asset metadata and future download tasks
- **AND** already installed models SHALL remain usable without requiring re-download