Repository navigation
feat(reference-video-tools): mock unbuilt media slots with a fixed placeholder tool - #37
Merged
Merged
Conversation
…aceholder tool A component's media slots are declared as generations but not fillable on this route, which never Builds. The comparison loop still needs a still, and mocking the slot by hand (a generated picture, a hand-rolled placeholder script) was both wasteful and unreliable. make-placeholder now writes a correctly-sized, deterministic, Provider-free placeholder for such a slot: a PNG by default, or a short solid-colour MP4 via ffmpeg for a slot that only accepts video (--seconds sets its length, default 1). The comparison loop mocks the slot with it and scopes the comparison with --question so the observer bypasses the region as an intentional placeholder instead of reporting it every round. reconstruction-loop.md, local-author- package.md and preview.md carry the rule: never `hypit image` for the mock, never a script written by hand, the harness reads the placeholder path from its arguments rather than shipping placeholder-drawing code. Two small related fixes ride along: - the visual observation prompt now names covering content explicitly — a wash, darkening, gradient or semi-transparent layer over the whole frame or a region is covering content and must be reported as such, so a darkened base behind an overlay is recognised rather than left to chance; - the KIE provider's default concurrency is 10 instead of 2, used when a Runtime Profile omits defaultConcurrency.
overlordkim
pushed a commit
that referenced
this pull request
Sep 9, 2026
…tool feat(reference-video-tools): mock unbuilt media slots with a fixed placeholder tool
overlordkim
pushed a commit
that referenced
this pull request
Sep 9, 2026
…tool feat(reference-video-tools): mock unbuilt media slots with a fixed placeholder tool
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
组件的媒体槽位声明为生成但本路由不 Build,比对 loop 仍要静帧。槽位必须 mock,且必须用固定工具——不能
hypit image生成真图,不能 agent 手搓脚本。make-placeholder(新 CLI 命令)
--video用 ffmpeg 产短视频占位,--seconds控时长(默认 1)--question把槽位区域声明为"有意占位、待 Build 填充",让观察员绕过,不再每轮报空槽文档
reconstruction-loop.md:空槽差异不是修复目标 + 用固定工具 mock +--question绕过local-author-package.md:harness 不内置占位代码,从参数读占位路径preview.md:still 渲染的空槽处理两处顺带小改
验证
pnpm check+ 524 项测试全过🤖 Generated with Claude Code