Add Nano Banana 2.1 and preserve image workflow values
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# 0015: Canonical image-generator workflow values
|
||||
|
||||
- Status: Accepted
|
||||
- Date: 2026-10-07
|
||||
- Owners: Maintainers
|
||||
|
||||
## Context
|
||||
|
||||
The image generator uses a custom panel over hidden schema widgets. LiteGraph includes hidden automatic seed controls and the panel value in positional workflow arrays, even for UI widgets marked non-serialized. These values can shift reference manifests and later save settings while restoring workflows.
|
||||
|
||||
## Decision
|
||||
|
||||
Keep the existing panel, interaction hierarchy, node IDs, and input order. Serialize only ordered backend widget values. Before existing workflow migrations run, remove an automatic seed-control value only when it follows the numeric seed and precedes a reference-list string. Remove the trailing empty panel value only from the recognized full 24-value layout. Repeat these checks inside subgraphs.
|
||||
|
||||
## Consequences
|
||||
|
||||
Panel controls and their positions remain unchanged. Newly saved workflows have exactly the schema's 23 values. Older panel workflows and workflows saved during the native-widget revision restore the same parameters, reference manifests, and save settings.
|
||||
|
||||
## Validation
|
||||
|
||||
Offline tests cover panel action placement, idempotent creation, canonical serialization, and repeated root/subgraph migration. Browser checks retain parameters and references across both renderers without paid generation.
|
||||
@@ -26,3 +26,4 @@ Use ADRs for decisions that constrain future changes: node ID compatibility, pac
|
||||
- [0012: Place batch Nano Banana save settings and seed last](0012-batch-nano-save-and-seed-widget-order.md)
|
||||
- [0013: Remove batch Nano Banana random image selection](0013-remove-batch-nano-random-image-selection.md)
|
||||
- [0014: Publish the current code as a new release baseline](0014-new-release-code-baseline.md)
|
||||
- [0015: Canonical image-generator workflow values](0015-image-generator-workflow-values.md)
|
||||
|
||||
Reference in New Issue
Block a user