Repository navigation
Replies: 2 comments 1 reply
|
I ported the avatar code from #123 to code version 0.62.1 last weekend, but I haven't tested it much yet and haven't reviewed the code. https://github.com/kittinan/gflow-cli/commits/feature/port-avatar-generation/ |
Q2 and Q4 are answered. But the premise that
|
| Question | Status | |
|---|---|---|
| Q1 | Avatar tab present on an account with no likeness configured? | Open — needs an eligible account |
| Q2 | Per-account, per-tier, or per-region? | REGION — confirmed live 2026-09-02 |
| Q3 | Survives the cohort A/B? | Open — needs a live attach run |
| Q4 | Does referenceLikenesses pass the #615 guard? |
Yes — guard is field-scoped to referenceEntities |
@kittinan — I read your branch
Thank you for porting it. You said you had not reviewed it yourself, so here is a real review of feature/port-avatar-generation — three commits on v0.62.1, +3086/-18 across 28 files.
What is genuinely good:
LikenessEligibilitycarries an honest third state.determined=Falsefor a non-200 or an unrecognised body, falling through to the UI gate rather than guessing — an unparseable response read as "eligible" would spend credits on a generation that silently drops the likeness. That is the right shape.AvatarUnavailableErrorat exit 35, deliberately distinct fromUiSelectorDriftError(23). "The control is legitimately not there for this region" and "the control moved and gflow needs a selector update" are different problems and scripted callers should be able to branch on which one they hit.worker/codec.pydecodesuse_avatareven though nothing produces it yet. Pre-empting the silent-drop class before it has a producer is exactly right, and it is the same failure family as test(mcp): gate the MCP→worker payload-key round trip (a written-but-unread key is a silent no-op) #628.- Merge risk to existing users is low. Every shared-path change (
classic.py,ui_automation.py) is behindrequest.attaches_likeness, which defaults False. The port is inert unless explicitly asked for.
Two things to weigh:
- Scope is roughly 3x what this discussion scoped. The suggested shape here was one capability probe plus the attach flow, with no
--avataronr2vuntil compose is proven live. The branch shipsimage avatar,video avatar, andvideo r2v --avatar. Given none of it can be live-verified yet, the smaller surface is the safer thing to land first. - The forced
UiMode.CLASSICon attach sidesteps Q3 rather than answering it. Pinning to the classic cohort so the agentic UI is never asked to draw an Add-Media dialog is a defensible design decision, but it means the cohort A/B question stays open rather than being settled by the code.
The blocker is not code quality. This project does not call a generation path done on offline-green alone, and neither of us can run this one. If your account can reach the Avatar tab, the single most valuable thing you could post here is the answer to Q1 — is the tab rendered at all when no likeness is configured, or is it absent? The port's second gate assumes absent. If it is instead present-but-disabled, that gate fails open and spends credits.
Uh oh!
There was an error while loading. Please reload this page.
Carrying forward the design in #123 by @kittinan, which is being closed as a PR — not because the idea was rejected, but because the branch has drifted to +107k/-5k across 509 files and is no longer reviewable as a diff. The recon in it is the valuable part and deserves a home that does not rot.
What #123 established
Avatar generation drives Flow's Avatar tab through the UI and lets Flow's own JS attach the likeness, so the user never handles a UUID:
referenceLikenesses: [{likenessId}]alongside an emptyimageInputsreferenceLikenessescoexists withreferenceImages, so R2V + avatar compose rather than conflict+→ Avatar tab → Add to Prompt (three steps, all UI)Both shapes were taken from Chrome network captures, not inferred.
The distinction that matters, and that the PR title hides
referenceLikenessesis not the same field as the character-entity path gflow already ships:referenceLikenessesreferenceEntitiesgflow character create,@Namementions,--reference-entityThey are separate capabilities that happen to look alike in the UI. Treating avatar as "characters but for people" is the mistake to avoid — it is a different field with different gating.
Open questions before anyone writes code
gflow image t2ifails finding Flow aspect-ratio mode switch trigger #183. A three-step UI interaction is the most drift-exposed thing we could add.referenceLikenessespass the guard? Post-referenceEntity guard never runs: route patterns cannot match flowMedia:batchGenerateImages (and page.route misses the Web Worker) #615 thereferenceEntityinterception now runs on the browser context. An avatar run would be the first traffic carrying a different reference field through that path — it should be checked, not assumed.Suggested shape if it is picked up
Smaller than #123 attempted. One capability probe plus the attach flow, no new top-level command group, and no
--avatarflag onr2vuntil the compose case is proven live.gflow image avataralone would settle questions 1–4 at zero Veo credits, since image generation costs nothing.Anyone with a likeness-enabled account who wants to answer question 1 would unblock the rest — that is the single cheapest contribution here.
All reactions