The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Handoff: stage reports of the last packages merged on 11-03
Claude4519c48fac31
diff --git a/docs/handoff/reports/idol-3.json b/docs/handoff/reports/idol-3.jsonindex 1a8b0698..bec67390 100644--- a/docs/handoff/reports/idol-3.json+++ b/docs/handoff/reports/idol-3.json@@ -1,115 +1,125 @@{- "key": "idol-3",- "impl": {- "branch": "o/idol-3",- "summary": "The evaluation harness has a splat suite (scripts/eval/cases/splat.json, kind video) that compares Idol 3D Best and Quick against TripoSplat as it ships, plus Idol with the photo crop on the 3 photo cases. It scores the orbit video with DINOv2 style against the input picture, temporal and aesthetic, and adds an optional cheap 'splat' metric that reads the .spz or .ply for the share of Gaussians under opacity 0.05 (haze). A fal TripoSplat reference variant, labelled TripoSplat and cloud-only, is included. The harness gained variant 'tags' (run only on tagged cases) and the suite default 'styleModel' (kept in run.json and used when --style-model isn't given). docs/research/idol-9.md has a 'Results (pending a GPU run)' section with the commands, what each number decides and an empty results table. \u00a73 and \u00a77.2 are untouched, and no default (MODELS_3D.splat.open, IDOL_PRESETS) was changed.",- "built": [- "scripts/eval/cases/splat.json: 11 cases (bottle, sneaker, headphones renders; mug, handbag, figurine photos tagged photo; stylised character; person; chair; plant; glass-chrome), 3 seeds, inputs local/splat/*, demoInputs from fixtures/, references = the input picture. Variants: idol-best (candidate; 50 euler cfg 4 262144), idol-quick (20 dpmpp_2m cfg 4 65536), triposplat-today (graph defaults), idol-photo-crop (best + photoCrop true + cropMode real, tags photo), triposplat-cloud (fal triposplat, cloud only). defaults.styleModel dinov2; 'decides' field holds the three rules.",- "scripts/eval/lib/schema.mjs: METRICS gains 'splat'; Variant.tags (refused when no case carries the tag); defaults.styleModel (clip|dinov2). case.schema.json regenerated by gen-cases.mjs (no other generated file changed).",- "scripts/eval/lib/plan.mjs: a variant with tags skips cases without them, and says so in the skip reason. run.mjs writes styleModel into run.json; eval.mjs scoring uses --style-model, else run.json's styleModel.",- "scripts/eval/metrics/fuobe_metrics/splat.py (numpy only): opacities from .spz v1-3 and binary 3DGS .ply, detected by content; haze share and count. score.py: m_splat family, 3D files counted in the fingerprint, and a 'preview' still beside a clip is no longer scored (Idol's clean graph renders the input view, which would inflate style). registry.py and metric-info.mjs: haze (lower is better, tie 0.01) and gaussians.",- "scripts/eval/README.md: suites table row, local/splat inputs, variant tags and defaults.styleModel, the splat metric row, and a 'The splat suite' section with the commands.",- "docs/research/idol-9.md: 'Results (pending a GPU run)' section before \u00a710."- ],- "tests": {- "verified": [- "pnpm eval:validate: all suites pass, splat.json has 11 cases",- "Demo dry run (pnpm eval:run --suite splat --engine demo --dry-run): 33 jobs for the default variant. With --variants all: 66 jobs per seed, with the photo crop skipped on the 8 non-photo cases and the cloud variant skipped on demo",- "Demo run, --variants all --seeds 1001, on a fresh demo server: 36/36 succeeded, 19 skipped as intended",- "Scoring a demo run with a numpy-only venv: run.json's styleModel reaches the scorer (config.style = dinov2), and the splat metric notes that the demo GLB isn't a splat. DINOv2, CLIP and aesthetic didn't run here because uv can't resolve torch==2.14.1+cpu in this container, which affects every suite",- "pytest scripts/eval/metrics/tests: 47 passed, 5 skipped (new tests/test_splat.py: 7 tests)",- "tests/eval-harness.test.ts: 46 passed, including a new splat-suite test (demo run, run.json candidate and styleModel, per-variant extras matching IDOL_PRESETS, photo-only skip, cloud has no Idol, tags refused when no case has them)",- "tests/demo-ops, model3d, eval-api, eval-metrics, idol, idol-clean, licences, comfy-library-notes: pass",- "pnpm typecheck clean (after next typegen); eslint on the changed files clean",- "Full vitest (--maxWorkers=2): 7 failures in 6 files, all known from main: comfy-reuse, dop-originals, preset-featured, soul-runs (2), split-soundtrack, and preset-covers, which timed out under load and passes alone (11/11)",- "Browser: tests/e2e/idol-final.mjs on a fresh demo server: desktop and phone, light and dark, all good. The final branch changes no page; .next was deleted afterwards"- ],- "notVerified": "There are no GPU numbers, since this machine has no GPU and no weights. No style, temporal or aesthetic scores either, because torch doesn't install through uv here. Nothing ran on the cloud."- },- "left": [- "TripoSplat at Idol's sampler (the brief's 'triposplat-50'): skipped as the brief allows. Binding 'sampler' on image-to-splat-triposplat was built and /prompt-validated on the live CPU ComfyUI (only a binding, manifest diff clean). It was reverted because tests/comfy-library-4.test.ts, a hot file, pins that workflow's exact binding list, and adding to it isn't an allowed edit. To add it: the sampler binding in library.spec.mjs, rebuild and validate image-to-splat-triposplat, add 'sampler' to that test's expected bindings, then a 'triposplat-50' variant (oss-triposplat, extra {steps 50, sampler euler, cfg 4, numGaussians 262144}). The Results section says to run it before Idol goes first.",- "The GPU run itself, on an 8-16 GB GPU with both models' weights and the metrics venv with torch plus DINOv2 (pnpm eval:setup --download --dinov2). Commands are in idol-9.md Results and the eval README. Record the GPU, driver and ComfyUI version with --label and in the results table.",- "Defaults change (MODELS_3D.splat.open order, IDOL_PRESETS.quick, photo-crop default) only after that run, in a separate commit a person reviews.",- "Demo runs give the splat as a GLB alone: the mock's open splat has no orbit video, so a demo run has no review pairs or scores. I tried adding a demo orbit and reverted it, because it changed Image to 3D's demo cards and broke tests/e2e/idol-final.mjs.",- "Not re-checked at the primary source: fal TripoSplat's ~$0.05 per job is the catalog's figure. The harness prices each cloud job on the server before it runs."- ],- "docsNotes": [- "docs/STATUS.md and ARCHITECTURE.md were not edited. For the docs pass: the evaluation harness has a 'splat' suite (Idol 3D vs TripoSplat; decides Splat mode's open default, Idol's Quick look and the photo crop) and a 'splat' metric (haze share in .spz/.ply). Results are pending a GPU run.",- "The harness case format gained variant 'tags' and suite 'defaults.styleModel' (documented in scripts/eval/README.md).",- "Brief out of date: review.mjs and covers.mjs pick the main output at L28 and L216 (mainOutput), not L19 and L66. idol-2 is merged, so photoCrop maps to cropMode real on the clean graph through idolGraphValues. The clean graph's preview still is now excluded from scoring. The clean graph prunes the saved file at 0.05, so Idol's haze is near 0 where the pack is installed (said in the docs)."- ],- "blocked": ""+ "key": "idol-3",+ "impl": {+ "branch": "o/idol-3",+ "summary": "The evaluation harness has a splat suite (scripts/eval/cases/splat.json, kind video) that compares Idol 3D Best and Quick against TripoSplat as it ships, plus Idol with the photo crop on the 3 photo cases. It scores the orbit video with DINOv2 style against the input picture, temporal and aesthetic, and adds an optional cheap 'splat' metric that reads the .spz or .ply for the share of Gaussians under opacity 0.05 (haze). A fal TripoSplat reference variant, labelled TripoSplat and cloud-only, is included. The harness gained variant 'tags' (run only on tagged cases) and the suite default 'styleModel' (kept in run.json and used when --style-model isn't given). docs/research/idol-9.md has a 'Results (pending a GPU run)' section with the commands, what each number decides and an empty results table. §3 and §7.2 are untouched, and no default (MODELS_3D.splat.open, IDOL_PRESETS) was changed.",+ "built": [+ "scripts/eval/cases/splat.json: 11 cases (bottle, sneaker, headphones renders; mug, handbag, figurine photos tagged photo; stylised character; person; chair; plant; glass-chrome), 3 seeds, inputs local/splat/*, demoInputs from fixtures/, references = the input picture. Variants: idol-best (candidate; 50 euler cfg 4 262144), idol-quick (20 dpmpp_2m cfg 4 65536), triposplat-today (graph defaults), idol-photo-crop (best + photoCrop true + cropMode real, tags photo), triposplat-cloud (fal triposplat, cloud only). defaults.styleModel dinov2; 'decides' field holds the three rules.",+ "scripts/eval/lib/schema.mjs: METRICS gains 'splat'; Variant.tags (refused when no case carries the tag); defaults.styleModel (clip|dinov2). case.schema.json regenerated by gen-cases.mjs (no other generated file changed).",+ "scripts/eval/lib/plan.mjs: a variant with tags skips cases without them, and says so in the skip reason. run.mjs writes styleModel into run.json; eval.mjs scoring uses --style-model, else run.json's styleModel.",+ "scripts/eval/metrics/fuobe_metrics/splat.py (numpy only): opacities from .spz v1-3 and binary 3DGS .ply, detected by content; haze share and count. score.py: m_splat family, 3D files counted in the fingerprint, and a 'preview' still beside a clip is no longer scored (Idol's clean graph renders the input view, which would inflate style). registry.py and metric-info.mjs: haze (lower is better, tie 0.01) and gaussians.",+ "scripts/eval/README.md: suites table row, local/splat inputs, variant tags and defaults.styleModel, the splat metric row, and a 'The splat suite' section with the commands.",+ "docs/research/idol-9.md: 'Results (pending a GPU run)' section before §10."+ ],+ "tests": {+ "verified": [+ "pnpm eval:validate: all suites pass, splat.json has 11 cases",+ "Demo dry run (pnpm eval:run --suite splat --engine demo --dry-run): 33 jobs for the default variant. With --variants all: 66 jobs per seed, with the photo crop skipped on the 8 non-photo cases and the cloud variant skipped on demo",+ "Demo run, --variants all --seeds 1001, on a fresh demo server: 36/36 succeeded, 19 skipped as intended",+ "Scoring a demo run with a numpy-only venv: run.json's styleModel reaches the scorer (config.style = dinov2), and the splat metric notes that the demo GLB isn't a splat. DINOv2, CLIP and aesthetic didn't run here because uv can't resolve torch==2.14.1+cpu in this container, which affects every suite",+ "pytest scripts/eval/metrics/tests: 47 passed, 5 skipped (new tests/test_splat.py: 7 tests)",+ "tests/eval-harness.test.ts: 46 passed, including a new splat-suite test (demo run, run.json candidate and styleModel, per-variant extras matching IDOL_PRESETS, photo-only skip, cloud has no Idol, tags refused when no case has them)",+ "tests/demo-ops, model3d, eval-api, eval-metrics, idol, idol-clean, licences, comfy-library-notes: pass",+ "pnpm typecheck clean (after next typegen); eslint on the changed files clean",+ "Full vitest (--maxWorkers=2): 7 failures in 6 files, all known from main: comfy-reuse, dop-originals, preset-featured, soul-runs (2), split-soundtrack, and preset-covers, which timed out under load and passes alone (11/11)",+ "Browser: tests/e2e/idol-final.mjs on a fresh demo server: desktop and phone, light and dark, all good. The final branch changes no page; .next was deleted afterwards"+ ],+ "notVerified": "There are no GPU numbers, since this machine has no GPU and no weights. No style, temporal or aesthetic scores either, because torch doesn't install through uv here. Nothing ran on the cloud."},- "review": {- "findings": [- {- "severity": "low",- "category": "decision-rule",- "file": "scripts/eval/cases/splat.json",- "line": 8,- "summary": "Rule (1) in `decides` (repeated in docs/research/idol-9.md Results, item 1) asks for 'at least 6 [blind ratings] per case' for idol-best against triposplat-today. With 3 seeds, the review page offers only 3 such pairs per case.",- "failure_scenario": "buildPairs (scripts/eval/lib/review.mjs L62-75) pairs the candidate with each alternative once per key (case and seed). With seeds [1001, 2002, 3003], one reviewer gets 3 idol-best vs triposplat-today pairs per case, so the rule's '6 per case' can't be met unless a second person rates or the 6 counts every alternative (the promote rule's reading: Quick and the photo crop as well). The rule as written is ambiguous or can't be met for one reviewer. Suggested fix: say '6 per case across the alternatives (every pair offered)', or ask for two reviewers."- },- {- "severity": "low",- "category": "docs",- "file": "docs/research/idol-9.md",- "line": 372,- "summary": "The command list includes `pnpm eval:promote latest`. That judges idol-best against every alternative (idol-quick and idol-photo-crop too), so its per-case verdict is not decision (1) in `decides`.",- "failure_scenario": "promote() (scripts/eval/lib/compare.mjs L187) uses every other variant when --against isn't given. A case where idol-photo-crop beats idol-best on style is put 'on hold' even if Idol beats TripoSplat there, and someone reading that output as the Splat-default verdict would decide wrongly. `pnpm eval:promote latest --against triposplat-today` is the command that matches rule (1). Docs only; no code is affected."- },- {- "severity": "info",- "category": "not-verified",- "file": "scripts/eval/cases/splat.json",- "line": 177,- "summary": "The triposplat-cloud variant hasn't been run (no fal key here), and fal's ~$0.05 per job is the catalog's figure, not re-checked at the source. At 33 jobs that is about $1.65, under DEFAULT_CLOUD_CAP of $5.",- "failure_scenario": "None seen. The request has no `op`, but inferOperation (src/lib/catalog/plan.ts L37-76) falls through to routes[0].op = 'splat'. The fal .ply comes back as kind model3d, and splat.py reads it by its content."- }- ],- "checks": [- "Read the prompt, the binding rules and the implementer's report. Branch origin/o/idol-3 = 335acf19, worktree clean, base claude/fuobe-parity-4 is an ancestor. Diff: 14 files, all under scripts/eval, tests/eval-harness.test.ts and docs/research/idol-9.md. No src/, route, page, workflow, hot file, licence or migration change, so the public sign-up, tenant/account-inputs, pre-flight and ASSET_REFS rules don't apply.",- "\u00a73 and \u00a77.2 of idol-9.md are unchanged (only a new section was added). IDOL_PRESETS and MODELS_3D are unchanged. Commit messages are neutral 'Area: result'.",- "Variants against the manifest: image-to-splat-idol binds steps/cfg/sampler/numGaussians/photoCrop. The clean graph binds cropMode/minOpacity/maxScale. image-to-splat-triposplat binds steps and cfg but not sampler, so skipping triposplat-50 is what the brief allows. idolGraphValues and the comfy provider (L1873-1877) map photoCrop and cropMode correctly on both graphs. Without photoCrop, the core switch 88:104 defaults to false and the clean graph's crop to synthetic, so idol-best is a clean no-crop baseline.",- "The plan matches what was asked: open and demo expand idol-best/quick/photo-crop to oss-idol with the IDOL_PRESETS extras and triposplat-today to oss-triposplat with no extra. Photo-crop is skipped on cases without the photo tag. On cloud only triposplat-cloud runs, as 'triposplat'; the Idol variants are skipped (no Idol on the cloud).",- "media_outputs now drops a preview still that sits beside a clip. Of all the manifest graphs, only image-to-splat-idol-clean outputs an image preview next to a video, and no src/ code emits role 'preview', so other suites are unaffected. The review/covers mainOutput still picks the turntable (manifest output order: splat, turntable, preview).",- "splat.py checked against ComfyUI's own writers: I fed _gaussian_spz_bytes and _gaussian_ply_bytes (from /home/user/ComfyUI/comfy_extras/nodes_gaussian_splat.py, CPU torch) 1000 random Gaussians. Read back: spz haze 0.052 and ply 0.054, true value 0.054. The small gap is the 8-bit alpha quantisation near 0.05. Its parser layout matches ComfyUI's _parse_spz_gaussian and _parse_ply_gaussian.",- "eval.mjs: --style-model has no parseArgs default, so run.json's styleModel is actually used.",- "pnpm eval:validate: all suites pass (splat.json: 11 cases). node scripts/eval/gen-cases.mjs --check: generated files current.",- "pytest scripts/eval/metrics/tests (numpy + pillow venv): 47 passed, 5 skipped.",- "Targeted vitest: tests/eval-harness, eval-metrics, eval-api, model3d, idol: 5 files, 111 tests passed. Full vitest not rerun: the change is harness and docs only, and the implementer reported the full run with only known failures.",- "npx next typegen, then tsc --noEmit (8 GB heap; pnpm typecheck OOMed at the default heap): clean. eslint on the changed .mjs files and the test: clean.",- "No browser check (no page changed), so there was no .next to delete."- ],- "verdict": "approve: the suite, schema additions, plan tags, styleModel plumbing and splat metric are correct and well tested; only low-severity wording issues in the decision rules/docs remain"- },- "fix": {- "applied": [- "Review finding 1 (low, decision rule), confirmed: buildPairs pairs idol-best with each alternative once per case and seed, so at 3 seeds one reviewer gets only 3 idol-best vs triposplat-today pairs per case and the rule's '6 per case' could not be met. The rule in scripts/eval/cases/splat.json (decides) and in docs/research/idol-9.md (Results table and decision 1) now reads 'at least 6 per case, or every such pair the review offered when it offered fewer (3 per case for one reviewer at 3 seeds)', which is what promote() already applies (want = min(minRatings, offered)).",- "Review finding 2 (low, docs), confirmed: promote() without --against weighs every other variant (idol-quick, idol-photo-crop too). The idol-9.md command list now has 'pnpm eval:promote latest --against triposplat-today' (decision 1 only) and decision 1 says why; scripts/eval/README.md 'The splat suite' commands gained the same line. Commit a31422da, pushed to origin/o/idol-3."- ],- "rejected": [- "Review finding 3 (info, not verified: triposplat-cloud unrun, fal price is the catalog's figure): nothing to fix here; no fal key on this machine. Kept in 'left'."- ],- "checks": [- "Worktree /home/user/wt/o-idol-3 on o/idol-3: only this package's 3 commits on top of claude/fuobe-parity-4, base is an ancestor, tree clean at start. Base not merged (per instructions).",- "pnpm install --frozen-lockfile --prefer-offline: ok; npx next typegen: ok.",- "pnpm eval:validate: all suites pass (splat.json 11 cases). node scripts/eval/gen-cases.mjs --check: generated files current.",- "Targeted vitest tests/eval-harness.test.ts + tests/eval-metrics.test.ts: 47/47 passed.",- "pnpm typecheck (after typegen, 8 GB heap): exit 0.",- "pnpm lint: exit 0 (0 errors, 5 pre-existing warnings).",- "Full vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1, --maxWorkers=2): the run was killed before finishing (the background job ended as [killed]), so it gives no full count. Before it stopped, the only failures were the known ones from main: soul-runs (2), dop-originals, preset-featured, comfy-reuse, split-soundtrack. Not rerun (one full run allowed). The fix changes only docs and one JSON string, which eval:validate and the eval-harness test cover. The implementer's full run showed only known failures.",- "No browser check (no page changed). .next (typegen types only) deleted; git status clean.",- "Finish: base claude/fuobe-parity-4 unchanged since the branch was cut (already up to date). npx next typegen, pnpm typecheck (8 GB heap) and pnpm lint exit 0. Full vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1, --maxWorkers=2): 5788 passed, 6 failed, 4 skipped; the failures are only the known ones from main (comfy-reuse, dop-originals, preset-featured, soul-runs x2, split-soundtrack)."- ],- "finalSummary": "idol-3 adds a 'splat' evaluation suite: Idol 3D Best and Quick against TripoSplat as it ships, plus Idol with the photo crop on the 3 photo cases. It scores the orbit video on DINOv2 style against the input picture, temporal and aesthetic, and adds a numpy 'splat' haze metric read from the .spz or .ply. There is also a cloud-only fal TripoSplat reference variant labelled TripoSplat. This fix makes the decision rules ask for blind ratings one reviewer can actually give, and names the promote command that checks decision 1 (--against triposplat-today). Open engine: built and checked by schema validation, a demo dry run, a demo run and pytest. Real numbers need an 8-16 GB GPU with both models' weights and the metrics venv with torch and DINOv2. Cloud engine: only the triposplat-cloud reference variant (fal's hosted TripoSplat; no Idol on the cloud because it isn't hosted). It is priced under the harness spend cap and has not run because there's no fal key here. Demo: the suite runs end to end, but demo numbers decide nothing. Public sign-up: unaffected. This is a developer harness under scripts/eval plus docs, with no route, page or run path, so guests and accounts see nothing new. Accounts still can't start any 3D model (own-gpu-tool). No defaults changed (MODELS_3D.splat.open, IDOL_PRESETS), and \u00a73 and \u00a77.2 of idol-9.md are untouched.",- "left": [- "The GPU run itself (8-16 GB GPU, both models' weights, pnpm eval:setup --download --dinov2). The commands are in idol-9.md Results and the scripts/eval/README.md splat section. Record the GPU, driver and ComfyUI version.",- "TripoSplat at Idol's sampler (triposplat-50) was skipped as the brief allows. It needs a 'sampler' binding on image-to-splat-triposplat, and tests/comfy-library-4.test.ts pins that binding list (a hot file).",- "Default changes (MODELS_3D.splat.open order, IDOL_PRESETS.quick, the photo-crop default) come only after that run, in a separate commit a person reviews.",- "triposplat-cloud is unrun (no fal key). Its ~$0.05/job is the catalog's figure and hasn't been checked at fal's own pricing.",- "Demo runs have no orbit video for the open splat, so they produce no review pairs or scores."- ],- "blocked": ""- }+ "left": [+ "TripoSplat at Idol's sampler (the brief's 'triposplat-50'): skipped as the brief allows. Binding 'sampler' on image-to-splat-triposplat was built and /prompt-validated on the live CPU ComfyUI (only a binding, manifest diff clean). It was reverted because tests/comfy-library-4.test.ts, a hot file, pins that workflow's exact binding list, and adding to it isn't an allowed edit. To add it: the sampler binding in library.spec.mjs, rebuild and validate image-to-splat-triposplat, add 'sampler' to that test's expected bindings, then a 'triposplat-50' variant (oss-triposplat, extra {steps 50, sampler euler, cfg 4, numGaussians 262144}). The Results section says to run it before Idol goes first.",+ "The GPU run itself, on an 8-16 GB GPU with both models' weights and the metrics venv with torch plus DINOv2 (pnpm eval:setup --download --dinov2). Commands are in idol-9.md Results and the eval README. Record the GPU, driver and ComfyUI version with --label and in the results table.",+ "Defaults change (MODELS_3D.splat.open order, IDOL_PRESETS.quick, photo-crop default) only after that run, in a separate commit a person reviews.",+ "Demo runs give the splat as a GLB alone: the mock's open splat has no orbit video, so a demo run has no review pairs or scores. I tried adding a demo orbit and reverted it, because it changed Image to 3D's demo cards and broke tests/e2e/idol-final.mjs.",+ "Not re-checked at the primary source: fal TripoSplat's ~$0.05 per job is the catalog's figure. The harness prices each cloud job on the server before it runs."+ ],+ "docsNotes": [+ "docs/STATUS.md and ARCHITECTURE.md were not edited. For the docs pass: the evaluation harness has a 'splat' suite (Idol 3D vs TripoSplat; decides Splat mode's open default, Idol's Quick look and the photo crop) and a 'splat' metric (haze share in .spz/.ply). Results are pending a GPU run.",+ "The harness case format gained variant 'tags' and suite 'defaults.styleModel' (documented in scripts/eval/README.md).",+ "Brief out of date: review.mjs and covers.mjs pick the main output at L28 and L216 (mainOutput), not L19 and L66. idol-2 is merged, so photoCrop maps to cropMode real on the clean graph through idolGraphValues. The clean graph's preview still is now excluded from scoring. The clean graph prunes the saved file at 0.05, so Idol's haze is near 0 where the pack is installed (said in the docs)."+ ],+ "blocked": ""+ },+ "review": {+ "findings": [+ {+ "severity": "low",+ "category": "decision-rule",+ "file": "scripts/eval/cases/splat.json",+ "line": 8,+ "summary": "Rule (1) in `decides` (repeated in docs/research/idol-9.md Results, item 1) asks for 'at least 6 [blind ratings] per case' for idol-best against triposplat-today. With 3 seeds, the review page offers only 3 such pairs per case.",+ "failure_scenario": "buildPairs (scripts/eval/lib/review.mjs L62-75) pairs the candidate with each alternative once per key (case and seed). With seeds [1001, 2002, 3003], one reviewer gets 3 idol-best vs triposplat-today pairs per case, so the rule's '6 per case' can't be met unless a second person rates or the 6 counts every alternative (the promote rule's reading: Quick and the photo crop as well). The rule as written is ambiguous or can't be met for one reviewer. Suggested fix: say '6 per case across the alternatives (every pair offered)', or ask for two reviewers."+ },+ {+ "severity": "low",+ "category": "docs",+ "file": "docs/research/idol-9.md",+ "line": 372,+ "summary": "The command list includes `pnpm eval:promote latest`. That judges idol-best against every alternative (idol-quick and idol-photo-crop too), so its per-case verdict is not decision (1) in `decides`.",+ "failure_scenario": "promote() (scripts/eval/lib/compare.mjs L187) uses every other variant when --against isn't given. A case where idol-photo-crop beats idol-best on style is put 'on hold' even if Idol beats TripoSplat there, and someone reading that output as the Splat-default verdict would decide wrongly. `pnpm eval:promote latest --against triposplat-today` is the command that matches rule (1). Docs only; no code is affected."+ },+ {+ "severity": "info",+ "category": "not-verified",+ "file": "scripts/eval/cases/splat.json",+ "line": 177,+ "summary": "The triposplat-cloud variant hasn't been run (no fal key here), and fal's ~$0.05 per job is the catalog's figure, not re-checked at the source. At 33 jobs that is about $1.65, under DEFAULT_CLOUD_CAP of $5.",+ "failure_scenario": "None seen. The request has no `op`, but inferOperation (src/lib/catalog/plan.ts L37-76) falls through to routes[0].op = 'splat'. The fal .ply comes back as kind model3d, and splat.py reads it by its content."+ }+ ],+ "checks": [+ "Read the prompt, the binding rules and the implementer's report. Branch origin/o/idol-3 = 335acf19, worktree clean, base claude/fuobe-parity-4 is an ancestor. Diff: 14 files, all under scripts/eval, tests/eval-harness.test.ts and docs/research/idol-9.md. No src/, route, page, workflow, hot file, licence or migration change, so the public sign-up, tenant/account-inputs, pre-flight and ASSET_REFS rules don't apply.",+ "§3 and §7.2 of idol-9.md are unchanged (only a new section was added). IDOL_PRESETS and MODELS_3D are unchanged. Commit messages are neutral 'Area: result'.",+ "Variants against the manifest: image-to-splat-idol binds steps/cfg/sampler/numGaussians/photoCrop. The clean graph binds cropMode/minOpacity/maxScale. image-to-splat-triposplat binds steps and cfg but not sampler, so skipping triposplat-50 is what the brief allows. idolGraphValues and the comfy provider (L1873-1877) map photoCrop and cropMode correctly on both graphs. Without photoCrop, the core switch 88:104 defaults to false and the clean graph's crop to synthetic, so idol-best is a clean no-crop baseline.",+ "The plan matches what was asked: open and demo expand idol-best/quick/photo-crop to oss-idol with the IDOL_PRESETS extras and triposplat-today to oss-triposplat with no extra. Photo-crop is skipped on cases without the photo tag. On cloud only triposplat-cloud runs, as 'triposplat'; the Idol variants are skipped (no Idol on the cloud).",+ "media_outputs now drops a preview still that sits beside a clip. Of all the manifest graphs, only image-to-splat-idol-clean outputs an image preview next to a video, and no src/ code emits role 'preview', so other suites are unaffected. The review/covers mainOutput still picks the turntable (manifest output order: splat, turntable, preview).",+ "splat.py checked against ComfyUI's own writers: I fed _gaussian_spz_bytes and _gaussian_ply_bytes (from /home/user/ComfyUI/comfy_extras/nodes_gaussian_splat.py, CPU torch) 1000 random Gaussians. Read back: spz haze 0.052 and ply 0.054, true value 0.054. The small gap is the 8-bit alpha quantisation near 0.05. Its parser layout matches ComfyUI's _parse_spz_gaussian and _parse_ply_gaussian.",+ "eval.mjs: --style-model has no parseArgs default, so run.json's styleModel is actually used.",+ "pnpm eval:validate: all suites pass (splat.json: 11 cases). node scripts/eval/gen-cases.mjs --check: generated files current.",+ "pytest scripts/eval/metrics/tests (numpy + pillow venv): 47 passed, 5 skipped.",+ "Targeted vitest: tests/eval-harness, eval-metrics, eval-api, model3d, idol: 5 files, 111 tests passed. Full vitest not rerun: the change is harness and docs only, and the implementer reported the full run with only known failures.",+ "npx next typegen, then tsc --noEmit (8 GB heap; pnpm typecheck OOMed at the default heap): clean. eslint on the changed .mjs files and the test: clean.",+ "No browser check (no page changed), so there was no .next to delete."+ ],+ "verdict": "approve: the suite, schema additions, plan tags, styleModel plumbing and splat metric are correct and well tested; only low-severity wording issues in the decision rules/docs remain"+ },+ "fix": {+ "applied": [+ "Review finding 1 (low, decision rule), confirmed: buildPairs pairs idol-best with each alternative once per case and seed, so at 3 seeds one reviewer gets only 3 idol-best vs triposplat-today pairs per case and the rule's '6 per case' could not be met. The rule in scripts/eval/cases/splat.json (decides) and in docs/research/idol-9.md (Results table and decision 1) now reads 'at least 6 per case, or every such pair the review offered when it offered fewer (3 per case for one reviewer at 3 seeds)', which is what promote() already applies (want = min(minRatings, offered)).",+ "Review finding 2 (low, docs), confirmed: promote() without --against weighs every other variant (idol-quick, idol-photo-crop too). The idol-9.md command list now has 'pnpm eval:promote latest --against triposplat-today' (decision 1 only) and decision 1 says why; scripts/eval/README.md 'The splat suite' commands gained the same line. Commit a31422da, pushed to origin/o/idol-3."+ ],+ "rejected": [+ "Review finding 3 (info, not verified: triposplat-cloud unrun, fal price is the catalog's figure): nothing to fix here; no fal key on this machine. Kept in 'left'."+ ],+ "checks": [+ "Worktree /home/user/wt/o-idol-3 on o/idol-3: only this package's 3 commits on top of claude/fuobe-parity-4, base is an ancestor, tree clean at start. Base not merged (per instructions).",+ "pnpm install --frozen-lockfile --prefer-offline: ok; npx next typegen: ok.",+ "pnpm eval:validate: all suites pass (splat.json 11 cases). node scripts/eval/gen-cases.mjs --check: generated files current.",+ "Targeted vitest tests/eval-harness.test.ts + tests/eval-metrics.test.ts: 47/47 passed.",+ "pnpm typecheck (after typegen, 8 GB heap): exit 0.",+ "pnpm lint: exit 0 (0 errors, 5 pre-existing warnings).",+ "Full vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1, --maxWorkers=2): the run was killed before finishing (the background job ended as [killed]), so it gives no full count. Before it stopped, the only failures were the known ones from main: soul-runs (2), dop-originals, preset-featured, comfy-reuse, split-soundtrack. Not rerun (one full run allowed). The fix changes only docs and one JSON string, which eval:validate and the eval-harness test cover. The implementer's full run showed only known failures.",+ "No browser check (no page changed). .next (typegen types only) deleted; git status clean.",+ "Finish: base claude/fuobe-parity-4 unchanged since the branch was cut (already up to date). npx next typegen, pnpm typecheck (8 GB heap) and pnpm lint exit 0. Full vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1, --maxWorkers=2): 5788 passed, 6 failed, 4 skipped; the failures are only the known ones from main (comfy-reuse, dop-originals, preset-featured, soul-runs x2, split-soundtrack)."+ ],+ "finalSummary": "idol-3 adds a 'splat' evaluation suite: Idol 3D Best and Quick against TripoSplat as it ships, plus Idol with the photo crop on the 3 photo cases. It scores the orbit video on DINOv2 style against the input picture, temporal and aesthetic, and adds a numpy 'splat' haze metric read from the .spz or .ply. There is also a cloud-only fal TripoSplat reference variant labelled TripoSplat. This fix makes the decision rules ask for blind ratings one reviewer can actually give, and names the promote command that checks decision 1 (--against triposplat-today). Open engine: built and checked by schema validation, a demo dry run, a demo run and pytest. Real numbers need an 8-16 GB GPU with both models' weights and the metrics venv with torch and DINOv2. Cloud engine: only the triposplat-cloud reference variant (fal's hosted TripoSplat; no Idol on the cloud because it isn't hosted). It is priced under the harness spend cap and has not run because there's no fal key here. Demo: the suite runs end to end, but demo numbers decide nothing. Public sign-up: unaffected. This is a developer harness under scripts/eval plus docs, with no route, page or run path, so guests and accounts see nothing new. Accounts still can't start any 3D model (own-gpu-tool). No defaults changed (MODELS_3D.splat.open, IDOL_PRESETS), and §3 and §7.2 of idol-9.md are untouched.",+ "left": [+ "The GPU run itself (8-16 GB GPU, both models' weights, pnpm eval:setup --download --dinov2). The commands are in idol-9.md Results and the scripts/eval/README.md splat section. Record the GPU, driver and ComfyUI version.",+ "TripoSplat at Idol's sampler (triposplat-50) was skipped as the brief allows. It needs a 'sampler' binding on image-to-splat-triposplat, and tests/comfy-library-4.test.ts pins that binding list (a hot file).",+ "Default changes (MODELS_3D.splat.open order, IDOL_PRESETS.quick, the photo-crop default) come only after that run, in a separate commit a person reviews.",+ "triposplat-cloud is unrun (no fal key). Its ~$0.05/job is the catalog's figure and hasn't been checked at fal's own pricing.",+ "Demo runs have no orbit video for the open splat, so they produce no review pairs or scores."+ ],+ "blocked": ""+ },+ "merge": {+ "merged": [+ "o/idol-3"+ ],+ "notMerged": [],+ "conflicts": "scripts/eval/README.md suite rows (mesh and splat); follow-up fb8e099e",+ "checks": "batch of 3 (idol-8, idol-3, nm10-hy-nomas-world): typecheck 0, lint 0, vitest 5972 passed, 6 failed (main known); idol-8 and hy-nomas each checked by an independent verifier; idol-3 merged by hand (README rows) with follow-up fb8e099e (demo splat now comes with idol-4's turntable)",+ "pushed": true,+ "head": "b97c9762"+ }}diff --git a/docs/handoff/reports/idol-8.json b/docs/handoff/reports/idol-8.jsonindex 21337686..4a8e5faa 100644--- a/docs/handoff/reports/idol-8.json+++ b/docs/handoff/reports/idol-8.json@@ -1,113 +1,123 @@{- "key": "idol-8",- "impl": {- "branch": "o/idol-8 (worktree /home/user/wt/o-idol-8, cut from claude/fuobe-parity-4 @ 64900624; 5 signed commits, not pushed)",- "summary": "Idol 3D can now make the other sides of an object from one picture. A new graph, image-to-views-idol, renders Idol's pruned splat from IdolCamera's predicted camera four times, 90 degrees apart: index 0 is the front (the input view), then the object's left, back and right. A request asks for the views with params.extra.idolViews on oss-idol. The variant resolver (and so the GPU pre-flight gate) then swaps in the view graph. The provider names each picture's side, and the run says plainly when the ComfyUI lacks ComfyUI-Idol or the pack is switched off in Settings. Demo mode answers with four labelled pictures. Image to 3D -> From several images, on your GPU with only the front filled, offers 'Make the other sides from the front (Idol 3D)', which fills the empty left, back and right slots for oss-trellis2-multi. A new character or prop element offers 'Add side and back views'. Both show the price first and say the views are renders of a 3D guess and can look soft, and the note stays once the views are in. Neither shows for guests or accounts, on a paid-APIs-only install, or with Idol 3D switched off. The orbit direction was checked: an asymmetric splat rendered through ComfyUI 0.41.0's own RenderSplat code confirmed that frames +4 puts the object's left at index 1. The shared server in this container had ComfyUI-Idol at the pin (put there by the repo's install-comfyui.sh), and the /prompt check of image-to-views-idol passed. No GPU run.",- "built": [- "scripts/comfy/hand-built/image-to-views-idol.json: image-to-splat-idol-clean up to the pruned splat (99, 88:35, 88:110 IdolPreprocessImage, 88:24, 88:6, 88:55, 88:111 IdolPruneSplat, 88:112 IdolCamera, same ids and values). It drops the splat file, the orbit video, the still and the count (41, 42, 51, 75, 79, 92, 93, 94, 88:113). New: 88:120 RenderSplat {splat [88:111,0], camera_info [88:112,0], frames +4, 1024x1024, opacity_threshold 0.05, background #FFFFFF} and 96 SaveImage 'fuobe/idol-views', one batch of four.",- "library.spec.mjs entry 'image-to-views-idol' (capability splat, packs ['ComfyUI-Idol'], the clean graph's bindings without the file and orbit keys, output 96 image role 'tiles', the defaults, vramGb 8, the clean graph's licence, notes with the side order and the sign check). npm run build added only that entry: the same 5 models and sizes, no \\u escapes. requirements.json lists it with the pack's 3 classes (packs.json and model-pins.json needed nothing new). scripts/comfy/README.md has a row.",- "src/lib/av/idol-views.ts (pure): IDOL_VIEWS_WORKFLOW, IDOL_VIEWS_PARAM 'idolViews', IDOL_VIEWS_FEATURE 'image-to-3d-views-step' (a helper job kept out of the Library), IDOL_VIEW_ORDER = VIEW_SIDES with the sign reasoning, sideOfIndex, idolViewMeta, idolViewsRequest (oss-idol, op splat, Best settings, the photo crop for uploads), wantsIdolViews, idolViewsGraph, idolViewsOf (meta.side, else meta.index, else order), canMakeOtherSides (only the front filled), fillOtherSides (never replaces a slot already filled), elementViews, IDOL_VIEWS_NOTE, IDOL_VIEWS_NEEDS_PACK.",- "src/lib/comfy-variants.ts resolveWorkflowId ends with idolViewsGraph, so the GPU pre-flight gate checks the view graph's pack for such a run. src/server/providers/comfyui.ts: prepareWorkflow refuses the view graph with 'Making the other sides needs the ComfyUI-Idol nodes on your ComfyUI' when idolPack() is false. When idolPack() is unknown it lets the run go. It drops idolViews, applies idolGraphValues to the view graph too, and forgets the pack answer when /prompt refuses it. collectOutputs adds meta.index and meta.side to the view batch.",- "src/server/providers/mock.ts: a splat run with idolViews returns four demo SVGs with index, side and role tiles. Ordinary splat runs are unchanged.",- "src/server/gpu/tools.ts: StudioRowDef.kind (optional; a workflow row's kind was always 'video'). New board row '/image-to-3d?mode=multi', 'Other sides from one picture' (Images, kind image, workflows [image-to-views-idol]).",- "UI: src/components/model3d/other-sides.tsx. useOtherSidesOffered() is true only when the viewer isn't a visitor, the engine mode isn't 'cloud' and oss-idol is offered on the open engine. OtherSides is the button: it shows the price, the note, a spinner while working and the run's error; it watches the run through useGenerations and hands the views over once. model3d-studio.tsx shows it in From several images on the open engine with only the front filled, keeps it while a run is going, and fills the empty slots as 'generation' pictures. A 'Made by Idol 3D: rendered from a 3D guess...' note stays while those pictures are in. elements-view.tsx: character and prop only, from the first photo, when there's room for 3 more. It adds the left, back and right views once per dialog, with a note that stays.",- "scripts/eval/cases/idol-views.json: a new suite. idol-3's splat suite doesn't exist yet, so this one stands alone and is meant to join it. It has 6 cases from local/idol-views/: figurine, generated character, a consenting person's photo, product, a mug with its handle on its own left (the side check) and glass. Variants: best (the candidate) and quick. Metrics: identity, clip, aesthetic. scripts/eval/README.md has its row and the local inputs. It validates and expands (24 open jobs, 12 demo)."- ],- "tests": [- "New tests/idol-views.test.ts (19 tests). Spec entry and pack; manifest bindings, outputs, defaults, models and licence; requirements index; graph wiring (identical to the clean graph up to the pruned splat, RenderSplat +4 from IdolCamera, one SaveImage); index -> side; collectOutputs naming the batch; idolViewsOf. resolveWorkflowId swaps only when asked and when the library has the graph. prepareWorkflow: Best settings, photo crop -> real, a generated picture -> synthetic; refused without the pack, run when unknown; plain Idol runs unchanged. comfyProvider.submit: the view graph sent with the pack; refused before /prompt with the pack switched off in Settings. The request is a helper feature. The button only with the front alone. Slot filling that never replaces a brought photo. The chain into oss-trellis2-multi (images in VIEW_SIDES order, extra.views named; real photos unchanged). Element views. The demo's four labelled pictures. The board row.",- "tests/account-idol.test.ts: an account's idolViewsRequest through POST /api/generations answers 403 own-gpu-tool and nothing reaches its GPU. tests/comfy-library-4.test.ts: image-to-views-idol added to the exact unvalidated list (the one allowed edit).",- "Targeted runs pass. Idol, model3d, comfy library, licences, model access, GPU requirements, readiness and API, connect board, public-signup and public-signup-tools, eval-harness: 22 files, 392 tests, plus 61 and 45 more. Every test file that uses resolveWorkflowId, demoOutputs, studioTool or STUDIO_ROWS (24 files, 500 tests) passes except the known tests/comfy-reuse failure. tsc --noEmit (6 GB heap, after next typegen) is clean. eslint on the changed files: 0 errors, 1 warning that was already there (WAN_NEG_EN).",- "Orbit direction: a script imported ComfyUI 0.41.0's nodes_gaussian_splat in its own venv (read-only, nothing installed). It rendered a splat with coloured blobs on the object's left, right, front and back from three input cameras (yaw 0, 35 and -70). With frames +4, index 1 shows the front blob at the image's left and the back blob at its right, which is the object's left side, and index 2 is the back. With -4 the order flips. IdolCamera's camera.py (read) uses the same three.js Y-up world and lookAt, so the result holds for its camera.",- "ComfyUI (shared CPU server 0.41.0, not restarted, nothing installed by me): npm run build validated the graph. node validate-workflows.mjs image-to-views-idol --shared passed. GET /object_info/IdolCamera answers, and ComfyUI-Idol sits at 4d3a4f67 in custom_nodes, put there by this container's setup (install-comfyui.sh NODES). The validator rewrote validation-state.json and object_info.subset.json, both hot files. I reverted both and rebuilt so the manifest says validated false, as idol-2 did.",- "Browser: tests/e2e/idol-views.mjs, FUOBE_DEMO_MODE=on, pnpm dev -p 3481, Playwright at 1440 and 390 px in light and dark, all four pass. Checked: no button before the front; button, price and note once the front is in; pressing it fills left, back and right (4 of 4, 'Make it 3D' ready, the note stays); a side the person brought hides the button; the cloud engine hides it; Elements -> New element -> Character with one photo -> 'Add side and back views' adds three pictures, once, with the note. No sideways scroll, no page or console errors. Screenshots looked right. The server was stopped, .next and the data dir deleted, and typegen re-run."- ],- "left": [- "Owner step: on a GPU ComfyUI with ComfyUI-Idol at 4d3a4f67 and the Idol weights, run image-to-views-idol and look at the four views. Then mark it validated, which the integrator can do by rebuilding validation-state; the /prompt check already passed on this container's CPU server, which had the pack. No real run was made: no GPU, no weights.",- "EVAL FIRST is not done. The idol-views suite is written and validates, but it needs your pictures in scripts/eval/local/idol-views/ and a GPU. Look at every case's sheets, the person.png case above all, and the mug side check (view 1 must show the handle) before you rely on the buttons for characters. Nothing here gates the buttons on that result.",- "tests/comfy-library-4.test.ts: I added 'image-to-views-idol' to its exact list of unvalidated ids (the one allowed edit).",- "Engine: Elements has no engine switch, so its button shows on an install that runs open models whatever the app's engine switch says, and its price line says what the run costs. From several images shows the button only on the open engine.",- "On someone's computer (the Fuobe tab relay) the provider can't tell whether the pack is there, so the run goes ahead and fails with ComfyUI's missing-node message if it isn't. Accounts can't run 3D models anyway.",- "The views come back on white at 1024 px. TRELLIS.2 multi-view cuts the background out itself. The studio's grey (#848484) was the other option in the brief; switching would need a binding key.",- "A run's helper generation (feature image-to-3d-views-step) stays in the database like other '-step' jobs. The element and the slots point at its files."- ],- "docsNotes": [- "STATUS / FEATURES: Image to 3D -> From several images, on your GPU: with only the front in, 'Make the other sides from the front (Idol 3D)' renders the left, back and right from an Idol 3D splat of the front (needs the ComfyUI-Idol nodes) and fills the slots for TRELLIS.2 multi-view. Elements: a new character or product with a photo offers 'Add side and back views'. The views are renders of a 3D guess and can look soft; open engine only (Idol's fal endpoint has no views).",- "ARCHITECTURE: a request asks for Idol's views with params.extra.idolViews on oss-idol (op splat). resolveWorkflowId swaps image-to-splat-idol to image-to-views-idol, which needs ComfyUI-Idol; there is no core fallback. Outputs carry meta.index 0-3 and meta.side front/left/back/right. RenderSplat's frames +4 turns toward the object's left. The GPU board has an 'Other sides from one picture' row.",- "Brief out of date: (1) 'VERIFY HERE: the shared server lacks ComfyUI-Idol'. Since idol-2, install-comfyui.sh installs it at the pin, so this container's fresh CPU server had it and the /prompt check passed. (2) CLOUD RULE 'Idol is not hosted': fal hosts speridlabs/idol since idol-1, but it returns a splat, not views, so this feature stays open only. (3) SIDES_HINT is at src/lib/av/model3d.ts ~L219, not L80-88. (4) 'Add cases to idol-3's suite': idol-3 isn't built (no scripts/eval/cases/splat.json), so the cases are their own idol-views suite. (5) nodes_gaussian_splat.py L1004-1006 is right for 0.41.0 (fc04da91).",- "Plan items already there from earlier packages: the ComfyUI-Idol pin, PACK_CLASSES, packs.json and NODE_PACKS licence row (idol-2); IdolCamera already wired in image-to-splat-idol-clean (88:112); comfyHasClass and the Settings pack switch (idol-2); VIEW_SIDES, SIDE_LABELS and SIDES_HINT, and model3dRequest's multi request with extra.views for oss-trellis2-multi; the 3D refusal for accounts (403 own-gpu-tool)."- ],- "blocked": ""- },- "review": {- "findings": [- {- "severity": "high",- "title": "tests/comfy-library-notes.test.ts fails: the new graph's public notes say 'untested'",- "where": "scripts/comfy/library.spec.mjs (image-to-views-idol notes) and so workflows/comfyui/manifest.json",- "detail": "The notes end with 'The views are renders of a 3D guess: soft, and untested on realistic people.' The library notes test bans /\\b(untested|inferred|plausible|unverified)\\b/i because notes are shown word for word as public notes. Two tests fail: 'image-to-views-idol reads as a public note' and 'the spec's notes are as clean as the manifest's'. This test is on the base and passes there (the base has no image-to-views-idol entry), so this is a new failure, not one of the known ones. The report says the comfy library tests pass, but this file was not among those run.",- "verified": "npx vitest run tests/comfy-library-notes.test.ts gives 2 failed out of 244, with the AssertionError on the 'untested' match.",- "fix": "Reword the notes without 'untested' (for example 'they can be soft; check people's faces before use'), then run npm run build so the manifest matches."- },- {- "severity": "low",- "title": "A view run is lost if its button goes away mid-run",- "where": "src/components/model3d/other-sides.tsx, model3d-studio.tsx, elements-view.tsx",- "detail": "OtherSides holds runId in its own state and hands the views over only while it is mounted. In Image to 3D, switching away from From several images (or changing the engine) unmounts it, and the GPU run finishes with nothing handed over. In Elements the same happens when the dialog closes or the kind changes to location or style. Coming back offers the button again, so a second paid or GPU run gets started. Also, if the front photo is replaced mid-run, the views of the old front fill the slots next to the new front. The pictures stay in the helper job, so nothing is corrupted.",- "verified": "Traced from the code: runId is local state, the parent's onBusy cleanup sets busy to false, and nothing re-attaches to a running IDOL_VIEWS_FEATURE job."- },- {- "severity": "low",- "title": "Elements offers the button when editing an existing element too, not only for a new one",- "where": "src/components/elements-view.tsx offerSides",- "detail": "The report says 'A new character or prop element offers...'. offerSides has no !element check, so editing a saved character or prop with photos offers it again, including one whose views were made in an earlier session. This is harmless and arguably useful, but it differs from the report and is not covered by the e2e test."- },- {- "severity": "info",- "title": "The asymmetric orbit-direction check isn't kept as a test",- "where": "tests/idol-views.test.ts",- "detail": "The unit tests only assert frames: 4 and the index -> side table. The asymmetric-splat render that set the sign was an ad-hoc script and is not committed. I checked the sign by hand: _orbit_camera_info_yaw rotates the camera about world +Y with Ry = [[c,0,s],[0,1,0],[-s,0,c]]. That takes a camera at +Z to +X, the viewer's right, which is the object's left. IdolCamera's camera.py puts the camera in three.js Y-up world, aimed at the object at the origin, and the splat frame map (x,-y,-z) is a rotation, not a mirror. So +4 giving front, left, back, right is correct."- }- ],- "checks": [- "Read the full diff claude/fuobe-parity-4...o/idol-8 (5 commits; the worktree is clean and nothing was edited).",- "Graph: workflows/comfyui/image-to-views-idol.json matches image-to-splat-idol-clean node for node up to the pruned splat (no changed nodes; it drops 41, 42, 51, 75, 79, 88:113, 92, 93 and 94). It adds 88:120 RenderSplat (splat 88:111, camera_info 88:112 IdolCamera, frames 4, 1024x1024, opacity 0.05, #FFFFFF) and 96 SaveImage. Every input was checked against the live /object_info/RenderSplat on the restarted CPU server (0.41.0 fc04da91). IdolCamera answers there and ComfyUI-Idol is at 4d3a4f6. SaveImage's prefix is 'fuobe/image-to-views-idol', not 'fuobe/idol-views' as the report says (no effect).",- "Orbit sign checked independently from ComfyUI's _orbit_camera_info_yaw and ComfyUI-Idol's camera.py (Y-up, lookAt the origin): +4 makes index 1 the object's left, which matches SIDES_HINT and VIEW_SIDES.",- "Manifest and spec bindings match the graph's node ids. The licence is recorded as data (same weights and pack as the clean graph). requirements.json has the new entry with the pack's three classes. validation-state.json is untouched, and the manifest entry carries no validated flag. The tests/comfy-library-4 edit is only the allowed id-list addition.",- "resolveWorkflowId -> idolViewsGraph swaps core or clean to the view graph only when idolViews is true and the graph exists, so the GPU pre-flight gate sees the view graph. prepareWorkflow refuses with a plain owner-facing message when idolPack() is false, drops idolViews, and applies idolGraphValues. collectOutputs adds meta index and side only for this manifest's 'tiles' output. The 'tiles' role is used elsewhere only by turnaround.ts and doesn't collide. modelToFinish ignores op splat, so the image outputs don't hit the GLB finish.",- "Public sign-up: the account test (POST idolViewsRequest gives 403 own-gpu-tool, nothing sent to /prompt) passes. The UI hides the button for visitors, on a cloud-only install, and when oss-idol is off. Previews use the existing useRunPreview path. No new routes.",- "Helper feature 'image-to-3d-views-step' ends with -step, so it stays out of the Library. useGenerations with an explicit features filter still lists it (the listGenerations and feedMatches logic).",- "STUDIO_ROWS: the new '/image-to-3d?mode=multi' row with kind image. Tool.kind is an optional string, so the change is type-safe.",- "Eval suite: the cases set photoCrop for photos, and the variants match IDOL_PRESETS best and quick. Local inputs are gitignored (/scripts/eval/local/). No media committed.",- "vitest: idol-views, account-idol, comfy-library-4/7, gpu-requirements, idol, idol-clean, idol-final, model3d, public-signup (passes when run alone; timed out under load), public-signup-tools and open-tools all pass. Across 36 files that touch STUDIO_ROWS, studioTool, resolveWorkflowId, demoOutputs or collectOutputs, and 58 files that read the manifest, requirements, spec or eval cases, the only failures are comfy-library-notes (2, new) and comfy-reuse (known).",- "npx tsc --noEmit (6 GB) passes clean. eslint on the changed source and test files gives 0 problems.",- "Browser e2e was not re-run (the report says it covered 1440 and 390 px in light and dark). The UI code uses real buttons with aria-live status text."- ],- "verdict": "changes-requested: one blocking issue. The new graph's library notes contain 'untested', so tests/comfy-library-notes.test.ts fails 2 tests (a new failure that the report missed). Reword the notes and rebuild the manifest. Everything else holds up: the graph wiring, the orbit sign (checked independently), the variant swap and pack refusal, the public sign-up refusal, the pre-flight row, typecheck and lint. The other findings are low-severity UX follow-ups."- },- "fix": {- "applied": [- "HIGH (confirmed: tests/comfy-library-notes.test.ts failed 2 of 244 on 'untested'): image-to-views-idol's notes now end 'The views are renders of a 3D reconstruction and can look soft; faces of real people are the hardest case, so check them before use.' Same text in scripts/comfy/library.spec.mjs and workflows/comfyui/manifest.json (commit 451a60fc). The text was edited in both files directly. A full `npm run build` in scripts/comfy reads the live CPU server and rewrote unrelated entries (selftest-image/video, video-character-swap-h3, about 8k manifest lines), so that output was reverted. The diff is one line in each file. comfy-library-notes, comfy-library-4 and idol-views pass.",- "LOW (confirmed by reading the code: runId was local state in OtherSides): src/lib/av/idol-views.ts keeps a tab-wide record of view runs, keyed by front picture (viewRunFor, rememberViewRun, forgetViewRun). OtherSides in src/components/model3d/other-sides.tsx reads its run from that record instead of local state. If the button unmounts mid-run (mode or engine switch in Image to 3D, dialog closed or kind changed in Elements) and comes back for the same picture, it shows the spinner again and hands the views over when they are ready. It no longer offers a second paid or GPU run. Because a run belongs to its picture, a replaced front never gets the old front's views. After hand-over the run is forgotten, and an older run's hand-over never clears a newer one. New unit test in tests/idol-views.test.ts (commit 18816166)."- ],- "rejected": [- "LOW 'Elements offers the button when editing an existing element': kept on purpose. The brief says 'Elements (character and product references): Add side and back views' and does not limit it to new elements. Adding views to a saved character or product is useful. The button already needs room for 3 more photos, so an element that already has its added views (4 or more photos) is not offered it again. This is visible to the owner only (hidden for guests, accounts, paid-APIs-only installs and when Idol 3D is off). The impl report's wording ('a new character or prop') was too narrow; the behaviour stays.",- "INFO 'the asymmetric orbit check isn't kept as a test': no change. The reviewer checked the sign independently from ComfyUI's _orbit_camera_info_yaw and IdolCamera's camera.py. The unit tests pin frames +4 and the index-to-side table. A committed render test would need ComfyUI's Python modules, which the vitest suite doesn't have."- ],- "checks": [- "Worktree /home/user/wt/o-idol-8 on o/idol-8: only this package's 5 commits on claude/fuobe-parity-4, and the base is an ancestor (no merge needed). pnpm install --frozen-lockfile --prefer-offline and npx next typegen: ok.",- "pnpm typecheck (6 GB heap): exit 0. pnpm lint: exit 0 (0 errors, 5 existing warnings).",- "FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2: 360 of 367 files pass, 5807 tests pass, 8 fail. The failures are the known ones from main: comfy-reuse (1), dop-originals (1), preset-featured (1), soul-runs (2), split-soundtrack (1), plus picker-covers and preset-covers, which timed out under load and pass alone (36 of 36). comfy-library-notes now passes.",- "Browser: FUOBE_DEMO_MODE=on pnpm dev -p 3481 with a scratch data dir, then node tests/e2e/idol-views.mjs at 1440 and 390 px, light and dark: all 4 pass with no console or page errors. The dev server was stopped by its own pids, and .next and the scratch data were deleted.",- "CPU ComfyUI at 127.0.0.1:8188 was not restarted. validation-state.json and the other hot files are untouched. git status is clean, and nothing was pushed."- ],- "finalSummary": "idol-8 lets Idol 3D make the other sides of an object from one picture. image-to-views-idol is the clean Idol graph up to the pruned splat, then RenderSplat from IdolCamera with frames +4 and SaveImage. It returns front, left, back and right, each with meta.index and meta.side. Open engine (your ComfyUI): built and unit-tested, and the /prompt check passed on this container's CPU server, which has ComfyUI-Idol at the pin. Not run on a GPU: it needs a GPU and Idol's weights. Without the pack, the run is refused with a plain message. Image to 3D -> From several images, on your GPU with only the front in, offers 'Make the other sides from the front (Idol 3D)' and fills left, back and right for TRELLIS.2 multi-view. Elements offers 'Add side and back views' for characters and products. Both show the price and say the views are soft renders of a 3D guess. The run is now kept for its picture, so leaving and coming back mid-run picks it up instead of paying twice. Cloud engine: no route. Idol's fal endpoint returns a splat, not views, so the button is hidden on the cloud engine and on paid-APIs-only installs. Demo mode returns four labelled placeholders. Public sign-up: guests don't see the button. Accounts don't either, and POST /api/generations answers 403 own-gpu-tool for their view request (tested), as for every 3D model. Fixed in this stage: the library notes no longer say 'untested' (comfy-library-notes passes), and a view run survives its button unmounting.",- "left": [- "Owner step: on a GPU ComfyUI with ComfyUI-Idol at 4d3a4f67 and Idol's weights, run image-to-views-idol, look at the four views, then mark it validated (rebuild validation-state).",- "EVAL FIRST is not done: the idol-views suite needs the owner's pictures in scripts/eval/local/idol-views/ and a GPU. Check the person.png case and the mug side check (view 1 must show the handle) before relying on the buttons for characters.",- "tests/comfy-library-4.test.ts: 'image-to-views-idol' was added to its exact list of unvalidated ids (the one allowed edit, made in impl).",- "A view run is kept for the browser tab only. After a page reload mid-run, the button is offered again (the earlier run's pictures stay in its helper job).",- "scripts/comfy `npm run build` on this container rewrites unrelated entries from the live CPU server, so the note fix was applied to the spec and the manifest by hand. A later full rebuild on the integrator's server should give the same text."- ],- "blocked": ""- }+ "key": "idol-8",+ "impl": {+ "branch": "o/idol-8 (worktree /home/user/wt/o-idol-8, cut from claude/fuobe-parity-4 @ 64900624; 5 signed commits, not pushed)",+ "summary": "Idol 3D can now make the other sides of an object from one picture. A new graph, image-to-views-idol, renders Idol's pruned splat from IdolCamera's predicted camera four times, 90 degrees apart: index 0 is the front (the input view), then the object's left, back and right. A request asks for the views with params.extra.idolViews on oss-idol. The variant resolver (and so the GPU pre-flight gate) then swaps in the view graph. The provider names each picture's side, and the run says plainly when the ComfyUI lacks ComfyUI-Idol or the pack is switched off in Settings. Demo mode answers with four labelled pictures. Image to 3D -> From several images, on your GPU with only the front filled, offers 'Make the other sides from the front (Idol 3D)', which fills the empty left, back and right slots for oss-trellis2-multi. A new character or prop element offers 'Add side and back views'. Both show the price first and say the views are renders of a 3D guess and can look soft, and the note stays once the views are in. Neither shows for guests or accounts, on a paid-APIs-only install, or with Idol 3D switched off. The orbit direction was checked: an asymmetric splat rendered through ComfyUI 0.41.0's own RenderSplat code confirmed that frames +4 puts the object's left at index 1. The shared server in this container had ComfyUI-Idol at the pin (put there by the repo's install-comfyui.sh), and the /prompt check of image-to-views-idol passed. No GPU run.",+ "built": [+ "scripts/comfy/hand-built/image-to-views-idol.json: image-to-splat-idol-clean up to the pruned splat (99, 88:35, 88:110 IdolPreprocessImage, 88:24, 88:6, 88:55, 88:111 IdolPruneSplat, 88:112 IdolCamera, same ids and values). It drops the splat file, the orbit video, the still and the count (41, 42, 51, 75, 79, 92, 93, 94, 88:113). New: 88:120 RenderSplat {splat [88:111,0], camera_info [88:112,0], frames +4, 1024x1024, opacity_threshold 0.05, background #FFFFFF} and 96 SaveImage 'fuobe/idol-views', one batch of four.",+ "library.spec.mjs entry 'image-to-views-idol' (capability splat, packs ['ComfyUI-Idol'], the clean graph's bindings without the file and orbit keys, output 96 image role 'tiles', the defaults, vramGb 8, the clean graph's licence, notes with the side order and the sign check). npm run build added only that entry: the same 5 models and sizes, no \\u escapes. requirements.json lists it with the pack's 3 classes (packs.json and model-pins.json needed nothing new). scripts/comfy/README.md has a row.",+ "src/lib/av/idol-views.ts (pure): IDOL_VIEWS_WORKFLOW, IDOL_VIEWS_PARAM 'idolViews', IDOL_VIEWS_FEATURE 'image-to-3d-views-step' (a helper job kept out of the Library), IDOL_VIEW_ORDER = VIEW_SIDES with the sign reasoning, sideOfIndex, idolViewMeta, idolViewsRequest (oss-idol, op splat, Best settings, the photo crop for uploads), wantsIdolViews, idolViewsGraph, idolViewsOf (meta.side, else meta.index, else order), canMakeOtherSides (only the front filled), fillOtherSides (never replaces a slot already filled), elementViews, IDOL_VIEWS_NOTE, IDOL_VIEWS_NEEDS_PACK.",+ "src/lib/comfy-variants.ts resolveWorkflowId ends with idolViewsGraph, so the GPU pre-flight gate checks the view graph's pack for such a run. src/server/providers/comfyui.ts: prepareWorkflow refuses the view graph with 'Making the other sides needs the ComfyUI-Idol nodes on your ComfyUI' when idolPack() is false. When idolPack() is unknown it lets the run go. It drops idolViews, applies idolGraphValues to the view graph too, and forgets the pack answer when /prompt refuses it. collectOutputs adds meta.index and meta.side to the view batch.",+ "src/server/providers/mock.ts: a splat run with idolViews returns four demo SVGs with index, side and role tiles. Ordinary splat runs are unchanged.",+ "src/server/gpu/tools.ts: StudioRowDef.kind (optional; a workflow row's kind was always 'video'). New board row '/image-to-3d?mode=multi', 'Other sides from one picture' (Images, kind image, workflows [image-to-views-idol]).",+ "UI: src/components/model3d/other-sides.tsx. useOtherSidesOffered() is true only when the viewer isn't a visitor, the engine mode isn't 'cloud' and oss-idol is offered on the open engine. OtherSides is the button: it shows the price, the note, a spinner while working and the run's error; it watches the run through useGenerations and hands the views over once. model3d-studio.tsx shows it in From several images on the open engine with only the front filled, keeps it while a run is going, and fills the empty slots as 'generation' pictures. A 'Made by Idol 3D: rendered from a 3D guess...' note stays while those pictures are in. elements-view.tsx: character and prop only, from the first photo, when there's room for 3 more. It adds the left, back and right views once per dialog, with a note that stays.",+ "scripts/eval/cases/idol-views.json: a new suite. idol-3's splat suite doesn't exist yet, so this one stands alone and is meant to join it. It has 6 cases from local/idol-views/: figurine, generated character, a consenting person's photo, product, a mug with its handle on its own left (the side check) and glass. Variants: best (the candidate) and quick. Metrics: identity, clip, aesthetic. scripts/eval/README.md has its row and the local inputs. It validates and expands (24 open jobs, 12 demo)."+ ],+ "tests": [+ "New tests/idol-views.test.ts (19 tests). Spec entry and pack; manifest bindings, outputs, defaults, models and licence; requirements index; graph wiring (identical to the clean graph up to the pruned splat, RenderSplat +4 from IdolCamera, one SaveImage); index -> side; collectOutputs naming the batch; idolViewsOf. resolveWorkflowId swaps only when asked and when the library has the graph. prepareWorkflow: Best settings, photo crop -> real, a generated picture -> synthetic; refused without the pack, run when unknown; plain Idol runs unchanged. comfyProvider.submit: the view graph sent with the pack; refused before /prompt with the pack switched off in Settings. The request is a helper feature. The button only with the front alone. Slot filling that never replaces a brought photo. The chain into oss-trellis2-multi (images in VIEW_SIDES order, extra.views named; real photos unchanged). Element views. The demo's four labelled pictures. The board row.",+ "tests/account-idol.test.ts: an account's idolViewsRequest through POST /api/generations answers 403 own-gpu-tool and nothing reaches its GPU. tests/comfy-library-4.test.ts: image-to-views-idol added to the exact unvalidated list (the one allowed edit).",+ "Targeted runs pass. Idol, model3d, comfy library, licences, model access, GPU requirements, readiness and API, connect board, public-signup and public-signup-tools, eval-harness: 22 files, 392 tests, plus 61 and 45 more. Every test file that uses resolveWorkflowId, demoOutputs, studioTool or STUDIO_ROWS (24 files, 500 tests) passes except the known tests/comfy-reuse failure. tsc --noEmit (6 GB heap, after next typegen) is clean. eslint on the changed files: 0 errors, 1 warning that was already there (WAN_NEG_EN).",+ "Orbit direction: a script imported ComfyUI 0.41.0's nodes_gaussian_splat in its own venv (read-only, nothing installed). It rendered a splat with coloured blobs on the object's left, right, front and back from three input cameras (yaw 0, 35 and -70). With frames +4, index 1 shows the front blob at the image's left and the back blob at its right, which is the object's left side, and index 2 is the back. With -4 the order flips. IdolCamera's camera.py (read) uses the same three.js Y-up world and lookAt, so the result holds for its camera.",+ "ComfyUI (shared CPU server 0.41.0, not restarted, nothing installed by me): npm run build validated the graph. node validate-workflows.mjs image-to-views-idol --shared passed. GET /object_info/IdolCamera answers, and ComfyUI-Idol sits at 4d3a4f67 in custom_nodes, put there by this container's setup (install-comfyui.sh NODES). The validator rewrote validation-state.json and object_info.subset.json, both hot files. I reverted both and rebuilt so the manifest says validated false, as idol-2 did.",+ "Browser: tests/e2e/idol-views.mjs, FUOBE_DEMO_MODE=on, pnpm dev -p 3481, Playwright at 1440 and 390 px in light and dark, all four pass. Checked: no button before the front; button, price and note once the front is in; pressing it fills left, back and right (4 of 4, 'Make it 3D' ready, the note stays); a side the person brought hides the button; the cloud engine hides it; Elements -> New element -> Character with one photo -> 'Add side and back views' adds three pictures, once, with the note. No sideways scroll, no page or console errors. Screenshots looked right. The server was stopped, .next and the data dir deleted, and typegen re-run."+ ],+ "left": [+ "Owner step: on a GPU ComfyUI with ComfyUI-Idol at 4d3a4f67 and the Idol weights, run image-to-views-idol and look at the four views. Then mark it validated, which the integrator can do by rebuilding validation-state; the /prompt check already passed on this container's CPU server, which had the pack. No real run was made: no GPU, no weights.",+ "EVAL FIRST is not done. The idol-views suite is written and validates, but it needs your pictures in scripts/eval/local/idol-views/ and a GPU. Look at every case's sheets, the person.png case above all, and the mug side check (view 1 must show the handle) before you rely on the buttons for characters. Nothing here gates the buttons on that result.",+ "tests/comfy-library-4.test.ts: I added 'image-to-views-idol' to its exact list of unvalidated ids (the one allowed edit).",+ "Engine: Elements has no engine switch, so its button shows on an install that runs open models whatever the app's engine switch says, and its price line says what the run costs. From several images shows the button only on the open engine.",+ "On someone's computer (the Fuobe tab relay) the provider can't tell whether the pack is there, so the run goes ahead and fails with ComfyUI's missing-node message if it isn't. Accounts can't run 3D models anyway.",+ "The views come back on white at 1024 px. TRELLIS.2 multi-view cuts the background out itself. The studio's grey (#848484) was the other option in the brief; switching would need a binding key.",+ "A run's helper generation (feature image-to-3d-views-step) stays in the database like other '-step' jobs. The element and the slots point at its files."+ ],+ "docsNotes": [+ "STATUS / FEATURES: Image to 3D -> From several images, on your GPU: with only the front in, 'Make the other sides from the front (Idol 3D)' renders the left, back and right from an Idol 3D splat of the front (needs the ComfyUI-Idol nodes) and fills the slots for TRELLIS.2 multi-view. Elements: a new character or product with a photo offers 'Add side and back views'. The views are renders of a 3D guess and can look soft; open engine only (Idol's fal endpoint has no views).",+ "ARCHITECTURE: a request asks for Idol's views with params.extra.idolViews on oss-idol (op splat). resolveWorkflowId swaps image-to-splat-idol to image-to-views-idol, which needs ComfyUI-Idol; there is no core fallback. Outputs carry meta.index 0-3 and meta.side front/left/back/right. RenderSplat's frames +4 turns toward the object's left. The GPU board has an 'Other sides from one picture' row.",+ "Brief out of date: (1) 'VERIFY HERE: the shared server lacks ComfyUI-Idol'. Since idol-2, install-comfyui.sh installs it at the pin, so this container's fresh CPU server had it and the /prompt check passed. (2) CLOUD RULE 'Idol is not hosted': fal hosts speridlabs/idol since idol-1, but it returns a splat, not views, so this feature stays open only. (3) SIDES_HINT is at src/lib/av/model3d.ts ~L219, not L80-88. (4) 'Add cases to idol-3's suite': idol-3 isn't built (no scripts/eval/cases/splat.json), so the cases are their own idol-views suite. (5) nodes_gaussian_splat.py L1004-1006 is right for 0.41.0 (fc04da91).",+ "Plan items already there from earlier packages: the ComfyUI-Idol pin, PACK_CLASSES, packs.json and NODE_PACKS licence row (idol-2); IdolCamera already wired in image-to-splat-idol-clean (88:112); comfyHasClass and the Settings pack switch (idol-2); VIEW_SIDES, SIDE_LABELS and SIDES_HINT, and model3dRequest's multi request with extra.views for oss-trellis2-multi; the 3D refusal for accounts (403 own-gpu-tool)."+ ],+ "blocked": ""+ },+ "review": {+ "findings": [+ {+ "severity": "high",+ "title": "tests/comfy-library-notes.test.ts fails: the new graph's public notes say 'untested'",+ "where": "scripts/comfy/library.spec.mjs (image-to-views-idol notes) and so workflows/comfyui/manifest.json",+ "detail": "The notes end with 'The views are renders of a 3D guess: soft, and untested on realistic people.' The library notes test bans /\\b(untested|inferred|plausible|unverified)\\b/i because notes are shown word for word as public notes. Two tests fail: 'image-to-views-idol reads as a public note' and 'the spec's notes are as clean as the manifest's'. This test is on the base and passes there (the base has no image-to-views-idol entry), so this is a new failure, not one of the known ones. The report says the comfy library tests pass, but this file was not among those run.",+ "verified": "npx vitest run tests/comfy-library-notes.test.ts gives 2 failed out of 244, with the AssertionError on the 'untested' match.",+ "fix": "Reword the notes without 'untested' (for example 'they can be soft; check people's faces before use'), then run npm run build so the manifest matches."+ },+ {+ "severity": "low",+ "title": "A view run is lost if its button goes away mid-run",+ "where": "src/components/model3d/other-sides.tsx, model3d-studio.tsx, elements-view.tsx",+ "detail": "OtherSides holds runId in its own state and hands the views over only while it is mounted. In Image to 3D, switching away from From several images (or changing the engine) unmounts it, and the GPU run finishes with nothing handed over. In Elements the same happens when the dialog closes or the kind changes to location or style. Coming back offers the button again, so a second paid or GPU run gets started. Also, if the front photo is replaced mid-run, the views of the old front fill the slots next to the new front. The pictures stay in the helper job, so nothing is corrupted.",+ "verified": "Traced from the code: runId is local state, the parent's onBusy cleanup sets busy to false, and nothing re-attaches to a running IDOL_VIEWS_FEATURE job."+ },+ {+ "severity": "low",+ "title": "Elements offers the button when editing an existing element too, not only for a new one",+ "where": "src/components/elements-view.tsx offerSides",+ "detail": "The report says 'A new character or prop element offers...'. offerSides has no !element check, so editing a saved character or prop with photos offers it again, including one whose views were made in an earlier session. This is harmless and arguably useful, but it differs from the report and is not covered by the e2e test."+ },+ {+ "severity": "info",+ "title": "The asymmetric orbit-direction check isn't kept as a test",+ "where": "tests/idol-views.test.ts",+ "detail": "The unit tests only assert frames: 4 and the index -> side table. The asymmetric-splat render that set the sign was an ad-hoc script and is not committed. I checked the sign by hand: _orbit_camera_info_yaw rotates the camera about world +Y with Ry = [[c,0,s],[0,1,0],[-s,0,c]]. That takes a camera at +Z to +X, the viewer's right, which is the object's left. IdolCamera's camera.py puts the camera in three.js Y-up world, aimed at the object at the origin, and the splat frame map (x,-y,-z) is a rotation, not a mirror. So +4 giving front, left, back, right is correct."+ }+ ],+ "checks": [+ "Read the full diff claude/fuobe-parity-4...o/idol-8 (5 commits; the worktree is clean and nothing was edited).",+ "Graph: workflows/comfyui/image-to-views-idol.json matches image-to-splat-idol-clean node for node up to the pruned splat (no changed nodes; it drops 41, 42, 51, 75, 79, 88:113, 92, 93 and 94). It adds 88:120 RenderSplat (splat 88:111, camera_info 88:112 IdolCamera, frames 4, 1024x1024, opacity 0.05, #FFFFFF) and 96 SaveImage. Every input was checked against the live /object_info/RenderSplat on the restarted CPU server (0.41.0 fc04da91). IdolCamera answers there and ComfyUI-Idol is at 4d3a4f6. SaveImage's prefix is 'fuobe/image-to-views-idol', not 'fuobe/idol-views' as the report says (no effect).",+ "Orbit sign checked independently from ComfyUI's _orbit_camera_info_yaw and ComfyUI-Idol's camera.py (Y-up, lookAt the origin): +4 makes index 1 the object's left, which matches SIDES_HINT and VIEW_SIDES.",+ "Manifest and spec bindings match the graph's node ids. The licence is recorded as data (same weights and pack as the clean graph). requirements.json has the new entry with the pack's three classes. validation-state.json is untouched, and the manifest entry carries no validated flag. The tests/comfy-library-4 edit is only the allowed id-list addition.",+ "resolveWorkflowId -> idolViewsGraph swaps core or clean to the view graph only when idolViews is true and the graph exists, so the GPU pre-flight gate sees the view graph. prepareWorkflow refuses with a plain owner-facing message when idolPack() is false, drops idolViews, and applies idolGraphValues. collectOutputs adds meta index and side only for this manifest's 'tiles' output. The 'tiles' role is used elsewhere only by turnaround.ts and doesn't collide. modelToFinish ignores op splat, so the image outputs don't hit the GLB finish.",+ "Public sign-up: the account test (POST idolViewsRequest gives 403 own-gpu-tool, nothing sent to /prompt) passes. The UI hides the button for visitors, on a cloud-only install, and when oss-idol is off. Previews use the existing useRunPreview path. No new routes.",+ "Helper feature 'image-to-3d-views-step' ends with -step, so it stays out of the Library. useGenerations with an explicit features filter still lists it (the listGenerations and feedMatches logic).",+ "STUDIO_ROWS: the new '/image-to-3d?mode=multi' row with kind image. Tool.kind is an optional string, so the change is type-safe.",+ "Eval suite: the cases set photoCrop for photos, and the variants match IDOL_PRESETS best and quick. Local inputs are gitignored (/scripts/eval/local/). No media committed.",+ "vitest: idol-views, account-idol, comfy-library-4/7, gpu-requirements, idol, idol-clean, idol-final, model3d, public-signup (passes when run alone; timed out under load), public-signup-tools and open-tools all pass. Across 36 files that touch STUDIO_ROWS, studioTool, resolveWorkflowId, demoOutputs or collectOutputs, and 58 files that read the manifest, requirements, spec or eval cases, the only failures are comfy-library-notes (2, new) and comfy-reuse (known).",+ "npx tsc --noEmit (6 GB) passes clean. eslint on the changed source and test files gives 0 problems.",+ "Browser e2e was not re-run (the report says it covered 1440 and 390 px in light and dark). The UI code uses real buttons with aria-live status text."+ ],+ "verdict": "changes-requested: one blocking issue. The new graph's library notes contain 'untested', so tests/comfy-library-notes.test.ts fails 2 tests (a new failure that the report missed). Reword the notes and rebuild the manifest. Everything else holds up: the graph wiring, the orbit sign (checked independently), the variant swap and pack refusal, the public sign-up refusal, the pre-flight row, typecheck and lint. The other findings are low-severity UX follow-ups."+ },+ "fix": {+ "applied": [+ "HIGH (confirmed: tests/comfy-library-notes.test.ts failed 2 of 244 on 'untested'): image-to-views-idol's notes now end 'The views are renders of a 3D reconstruction and can look soft; faces of real people are the hardest case, so check them before use.' Same text in scripts/comfy/library.spec.mjs and workflows/comfyui/manifest.json (commit 451a60fc). The text was edited in both files directly. A full `npm run build` in scripts/comfy reads the live CPU server and rewrote unrelated entries (selftest-image/video, video-character-swap-h3, about 8k manifest lines), so that output was reverted. The diff is one line in each file. comfy-library-notes, comfy-library-4 and idol-views pass.",+ "LOW (confirmed by reading the code: runId was local state in OtherSides): src/lib/av/idol-views.ts keeps a tab-wide record of view runs, keyed by front picture (viewRunFor, rememberViewRun, forgetViewRun). OtherSides in src/components/model3d/other-sides.tsx reads its run from that record instead of local state. If the button unmounts mid-run (mode or engine switch in Image to 3D, dialog closed or kind changed in Elements) and comes back for the same picture, it shows the spinner again and hands the views over when they are ready. It no longer offers a second paid or GPU run. Because a run belongs to its picture, a replaced front never gets the old front's views. After hand-over the run is forgotten, and an older run's hand-over never clears a newer one. New unit test in tests/idol-views.test.ts (commit 18816166)."+ ],+ "rejected": [+ "LOW 'Elements offers the button when editing an existing element': kept on purpose. The brief says 'Elements (character and product references): Add side and back views' and does not limit it to new elements. Adding views to a saved character or product is useful. The button already needs room for 3 more photos, so an element that already has its added views (4 or more photos) is not offered it again. This is visible to the owner only (hidden for guests, accounts, paid-APIs-only installs and when Idol 3D is off). The impl report's wording ('a new character or prop') was too narrow; the behaviour stays.",+ "INFO 'the asymmetric orbit check isn't kept as a test': no change. The reviewer checked the sign independently from ComfyUI's _orbit_camera_info_yaw and IdolCamera's camera.py. The unit tests pin frames +4 and the index-to-side table. A committed render test would need ComfyUI's Python modules, which the vitest suite doesn't have."+ ],+ "checks": [+ "Worktree /home/user/wt/o-idol-8 on o/idol-8: only this package's 5 commits on claude/fuobe-parity-4, and the base is an ancestor (no merge needed). pnpm install --frozen-lockfile --prefer-offline and npx next typegen: ok.",+ "pnpm typecheck (6 GB heap): exit 0. pnpm lint: exit 0 (0 errors, 5 existing warnings).",+ "FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2: 360 of 367 files pass, 5807 tests pass, 8 fail. The failures are the known ones from main: comfy-reuse (1), dop-originals (1), preset-featured (1), soul-runs (2), split-soundtrack (1), plus picker-covers and preset-covers, which timed out under load and pass alone (36 of 36). comfy-library-notes now passes.",+ "Browser: FUOBE_DEMO_MODE=on pnpm dev -p 3481 with a scratch data dir, then node tests/e2e/idol-views.mjs at 1440 and 390 px, light and dark: all 4 pass with no console or page errors. The dev server was stopped by its own pids, and .next and the scratch data were deleted.",+ "CPU ComfyUI at 127.0.0.1:8188 was not restarted. validation-state.json and the other hot files are untouched. git status is clean, and nothing was pushed."+ ],+ "finalSummary": "idol-8 lets Idol 3D make the other sides of an object from one picture. image-to-views-idol is the clean Idol graph up to the pruned splat, then RenderSplat from IdolCamera with frames +4 and SaveImage. It returns front, left, back and right, each with meta.index and meta.side. Open engine (your ComfyUI): built and unit-tested, and the /prompt check passed on this container's CPU server, which has ComfyUI-Idol at the pin. Not run on a GPU: it needs a GPU and Idol's weights. Without the pack, the run is refused with a plain message. Image to 3D -> From several images, on your GPU with only the front in, offers 'Make the other sides from the front (Idol 3D)' and fills left, back and right for TRELLIS.2 multi-view. Elements offers 'Add side and back views' for characters and products. Both show the price and say the views are soft renders of a 3D guess. The run is now kept for its picture, so leaving and coming back mid-run picks it up instead of paying twice. Cloud engine: no route. Idol's fal endpoint returns a splat, not views, so the button is hidden on the cloud engine and on paid-APIs-only installs. Demo mode returns four labelled placeholders. Public sign-up: guests don't see the button. Accounts don't either, and POST /api/generations answers 403 own-gpu-tool for their view request (tested), as for every 3D model. Fixed in this stage: the library notes no longer say 'untested' (comfy-library-notes passes), and a view run survives its button unmounting.",+ "left": [+ "Owner step: on a GPU ComfyUI with ComfyUI-Idol at 4d3a4f67 and Idol's weights, run image-to-views-idol, look at the four views, then mark it validated (rebuild validation-state).",+ "EVAL FIRST is not done: the idol-views suite needs the owner's pictures in scripts/eval/local/idol-views/ and a GPU. Check the person.png case and the mug side check (view 1 must show the handle) before relying on the buttons for characters.",+ "tests/comfy-library-4.test.ts: 'image-to-views-idol' was added to its exact list of unvalidated ids (the one allowed edit, made in impl).",+ "A view run is kept for the browser tab only. After a page reload mid-run, the button is offered again (the earlier run's pictures stay in its helper job).",+ "scripts/comfy `npm run build` on this container rewrites unrelated entries from the live CPU server, so the note fix was applied to the spec and the manifest by hand. A later full rebuild on the integrator's server should give the same text."+ ],+ "blocked": ""+ },+ "merge": {+ "merged": [+ "o/idol-8"+ ],+ "notMerged": [],+ "conflicts": "README rows, library.spec entries rebuilt in order, gpu/tools rows, mock splat (views + openSplat), account-idol comment, manifest union; requirements regenerated",+ "checks": "batch of 3 (idol-8, idol-3, nm10-hy-nomas-world): typecheck 0, lint 0, vitest 5972 passed, 6 failed (main known); idol-8 and hy-nomas each checked by an independent verifier; idol-3 merged by hand (README rows) with follow-up fb8e099e (demo splat now comes with idol-4's turntable)",+ "pushed": true,+ "head": "b97c9762"+ }}diff --git a/docs/handoff/reports/idol-9.json b/docs/handoff/reports/idol-9.jsonindex 8489ae2f..d92107ad 100644--- a/docs/handoff/reports/idol-9.json+++ b/docs/handoff/reports/idol-9.json@@ -1,146 +1,156 @@{- "key": "idol-9",- "impl": {- "branch": "o/idol-9",- "summary": "Cinema Studio's 3D scene gets props. 'Add a prop' places a splat in the MoGe scene or point cloud: either an existing Idol 3D or TripoSplat result from the Library (on either engine, cloud TripoSplat .ply included) or a picture made into one with Idol 3D (oss-idol) on your GPU. Idol 4's Spark renderer draws the props inside the scene's own three.js graph, depth-tested and sorted with the mesh, and they have move, turn and size handles. Because the props are part of the scene's render, captures, blockouts and the open Fly path render that guides Uni3C all show them. A pixel test on the recorded path confirms this. Commits: 4a8090b8 (already pushed) and 9cb3318b (not pushed).",- "built": [- "src/lib/scene-props.ts (new, pure): SceneProp and SceneState types; propCandidate (a finished splat result from the Library); placeProp (0.7 x pivotDepth ahead of the camera, longest side 0.35 x pivotDepth, its +z facing the camera, later props set off to the side, Idol 3D's starting haze cut-off 0.05 from idol-4); bringToCamera, turnOver, sizeRange, wrapDeg; serializeSceneState and parseSceneState (bad entries are dropped, values stay finite and in range, at most MAX_PROPS = 4); sceneStateKey; propMakerBlocker (the same rule as make3dOffered, with plain-language reasons for visitors, Paid APIs only, Idol 3D switched off, and no GPU).",- "src/components/model3d/splat-engine.ts: SplatEngine.load now uses two shared helpers, fetchSplat and buildSplatMesh (behaviour unchanged). New SceneSplats class: one SparkRenderer with depthWrite:true and minAlpha 1/16, so the scene's post pass doesn't treat splats as holes. Each prop sits in a group with the splat centred and fitted to size 1. It also has a live per-prop cut-off and settle(), which waits for Spark's sort for a given camera. Spark is still imported only by this file.",- "src/components/cinema/scene-engine.ts: addProp, updateProp, removeProp, pickProp and handleActive. Spark comes in through a dynamic import of ../model3d/splat-engine when the first prop is added. The handle is three's TransformControls, drawn over the finished frame on screen only, so it never appears in captures or path renders. Sizes stay uniform, and the handle reports changes through onPropChange. recordPath sorts the splats for each frame's camera before drawing it. A new readPixels unbinds PIXEL_PACK_BUFFER before a synchronous read: Spark's async readback had left one bound, which made frame 0 of the path render black (the e2e pixel test caught this). dispose() cleans up the handle and the splats.",- "src/components/cinema/video-encode.ts: the draw callbacks may return a promise, so a frame can wait for the sort. The blockout builder's synchronous callers still work.",- "src/components/cinema/scene-props.tsx (new): AddPropDialog has two sections. 'From your Library' is a grid of splat results. 'From a picture' has a MediaSlot, Best / Quick look, and 'Make the prop · <price>', priced through the existing POST /api/generations?preview=1 (useRunPreview / priceLine); it uses the photo crop for uploads. MakingWatch places the run's splat in the scene when it lands. PropsPanel lists the props and has the Move / Turn / Size handle modes, Size (log) and Turn sliders, 'In front of the camera', 'Turn over' and Remove, plus a note on what each engine films.",- "src/components/cinema/scene-viewer.tsx: the props state is kept per scene take in localStorage (fuobe.cinema.scene.<generationId>) and synced into the engine. Drag-to-look waits while the handle has the pointer. The header shows '· N props'. The desktop aside has a Props section; phones get a Props button with a count badge and a Props sheet. The note under the props says plainly: on the cloud, filming follows the still itself, so props don't show (cloud path = H3 Max on the still); WorldCast films from depth, so props don't show there either; open Uni3C shows them.",- "No server, route, DB, graph, pack or manifest changes. Making a prop goes through the existing POST /api/generations with model3dRequest (oss-idol). Accounts and guests get the same server refusals as before (403 own-gpu-tool for 3D), and the UI shows propMakerBlocker's visitor copy."- ],- "tests": [- "tests/scene-props.test.ts (new, 16 tests): Library candidates (spz and ply, never GLB, unfinished or failed runs); placement and facing; second and third props set to the side; bring to camera; turn over and angle wrapping; size range; scene state round trip with a moved, turned and sized prop; malformed entries dropped (including a javascript: URL, NaN and a GLB); clamping and MAX_PROPS; propMakerBlocker for owner, demo, own GPU, visitor, cloud-only, Idol off and no GPU, with a check that visitor copy has no jargon; source checks that recordPath settles the splats, that the handle is drawn only on screen, that splats write depth, and that the single synchronous pixel read unbinds the pack buffer. Passes.",- "tests/splat-view.test.ts updated: Spark is still imported only by splat-engine.ts, and only through dynamic imports. The engine's users are now splat-viewer.tsx and cinema/scene-engine.ts. Passes.",- "Regression: tests/cinema-scene, cinema-path, camera-path, scene3d, splat-view, scene-props: 113 passed. Full vitest suite not run (stage rule).",- "tests/e2e/cinema-props.mjs (new), run against pnpm dev in demo mode on port 3412 with SwiftShader WebGL: all checks passed. At 1440 px dark on the open engine: the path filmed without a prop doesn't fetch Spark; adding the demo Idol 3D splat from the Library fetches Spark and the view changes; dragging the handle moves the prop right; the Size slider sizes it; the path filmed again with the prop has a first frame (832x464) where 13,310 px (3.4%) differ from the plain render, 12,843 of them the splat's violet and 0 in the handle's colours; the prop is still there after a reload. At 1440 px light on cloud: the panel note says the cloud films the still. At 390 px light and dark: the Props sheet and the Add a prop dialog fit the phone, the handle modes and the turn slider work, nothing scrolls sideways, and there were no page or console errors.",- "npx tsc --noEmit (after next typegen) and eslint on the changed files: clean."- ],- "left": [- "Idol's predicted camera (IdolCamera) does not set the first orientation yet. No graph or route saves its yaw and pitch: image-to-splat-idol-clean uses IdolCamera only to render the preview still, and nothing in the fal idol-3d mapping keeps the camera. Props start facing the camera, with 'Turn over' and the Turn slider to fix them. To use the prediction, the clean graph would need to output IdolCamera's yaw and pitch (for example as a PreviewAny 'report', like the kept-count) into the splat's meta.camera, and placeProp would then read it. That needs a validated graph change, which belongs in its own package.",- "Props are saved in the viewer's browser storage per scene, not on the server, so they don't follow the user to another device. Saving them with the take, for example in the cinema item's take data, would need a server change and an account-scoped check.",- "The cloud Fly path (H3 Max camera-controls) and WorldCast film the still or its depth on the server, so they can't include props. The UI says so. Capture (recompose) and Use as blockout do include them on both engines.",- "Speed: on SwiftShader each frame of a path render with a prop waits for Spark's sort readback, so an 81-frame render took about 3-4 minutes here (without props it takes seconds). Frame time on a real GPU and on a phone is not measured.",- "Gaussians fainter than minAlpha 1/16 are dropped, so faint edges don't mark holes as seen. That makes props' edges slightly crisper than in the splat viewer. Not tuned on a real Idol splat (needs a GPU run).",- "Not verified with a real Idol 3D run from a picture: the local ComfyUI is CPU-only with no 3D weights. The demo run (the mock's demo-splat.spz) covers the flow. Clicking a prop in the view to pick it isn't built; props are picked from the list.",- "The brief's line numbers ('object' layout at L633) predate idol-4 and main's 10-30 work. The '3D model' label is now in the viewer header's ternary. idol-2's IdolCamera exists only inside the clean graph (library.spec.mjs), not as data. /home/user/ext (idol-sdk, ComfyUI-Idol) was missing in this container, so I worked from the research doc."- ],- "docsNotes": "docs/ARCHITECTURE.md (Cinema 3D scene): props are splats placed in the scene viewer (src/lib/scene-props.ts pure state; src/components/cinema/scene-props.tsx UI; SceneSplats in src/components/model3d/splat-engine.ts, loaded through a dynamic import from scene-engine.ts when the first prop is added). They write depth so the post pass doesn't treat them as holes, are sorted per frame in recordPath, and their TransformControls handle is drawn on screen only. They are kept per scene in localStorage (fuobe.cinema.scene.<sceneGenerationId>). docs/STATUS.md: idol-9 built; 'Idol's predicted camera sets the first orientation' is still open. FEATURES (docs pass): Cinema 3D scene, 'Add a prop' (from the Library or from a picture with Idol 3D on your GPU); props show in captures, blockouts and open-engine path films, not in cloud path films. docs/research/idol-9.md §9 idol-9 could note: built 2026-11-03; Spark's readRenderTargetPixelsAsync leaves PIXEL_PACK_BUFFER bound, so any synchronous read in the same renderer must unbind it first.",- "blocked": ""- },- "review": {- "findings": [- {- "severity": "medium",- "verdict": "PLAUSIBLE (traced through Spark 2.3.1 and three 0.183.2 source; not reproduced in a browser)",- "file": "src/components/cinema/scene-engine.ts",- "line": 739,- "title": "Path frames with a prop can be drawn with the on-screen camera's sort order",- "detail": "recordPath's frame() calls splats.settle(path camera), which awaits SparkRenderer.update(). That call's generate() calls setDirty(), and SceneSplats wires onDirty to engine.dirty = true. step() draws the screen whenever dirty is set and does not check `playing`. While the path sort is running (readPause setTimeout, an async GPU readback polled every 4 ms, then the sort worker), the next requestAnimationFrame tick therefore draws the screen with the user's pose. Spark's onBeforeRender (preUpdate: true by default) then calls updateInternal for the screen camera: current becomes the screen's accumulator and sortDirty is set. When the path sort finishes, driveSort() starts a sort for the screen camera straight away. settle()'s second wait loop sees sorting=true and waits for that sort, so the path frame is drawn with ordering sorted by distance from the screen camera. With depthWrite:true, out-of-order Gaussians fail the depth test instead of blending, so the prop looks harsh or patchy in path frames far from the user's pose. That covers the Uni3C guide render and Use as blockout. The race happens on most frames whenever the sort takes longer than a frame, as it does on SwiftShader and on a phone. Each frame also runs a second, wasted sort. The e2e pixel test checks only frame 0, where the path pose is close to the screen pose, so it can't catch this.",- "fix": "Don't draw the screen while recording: in step(), skip the draw while `playing` (or while a recordPath is active). Another option is to set the SceneSplats' SparkRenderer autoUpdate to false for the length of recordPath, or to make onDirty a no-op while recording. Then add a check on a late path frame, for example that the prop's pixels in the last frame match a still capture taken from that frame's pose."- },- {- "severity": "low",- "verdict": "CONFIRMED (code trace)",- "file": "src/components/cinema/scene-viewer.tsx",- "line": 330,- "title": "A prop made from a picture can be dropped while the toast says it is in the scene",- "detail": "madeProp() always shows the success toast 'Your prop is in the scene'. placeCandidate() returns early when the engine or info isn't ready (for example while the scene is reloading), and setProps leaves the list unchanged when it already holds MAX_PROPS. The second case can happen because Add a prop is disabled only while the scene is full, not while a prop is being made. In both cases the prop is not added, but setPickedProp(id) still picks an id that doesn't exist and the success toast still shows. The run's splat stays in the Library, so nothing is lost, but the message is wrong.",- "fix": "Have placeCandidate report whether it placed the prop, and show a 'scene is full' or 'try again from Add a prop' message when it didn't. You could also count `making` towards MAX_PROPS."- },- {- "severity": "low",- "verdict": "PLAUSIBLE",- "file": "src/components/cinema/scene-viewer.tsx",- "line": 140,- "title": "Props state isn't reloaded when the open take changes without the viewer remounting",- "detail": "`props` is read from localStorage only in the useState initialiser, but stateKey follows take.generation.id. workspace.tsx renders <SceneViewer take={openScene}> without a key, and setOpenScene(t) can run while a viewer is open (the 'Your 3D scene is ready → Open' toast action). If that happens, the persist effect writes the previous scene's props under the new scene's key, and the new scene shows the old scene's props. Other viewer state has the same pattern already, so the impact is small.",- "fix": "Add key={openScene.generation.id} on <SceneViewer> in workspace.tsx, or reset props when stateKey changes."- },- {- "severity": "low",- "verdict": "CONFIRMED (code trace)",- "file": "src/components/cinema/scene-engine.ts",- "line": 574,- "title": "Spark can be created on an engine that has already been disposed",- "detail": "addProp's dynamic-import .then() builds a SceneSplats (which creates a SparkRenderer) and adds it to this.scene without checking this.disposed. The check comes after the await. If the viewer closes while the chunk is loading, a SparkRenderer is created for a disposed engine and never disposed. No sort worker starts, because nothing renders, so this is a small GPU and memory leak.",- "fix": "Check this.disposed inside .then() before constructing SceneSplats, or dispose it there."- },- {- "severity": "low",- "verdict": "CONFIRMED (code trace)",- "file": "src/components/cinema/scene-props.tsx",- "line": 200,- "title": "Keyboard users can't move a prop to an exact place",- "detail": "Move uses three's TransformControls, which works only with a pointer. The panel gives keyboard users Size and Turn sliders and 'In front of the camera', so a keyboard user can only place a prop by flying the camera and then bringing the prop to it. The Move / Turn / Size radiogroup also has no arrow-key handling. That matches other radiogroups in the app.",- "fix": "Optional: add nudge buttons, or arrow keys while the handle mode is Move, or note it as a follow-up."- },- {- "severity": "low",- "verdict": "CONFIRMED",- "file": "src/components/cinema/scene-props.tsx",- "line": 128,- "title": "Price line reads 'Free' before any price is known",- "detail": "`priceLine(preview.data) ?? \"Free\"` shows 'Free' while the preview is loading, when no picture has been picked, and when the preview request fails. In demo mode the loaded preview says 'Placeholder · nothing is charged', so the label changes once it loads. The Idol run on the open engine is free anyway, so this is only a wording issue.",- "fix": "Show '…' or no price until the preview has loaded."- },- {- "severity": "info",- "verdict": "CONFIRMED",- "file": "src/lib/scene-props.ts",- "line": 157,- "title": "The URL check in parseSceneState accepts protocol-relative URLs",- "detail": "The pattern ^(\\/|https?:\\/\\/) accepts '//host/x.spz'. The data comes only from this origin's own localStorage, so this isn't exploitable. Rejecting '//' would match what the test says it guards against.",- "fix": "Use ^(\\/(?!\\/)|https?:\\/\\/)."- }- ],- "checks": [- "Scope: git diff 61d8074e..HEAD (commits 4a8090b8 and 9cb3318b), 9 files. No server, route, DB, graph, pack, manifest, migration or hot-file changes. No Higgsfield code or media, no new model, LoRA or node pack (so no licence data was needed), no analytics.",- "Public sign-up: no new route. Making a prop goes through the existing POST /api/generations (oss-idol, open engine), and its price through the existing POST /api/generations?preview=1. Both are already covered by PREVIEWS, priceAs and the 403 own-gpu-tool rule for 3D. propMakerBlocker mirrors make3dOffered (viewer, Paid APIs only, Idol off, no GPU), and its visitor copy has no jargon. Library candidates come from useGenerations, so visitors get EMPTY_LISTS. Props are kept only in this browser's localStorage.",- "Engines: the cloud note says plainly that cloud filming (H3 Max on the still) and WorldCast don't show props, and that the open Uni3C path does. No local capability was removed. A cloud TripoSplat .ply from the Library can be placed, as the brief asks.",- "Traced Spark 2.3.1 (SparkRenderer.onBeforeRender preUpdate, updateInternal, driveSort, setDirty→onDirty) against SceneEngine.step and recordPath. Result: finding 1.",- "Verified three 0.183.2 readRenderTargetPixelsAsync: it binds PIXEL_PACK_BUFFER and leaves it bound while it polls, then binds it again before getBufferSubData. readPixels() unbinding it first is correct and safe. The other synchronous read, in blockout-engine.ts, uses its own renderer, so it isn't affected.",- "Checked the placement maths (forward and right vectors for the YXZ yaw, so +z faces the camera), turnOver, wrapDeg, parseSceneState clamping and MAX_PROPS, TransformControls uniform scale and the Euler read-back, the removal-while-loading path in the props effect, the overlay drawn only for the screen (!out && !shot), and dispose order.",- "npx vitest run tests/scene-props, splat-view, cinema-scene, cinema-path, camera-path, scene3d, blockout: 7 files, 146 tests passed.",- "npx next typegen, then npx tsc --noEmit: clean. eslint on the 7 changed source and test files: clean. The worktree was left unchanged (git status clean).",- "The e2e (tests/e2e/cinema-props.mjs) was not re-run: the path render with a prop takes several minutes on SwiftShader. I relied on the implementer's run. Its pixel check covers only frame 0 (see finding 1)."- ],- "verdict": "approve-with-fixes: the feature is complete against the brief, and IdolCamera orientation is reasonably left open. It follows the sign-up and engine rules, and tests and typecheck pass. Fix finding 1 before merge, because the filmed path and the blockout are this package's main output. The low findings are optional."- },- "fix": {- "applied": [- "Finding 1 (medium, path frames sorted for the on-screen camera): confirmed by reading the code. playPath relies on step() drawing, so `playing` couldn't be reused. A new `recording` flag is set for the whole of recordPath and cleared in its finally, and step() doesn't draw the screen while it is set, so Spark never starts a sort for the screen camera while a path frame waits for its own (scene-engine.ts). Covered by a source test in tests/scene-props.test.ts. tests/e2e/cinema-props.mjs now also compares the LAST frame of the path with and without the prop. Measured: 150,135 px changed (38.9%), 147,574 of them the splat's violet, 0 in the handle's colours. The first frame is unchanged: 13,310 px, 12,843 violet, 0 handle.",- "Finding 2 (low, success toast when the prop wasn't placed): confirmed. placeCandidate now returns 'placed' | 'not-ready' | 'full'. It checks the count synchronously against propsRef and updates the ref straight away. madeProp shows the success toast only for 'placed'. Otherwise it says the prop is ready in the Library: either remove a prop and add it from Add a prop, or add it from Add a prop. Add a prop counts props being made towards MAX_PROPS (full = props + making), and the full-scene copy says so. Source test added.",- "Finding 3 (low, props not reloaded when the take changes): confirmed. Added key={openScene.generation.id} on <SceneViewer> in workspace.tsx, so a scene opened in place of another remounts with its own props. Source test added.",- "Finding 4 (low, Spark created on a disposed engine): confirmed. addProp's dynamic-import .then() checks this.disposed before constructing SceneSplats and rejects with AbortError, which the existing catch handles. Source test added.",- "Finding 6 (low, 'Free' before a price is known): confirmed. The button reads 'Make the prop' until the preview returns a price, then 'Make the prop · <price>'. The e2e now asserts there is no price before a picture is picked. Source test added.",- "Finding 7 (info, protocol-relative URLs): parseSceneState's URL check is now ^(\\/(?!\\/)|https?:\\/\\/). A '//elsewhere.example/x.spz' entry was added to the malformed-entries test."- ],- "rejected": [- "Finding 5 (low, keyboard users can't move a prop to an exact place): not built, and the reviewer marked it optional. Keyboard users already have the Size and Turn sliders and 'In front of the camera' (fly the camera with the keys, then bring the prop to it). The Move / Turn / Size radiogroup behaves like the app's other radiogroups. Nudge buttons or arrow-key moves would be new UI beyond this package's fixes, so this is listed in 'left'."- ],- "checks": [- "Worktree /home/user/wt/o-idol-9 on o/idol-9. Only idol-4 and idol-9 commits after the base, as expected, and claude/fuobe-parity-4 is an ancestor. pnpm install --frozen-lockfile --prefer-offline and npx next typegen: ok.",- "pnpm typecheck: exit 0. pnpm lint: exit 0 (5 warnings, 0 errors, none in changed files).",- "FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2: exit 1. 361/368 files and 5817 tests passed, 8 tests failed, all on the known pre-existing list in main-rules: comfy-reuse (1), dop-originals (1), preset-featured (1), soul-runs (2), split-soundtrack (1), plus picker-covers (1) and preset-covers (1), which time out under load. Rerun alone, picker-covers and preset-covers pass (36/36).",- "Targeted: tests/scene-props, splat-view, cinema-scene, cinema-path, camera-path, scene3d and blockout: 8 files, 161 tests passed. tests/scene-props has 20 tests (16 before, 4 added).",- "e2e: node tests/e2e/cinema-props.mjs against pnpm dev in demo mode (FUOBE_DEMO_MODE=on, port 3412, SwiftShader). 'All props checks passed', including the new last-frame check, 1440 dark/light and 390 light/dark, with no page or console errors. The first run failed only because the e2e still expected 'Make the prop · …' with no picture picked; the e2e was updated for the finding-6 change.",- "Dev server stopped by PID, .next deleted, git status clean after commit f8cb42df. Not pushed. docs/handoff/reports/idol-4.json untouched.",- "FINISH on o/idol-9 after merging the latest origin/claude/fuobe-parity-4 (clean merge): next typegen 0; pnpm typecheck 0; pnpm lint 0 (5 warnings, none in changed files); FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2: 375 files, 5928 passed, 6 failed, 4 skipped. All failures are the known pre-existing ones: comfy-reuse, dop-originals, preset-featured, soul-runs (2), split-soundtrack."- ],- "finalSummary": "idol-9 (props in Cinema Studio's 3D scene) is finished on o/idol-9. The fix commit is f8cb42df, on top of 4a8090b8 and 9cb3318b. Open engine (your ComfyUI): 'Add a prop' places a Library splat (Idol 3D .spz, or TripoSplat .ply from either engine) or makes one from a picture with Idol 3D (oss-idol). Props render inside the scene's three.js graph with move/turn/size handles, and they show in captures, blockouts and the open Fly path render that feeds Uni3C. Every path frame is now sorted for its own camera, because the screen isn't drawn while a path records. Verified in demo mode on SwiftShader with the mock's demo splat, including pixel checks on the first and last frames. A real Idol 3D run from a picture needs a GPU with the Idol weights and wasn't run here. Cloud engine: Library splats, including cloud TripoSplat .ply, can be placed, and captures and blockouts show them. The cloud Fly path (H3 Max on the still) and WorldCast film the still or its depth, so props don't show there, and the panel says so. Idol 3D isn't hosted, so making a prop from a picture is open-engine only (no cloud substitute), and 'Paid APIs only' refuses it with plain copy. Cloud filming needs a fal/Replicate key as before. Public sign-up: no new routes. Guests see empty Library lists and the plain-language reason why they can't make a prop. Accounts get the existing 403 own-gpu-tool for any 3D run (POST /api/generations), so they can't make props yet. Props are kept per scene only in the viewer's browser storage.",- "left": [- "Idol's predicted camera (IdolCamera) doesn't set the first orientation yet. The clean graph would need to output its yaw and pitch into the splat's meta (a validated graph change for its own package).",- "Props live in browser localStorage per scene, not on the server, so they don't follow the user to another device. Saving them with the take needs a server change with an account-scoped check.",- "Keyboard placement (review finding 5): there are no nudge buttons or arrow-key moves for Move. Keyboard users place a prop by flying the camera and using 'In front of the camera', Size and Turn.",- "Path render speed with props on a real GPU and on phones is not measured. On SwiftShader each frame waits for Spark's sort, which takes minutes per path.",- "minAlpha 1/16 has not been tuned on a real Idol splat. Picking a prop by clicking it in the view isn't built; props are picked from the list.",- "The e2e checks that the prop is present and correctly coloured in the first and last path frames. It does not measure whether the sort order is visually right on a real GPU.",- "No graphs were added, so workflows/comfyui/requirements.json and its budget are unchanged."- ],- "blocked": ""- }-}\ No newline at end of file+ "key": "idol-9",+ "impl": {+ "branch": "o/idol-9",+ "summary": "Cinema Studio's 3D scene gets props. 'Add a prop' places a splat in the MoGe scene or point cloud: either an existing Idol 3D or TripoSplat result from the Library (on either engine, cloud TripoSplat .ply included) or a picture made into one with Idol 3D (oss-idol) on your GPU. Idol 4's Spark renderer draws the props inside the scene's own three.js graph, depth-tested and sorted with the mesh, and they have move, turn and size handles. Because the props are part of the scene's render, captures, blockouts and the open Fly path render that guides Uni3C all show them. A pixel test on the recorded path confirms this. Commits: 4a8090b8 (already pushed) and 9cb3318b (not pushed).",+ "built": [+ "src/lib/scene-props.ts (new, pure): SceneProp and SceneState types; propCandidate (a finished splat result from the Library); placeProp (0.7 x pivotDepth ahead of the camera, longest side 0.35 x pivotDepth, its +z facing the camera, later props set off to the side, Idol 3D's starting haze cut-off 0.05 from idol-4); bringToCamera, turnOver, sizeRange, wrapDeg; serializeSceneState and parseSceneState (bad entries are dropped, values stay finite and in range, at most MAX_PROPS = 4); sceneStateKey; propMakerBlocker (the same rule as make3dOffered, with plain-language reasons for visitors, Paid APIs only, Idol 3D switched off, and no GPU).",+ "src/components/model3d/splat-engine.ts: SplatEngine.load now uses two shared helpers, fetchSplat and buildSplatMesh (behaviour unchanged). New SceneSplats class: one SparkRenderer with depthWrite:true and minAlpha 1/16, so the scene's post pass doesn't treat splats as holes. Each prop sits in a group with the splat centred and fitted to size 1. It also has a live per-prop cut-off and settle(), which waits for Spark's sort for a given camera. Spark is still imported only by this file.",+ "src/components/cinema/scene-engine.ts: addProp, updateProp, removeProp, pickProp and handleActive. Spark comes in through a dynamic import of ../model3d/splat-engine when the first prop is added. The handle is three's TransformControls, drawn over the finished frame on screen only, so it never appears in captures or path renders. Sizes stay uniform, and the handle reports changes through onPropChange. recordPath sorts the splats for each frame's camera before drawing it. A new readPixels unbinds PIXEL_PACK_BUFFER before a synchronous read: Spark's async readback had left one bound, which made frame 0 of the path render black (the e2e pixel test caught this). dispose() cleans up the handle and the splats.",+ "src/components/cinema/video-encode.ts: the draw callbacks may return a promise, so a frame can wait for the sort. The blockout builder's synchronous callers still work.",+ "src/components/cinema/scene-props.tsx (new): AddPropDialog has two sections. 'From your Library' is a grid of splat results. 'From a picture' has a MediaSlot, Best / Quick look, and 'Make the prop · <price>', priced through the existing POST /api/generations?preview=1 (useRunPreview / priceLine); it uses the photo crop for uploads. MakingWatch places the run's splat in the scene when it lands. PropsPanel lists the props and has the Move / Turn / Size handle modes, Size (log) and Turn sliders, 'In front of the camera', 'Turn over' and Remove, plus a note on what each engine films.",+ "src/components/cinema/scene-viewer.tsx: the props state is kept per scene take in localStorage (fuobe.cinema.scene.<generationId>) and synced into the engine. Drag-to-look waits while the handle has the pointer. The header shows '· N props'. The desktop aside has a Props section; phones get a Props button with a count badge and a Props sheet. The note under the props says plainly: on the cloud, filming follows the still itself, so props don't show (cloud path = H3 Max on the still); WorldCast films from depth, so props don't show there either; open Uni3C shows them.",+ "No server, route, DB, graph, pack or manifest changes. Making a prop goes through the existing POST /api/generations with model3dRequest (oss-idol). Accounts and guests get the same server refusals as before (403 own-gpu-tool for 3D), and the UI shows propMakerBlocker's visitor copy."+ ],+ "tests": [+ "tests/scene-props.test.ts (new, 16 tests): Library candidates (spz and ply, never GLB, unfinished or failed runs); placement and facing; second and third props set to the side; bring to camera; turn over and angle wrapping; size range; scene state round trip with a moved, turned and sized prop; malformed entries dropped (including a javascript: URL, NaN and a GLB); clamping and MAX_PROPS; propMakerBlocker for owner, demo, own GPU, visitor, cloud-only, Idol off and no GPU, with a check that visitor copy has no jargon; source checks that recordPath settles the splats, that the handle is drawn only on screen, that splats write depth, and that the single synchronous pixel read unbinds the pack buffer. Passes.",+ "tests/splat-view.test.ts updated: Spark is still imported only by splat-engine.ts, and only through dynamic imports. The engine's users are now splat-viewer.tsx and cinema/scene-engine.ts. Passes.",+ "Regression: tests/cinema-scene, cinema-path, camera-path, scene3d, splat-view, scene-props: 113 passed. Full vitest suite not run (stage rule).",+ "tests/e2e/cinema-props.mjs (new), run against pnpm dev in demo mode on port 3412 with SwiftShader WebGL: all checks passed. At 1440 px dark on the open engine: the path filmed without a prop doesn't fetch Spark; adding the demo Idol 3D splat from the Library fetches Spark and the view changes; dragging the handle moves the prop right; the Size slider sizes it; the path filmed again with the prop has a first frame (832x464) where 13,310 px (3.4%) differ from the plain render, 12,843 of them the splat's violet and 0 in the handle's colours; the prop is still there after a reload. At 1440 px light on cloud: the panel note says the cloud films the still. At 390 px light and dark: the Props sheet and the Add a prop dialog fit the phone, the handle modes and the turn slider work, nothing scrolls sideways, and there were no page or console errors.",+ "npx tsc --noEmit (after next typegen) and eslint on the changed files: clean."+ ],+ "left": [+ "Idol's predicted camera (IdolCamera) does not set the first orientation yet. No graph or route saves its yaw and pitch: image-to-splat-idol-clean uses IdolCamera only to render the preview still, and nothing in the fal idol-3d mapping keeps the camera. Props start facing the camera, with 'Turn over' and the Turn slider to fix them. To use the prediction, the clean graph would need to output IdolCamera's yaw and pitch (for example as a PreviewAny 'report', like the kept-count) into the splat's meta.camera, and placeProp would then read it. That needs a validated graph change, which belongs in its own package.",+ "Props are saved in the viewer's browser storage per scene, not on the server, so they don't follow the user to another device. Saving them with the take, for example in the cinema item's take data, would need a server change and an account-scoped check.",+ "The cloud Fly path (H3 Max camera-controls) and WorldCast film the still or its depth on the server, so they can't include props. The UI says so. Capture (recompose) and Use as blockout do include them on both engines.",+ "Speed: on SwiftShader each frame of a path render with a prop waits for Spark's sort readback, so an 81-frame render took about 3-4 minutes here (without props it takes seconds). Frame time on a real GPU and on a phone is not measured.",+ "Gaussians fainter than minAlpha 1/16 are dropped, so faint edges don't mark holes as seen. That makes props' edges slightly crisper than in the splat viewer. Not tuned on a real Idol splat (needs a GPU run).",+ "Not verified with a real Idol 3D run from a picture: the local ComfyUI is CPU-only with no 3D weights. The demo run (the mock's demo-splat.spz) covers the flow. Clicking a prop in the view to pick it isn't built; props are picked from the list.",+ "The brief's line numbers ('object' layout at L633) predate idol-4 and main's 10-30 work. The '3D model' label is now in the viewer header's ternary. idol-2's IdolCamera exists only inside the clean graph (library.spec.mjs), not as data. /home/user/ext (idol-sdk, ComfyUI-Idol) was missing in this container, so I worked from the research doc."+ ],+ "docsNotes": "docs/ARCHITECTURE.md (Cinema 3D scene): props are splats placed in the scene viewer (src/lib/scene-props.ts pure state; src/components/cinema/scene-props.tsx UI; SceneSplats in src/components/model3d/splat-engine.ts, loaded through a dynamic import from scene-engine.ts when the first prop is added). They write depth so the post pass doesn't treat them as holes, are sorted per frame in recordPath, and their TransformControls handle is drawn on screen only. They are kept per scene in localStorage (fuobe.cinema.scene.<sceneGenerationId>). docs/STATUS.md: idol-9 built; 'Idol's predicted camera sets the first orientation' is still open. FEATURES (docs pass): Cinema 3D scene, 'Add a prop' (from the Library or from a picture with Idol 3D on your GPU); props show in captures, blockouts and open-engine path films, not in cloud path films. docs/research/idol-9.md §9 idol-9 could note: built 2026-11-03; Spark's readRenderTargetPixelsAsync leaves PIXEL_PACK_BUFFER bound, so any synchronous read in the same renderer must unbind it first.",+ "blocked": ""+ },+ "review": {+ "findings": [+ {+ "severity": "medium",+ "verdict": "PLAUSIBLE (traced through Spark 2.3.1 and three 0.183.2 source; not reproduced in a browser)",+ "file": "src/components/cinema/scene-engine.ts",+ "line": 739,+ "title": "Path frames with a prop can be drawn with the on-screen camera's sort order",+ "detail": "recordPath's frame() calls splats.settle(path camera), which awaits SparkRenderer.update(). That call's generate() calls setDirty(), and SceneSplats wires onDirty to engine.dirty = true. step() draws the screen whenever dirty is set and does not check `playing`. While the path sort is running (readPause setTimeout, an async GPU readback polled every 4 ms, then the sort worker), the next requestAnimationFrame tick therefore draws the screen with the user's pose. Spark's onBeforeRender (preUpdate: true by default) then calls updateInternal for the screen camera: current becomes the screen's accumulator and sortDirty is set. When the path sort finishes, driveSort() starts a sort for the screen camera straight away. settle()'s second wait loop sees sorting=true and waits for that sort, so the path frame is drawn with ordering sorted by distance from the screen camera. With depthWrite:true, out-of-order Gaussians fail the depth test instead of blending, so the prop looks harsh or patchy in path frames far from the user's pose. That covers the Uni3C guide render and Use as blockout. The race happens on most frames whenever the sort takes longer than a frame, as it does on SwiftShader and on a phone. Each frame also runs a second, wasted sort. The e2e pixel test checks only frame 0, where the path pose is close to the screen pose, so it can't catch this.",+ "fix": "Don't draw the screen while recording: in step(), skip the draw while `playing` (or while a recordPath is active). Another option is to set the SceneSplats' SparkRenderer autoUpdate to false for the length of recordPath, or to make onDirty a no-op while recording. Then add a check on a late path frame, for example that the prop's pixels in the last frame match a still capture taken from that frame's pose."+ },+ {+ "severity": "low",+ "verdict": "CONFIRMED (code trace)",+ "file": "src/components/cinema/scene-viewer.tsx",+ "line": 330,+ "title": "A prop made from a picture can be dropped while the toast says it is in the scene",+ "detail": "madeProp() always shows the success toast 'Your prop is in the scene'. placeCandidate() returns early when the engine or info isn't ready (for example while the scene is reloading), and setProps leaves the list unchanged when it already holds MAX_PROPS. The second case can happen because Add a prop is disabled only while the scene is full, not while a prop is being made. In both cases the prop is not added, but setPickedProp(id) still picks an id that doesn't exist and the success toast still shows. The run's splat stays in the Library, so nothing is lost, but the message is wrong.",+ "fix": "Have placeCandidate report whether it placed the prop, and show a 'scene is full' or 'try again from Add a prop' message when it didn't. You could also count `making` towards MAX_PROPS."+ },+ {+ "severity": "low",+ "verdict": "PLAUSIBLE",+ "file": "src/components/cinema/scene-viewer.tsx",+ "line": 140,+ "title": "Props state isn't reloaded when the open take changes without the viewer remounting",+ "detail": "`props` is read from localStorage only in the useState initialiser, but stateKey follows take.generation.id. workspace.tsx renders <SceneViewer take={openScene}> without a key, and setOpenScene(t) can run while a viewer is open (the 'Your 3D scene is ready → Open' toast action). If that happens, the persist effect writes the previous scene's props under the new scene's key, and the new scene shows the old scene's props. Other viewer state has the same pattern already, so the impact is small.",+ "fix": "Add key={openScene.generation.id} on <SceneViewer> in workspace.tsx, or reset props when stateKey changes."+ },+ {+ "severity": "low",+ "verdict": "CONFIRMED (code trace)",+ "file": "src/components/cinema/scene-engine.ts",+ "line": 574,+ "title": "Spark can be created on an engine that has already been disposed",+ "detail": "addProp's dynamic-import .then() builds a SceneSplats (which creates a SparkRenderer) and adds it to this.scene without checking this.disposed. The check comes after the await. If the viewer closes while the chunk is loading, a SparkRenderer is created for a disposed engine and never disposed. No sort worker starts, because nothing renders, so this is a small GPU and memory leak.",+ "fix": "Check this.disposed inside .then() before constructing SceneSplats, or dispose it there."+ },+ {+ "severity": "low",+ "verdict": "CONFIRMED (code trace)",+ "file": "src/components/cinema/scene-props.tsx",+ "line": 200,+ "title": "Keyboard users can't move a prop to an exact place",+ "detail": "Move uses three's TransformControls, which works only with a pointer. The panel gives keyboard users Size and Turn sliders and 'In front of the camera', so a keyboard user can only place a prop by flying the camera and then bringing the prop to it. The Move / Turn / Size radiogroup also has no arrow-key handling. That matches other radiogroups in the app.",+ "fix": "Optional: add nudge buttons, or arrow keys while the handle mode is Move, or note it as a follow-up."+ },+ {+ "severity": "low",+ "verdict": "CONFIRMED",+ "file": "src/components/cinema/scene-props.tsx",+ "line": 128,+ "title": "Price line reads 'Free' before any price is known",+ "detail": "`priceLine(preview.data) ?? \"Free\"` shows 'Free' while the preview is loading, when no picture has been picked, and when the preview request fails. In demo mode the loaded preview says 'Placeholder · nothing is charged', so the label changes once it loads. The Idol run on the open engine is free anyway, so this is only a wording issue.",+ "fix": "Show '…' or no price until the preview has loaded."+ },+ {+ "severity": "info",+ "verdict": "CONFIRMED",+ "file": "src/lib/scene-props.ts",+ "line": 157,+ "title": "The URL check in parseSceneState accepts protocol-relative URLs",+ "detail": "The pattern ^(\\/|https?:\\/\\/) accepts '//host/x.spz'. The data comes only from this origin's own localStorage, so this isn't exploitable. Rejecting '//' would match what the test says it guards against.",+ "fix": "Use ^(\\/(?!\\/)|https?:\\/\\/)."+ }+ ],+ "checks": [+ "Scope: git diff 61d8074e..HEAD (commits 4a8090b8 and 9cb3318b), 9 files. No server, route, DB, graph, pack, manifest, migration or hot-file changes. No Higgsfield code or media, no new model, LoRA or node pack (so no licence data was needed), no analytics.",+ "Public sign-up: no new route. Making a prop goes through the existing POST /api/generations (oss-idol, open engine), and its price through the existing POST /api/generations?preview=1. Both are already covered by PREVIEWS, priceAs and the 403 own-gpu-tool rule for 3D. propMakerBlocker mirrors make3dOffered (viewer, Paid APIs only, Idol off, no GPU), and its visitor copy has no jargon. Library candidates come from useGenerations, so visitors get EMPTY_LISTS. Props are kept only in this browser's localStorage.",+ "Engines: the cloud note says plainly that cloud filming (H3 Max on the still) and WorldCast don't show props, and that the open Uni3C path does. No local capability was removed. A cloud TripoSplat .ply from the Library can be placed, as the brief asks.",+ "Traced Spark 2.3.1 (SparkRenderer.onBeforeRender preUpdate, updateInternal, driveSort, setDirty→onDirty) against SceneEngine.step and recordPath. Result: finding 1.",+ "Verified three 0.183.2 readRenderTargetPixelsAsync: it binds PIXEL_PACK_BUFFER and leaves it bound while it polls, then binds it again before getBufferSubData. readPixels() unbinding it first is correct and safe. The other synchronous read, in blockout-engine.ts, uses its own renderer, so it isn't affected.",+ "Checked the placement maths (forward and right vectors for the YXZ yaw, so +z faces the camera), turnOver, wrapDeg, parseSceneState clamping and MAX_PROPS, TransformControls uniform scale and the Euler read-back, the removal-while-loading path in the props effect, the overlay drawn only for the screen (!out && !shot), and dispose order.",+ "npx vitest run tests/scene-props, splat-view, cinema-scene, cinema-path, camera-path, scene3d, blockout: 7 files, 146 tests passed.",+ "npx next typegen, then npx tsc --noEmit: clean. eslint on the 7 changed source and test files: clean. The worktree was left unchanged (git status clean).",+ "The e2e (tests/e2e/cinema-props.mjs) was not re-run: the path render with a prop takes several minutes on SwiftShader. I relied on the implementer's run. Its pixel check covers only frame 0 (see finding 1)."+ ],+ "verdict": "approve-with-fixes: the feature is complete against the brief, and IdolCamera orientation is reasonably left open. It follows the sign-up and engine rules, and tests and typecheck pass. Fix finding 1 before merge, because the filmed path and the blockout are this package's main output. The low findings are optional."+ },+ "fix": {+ "applied": [+ "Finding 1 (medium, path frames sorted for the on-screen camera): confirmed by reading the code. playPath relies on step() drawing, so `playing` couldn't be reused. A new `recording` flag is set for the whole of recordPath and cleared in its finally, and step() doesn't draw the screen while it is set, so Spark never starts a sort for the screen camera while a path frame waits for its own (scene-engine.ts). Covered by a source test in tests/scene-props.test.ts. tests/e2e/cinema-props.mjs now also compares the LAST frame of the path with and without the prop. Measured: 150,135 px changed (38.9%), 147,574 of them the splat's violet, 0 in the handle's colours. The first frame is unchanged: 13,310 px, 12,843 violet, 0 handle.",+ "Finding 2 (low, success toast when the prop wasn't placed): confirmed. placeCandidate now returns 'placed' | 'not-ready' | 'full'. It checks the count synchronously against propsRef and updates the ref straight away. madeProp shows the success toast only for 'placed'. Otherwise it says the prop is ready in the Library: either remove a prop and add it from Add a prop, or add it from Add a prop. Add a prop counts props being made towards MAX_PROPS (full = props + making), and the full-scene copy says so. Source test added.",+ "Finding 3 (low, props not reloaded when the take changes): confirmed. Added key={openScene.generation.id} on <SceneViewer> in workspace.tsx, so a scene opened in place of another remounts with its own props. Source test added.",+ "Finding 4 (low, Spark created on a disposed engine): confirmed. addProp's dynamic-import .then() checks this.disposed before constructing SceneSplats and rejects with AbortError, which the existing catch handles. Source test added.",+ "Finding 6 (low, 'Free' before a price is known): confirmed. The button reads 'Make the prop' until the preview returns a price, then 'Make the prop · <price>'. The e2e now asserts there is no price before a picture is picked. Source test added.",+ "Finding 7 (info, protocol-relative URLs): parseSceneState's URL check is now ^(\\/(?!\\/)|https?:\\/\\/). A '//elsewhere.example/x.spz' entry was added to the malformed-entries test."+ ],+ "rejected": [+ "Finding 5 (low, keyboard users can't move a prop to an exact place): not built, and the reviewer marked it optional. Keyboard users already have the Size and Turn sliders and 'In front of the camera' (fly the camera with the keys, then bring the prop to it). The Move / Turn / Size radiogroup behaves like the app's other radiogroups. Nudge buttons or arrow-key moves would be new UI beyond this package's fixes, so this is listed in 'left'."+ ],+ "checks": [+ "Worktree /home/user/wt/o-idol-9 on o/idol-9. Only idol-4 and idol-9 commits after the base, as expected, and claude/fuobe-parity-4 is an ancestor. pnpm install --frozen-lockfile --prefer-offline and npx next typegen: ok.",+ "pnpm typecheck: exit 0. pnpm lint: exit 0 (5 warnings, 0 errors, none in changed files).",+ "FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2: exit 1. 361/368 files and 5817 tests passed, 8 tests failed, all on the known pre-existing list in main-rules: comfy-reuse (1), dop-originals (1), preset-featured (1), soul-runs (2), split-soundtrack (1), plus picker-covers (1) and preset-covers (1), which time out under load. Rerun alone, picker-covers and preset-covers pass (36/36).",+ "Targeted: tests/scene-props, splat-view, cinema-scene, cinema-path, camera-path, scene3d and blockout: 8 files, 161 tests passed. tests/scene-props has 20 tests (16 before, 4 added).",+ "e2e: node tests/e2e/cinema-props.mjs against pnpm dev in demo mode (FUOBE_DEMO_MODE=on, port 3412, SwiftShader). 'All props checks passed', including the new last-frame check, 1440 dark/light and 390 light/dark, with no page or console errors. The first run failed only because the e2e still expected 'Make the prop · …' with no picture picked; the e2e was updated for the finding-6 change.",+ "Dev server stopped by PID, .next deleted, git status clean after commit f8cb42df. Not pushed. docs/handoff/reports/idol-4.json untouched.",+ "FINISH on o/idol-9 after merging the latest origin/claude/fuobe-parity-4 (clean merge): next typegen 0; pnpm typecheck 0; pnpm lint 0 (5 warnings, none in changed files); FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2: 375 files, 5928 passed, 6 failed, 4 skipped. All failures are the known pre-existing ones: comfy-reuse, dop-originals, preset-featured, soul-runs (2), split-soundtrack."+ ],+ "finalSummary": "idol-9 (props in Cinema Studio's 3D scene) is finished on o/idol-9. The fix commit is f8cb42df, on top of 4a8090b8 and 9cb3318b. Open engine (your ComfyUI): 'Add a prop' places a Library splat (Idol 3D .spz, or TripoSplat .ply from either engine) or makes one from a picture with Idol 3D (oss-idol). Props render inside the scene's three.js graph with move/turn/size handles, and they show in captures, blockouts and the open Fly path render that feeds Uni3C. Every path frame is now sorted for its own camera, because the screen isn't drawn while a path records. Verified in demo mode on SwiftShader with the mock's demo splat, including pixel checks on the first and last frames. A real Idol 3D run from a picture needs a GPU with the Idol weights and wasn't run here. Cloud engine: Library splats, including cloud TripoSplat .ply, can be placed, and captures and blockouts show them. The cloud Fly path (H3 Max on the still) and WorldCast film the still or its depth, so props don't show there, and the panel says so. Idol 3D isn't hosted, so making a prop from a picture is open-engine only (no cloud substitute), and 'Paid APIs only' refuses it with plain copy. Cloud filming needs a fal/Replicate key as before. Public sign-up: no new routes. Guests see empty Library lists and the plain-language reason why they can't make a prop. Accounts get the existing 403 own-gpu-tool for any 3D run (POST /api/generations), so they can't make props yet. Props are kept per scene only in the viewer's browser storage.",+ "left": [+ "Idol's predicted camera (IdolCamera) doesn't set the first orientation yet. The clean graph would need to output its yaw and pitch into the splat's meta (a validated graph change for its own package).",+ "Props live in browser localStorage per scene, not on the server, so they don't follow the user to another device. Saving them with the take needs a server change with an account-scoped check.",+ "Keyboard placement (review finding 5): there are no nudge buttons or arrow-key moves for Move. Keyboard users place a prop by flying the camera and using 'In front of the camera', Size and Turn.",+ "Path render speed with props on a real GPU and on phones is not measured. On SwiftShader each frame waits for Spark's sort, which takes minutes per path.",+ "minAlpha 1/16 has not been tuned on a real Idol splat. Picking a prop by clicking it in the view isn't built; props are picked from the list.",+ "The e2e checks that the prop is present and correctly coloured in the first and last path frames. It does not measure whether the sort order is visually right on a real GPU.",+ "No graphs were added, so workflows/comfyui/requirements.json and its budget are unchanged."+ ],+ "blocked": ""+ },+ "merge": {+ "merged": [+ "o/idol-9"+ ],+ "notMerged": [],+ "conflicts": "none (branched from o/idol-4; the base's idol-4 report kept)",+ "checks": "idol-9 alone: typecheck 0, lint 0, vitest 5992 passed, 6 failed (main known); checked by an independent verifier",+ "pushed": true,+ "head": "94d56bb4"+ }+}diff --git a/docs/handoff/reports/nm10-hy-nomas-world.json b/docs/handoff/reports/nm10-hy-nomas-world.jsonindex 2156740c..48b13de9 100644--- a/docs/handoff/reports/nm10-hy-nomas-world.json+++ b/docs/handoff/reports/nm10-hy-nomas-world.json@@ -1,117 +1,127 @@{- "key": "nm10-hy-nomas-world",- "impl": {- "branch": "o/nm10-hy-nomas-world",- "summary": "World mode on your GPU. Cinema gets a World take: you write the opening (the world in words, who the camera follows, the camera and the look), then add turns. Each turn has what changes, what the subject does, a camera move from the fly-path library (or Still) and 3-12 s. The panel has Run turn, Redo from here (the turns before it stay), a top-down view of the camera path, Export (the turns joined into one film on the open engine's packet join) and links to Sound for video and Music, because Hy-Nomas makes no sound. It runs on Hy-Nomas (Tencent, Apache-2.0) through Nynxz's ComfyUI-HyNomas port, which is pinned with its converted weights. The new pure converter src/lib/world-path.ts turns Fuobe camera paths into Tencent's trajectory (OpenCV c2ws plus normalised intrinsics at 24 fps, gains 1.0 / 2.5) and into the key script the port reads. Assist gets world_film ('a 60 s walk-through' = the opening plus four 12 s turns). There is a GPU pre-flight row 'World mode' and licence rows. Open engine only: the cloud says it runs on your GPU, and 'Paid APIs only' hides the World chip. fal's worlds models are recorded in research as different models. Nothing from the plan existed before; the camera-path library (src/lib/camera-path.ts framePoses / presets, N7-5) was reused.",- "built": [- "Port and weights: packs.json pins ComfyUI-HyNomas at a89e0515 (Apache-2.0, no Python deps, not in the Comfy Registry) and install-comfyui.sh installs it. model-pins.json pins nynxz/Hy-Nomas at e8ddc4bf with sha256: int8 ConvRot DiT 8.97 GB, PixelUMM VAE 15.78 GB, and the bf16 DiT 17.11 GB as optional. The text encoder qwen_2.5_vl_7b was already pinned (Comfy-Org/Qwen-Image) and is shared, so the new files come to about 24.8 GB. library.spec.mjs has PACK_CLASSES and KNOWN_MODELS entries. object_info.subset.json has the 6 Nomas node definitions, written by hand from nomas/nodes.py at the pin. manifest.json and requirements.json were rebuilt (validated:false, like the other packs that are not on the validation server).",- "History between /prompt calls: the port keeps a world in ComfyUI's memory (the NOMAS_WORLD output plus an int8 KV cache in temp/nomas_history). Separate prompts share it only through ComfyUI's output cache, or through the Nomas Explore node's in-process sessions, which only accept keyboard input. So the graph world-hy-nomas-turn (scripts/comfy/hand-built, based on the port's nomas_world example) is rebuilt per run by src/lib/world.ts expandWorldWorkflow (expand:'world'). It holds the opening plus one NomasWorldContinue per turn up to k, with stable node ids and inputs, then TrimVideoLatent cuts off the earlier turns' latents, then VAEDecode, CreateVideo 24 fps and SaveVideo. So turn k decodes only its own frames, and ComfyUI reuses turns 0..k-1 while it still holds them. If it doesn't (another job ran, or a restart), it makes them again from the script's fixed seed and gets the same world. This is the 'whole film as N turns' fallback, made incremental.",- "src/lib/world-path.ts: worldTrajectory (the turns chained, each starting where the last stopped), worldIntrinsic (fx=f/W, fy=f/H, cx=cy=0.5 as generate_npz_trajectories.py writes them), WORLD_SCALES {translation 1.0, rotation 2.5}, turnPoses. steerTicks/worldScripts fly a simulation of the port's Pose (W/S along the view, A/D strafe, arrows at 20°/s, mouse at 0.0024 rad/px) along the path in closed loop. Mouse-drag ticks catch up turns faster than the arrows can, and the heading carries from turn to turn. ticksScript/parseScript write and read the port's script; pathSketch gives the preview.",- "src/lib/world.ts: the script model (opening plus turns, seed), limits (3-12 s in 0.5 s steps, 10 turns, 120 s), the port's latent arithmetic (turnLatents/latentsBefore/clipSeconds), subject → <|Subject1|>, turn state (scriptKey, clipsFromTakes with Redo-from-here cut-offs, nextTurn, canRun, redoFrom, exportClips) and the graph expansion.",- "Catalog: new op 'world-turn' (types, labels, output video, PROMPTLESS, script check in planGeneration). New model oss-hy-nomas-world (open, hidden from the studio menus, comfy route world-hy-nomas-turn). The comfyui provider reads params.extra.world/turn, always uses the script's seed, and expands the graph.",- "Cinema: CinemaAction 'world' with planWorld (open only: the cloud gets WORLD_OPEN_ONLY and no stand-in; notes; free) and Export through oss-join-encoded. The take remembers {turn, script, made, joined}. cinema-schemas has WorldSchema. UI: src/components/cinema/world-panel.tsx, a World chip in the prompt bar (video mode, hidden under 'Paid APIs only'), and /cinema?world=1 on the projects list and in the workspace.",- "Assist: world_film studio tool (worldFilmSteps: each turn after the one before, then a join; refused under 'Paid APIs only'), plus a mention in the agent prompt.",- "GPU pre-flight: STUDIO_ROWS 'World mode' (/cinema?world=1: world-turn plus the join), vramGb 24 (a guess). Licences: the workflow's licence text is Apache-2.0 for the DiT and NVIDIA One-Way Noncommercial (NON-COMMERCIAL) for the PixelUMM decoder, per the nynxz card. Qwen2.5-VL is Apache-2.0. NODE_PACKS has ComfyUI-HyNomas as Apache-2.0.",- "Research: docs/research/new-models-10.json. The Hy-Nomas record is updated with the licence read from the LICENSE file at bb6a8ca4, the port pin and the history finding, and inFuobe is now true. Prices were added to H3 Max Director ($0.08/s, 60 s minimum, November promo), and new records were added for Abot World 0 (commercial), Lingbot World 2 (research licence) and VAST Eden Live 5B/14B ($0.0035 / $0.01 per s, 10 s minimum), all as different models whose use is the owner's call."- ],- "tests": [- "New tests/world-path.test.ts (16): matrix conventions (rigid, OpenCV axes, dolly +z, truck +x, arc turning back to the subject), intrinsics, frame counts (24 fps + 1), default gains, chaining, still turns, the key script read back by the port's rules at exactly one tick per frame, W/S/A/D for dolly and trucks, heading accuracy along orbits, the figure-8 and the push-pull arc, mouse drags for fast rings, heading carried across turns, and the port's control speeds.",- "New tests/world-mode.test.ts (21): library entry, pins, licence and install line. The template and the expanded graphs pass a node-list validator against the port's definitions (input names, required inputs, link types). Also covered: stable ids so the cache can reuse turns, trim amounts, the subject token, latent arithmetic, refusals, normalisation, turn state (stale, running, failed, Redo from here, export), the provider's bindings (script seed, trim 56), the planner (cloud refused, free open turn, join), a demo-mode API run filed as a take with take.world, the Assist 60 s film, and the STUDIO_ROWS row.",- "Edited tests: comfy-library-4 (world-hy-nomas-turn added to the unvalidated list) and assist-context (world_film samples, and OPEN_ONLY now includes world_film).",- "Targeted runs pass: 32 files, 602 tests (world-*, comfy-library-4/7, comfy, gpu-*, model-access, kandinsky6, idol-clean, speech-edit-comfy, blockout, camera-path, fly-around, assist-context, assist-studio-routes, public-signup(+tools), fake-local-comfy, cloud-catalog(-4), reuse-pack-pin, catalog, cinema*, licences, canvas-models).",- "The full Vitest run (one attempt) hit the 30-minute background limit before finishing. The failures it reported before then are all on the known list: comfy-reuse, dop-originals, soul-runs (2), split-soundtrack, and preset-covers (a timeout under load).",- "tsc --noEmit is clean, and eslint is clean on the changed files.",- "Browser: tests/e2e/cinema-world.mjs passed against pnpm dev in demo mode. At 1440 light on the open engine it ran the opening, added a turn, previewed the path, ran turn 1 and exported. At 1440 dark on the cloud engine it showed the 'Runs on your GPU' notice with the switch. At 390 px light and dark nothing scrolls sideways. It recorded no page or console errors (no filters). The server was stopped and .next deleted.",- "No GPU here: every speed figure is the port author's. The graph has not run live: the pack isn't installed on the CPU ComfyUI, and packs weren't installed, as the rules require."- ],- "left": [- "Live run on a GPU with ComfyUI-HyNomas installed. Still unverified: that VAE Decode accepts the trimmed 5D latent, the turn speed, and that ComfyUI's cache really reuses the chain between prompts. Newer ComfyUI cache modes (LRU or RAM-pressure) should also reuse it; with --cache-none every turn regenerates the whole chain.",- "The CPU validation server does not have the pack, so world-hy-nomas-turn stays validated:false. tests/comfy-library-4.test.ts got its one allowed edit: the new id added to the unvalidated list.",- "Redo from here with unchanged words gives the same turn, because the port's noise is a seeded bank. A different take needs changed words or a changed move; the button's tooltip says so. A per-turn re-roll would need a port change.",- "The port only reads camera poses, not intrinsics: worldIntrinsic exists for Tencent's .npz form, and Fuobe doesn't run Tencent's runtime. Keys can't rise straight up, so height changes are flown along the tilted view.",- "The 24 GB VRAM figure is a guess. Tencent's 4090 configuration uses an FP8 decoder, which the port doesn't ship (it refuses Tencent's int8 file).",- "Whether to offer fal's worlds models (H3 Max Director, Abot World 0, Lingbot World 2, Eden Live) under their own names is the owner's call; they are recorded in research only."- ],- "docsNotes": [- "The brief named the text encoder as 'Comfy-Org/Qwen-Image_ComfyUI'. The pinned qwen_2.5_vl_7b.safetensors actually comes from Comfy-Org/Qwen-Image @1f12b17b, which was already in KNOWN_MODELS. The fp8_scaled variant lives in Qwen-Image_ComfyUI.",- "Brief out of date or unclear: the 'trajectory file' is what Tencent's runtime reads; the ComfyUI port reads WASD/mouse scripts (NomasCameraPath) instead, so the converter produces both.",- "Licence correction: Hy-Nomas itself is Apache-2.0, but the PixelUMM decoder weights (which both the converted and Tencent's files are) are under the NVIDIA One-Way Noncommercial License per nynxz's card. The PE is in Tencent's Apache-2.0 repo (~55 GB, 18 shards) and is not used.",- "FEATURES/STATUS: Cinema → World (World chip, /cinema?world=1), Assist world_film, GPU board row 'World mode', Models & licences rows (ComfyUI-HyNomas pack Apache-2.0; workflow non-commercial flag from the PixelUMM decoder).",- "ARCHITECTURE: src/lib/world.ts (script, turn state, expand:'world'), src/lib/world-path.ts (camera converter), op 'world-turn', CinemaAction 'world', and the take's world info.",- "SELF-HOSTING: about 24.8 GB of new files plus the shared 16.6 GB Qwen2.5-VL; install-comfyui.sh adds ComfyUI-HyNomas."- ],- "blocked": ""- },- "review": {- "findings": [- {- "severity": "medium",- "category": "correctness",- "verdict": "CONFIRMED",- "file": "src/components/cinema/world-panel.tsx",- "line": 106,- "summary": "The browser matches a turn's clip against the raw script it is editing, but the server stamps the take with the key of the cleaned-up script. When the two differ, a turn that finished correctly shows as 'Changed: run it again'. The next turn and Export then stay blocked until the page is reloaded.",- "failure_scenario": "Write the opening as 'A forest at dusk. ' (a trailing space, or a newline at the end of the textarea) and press Run the opening. worldTake (src/lib/catalog/cinema.ts:2572) builds `made` with scriptKey(normalizeWorld(script)), and normalizeWorld trims the words. The panel calls clipsFromTakes(w, …) with the untrimmed state `w`, so scriptKey(w,0) !== take.made. The result is clips=[undefined] and states=['stale']. Checked two ways. A scratch vitest probe returned made===key false and states ['stale']. A demo-mode browser probe on :3417 showed 'Changed: run it again' and no 'Ready' after the opening's take succeeded. The same mismatch happens for leading or trailing spaces in the subject, details, action or turn words, and for a typed length that isn't a half-second step (4.3 s is rounded to 4.5 on the server). A reload hides the problem only because restore() normalises the stored script. Fix: key and send the normalised script on the client (normalizeWorld(w) for clipsFromTakes, input() and plan), or compare keys after normalising both sides. Add a test with untrimmed words."- },- {- "severity": "low",- "category": "quality",- "verdict": "PLAUSIBLE",- "file": "src/lib/world.ts",- "line": 380,- "summary": "Each turn's latents are trimmed and decoded alone. The PixelUMM decoder then starts every turn with no earlier latents as context, and its window noise is seeded from absolute frame 0 instead of the turn's real offset. The exported join can therefore show a visible seam at every turn boundary.",- "failure_scenario": "Read in the port at a89e0515. integration.PixelUMMVAE.decode calls pixelumm.decode_clip(latent), which runs decode_windows with offset=0. The port's own continuation path, decode_tail, re-decodes STRIDE=5 latents before the new frames, passes offset=start and cross-fades the overlap 'for continuity'. TrimVideoLatent → VAEDecode skips both, so frame 0 of turn k is decoded cold. oss-join-encoded joins packets without re-encoding, so nothing smooths the cut. This can't be checked without a GPU. The 'left' list mentions the 5D decode as unverified, but not the seam. Possible fix: trim to latentsBefore−5, then cut the first 20 pixel frames after decode, so the decoder gets the port's context."- },- {- "severity": "low",- "category": "correctness",- "verdict": "CONFIRMED",- "file": "src/components/cinema/world-panel.tsx",- "line": 133,- "summary": "Redo-from-here cut-offs (redoAt) live only in component state. After the panel is closed or the page reloaded, the takes made before the redo count as current clips for the later turns again.",- "failure_scenario": "Turns 0–2 are done. Press Redo from here on turn 1 and close or reload before turn 2 is re-run. clipsFromTakes loses redoAt, and the old turn-2 take still matches scriptKey (the script is unchanged), so it shows as Ready and goes into Export. The harm is small today, because the port's noise is seeded and an unchanged redo gives identical frames. It still contradicts the button's promise. Each turn's 'films this turn again and the ones after it' should survive a reload, for example stored with the script in localStorage or as a take field."- }- ],- "checks": [- "Read the whole diff claude/fuobe-parity-4...o/nm10-hy-nomas-world (33 files) and the code around it: comfyui provider prepareWorkflow, planGeneration, cinema planner and generateInProject, hosted-run decidePlace/poolQuote, guest-access.",- "Cloned Nynxz/ComfyUI-HyNomas at a89e0515 as data and read nomas/nodes.py, world.py, camera.py, prompt.py, integration.py, pixelumm.py. Node inputs and outputs match the template and expansion: NomasWorldGenerate/Continue give (LATENT, NOMAS_WORLD), and world is [id,1]. World.latent() concatenates every segment, so TrimVideoLatent by latentsBefore leaves turn k only. The latent arithmetic matches the port in all cases: with a camera, len(ticks)//4+1; without one, (max(round(s*24),5)-1)//4+1, and the opening's bounds use int(s*24), which is exact on half seconds. Continue forks the world, so cached upstream outputs are not mutated. PortPose forward/right/yaw/pitch match camera.Pose. The script's tick count equals turnFrames, and 'look … 0.0417' parses to one tick.",- "Primary sources: the HF tree of nynxz/Hy-Nomas at e8ddc4bf matches the pinned sizes and sha256 of all three files. The model card says licence 'apache-2.0-and-nvidia-one-way-noncommercial'. The port's LICENSE is Apache-2.0. The licence data is recorded in NODE_PACKS and in the manifest licence text, which is flagged NON-COMMERCIAL.",- "Live CPU ComfyUI object_info: the TrimVideoLatent, VAEDecode, CreateVideo, SaveVideo, CLIPLoader (qwen_image) and UNETLoader inputs match the template.",- "node scripts/comfy/build-requirements.mjs left requirements.json unchanged (up to date). The STUDIO_ROWS 'World mode' row is present. tests/comfy-library-4 has only the allowed edit (the new id in the unvalidated list).",- "Cloud and Paid-APIs-only: planWorld refuses any engine but open with WORLD_OPEN_ONLY and no stand-in. The World chip and panel are hidden when engineMode is cloud. Assist world_film throws under 'Paid APIs only'. No Higgsfield API or media, and no LoRA files committed. No new route, so public sign-up gating is inherited (cinema project generation is already a library change). The script travels in params.extra and is normalised and size-bounded server-side. No file inputs for a turn. The join's clips are FileRefs.",- "npx next typegen && tsc --noEmit: clean.",- "vitest: world-path, world-mode, comfy-library-4, assist-context, licences: 5 files, 130 tests pass. cinema, cinema-api, gpu-requirements, gpu-readiness, public-signup, public-signup-tools, assist-studio-routes, camera-path, comfy, model-access-studios: 10 files, 225 tests pass. A larger 29-file batch hit my 900 s timeout before reporting and was not rerun as one batch.",- "Browser: FUOBE_DEMO_MODE=on next dev on http://localhost:3417. tests/e2e/cinema-world.mjs passed: 1440 light open engine (opening, turn, path, export), 1440 dark cloud notice, 390 light and dark with no sideways scroll, no console or page errors. A separate probe confirmed finding 1 in the browser (trailing space → 'Changed: run it again'). The server was stopped with fuser -k -n tcp 3417 and .next deleted. The worktree is clean."- ],- "verdict": "changes-requested: the build is sound against the port and pins, tsc is clean and the targeted tests and the browser check pass. One confirmed medium bug needs fixing first: the World panel compares its raw script with the server's normalised script key, so ordinary input such as trailing spaces leaves a finished turn showing 'Changed: run it again' and blocks the next turn and Export until a reload. The two low findings (decode seams at turn boundaries, Redo cut-offs not persisted) can be fixed or recorded in 'left'."- },- "fix": {- "applied": [- "Finding 1 (medium, confirmed): the World panel's turn state no longer goes stale when the fields have stray spaces or a length off the half second. scriptKey in src/lib/world.ts now keys normalizeWorld(script), so the browser's key and the server's take key (worldTake) agree. The panel (src/components/cinema/world-panel.tsx) also works from the tidied script for everything it sends, keys and checks: clipsFromTakes, nextTurn, canRun, exportClips, worldProblem, the plan, the request body, the totals, the timeline and the path sketch. The fields still show what was typed. New unit test: untrimmed opening, subject and turn words plus a 4.3 s length are matched against the take the server files. tests/e2e/cinema-world.mjs now types stray spaces and checks that 'Changed: run it again' doesn't show after the opening is ready.",- "Finding 3 (low, confirmed): Redo from here now survives closing the panel or reloading. clipsFromTakes only counts a turn's take if it was made after the current clips of the turns before it, because the world continues from those clips. So once a redone turn has a newer take, the later turns' older takes stop counting, and this is worked out from the takes themselves with nothing stored. If a redo fails, the earlier film stands. The in-memory redoAt still covers the moment before the new take shows up. New unit test covers a reload after a redo, a running redo and a failed redo."- ],- "rejected": [- "Finding 2 (low, plausible: possible decode seams at turn boundaries, because each turn's latents are trimmed and decoded with no context and the decoder's window noise starts at offset 0). Not changed. It can't be checked without a GPU. The suggested fix would change the trim arithmetic, which is currently checked against the port, and would add a pixel-frame cut whose size depends on PixelUMM's undocumented causal frame layout for a decode that starts partway through. The noise offset can't be set through stock nodes at all. Recorded in 'left' to settle on the first live GPU run."- ],- "checks": [- "Worktree /home/user/wt/o-nm10-hy-nomas-world on o/nm10-hy-nomas-world: holds only this package's commits, and claude/fuobe-parity-4 is an ancestor.",- "Before fixing, read both confirmed findings against the code: worldTake keys normalizeWorld(script) while the panel keyed the raw script, and redoAt lived only in component state.",- "vitest: world-mode, world-path, cinema, cinema-api, assist-context: 5 files, 100 tests pass, including the 2 new ones. Full suite not run, as instructed (the coordinator runs it).",- "npx next typegen, then tsc --noEmit: clean. pnpm typecheck under the default heap ran out of memory (exit 134), so it was rerun with NODE_OPTIONS=--max-old-space-size=6144 and passed with exit 0.",- "pnpm lint: exit 0 (0 errors; 5 warnings, none in the changed files).",- "Browser: FUOBE_DEMO_MODE=on next dev on http://localhost:3419 with tests/e2e/cinema-world.mjs, which now types stray spaces and asserts there is no 'Changed: run it again'. Passed: 1440 light open engine (opening, turn, path, export), 1440 dark cloud notice, 390 light and dark fit, no console or page errors. Server stopped with fuser -k -n tcp 3419, .next deleted, git status clean.",- "Committed 29255479 with the attribution lines; not pushed.",- "Coordinator FINISH: merged origin/claude/fuobe-parity-4 (already up to date); npx next typegen exit 0; NODE_OPTIONS=--max-old-space-size=8192 pnpm typecheck exit 0; pnpm lint exit 0 (0 errors, 5 warnings); full vitest: 5825 passed, 8 failed, 4 skipped. 2 failures were this package (tests/comfy-library-notes: the world-hy-nomas-turn notes named source files and said \"a guess\"); the notes were rewritten in library.spec.mjs and the same text edited into manifest.json (build-library not re-run), and comfy-library-notes, world-mode and comfy-library-4 then pass (325 tests). The 6 remaining failures are the known pre-existing ones: comfy-reuse, dop-originals, preset-featured, soul-runs (2), split-soundtrack."- ],- "finalSummary": "World mode in Cinema, now with the review's confirmed fixes. Open engine (your ComfyUI): Hy-Nomas turns through ComfyUI-HyNomas (pinned a89e0515) with its converted weights pinned by sha256. The world-hy-nomas-turn graph is rebuilt per turn and the camera paths are converted by src/lib/world-path.ts. The World panel covers the opening, turns, the path preview, Run turn, Redo from here and Export (the turns joined on the open engine), then links to Sound for video and Music. Assist has world_film, and there is a GPU board row 'World mode' (24 GB is a guess) plus licence rows (the port is Apache-2.0; the PixelUMM decoder is NVIDIA non-commercial). Verified: unit tests, the graph checked against the port's node definitions and the live CPU ComfyUI's stock nodes, typecheck, lint, and the demo-mode browser run. Built but not run live: a real turn on a GPU (the pack isn't installed on the CPU server). Cloud engine: no route, because Hy-Nomas isn't hosted. The panel says it runs on your GPU (open source), 'Paid APIs only' hides the World chip, and Assist refuses world_film there. fal's worlds models are recorded in research only. Public sign-up: no new route. Guests browse read-only. Accounts run World turns only on their own GPU through the existing Cinema generation path (cinema project changes are already gated as library changes). Turns take no file inputs, and the join takes the account's own clip references.",- "left": [- "Live GPU run with ComfyUI-HyNomas installed. Still to confirm: that VAE Decode accepts the trimmed 5D latent, the turn speed, that ComfyUI's cache reuses the chain between prompts, and whether turn boundaries show a decode seam (each turn is decoded with no previous latents as context, and PixelUMM's window noise starts at offset 0). If there is a seam, trim to latentsBefore-5 and cut the extra decoded frames, or ask the port for an offset input.",- "world-hy-nomas-turn stays validated:false because the CPU validation server doesn't have the pack. tests/comfy-library-4.test.ts has its one allowed edit: the new id added to the unvalidated list.",- "An unchanged Redo from here gives the same frames, because the port's noise is seeded. A per-turn re-roll would need a port change.",- "The 24 GB VRAM figure is a guess. Tencent's 4090 configuration uses an FP8 decoder, which the port doesn't ship.",- "Whether to offer fal's worlds models (H3 Max Director, Abot World 0, Lingbot World 2, Eden Live) under their own names is the owner's call.",- "Full Vitest suite to be run by the coordinator."- ],- "blocked": ""- }+ "key": "nm10-hy-nomas-world",+ "impl": {+ "branch": "o/nm10-hy-nomas-world",+ "summary": "World mode on your GPU. Cinema gets a World take: you write the opening (the world in words, who the camera follows, the camera and the look), then add turns. Each turn has what changes, what the subject does, a camera move from the fly-path library (or Still) and 3-12 s. The panel has Run turn, Redo from here (the turns before it stay), a top-down view of the camera path, Export (the turns joined into one film on the open engine's packet join) and links to Sound for video and Music, because Hy-Nomas makes no sound. It runs on Hy-Nomas (Tencent, Apache-2.0) through Nynxz's ComfyUI-HyNomas port, which is pinned with its converted weights. The new pure converter src/lib/world-path.ts turns Fuobe camera paths into Tencent's trajectory (OpenCV c2ws plus normalised intrinsics at 24 fps, gains 1.0 / 2.5) and into the key script the port reads. Assist gets world_film ('a 60 s walk-through' = the opening plus four 12 s turns). There is a GPU pre-flight row 'World mode' and licence rows. Open engine only: the cloud says it runs on your GPU, and 'Paid APIs only' hides the World chip. fal's worlds models are recorded in research as different models. Nothing from the plan existed before; the camera-path library (src/lib/camera-path.ts framePoses / presets, N7-5) was reused.",+ "built": [+ "Port and weights: packs.json pins ComfyUI-HyNomas at a89e0515 (Apache-2.0, no Python deps, not in the Comfy Registry) and install-comfyui.sh installs it. model-pins.json pins nynxz/Hy-Nomas at e8ddc4bf with sha256: int8 ConvRot DiT 8.97 GB, PixelUMM VAE 15.78 GB, and the bf16 DiT 17.11 GB as optional. The text encoder qwen_2.5_vl_7b was already pinned (Comfy-Org/Qwen-Image) and is shared, so the new files come to about 24.8 GB. library.spec.mjs has PACK_CLASSES and KNOWN_MODELS entries. object_info.subset.json has the 6 Nomas node definitions, written by hand from nomas/nodes.py at the pin. manifest.json and requirements.json were rebuilt (validated:false, like the other packs that are not on the validation server).",+ "History between /prompt calls: the port keeps a world in ComfyUI's memory (the NOMAS_WORLD output plus an int8 KV cache in temp/nomas_history). Separate prompts share it only through ComfyUI's output cache, or through the Nomas Explore node's in-process sessions, which only accept keyboard input. So the graph world-hy-nomas-turn (scripts/comfy/hand-built, based on the port's nomas_world example) is rebuilt per run by src/lib/world.ts expandWorldWorkflow (expand:'world'). It holds the opening plus one NomasWorldContinue per turn up to k, with stable node ids and inputs, then TrimVideoLatent cuts off the earlier turns' latents, then VAEDecode, CreateVideo 24 fps and SaveVideo. So turn k decodes only its own frames, and ComfyUI reuses turns 0..k-1 while it still holds them. If it doesn't (another job ran, or a restart), it makes them again from the script's fixed seed and gets the same world. This is the 'whole film as N turns' fallback, made incremental.",+ "src/lib/world-path.ts: worldTrajectory (the turns chained, each starting where the last stopped), worldIntrinsic (fx=f/W, fy=f/H, cx=cy=0.5 as generate_npz_trajectories.py writes them), WORLD_SCALES {translation 1.0, rotation 2.5}, turnPoses. steerTicks/worldScripts fly a simulation of the port's Pose (W/S along the view, A/D strafe, arrows at 20°/s, mouse at 0.0024 rad/px) along the path in closed loop. Mouse-drag ticks catch up turns faster than the arrows can, and the heading carries from turn to turn. ticksScript/parseScript write and read the port's script; pathSketch gives the preview.",+ "src/lib/world.ts: the script model (opening plus turns, seed), limits (3-12 s in 0.5 s steps, 10 turns, 120 s), the port's latent arithmetic (turnLatents/latentsBefore/clipSeconds), subject → <|Subject1|>, turn state (scriptKey, clipsFromTakes with Redo-from-here cut-offs, nextTurn, canRun, redoFrom, exportClips) and the graph expansion.",+ "Catalog: new op 'world-turn' (types, labels, output video, PROMPTLESS, script check in planGeneration). New model oss-hy-nomas-world (open, hidden from the studio menus, comfy route world-hy-nomas-turn). The comfyui provider reads params.extra.world/turn, always uses the script's seed, and expands the graph.",+ "Cinema: CinemaAction 'world' with planWorld (open only: the cloud gets WORLD_OPEN_ONLY and no stand-in; notes; free) and Export through oss-join-encoded. The take remembers {turn, script, made, joined}. cinema-schemas has WorldSchema. UI: src/components/cinema/world-panel.tsx, a World chip in the prompt bar (video mode, hidden under 'Paid APIs only'), and /cinema?world=1 on the projects list and in the workspace.",+ "Assist: world_film studio tool (worldFilmSteps: each turn after the one before, then a join; refused under 'Paid APIs only'), plus a mention in the agent prompt.",+ "GPU pre-flight: STUDIO_ROWS 'World mode' (/cinema?world=1: world-turn plus the join), vramGb 24 (a guess). Licences: the workflow's licence text is Apache-2.0 for the DiT and NVIDIA One-Way Noncommercial (NON-COMMERCIAL) for the PixelUMM decoder, per the nynxz card. Qwen2.5-VL is Apache-2.0. NODE_PACKS has ComfyUI-HyNomas as Apache-2.0.",+ "Research: docs/research/new-models-10.json. The Hy-Nomas record is updated with the licence read from the LICENSE file at bb6a8ca4, the port pin and the history finding, and inFuobe is now true. Prices were added to H3 Max Director ($0.08/s, 60 s minimum, November promo), and new records were added for Abot World 0 (commercial), Lingbot World 2 (research licence) and VAST Eden Live 5B/14B ($0.0035 / $0.01 per s, 10 s minimum), all as different models whose use is the owner's call."+ ],+ "tests": [+ "New tests/world-path.test.ts (16): matrix conventions (rigid, OpenCV axes, dolly +z, truck +x, arc turning back to the subject), intrinsics, frame counts (24 fps + 1), default gains, chaining, still turns, the key script read back by the port's rules at exactly one tick per frame, W/S/A/D for dolly and trucks, heading accuracy along orbits, the figure-8 and the push-pull arc, mouse drags for fast rings, heading carried across turns, and the port's control speeds.",+ "New tests/world-mode.test.ts (21): library entry, pins, licence and install line. The template and the expanded graphs pass a node-list validator against the port's definitions (input names, required inputs, link types). Also covered: stable ids so the cache can reuse turns, trim amounts, the subject token, latent arithmetic, refusals, normalisation, turn state (stale, running, failed, Redo from here, export), the provider's bindings (script seed, trim 56), the planner (cloud refused, free open turn, join), a demo-mode API run filed as a take with take.world, the Assist 60 s film, and the STUDIO_ROWS row.",+ "Edited tests: comfy-library-4 (world-hy-nomas-turn added to the unvalidated list) and assist-context (world_film samples, and OPEN_ONLY now includes world_film).",+ "Targeted runs pass: 32 files, 602 tests (world-*, comfy-library-4/7, comfy, gpu-*, model-access, kandinsky6, idol-clean, speech-edit-comfy, blockout, camera-path, fly-around, assist-context, assist-studio-routes, public-signup(+tools), fake-local-comfy, cloud-catalog(-4), reuse-pack-pin, catalog, cinema*, licences, canvas-models).",+ "The full Vitest run (one attempt) hit the 30-minute background limit before finishing. The failures it reported before then are all on the known list: comfy-reuse, dop-originals, soul-runs (2), split-soundtrack, and preset-covers (a timeout under load).",+ "tsc --noEmit is clean, and eslint is clean on the changed files.",+ "Browser: tests/e2e/cinema-world.mjs passed against pnpm dev in demo mode. At 1440 light on the open engine it ran the opening, added a turn, previewed the path, ran turn 1 and exported. At 1440 dark on the cloud engine it showed the 'Runs on your GPU' notice with the switch. At 390 px light and dark nothing scrolls sideways. It recorded no page or console errors (no filters). The server was stopped and .next deleted.",+ "No GPU here: every speed figure is the port author's. The graph has not run live: the pack isn't installed on the CPU ComfyUI, and packs weren't installed, as the rules require."+ ],+ "left": [+ "Live run on a GPU with ComfyUI-HyNomas installed. Still unverified: that VAE Decode accepts the trimmed 5D latent, the turn speed, and that ComfyUI's cache really reuses the chain between prompts. Newer ComfyUI cache modes (LRU or RAM-pressure) should also reuse it; with --cache-none every turn regenerates the whole chain.",+ "The CPU validation server does not have the pack, so world-hy-nomas-turn stays validated:false. tests/comfy-library-4.test.ts got its one allowed edit: the new id added to the unvalidated list.",+ "Redo from here with unchanged words gives the same turn, because the port's noise is a seeded bank. A different take needs changed words or a changed move; the button's tooltip says so. A per-turn re-roll would need a port change.",+ "The port only reads camera poses, not intrinsics: worldIntrinsic exists for Tencent's .npz form, and Fuobe doesn't run Tencent's runtime. Keys can't rise straight up, so height changes are flown along the tilted view.",+ "The 24 GB VRAM figure is a guess. Tencent's 4090 configuration uses an FP8 decoder, which the port doesn't ship (it refuses Tencent's int8 file).",+ "Whether to offer fal's worlds models (H3 Max Director, Abot World 0, Lingbot World 2, Eden Live) under their own names is the owner's call; they are recorded in research only."+ ],+ "docsNotes": [+ "The brief named the text encoder as 'Comfy-Org/Qwen-Image_ComfyUI'. The pinned qwen_2.5_vl_7b.safetensors actually comes from Comfy-Org/Qwen-Image @1f12b17b, which was already in KNOWN_MODELS. The fp8_scaled variant lives in Qwen-Image_ComfyUI.",+ "Brief out of date or unclear: the 'trajectory file' is what Tencent's runtime reads; the ComfyUI port reads WASD/mouse scripts (NomasCameraPath) instead, so the converter produces both.",+ "Licence correction: Hy-Nomas itself is Apache-2.0, but the PixelUMM decoder weights (which both the converted and Tencent's files are) are under the NVIDIA One-Way Noncommercial License per nynxz's card. The PE is in Tencent's Apache-2.0 repo (~55 GB, 18 shards) and is not used.",+ "FEATURES/STATUS: Cinema → World (World chip, /cinema?world=1), Assist world_film, GPU board row 'World mode', Models & licences rows (ComfyUI-HyNomas pack Apache-2.0; workflow non-commercial flag from the PixelUMM decoder).",+ "ARCHITECTURE: src/lib/world.ts (script, turn state, expand:'world'), src/lib/world-path.ts (camera converter), op 'world-turn', CinemaAction 'world', and the take's world info.",+ "SELF-HOSTING: about 24.8 GB of new files plus the shared 16.6 GB Qwen2.5-VL; install-comfyui.sh adds ComfyUI-HyNomas."+ ],+ "blocked": ""+ },+ "review": {+ "findings": [+ {+ "severity": "medium",+ "category": "correctness",+ "verdict": "CONFIRMED",+ "file": "src/components/cinema/world-panel.tsx",+ "line": 106,+ "summary": "The browser matches a turn's clip against the raw script it is editing, but the server stamps the take with the key of the cleaned-up script. When the two differ, a turn that finished correctly shows as 'Changed: run it again'. The next turn and Export then stay blocked until the page is reloaded.",+ "failure_scenario": "Write the opening as 'A forest at dusk. ' (a trailing space, or a newline at the end of the textarea) and press Run the opening. worldTake (src/lib/catalog/cinema.ts:2572) builds `made` with scriptKey(normalizeWorld(script)), and normalizeWorld trims the words. The panel calls clipsFromTakes(w, …) with the untrimmed state `w`, so scriptKey(w,0) !== take.made. The result is clips=[undefined] and states=['stale']. Checked two ways. A scratch vitest probe returned made===key false and states ['stale']. A demo-mode browser probe on :3417 showed 'Changed: run it again' and no 'Ready' after the opening's take succeeded. The same mismatch happens for leading or trailing spaces in the subject, details, action or turn words, and for a typed length that isn't a half-second step (4.3 s is rounded to 4.5 on the server). A reload hides the problem only because restore() normalises the stored script. Fix: key and send the normalised script on the client (normalizeWorld(w) for clipsFromTakes, input() and plan), or compare keys after normalising both sides. Add a test with untrimmed words."+ },+ {+ "severity": "low",+ "category": "quality",+ "verdict": "PLAUSIBLE",+ "file": "src/lib/world.ts",+ "line": 380,+ "summary": "Each turn's latents are trimmed and decoded alone. The PixelUMM decoder then starts every turn with no earlier latents as context, and its window noise is seeded from absolute frame 0 instead of the turn's real offset. The exported join can therefore show a visible seam at every turn boundary.",+ "failure_scenario": "Read in the port at a89e0515. integration.PixelUMMVAE.decode calls pixelumm.decode_clip(latent), which runs decode_windows with offset=0. The port's own continuation path, decode_tail, re-decodes STRIDE=5 latents before the new frames, passes offset=start and cross-fades the overlap 'for continuity'. TrimVideoLatent → VAEDecode skips both, so frame 0 of turn k is decoded cold. oss-join-encoded joins packets without re-encoding, so nothing smooths the cut. This can't be checked without a GPU. The 'left' list mentions the 5D decode as unverified, but not the seam. Possible fix: trim to latentsBefore−5, then cut the first 20 pixel frames after decode, so the decoder gets the port's context."+ },+ {+ "severity": "low",+ "category": "correctness",+ "verdict": "CONFIRMED",+ "file": "src/components/cinema/world-panel.tsx",+ "line": 133,+ "summary": "Redo-from-here cut-offs (redoAt) live only in component state. After the panel is closed or the page reloaded, the takes made before the redo count as current clips for the later turns again.",+ "failure_scenario": "Turns 0–2 are done. Press Redo from here on turn 1 and close or reload before turn 2 is re-run. clipsFromTakes loses redoAt, and the old turn-2 take still matches scriptKey (the script is unchanged), so it shows as Ready and goes into Export. The harm is small today, because the port's noise is seeded and an unchanged redo gives identical frames. It still contradicts the button's promise. Each turn's 'films this turn again and the ones after it' should survive a reload, for example stored with the script in localStorage or as a take field."+ }+ ],+ "checks": [+ "Read the whole diff claude/fuobe-parity-4...o/nm10-hy-nomas-world (33 files) and the code around it: comfyui provider prepareWorkflow, planGeneration, cinema planner and generateInProject, hosted-run decidePlace/poolQuote, guest-access.",+ "Cloned Nynxz/ComfyUI-HyNomas at a89e0515 as data and read nomas/nodes.py, world.py, camera.py, prompt.py, integration.py, pixelumm.py. Node inputs and outputs match the template and expansion: NomasWorldGenerate/Continue give (LATENT, NOMAS_WORLD), and world is [id,1]. World.latent() concatenates every segment, so TrimVideoLatent by latentsBefore leaves turn k only. The latent arithmetic matches the port in all cases: with a camera, len(ticks)//4+1; without one, (max(round(s*24),5)-1)//4+1, and the opening's bounds use int(s*24), which is exact on half seconds. Continue forks the world, so cached upstream outputs are not mutated. PortPose forward/right/yaw/pitch match camera.Pose. The script's tick count equals turnFrames, and 'look … 0.0417' parses to one tick.",+ "Primary sources: the HF tree of nynxz/Hy-Nomas at e8ddc4bf matches the pinned sizes and sha256 of all three files. The model card says licence 'apache-2.0-and-nvidia-one-way-noncommercial'. The port's LICENSE is Apache-2.0. The licence data is recorded in NODE_PACKS and in the manifest licence text, which is flagged NON-COMMERCIAL.",+ "Live CPU ComfyUI object_info: the TrimVideoLatent, VAEDecode, CreateVideo, SaveVideo, CLIPLoader (qwen_image) and UNETLoader inputs match the template.",+ "node scripts/comfy/build-requirements.mjs left requirements.json unchanged (up to date). The STUDIO_ROWS 'World mode' row is present. tests/comfy-library-4 has only the allowed edit (the new id in the unvalidated list).",+ "Cloud and Paid-APIs-only: planWorld refuses any engine but open with WORLD_OPEN_ONLY and no stand-in. The World chip and panel are hidden when engineMode is cloud. Assist world_film throws under 'Paid APIs only'. No Higgsfield API or media, and no LoRA files committed. No new route, so public sign-up gating is inherited (cinema project generation is already a library change). The script travels in params.extra and is normalised and size-bounded server-side. No file inputs for a turn. The join's clips are FileRefs.",+ "npx next typegen && tsc --noEmit: clean.",+ "vitest: world-path, world-mode, comfy-library-4, assist-context, licences: 5 files, 130 tests pass. cinema, cinema-api, gpu-requirements, gpu-readiness, public-signup, public-signup-tools, assist-studio-routes, camera-path, comfy, model-access-studios: 10 files, 225 tests pass. A larger 29-file batch hit my 900 s timeout before reporting and was not rerun as one batch.",+ "Browser: FUOBE_DEMO_MODE=on next dev on http://localhost:3417. tests/e2e/cinema-world.mjs passed: 1440 light open engine (opening, turn, path, export), 1440 dark cloud notice, 390 light and dark with no sideways scroll, no console or page errors. A separate probe confirmed finding 1 in the browser (trailing space → 'Changed: run it again'). The server was stopped with fuser -k -n tcp 3417 and .next deleted. The worktree is clean."+ ],+ "verdict": "changes-requested: the build is sound against the port and pins, tsc is clean and the targeted tests and the browser check pass. One confirmed medium bug needs fixing first: the World panel compares its raw script with the server's normalised script key, so ordinary input such as trailing spaces leaves a finished turn showing 'Changed: run it again' and blocks the next turn and Export until a reload. The two low findings (decode seams at turn boundaries, Redo cut-offs not persisted) can be fixed or recorded in 'left'."+ },+ "fix": {+ "applied": [+ "Finding 1 (medium, confirmed): the World panel's turn state no longer goes stale when the fields have stray spaces or a length off the half second. scriptKey in src/lib/world.ts now keys normalizeWorld(script), so the browser's key and the server's take key (worldTake) agree. The panel (src/components/cinema/world-panel.tsx) also works from the tidied script for everything it sends, keys and checks: clipsFromTakes, nextTurn, canRun, exportClips, worldProblem, the plan, the request body, the totals, the timeline and the path sketch. The fields still show what was typed. New unit test: untrimmed opening, subject and turn words plus a 4.3 s length are matched against the take the server files. tests/e2e/cinema-world.mjs now types stray spaces and checks that 'Changed: run it again' doesn't show after the opening is ready.",+ "Finding 3 (low, confirmed): Redo from here now survives closing the panel or reloading. clipsFromTakes only counts a turn's take if it was made after the current clips of the turns before it, because the world continues from those clips. So once a redone turn has a newer take, the later turns' older takes stop counting, and this is worked out from the takes themselves with nothing stored. If a redo fails, the earlier film stands. The in-memory redoAt still covers the moment before the new take shows up. New unit test covers a reload after a redo, a running redo and a failed redo."+ ],+ "rejected": [+ "Finding 2 (low, plausible: possible decode seams at turn boundaries, because each turn's latents are trimmed and decoded with no context and the decoder's window noise starts at offset 0). Not changed. It can't be checked without a GPU. The suggested fix would change the trim arithmetic, which is currently checked against the port, and would add a pixel-frame cut whose size depends on PixelUMM's undocumented causal frame layout for a decode that starts partway through. The noise offset can't be set through stock nodes at all. Recorded in 'left' to settle on the first live GPU run."+ ],+ "checks": [+ "Worktree /home/user/wt/o-nm10-hy-nomas-world on o/nm10-hy-nomas-world: holds only this package's commits, and claude/fuobe-parity-4 is an ancestor.",+ "Before fixing, read both confirmed findings against the code: worldTake keys normalizeWorld(script) while the panel keyed the raw script, and redoAt lived only in component state.",+ "vitest: world-mode, world-path, cinema, cinema-api, assist-context: 5 files, 100 tests pass, including the 2 new ones. Full suite not run, as instructed (the coordinator runs it).",+ "npx next typegen, then tsc --noEmit: clean. pnpm typecheck under the default heap ran out of memory (exit 134), so it was rerun with NODE_OPTIONS=--max-old-space-size=6144 and passed with exit 0.",+ "pnpm lint: exit 0 (0 errors; 5 warnings, none in the changed files).",+ "Browser: FUOBE_DEMO_MODE=on next dev on http://localhost:3419 with tests/e2e/cinema-world.mjs, which now types stray spaces and asserts there is no 'Changed: run it again'. Passed: 1440 light open engine (opening, turn, path, export), 1440 dark cloud notice, 390 light and dark fit, no console or page errors. Server stopped with fuser -k -n tcp 3419, .next deleted, git status clean.",+ "Committed 29255479 with the attribution lines; not pushed.",+ "Coordinator FINISH: merged origin/claude/fuobe-parity-4 (already up to date); npx next typegen exit 0; NODE_OPTIONS=--max-old-space-size=8192 pnpm typecheck exit 0; pnpm lint exit 0 (0 errors, 5 warnings); full vitest: 5825 passed, 8 failed, 4 skipped. 2 failures were this package (tests/comfy-library-notes: the world-hy-nomas-turn notes named source files and said \"a guess\"); the notes were rewritten in library.spec.mjs and the same text edited into manifest.json (build-library not re-run), and comfy-library-notes, world-mode and comfy-library-4 then pass (325 tests). The 6 remaining failures are the known pre-existing ones: comfy-reuse, dop-originals, preset-featured, soul-runs (2), split-soundtrack."+ ],+ "finalSummary": "World mode in Cinema, now with the review's confirmed fixes. Open engine (your ComfyUI): Hy-Nomas turns through ComfyUI-HyNomas (pinned a89e0515) with its converted weights pinned by sha256. The world-hy-nomas-turn graph is rebuilt per turn and the camera paths are converted by src/lib/world-path.ts. The World panel covers the opening, turns, the path preview, Run turn, Redo from here and Export (the turns joined on the open engine), then links to Sound for video and Music. Assist has world_film, and there is a GPU board row 'World mode' (24 GB is a guess) plus licence rows (the port is Apache-2.0; the PixelUMM decoder is NVIDIA non-commercial). Verified: unit tests, the graph checked against the port's node definitions and the live CPU ComfyUI's stock nodes, typecheck, lint, and the demo-mode browser run. Built but not run live: a real turn on a GPU (the pack isn't installed on the CPU server). Cloud engine: no route, because Hy-Nomas isn't hosted. The panel says it runs on your GPU (open source), 'Paid APIs only' hides the World chip, and Assist refuses world_film there. fal's worlds models are recorded in research only. Public sign-up: no new route. Guests browse read-only. Accounts run World turns only on their own GPU through the existing Cinema generation path (cinema project changes are already gated as library changes). Turns take no file inputs, and the join takes the account's own clip references.",+ "left": [+ "Live GPU run with ComfyUI-HyNomas installed. Still to confirm: that VAE Decode accepts the trimmed 5D latent, the turn speed, that ComfyUI's cache reuses the chain between prompts, and whether turn boundaries show a decode seam (each turn is decoded with no previous latents as context, and PixelUMM's window noise starts at offset 0). If there is a seam, trim to latentsBefore-5 and cut the extra decoded frames, or ask the port for an offset input.",+ "world-hy-nomas-turn stays validated:false because the CPU validation server doesn't have the pack. tests/comfy-library-4.test.ts has its one allowed edit: the new id added to the unvalidated list.",+ "An unchanged Redo from here gives the same frames, because the port's noise is seeded. A per-turn re-roll would need a port change.",+ "The 24 GB VRAM figure is a guess. Tencent's 4090 configuration uses an FP8 decoder, which the port doesn't ship.",+ "Whether to offer fal's worlds models (H3 Max Director, Abot World 0, Lingbot World 2, Eden Live) under their own names is the owner's call.",+ "Full Vitest suite to be run by the coordinator."+ ],+ "blocked": ""+ },+ "merge": {+ "merged": [+ "o/nm10-hy-nomas-world"+ ],+ "notMerged": [],+ "conflicts": "assist/agent.ts lines (world_film + Soundtracks), manifest generatedAt; requirements regenerated",+ "checks": "batch of 3 (idol-8, idol-3, nm10-hy-nomas-world): typecheck 0, lint 0, vitest 5972 passed, 6 failed (main known); idol-8 and hy-nomas each checked by an independent verifier; idol-3 merged by hand (README rows) with follow-up fb8e099e (demo splat now comes with idol-4's turntable)",+ "pushed": true,+ "head": "b97c9762"+ }}