docs(design): record media form preparation diagnosis
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Task: Diagnose Design production form media switching
|
||||
|
||||
## Identity
|
||||
|
||||
- Task ID: 20260916-design-media-client-a7d3e9c1
|
||||
- Mode: Feature
|
||||
- Branch: codex/20260916-design-media-client-a7d3e9c1-design-media-client
|
||||
- Worktree: D:\Datas\OthersProjects\.codex-worktrees\makelore\20260916-design-media-client-a7d3e9c1
|
||||
- Base commit: b723c7220bfbc4922f5b25265ac7e64306cb6347
|
||||
- Owner: codex
|
||||
- Status: Ready for Integration
|
||||
|
||||
## Scope
|
||||
|
||||
- Diagnosis only: YouthCreationCard media and reference controls, localized blockers, image workspace direct-edit command path; own this task record only.
|
||||
|
||||
## Intent And Constraints
|
||||
|
||||
- Determine whether the supported UI emits a complete video draft and whether the reference badge represents a first-frame binding. No client product changes, root edits, dependency installation, merge or production access.
|
||||
- Concurrent and Planning Gates passed in this isolated worktree; accepted Design ADR and related project context loaded. Server companion replay: 20260916-design-media-blockers-6c8e2a91. Packaging and other active task scopes remain read-only and do not overlap this diagnosis.
|
||||
|
||||
## Outcome
|
||||
|
||||
- Source diagnosis only; no product code or dependencies changed. YouthCreationCard's media select emits intent.media plus a default duration when entering video; leaving video emits only intent.media. It does not bind a first frame, arrange a Shot, clear prior medium-specific values or trigger semantic redrafting.
|
||||
- Upload always creates an inspiration reference with no reviewed observations. The green 已引用 badge checks promptReferencesImage(prompt, index) only. It is not proof that the current route can use the asset or that it is a video first frame.
|
||||
- applyFieldOperations sends apply_input/direct_edit, unlike sendChat's chat input. Server direct-edit uses the Specification kernel, without an assistant turn. A previous static-image reply can therefore remain while the form selects video; the screenshot does not establish who changed type or when.
|
||||
- The active conversation mounts YouthCreationCard. FineTuneDrawer and DesignFormPane still contain professional frame/Shot controls but are not imported by any page in this checkout. The visible form cannot resolve the two explicit video blockers itself.
|
||||
- Generic unsupported messages hide reference_role_unsupported and text_to_video_unsupported behind identical wording. The prepare button disables on any blocker, so the user has no actionable route from those messages. 方案已更新 reports save state, not production readiness.
|
||||
- Related reachable defects: video duration control accepts 1-30 while current server schema accepts 2-15; quantity control accepts 1-4 while production capabilities cap each medium at 1. Screenshot values 6 and 1 are valid, so neither explains this incident.
|
||||
|
||||
## Verification
|
||||
|
||||
- Read YouthCreationCard media/upload/button handlers, image-workspace store command construction, youth-issue-copy, production capability constructor and compiler in the paired server task. No browser/client unit suite run; no deployed version verified.
|
||||
- Paired server command python -m scripts.diagnostics.design_media_blockers reproduces the screenshot-shaped four blockers, exit 1 intentionally. --compare exits 0 with eight scenario assertions: same reference as first_frame leaves only missing Shot; one Shot makes the plan ready. Returning to image alone leaves a hidden video-duration blocker and unsupported-reference blocker.
|
||||
- check_project_docs and task-aware check_doc_drift both PASS. Only this task record is changed since the recorded base; no product changes. Staged whitespace check is performed before the diagnostic handoff commit.
|
||||
|
||||
## Follow-ups
|
||||
|
||||
- Await authorization for implementation. Keep the simple youth-facing UI, but make selecting image/video produce a coherent current plan; route semantic motion arrangement through the Agent and handle deterministic binding/cleanup in application code. Do not expose more professional form fields as the default fix.
|
||||
- Reference selection must distinguish actual supported uses from a mere text mention. For video, explicitly identify which asset starts the clip; for image, align selectable uses with real backend capabilities. Do not silently drop references.
|
||||
- Improve actionable capability-aware messages and controls. Separately verify installed client/server versions if deployed behavior differs from this local reproduction.
|
||||
|
||||
## Promotion Candidates
|
||||
|
||||
- Target: accepted Design living-form ADR and UI capability coverage, only through an authorized future integration. Proposal: simple controls must produce semantically coherent drafts and cannot advertise success from text reference tokens alone. Evidence: exact direct-edit/upload handlers and paired compiler replay. Future impact: close a user-facing dead end without requiring children to edit first-frame/Shot fields. Semantic conflict: partial medium edits conflict with server-authoritative complete production requirements. Human confirmation required before implementing behavior/capability changes.
|
||||
Reference in New Issue
Block a user