Repository navigation
fix(flow): bind edit controllers with scene delegation - #50
Closed
google-labs-stitch[bot] wants to merge 1 commit into
Closed
google-labs-stitch[bot] wants to merge 1 commit into
google-labs-stitch[bot] wants to merge 1 commit into
Conversation
- Verify ZX, su, QI, and kf descriptors in edit_builds and probeStore
- Bind edit image and video prompt boxes on /edit/ and /scene/ routes
- Exclude Agent, side, and history panels from composer discovery
- Build PromptState.Gp payloads via _.QI with { kf, Te, Oe } fallback
- Delegate one-clip scenes to /scene/<id> and select timeline clips
- Fail fast on empty or multi-clip scenes and blocked editor alerts
- Poll variant history to abort failed edits and save new variants
This was referenced Nov 28, 2026
Contributor
|
Closing as a duplicate. #43 changes almost the same files ( Review points that stay open for a later PR:
You can reopen this PR if needed. |
byteland-app
deleted the
stitch/bind-edit-controllers-scene-delegation-jm0-4c8045a3-a6b3-44f7-bf00-e3c9fa6429b6
branch
November 28, 2026 01:40
Contributor
Author
|
Kept PR #50 closed as a duplicate of #43, and pushed
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bind verified Google Flow Angular edit controllers (
ZX,su, andl6), writePromptState.Gppayloads through_.QI({ kf }) on edit routes while keeping{ Oe, Te, kf }on generation routes, delegate single-clipSCENEtiles and scene clips to/project/<id>/scene/<scene_id>, fail fast on blocked editors, fall back to downloading and re-uploading images when the editor does not open, and pollhx: falsevariant history inflow_edit.Changes
ts/edit_builds.tswithEditBuildFormat,isEditRoute, andVERIFIED_EDIT_BUILDS(boq_labs-ai-sandbox-frontend_20261120.00_p0), and reportZX,su,QI, andkfchecks underprobeStore().operations.asset_editints/frontend_compatibility.tsso failed edit-only checks do not failprobeStore()or block generation.ts/edit_composer.tsand updatets/composer.ts,ts/setup_generation.ts,ts/attach_ingredients.ts, andts/submit_generation.tsto bindflow-edit-image-prompt-boxandflow-edit-video-prompt-boxacross/edit/,/scene/, and expliciteditcontexts while excludingflow-agent-panel,flow-creative-agent-prompt-box,flow-editor-side-panel, andflow-editor-history-panelon all routes.ts/types.tsandts/prompt_writer.tsto buildPromptState.Gppayloads via_.QI({ kf: [{ type: "text", content }] }) on edit routes and{ Oe, Te, kf }on non-edit routes soflow_generatepreserves{ Oe, Te }.src/edit.rsfromsrc/generation.rsand updatets/open_edit_asset.ts,ts/edit_composer.ts, andts/scene_tiles.tsto delegate single-clipSCENEtiles and scene clips to/project/<id>/scene/<scene_id>, verify target clip selection inselectSceneTimelineClipand check its result inopenEditAsset, reject empty or multi-clip scenes with clip IDs, scopereadEditBlockReasonto.too-long-overlayand explicitl6asset-block signals (ignoringsubmitDisabledReasonbefore prompt entry and generic[role="alert"]notices), and fall back to downloading and re-uploading source images when the editor does not open.ts/read_store_snapshot.ts,src/assets.rs,src/generation.rs, andsrc/edit.rsto emit normalizedvariantsfromtile.historyandsceneTile.Cgwithout changing primary URLs, abortwait_for_new_assetswithin one 3-second poll on failedhx: falsevariants, and save newly completed variants before exiting subroutes.Verification
cargo fmt --allandcargo xtask ci(CI: OK, including formatting, SPDX headers, line limits, Clippy,rustdoc,tsc --noEmit,esbuild, contract checks, andcargo deny).flow-mcpMCP stdio end-to-end checks against the20261120.00_p0Flow Angular runtime (probeStoreisolation underoperations.asset_edit,{ Oe, Te, kf }generation payload vs_.QI({ kf })edit payload,readEditBlockReasonignoringUO="Enter a prompt"and generic[role="alert"]notices while catching.too-long-overlay,selectSceneTimelineClipverification andscene_clip_not_selectedenforcement, andsrc/edit.rsimage download/re-upload fallback).