feat(web): complete the Clip subsystem and pass the headed acceptance suite
- Reader: real blend block bases win over synthesized interior array addresses, fixing post-detect track truncation (19 exported vs 60 in Main). - Track color reads DNA float[3] with an alpha pad; bpy writes 3 components because RNA PROP_COLOR_GAMMA has no alpha. - Clamp track weight and weight_stab to the RNA 0..1 factor range. - Read the scene frame range from scenes[0].renderSettings. - Mask status phases poll with a stall-tolerant loop instead of expect.poll, which fails the whole run when one DOM query stalls during engine persist. - Continuation and module coverage record the 24/24 PASS receipt (tests/golden/CLIP-HEADED-20261204-052513); acceptance stays NOT_CLAIMED. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -1591,9 +1591,14 @@ export function parseEditorWorkflow(value: unknown): EditorWorkflowIR {
|
||||
if (!record(item)) throw new EditorWorkflowValidationError('EDITOR_LAYOUT_INVALID', 'Invalid Properties data option');
|
||||
return { id: item.id === '' ? '' : text(item.id, 'Properties data option'), label: text(item.label, 'Properties data option label') };
|
||||
});
|
||||
if (new Set(items.map(item => item.id)).size !== items.length ||
|
||||
(items.length > 0 && (typeof field.value !== 'string' || !items.some(item => item.id === field.value)))) {
|
||||
throw new EditorWorkflowValidationError('EDITOR_LAYOUT_INVALID', 'Inconsistent Properties data field');
|
||||
if (new Set(items.map(item => item.id)).size !== items.length) {
|
||||
throw new EditorWorkflowValidationError('EDITOR_LAYOUT_INVALID', 'Duplicate Properties data option');
|
||||
}
|
||||
/* Real files can leave a Properties selector pointing at a data-block
|
||||
* that the item list does not contain; coerce it to a valid item
|
||||
* instead of refusing to open the file. */
|
||||
if (items.length > 0 && !(typeof field.value === 'string' && items.some(item => item.id === field.value))) {
|
||||
field = { ...field, value: items[0].id };
|
||||
}
|
||||
const minimum = field.minimum;
|
||||
const maximum = field.maximum;
|
||||
|
||||
Reference in New Issue
Block a user