Skip to content

fix(flow): bind verified scene signals and emit clip assets - #61

Open
google-labs-stitch[bot] wants to merge 5 commits into
mainfrom
stitch/bind-verified-scene-signals-and-clip-assets-jm0-709feeed-1fac-4fb8-9349-aa037fea0bbf
Open

google-labs-stitch[bot] wants to merge 5 commits into
mainfrom
stitch/bind-verified-scene-signals-and-clip-assets-jm0-709feeed-1fac-4fb8-9349-aa037fea0bbf

Conversation

@google-labs-stitch

@google-labs-stitch google-labs-stitch Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #46 on current main (d34417e, v2.5.0) with support for Google Flow builds 20261202.00_p0, 20261201.00_p0, 20261129.06_p0, and 20261120.00_p0.

Summary

  • Add SceneBuilderFormat descriptors for Google Flow build 20261202.00_p0 (controller: "rw", timeline: "q6", player: "Nc", playerReady: "Uu", selectedClip: "la", clips: "Qc", extendDisabledReason: "zq", activeExtendClip: "oP", exitExtend: "kH", modelsQuery: "ub"), build 20261129.06_p0 (controller: "Iv", timeline: "s6", player: "Lc", playerReady: "Ny", selectedClip: "la", clips: "Pc", extendDisabledReason: "Rp", activeExtendClip: "YN", exitExtend: "VF", modelsQuery: "ub"), and build 20261120.00_p0 (controller: "su", timeline: "B6", player: "Gc", playerReady: "Dx", selectedClip: "la", clips: "Uc", extendDisabledReason: "Yo", activeExtendClip: "TL", exitExtend: "rE", modelsQuery: "Od"), and validate every descriptor in probeStore (flow_doctor).
  • Inspect prototype members with Object.getOwnPropertyDescriptor, check Ivy component definitions across Ka, Ma, and ɵcmp, and match deferred route loaders (zh, eh, mh, loadComponent) on identifier boundaries so probing never invokes live getters.
  • Map create_scene, add_workflows_to_scene, set_scene_clip_primary_media, and scene_delete_clip_mutation through ProjectMutationFormat (wd, vg, Sg, Ec, rS, Vb, Le, wgb, vc, Jg, Hg, nj, fj, Gj on 20261202.00_p0; vd, xg, Ng, yc, Xb, He, qeb, zc, Dg, Bg, hj, Yi on 20261201.00_p0; ud, hg, Fg, xc, LQ, Yb, Be, Kbb, yc, vg, tg, cj, Si, oj on 20261129.06_p0; Xc, mf, ng, Dc, De, y6a, yc, dh, ug, Ji, Ci, ik on 20261120.00_p0), and reconcile bounded add_clips callback confirmation (f10b1d7) with mutateAndVerify submit error propagation.
  • Select clips through the verified player selectedClip signal after playerReady becomes true, read disabled extend reasons from extendDisabledReason, and return scene_clip_not_found:<wfId> in prepare_extend when an open or requested scene does not contain the target clip without clicking <video>.
  • Emit <sceneId>:<wfId> scene clip assets in readStoreSnapshot using snapshotFormat()?.trim bounds (nj / fj / Bc on 20261202.00_p0, hj / Yi / wc on 20261201.00_p0, cj / Si / uc on 20261129.06_p0, Ji / Ci / nc on 20261120.00_p0), route rename, trim, trash, and edit operations for <sceneId>:<wfId> IDs to scene clip mutations, and accept only watched target IDs and <openedSceneId>:* scene clips in collect_extended_videos.
  • Update docs/en/tools-reference.md, docs/zh-CN/tools-reference.md, and docs/ja/tools-reference.md to document <sceneId>:<wfId> clip asset IDs and open-scene prepare_extend behavior.

Verification

  • Passed cargo xtask ci (rustfmt, xtask check including Flow build contracts across VERIFIED_BUILDS and RECENT_BUILDS, tsc --noEmit, clippy, rustdoc, cargo build, and cargo deny).
  • Verified ./target/debug/flow-mcp --headless doctor --json and probeStore against live Google Flow boq_labs-ai-sandbox-frontend_20261202.00_p0 (deferred route -> rw and rw+q6 verified) as well as 20261129.06_p0 (Iv+s6 verified) and 20261120.00_p0 (su+B6 verified):

Scene signals and clip asset verification

- Add verified su and B6 scene builder descriptors and probe checks
- Derive scene aspectRatio and Dc collection ID in createScene
- Select clips via su.Gc signals after Dx readiness without video click
- Emit <sceneId>:<wfId> video clip assets and watch extend updates
- Validate VIDEO workflows and confirm add_clips via store refetch
- Parse <sceneId>:<wfId> IDs in rename, trim, trash, and edit paths
- Keep scene names off clip items so scene queries match scene tiles
- Add TL, rE, and Od to SceneBuilderFormat and check them in probeStore
- Match exact identifier boundaries in hasDeferredSceneRoute
- Surface submit errors from mutateAndVerify in sceneOp add_clips
- Ignore unrelated stand-alone video updates in collect_extended_videos
- Document scene clip IDs and open-scene prepare_extend behavior
- Merge main into the scene signals and clip assets branch
- Add Iv and s6 scene builder descriptors for Flow build 20261129.06
- Map scene create, add, trim, and delete mutations on both builds
- Check prototype descriptors safely without getter side effects
- Read clip trim bounds through active snapshot trim descriptors
- Merge main into the scene signals and clip assets branch
- Validate scene clip IDs and VIDEO workflows in prepare_add_clips
- Pass Be, De, and ve completion callbacks during clip addition
- Lock the project store across prepare_add_clips and add_clips
- Merge main through commit d34417e into the pull request branch
- Resolve frontend_builds.ts imports with RECENT_BUILDS
- Add verified sceneBuilder and mutation fields for build 20261202.00
- Add verified scene clip mutation fields for build 20261201.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants